.container {
    margin-top: 30px !important;
    max-width: 1000px !important;
    padding-right: 15px !important;
    padding-left: 15px !important;
}

.equal-height-cards {
    display: flex;
    flex-direction: column;
    height: 100%;
}

label.required::after {
    content: " *";
    color: inherit;
    font-weight: bold;
}

label.required.mb-0.me-2.text-danger::after {
    color: red !important; /* Override when error exists */
}

.card {
    flex: 1;
    min-height: 0;
    margin-top: 0 !important;
}

.row.equal-height {
    display: flex;
    flex-wrap: wrap;
}

.row.equal-height > [class*='col-'] {
        display: flex;

}

img[alt="Logo"] {
    max-height: 45px;
    margin-top: 2px;
}

body {
    padding-top: 0 !important;
    margin-top: 0 !important;
    background-image: url('/images/k12-background.svg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

button.submitButtonPurple {
    background-color: #110045;
    color: white;
    border-radius: 8px;
    padding: 10px 0;
    font-size: 16px;
    border: none;
    width: 100%;
}

.main-content-row {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.card-spacing {
    padding: 0 10px !important;
}

label,
input,
select,
.field-validation-error,
.alert,
button,
a {
    font-family: Avenir, Avenir-Medium, sans-serif !important;
}

.field-validation-error {
    font-size: 14px;
}

select {
    appearance: auto !important; /* Most modern browsers */
    -webkit-appearance: auto !important; /* Safari/Chrome */
    -moz-appearance: auto !important; /* Firefox */
}

.text-danger {
    white-space: pre-line;
    display: block;
}
/* ===== Responsive Styling ===== */

@media (max-width: 992px) {
    /* Stack sign-in and register cards vertically */
    .row.w-100.g-0 {
        flex-direction: column;
    }

    .card-spacing {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 10px 0 !important;
    }

    .equal-height-cards {
        height: auto;
    }

    .main-content-row {
        padding: 0 10px;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 100%;
        padding: 10px;
        margin-top: 20px !important;
    }

    .firebaseui-idp-button {
        min-width: 110px !important;
        font-size: 14px;
    }

    .submitButtonPurple {
        font-size: 14px;
        padding: 8px 0;
    }

    .note-text-wrapper {
        font-size: 14px;
        padding: 10px;
    }

    .logo-wrapper img {
        max-height: 40px;
    }

    .form-group label {
        font-size: 14px;
    }

    .input-group input {
        font-size: 14px;
    }

    .alert {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .container {
        max-width: 90%;
        padding: 15px;
        margin: 30px auto;
    }

    .logo-wrapper img {
        max-height: 35px;
    }

    h4 {
        font-size: 18px;
    }

    .btn, .submitButtonPurple {
        font-size: 14px;
    }

    .firebaseui-idp-button {
        padding: 8px 0;
        font-size: 13px;
    }
}

@media (max-width: 410px) {
    .firebaseui-idp-button {
        min-width: 100px !important;
        font-size: 13px;
        padding: 6px 0;
    }

    .firebaseui-idp-icon {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 380px) {
    .container {
        max-width: 95%;
        padding: 10px;
        margin-top: 20px;
    }

    h4 {
        font-size: 16px;
    }

    .input-group {
        margin-bottom: 10px;
    }

    .form-group label,
    .form-control,
    .btn {
        font-size: 13px;
    }

    .submitButtonPurple {
        padding: 8px 0;
        font-size: 13px;
    }

    .note-text-wrapper {
        font-size: 13px;
        padding: 10px;
    }
}





