#loading-container {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    z-index: 10;
    padding: 4px;
}

.loader {
    width: 30px;
    height: 30px;
    border: 5px solid #FFF;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
    }

    @keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

#booking-grid {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    margin: 10px;
}

.application-tile {
    background-color: #EEE;
}

.application-tile, .no-bookings, .loading-applications {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    margin: 10px 0;
    border-radius: 5px;
}

.application-tile .alert {
    margin-bottom: 0;
}

.event-selection {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.event-selection select, .book-event-btn, .cancel-event-btn {
    margin: 5px 0;
    padding: 5px;
    border-radius: 3px;
    width: 100%;
    min-width: 250px;
}

.booking-actions {
    max-width: 33%;
}

/* Home page styling */
.home-page-section .card {
    width: 50%;
    margin: 10px;
}

.home-page-section .card-text {
    color: #777;
}

.home-page-section .card-body {
    min-height: 300px;
}

@media screen and (max-width: 768px) {
    div.application-tile {
        flex-direction: column;
    }
    div.application-tile div, .booking-actions {
        margin: 5px 0;
        width: 100%;
        text-align: center;
        max-width: max-content;
    }

    .event-selection select {
        text-align: center;
    }
}