body, html {
    font-family: urw-din, Helvetica, Arial, sans-serif;
    scroll-behavior: smooth;
    margin: 0;
}

body {
    background-image: url('./assets/img/Bg-Dark.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: right;
}

h1 {
    color: #fff;
    font-weight: 700;
    text-align: center;
    margin-top: 50px;
}

h2 {
    color: #fff;
    text-align: center;
}

.login {
    padding: 80px;
}

.login-page {
    background-image: url('./assets/img/Login-Bg.jpg');
    background-size: cover;
    background-position: bottom;
    min-height: 100vh;
}

.login-logo-container {
    max-width: 290px;
    height: auto;
    position: relative;
    display: flex;
    text-align: center;
    margin: auto;
}

.login-container {
    position: relative;
    display: grid;
    margin: 40px auto 0px auto;
    justify-content: center;
}

    .login-container p {
        color: white;
    }

.login-form label, .checkin-form label, .question-prompt label, .question-prompt2 label {
    color: white;
    font-weight: 600;
    margin-left: 10px;
}

.login-form input {
    margin: 15px 0px 25px 0px;
    padding: 10px;
    min-width: 250px;
    max-width: 400px;
    background-color: #fff;
    border: none;
    border-bottom: 1px solid #fff;
}

input:-internal-autofill-selected {
    background-color: #fff !important;
}

#login-button {
    display: flex;
    justify-content: center;
}

.button {
    border-radius: 30px;
    padding: 10px 30px;
    font-weight: 700;
    color: #00437B;
    background-color: #fff;
    box-shadow: none;
    border: 2px solid #17457a;
    text-decoration: none;
}

    .button:hover {
        background-color: #17457a;
        color: white;
    }
/* Home page */
footer {
    background-color: #0A1C36;
    color: #fff;
    padding: 20px 10px 10px 10px;
    height: 40px;
}

    footer a {
        color: #fff;
    }

        footer a:hover {
            text-decoration: none;
        }

    footer p {
        margin: 0 0 0 20px !important
    }

.main-content {
    width: 100%;
    min-height: 100vh;
}

.main-nav {
    background-color: #0A1C36;
    height: 70px;
    display: flex;
}

.desktop-logo {
    width: 470px;
    height: auto;
    margin-left: 30px;
}

.validation-message {
    margin-top: 5px;
    font-style: italic;
    font-size: small;
}

.mobile-logo {
    display: none;
    width: 80px;
    height: auto;
    margin-left: 30px;
}

.name-tag {
    margin-left: 40vw;
}

    .name-tag p {
        text-align: center;
        font-weight: 700;
        color: #00437B;
        background: #fff;
        border: none;
        border-radius: 30px;
        height: 20px;
        padding: 10px 20px;
    }

.event-container, .legal-container {
    background-color: #fff;
    border-radius: 30px;
    width: 500px;
    margin: 60px auto 50px auto;
    padding: 30px 0px;
    display: grid;
    align-content: center;
    justify-content: center;
    text-align: center;
}

.tagline {
    color: #333;
    margin: 10px 20px;
    text-align: center;
}

.date-tag {
    color: #fff;
    background-color: #E1B03D;
    font-size: 20px;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 25px;
}

.event-tag {
    color: #E1B03D;
    font-size: 20px;
    font-weight: 700;
}

.event-texts {
    font-size: 1.1rem;
    line-height: 1.3rem;
    margin: 20px auto 0px auto;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.reversed-button {
    border-radius: 30px;
    border: 2px solid #17457a;
    background-color: #17457a;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    width: 200px;
    padding: 10px 20px;
    margin: 30px auto 20px auto;
    text-decoration: none;
}

    .reversed-button:hover {
        background-color: #fff;
        color: #00437B;
    }

.icon {
    width: 20px;
    height: auto;
    margin-right: 20px;
}
/* Subcomitte & Meetings */
.event-details {
    color: #E1B03D;
    font-weight: 600;
    font-size: 20px;
    text-align: center;
    margin-top: 30px;
}

    .event-details p {
        margin: 0px 0px 10px 0px;
    }

.subcommittee-container, .meeting-container {
    background-color: #fff;
    border-radius: 30px;
    width: 500px;
    padding: 20px 30px 5px 30px;
    display: grid;
    margin: 60px auto 50px auto;
}

.subcomittee-list label, .meeting-list label {
    display: inline-flex;
    width: 80%;
}

.subcomittee-list .subcommittee-field:last-child, .meeting-list .meeting-field:last-child {
    border-bottom: none !important;
}

.subcommittee-field, .meeting-field {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #00437B;
}

    .subcommittee-field input[type=radio], .meeting-field input[type=radio], .legal-prompt input[type=radio], .checkin-form input[type=radio], .question-prompt input[type=radio] {
        width: 20px;
        height: 20px;
    }

.pagination {
    display: inline-flex;
    justify-content: center;
}

    .pagination p {
        text-align: center;
        margin-top: 10px;
        margin-bottom: 50px;
        width: 85%;
        font-weight: 600;
        color: #00437B;
    }

.pagination-arrow {
    background-color: #1C6094;
    border-radius: 50px;
    width: 15px;
    height: 15px;
    padding: 10px;
}

    .pagination-arrow img:hover {
        color: #1C6094;
    }

    .pagination-arrow img {
        width: 15px;
        height: auto;
    }

.bottom-prompt {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-bottom: 50px;
}

.cancel-button {
    border-radius: 30px;
    border: 2px solid #17457a;
    padding: 10px 30px;
    margin-right: 50px;
    text-decoration: none;
    font-weight: 700;
    color: #CD163F;
    background-color: #fff;
    box-shadow: none;
}

.legal-container {
    height: 60vh;
}

.legal-texts {
    text-align: left;
    padding: 0px 40px;
    height: 90%;
    overflow-y: scroll;
}

.legal-prompt {
    padding: 0px 30px 0px 10px;
}

    .legal-prompt label {
        font-weight: 600;
    }

.form-container {
    display: flex;
    justify-content: center;
    margin: 50px 0px;
}

.checkin-form input, .checkin-form textarea, .checkin-form select {
    margin: 15px 0px 25px 0px;
    padding: 10px;
    min-width: 250px;
    max-width: 400px;
    border-radius: 7px;
    border: none;
}

    .checkin-form input::placeholder {
        color: #333;
    }

#EmailAddress, #Password {
    color: #000 !important;
}

input:disabled {
    -webkit-appearance: none;
    -webkit-text-fill-color: #000;
    -webkit-background-color: #eee;
    color: #000;
    background-color: #eee;
}

    input:disabled::placeholder {
        -webkit-appearance: none;
        -webkit-text-fill-color: transparent;
        color: transparent;
    }

.checkin-form textarea::placeholder {
    font-family: urw-din, Helvetica, Arial, sans-serif;
}

.checkin-form select {
    width: 270px;
}

.checkin-form label, .question-prompt label, .question-prompt2 label {
    margin-left: 0 !important;
}

.question-prompt {
    width: 300px;
}

.question-prompt2 {
    display: flex;
    flex-direction: column;
    margin: 50px auto 20px auto;
    width: 270px;
}

    .question-prompt span, .question-prompt2 span {
        margin: 0px 20px 0px 10px;
    }

.form-container fieldset {
    border: none;
}

fieldset input[type=text]::placeholder, fieldset textarea::placeholder {
    color: #fff;
}

.thankyou-icon img {
    max-width: 150px;
    height: auto;
    margin-bottom: 30px;
}

.thankyou-texts h1, .thankyou-texts h2 {
    margin: 0;
}

.thankyou-texts {
    text-align: center;
    margin: 50px auto 100px auto;
    padding: 0px 30px;
}

@media screen and (max-width: 1226px) {
    .name-tag {
        margin-left: 20vw;
    }
}

@media screen and (max-width: 900px) {
    .desktop-logo {
        display: none;
    }

    .mobile-logo {
        display: block;
    }

    h1 {
        font-size: 1.5em;
    }

    h1, h2 {
        margin-left: 10px;
        margin-right: 10px;
    }

    .event-container, .subcommittee-container, .meeting-container, .legal-container {
        width: 80vw;
    }
}

.loading-spinner {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
}

.spinner {
    border: 8px solid rgba(255, 255, 255, 0.3);
    border-left-color: #1d72b8; /* Change to your primary color */
    animation: spin 1s linear infinite;
    border-radius: 50%;
    width: 50px;
    height: 50px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
