body {
    background-image: url('./images/bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
}

.login-container {
    max-width: 400px;
    width: 100%;
    padding: 15px;
    margin: 0 auto;
}

.header-logo {
    margin: 1rem 0;
    text-align: center;
}

.header-logo img {
    max-width: 200px;
    width: 100%;
}

.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card-header {
    background-color: #fff;
    border-bottom: 1px solid #eee;
    text-align: center;
    padding: 1.5rem 1rem;
}

.card-body {
    padding: 2rem;
}

.form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.btn-generic {
    padding: 0.5rem 2rem;
    background-color: #20c997;  /* Teal color */
    border-color: #20c997;
    color: white;
}

.btn-generic.cancel {
    background-color: #6ed6b7;
}

.btn-generic:hover {
    background-color: #20c997;  /* Darker teal on hover */
    border-color: #20c997;
}

.btn-generic:active {
    background-color: #20c997;  /* Even darker teal when pressed */
    border-color: #20c997;
    box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.5);
    transform: translateY(1px);
}

.h-100dvh {
    height: 100dvh !important;
}

.invalid-feedback {
    font-size: 0.875em;
}

#warning-overlay, #email-overlay, #rating-overlay, #survey-overlay, #gift-overlay {
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1050;
}

#warning-overlay .card, #email-overlay .card, #rating-overlay .card, #survey-overlay .card, #gift-overlay .card {
    max-width: 300px;
    width: 80%;
}

.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
}

.star-rating input[type="radio"] {
    display: none;
}

.star-rating label {
    font-size: 3rem;
    color: #8bf4f1;
    cursor: pointer;
}

.star-rating input[type="radio"]:checked ~ label {
    color: #FFD700;
}

.star-rating label:hover,
.star-rating label:hover ~ label {
    color: #FFD700;
}

@media (max-width: 576px) {
    .login-container {
        padding: 0 15px;
    }

    .card-body {
        padding: 1.5rem;
    }
}

.footnote {
    text-align: center;
    margin-top: 2rem;
    color: #e8e8e8; /* A light gray/off-white from Bootstrap */
    font-size: 0.88em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5); /* Black shadow for contrast */
    text-decoration: underline;
}