.background-container {
    width: 100vw;
    height: 100vh;
    background-size: cover; /* Ensures the SVG covers the entire screen */
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative; /* Required for absolute positioning of image */
}

/* Background image */
.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image covers the entire screen */
    z-index: 0; /* Pushes the image behind other content */
}

.content-container {
    border-radius: 12px;
    background: #003366;
    min-width: 480px;
    width: 480px; /* Fixed dimensions - won't grow horizontally beyond these */
    padding: 48px;
    z-index: 1 !important; /* Ensures the content is above the background */
}

.input-field {
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--bs-body-color);
    appearance: none;
    background-color: var(--bs-body-bg);
    background-clip: padding-box;
    border: var(--bs-border-width) solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.error {
    background-color: var(--bs-red);
}

.error-icon::before {
    color: var(--bs-red);
}

.info {
    background-color: var(--bs-info);
}

.text-box {
    color: #FFF;
    font-size: 1.125rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    width: 100%;
    min-height: 3.5rem;
    border-radius: .25rem;
    padding: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
    word-wrap: break-word;
}

.header-form {
    color: white;
    font-size: 1.5rem;
    line-height: 1.74rem;
    word-wrap: break-word;
}

.login-text {
    display: flex;
    justify-content: start;
}

.underline-button {
    color: #ffffff !important;
    font-weight: 400;
    font-size: 16px;
    line-height: 115.99999999999999%;
    text-decoration: underline;
    text-decoration-style: solid;
    text-decoration-offset: 0%;
    text-decoration-thickness: 0%;

}

.form-check-input:checked {
    background-color: #3FD9BF !important;
}

.form-group {
    width: 100%;
}

.text-color {
    color: var(--bs-white);
}

.mdi {
    font-size: 20px; /* Adjusts the icon size */
    width: 20px; /* Ensures it has the correct width */
    height: 20px; /* Ensures it has the correct height */
    display: inline-flex; /* Helps maintain proper size */
    align-items: center; /* Centers the icon */
    justify-content: center; /* Centers the icon */
}

.mdi-lock, .mdi-account {
    color: var(--bs-body-color) !important;
}

.mdi-headset, .float-end {
    color: #ffffff !important;
}

#password-alert ul {
    padding-left: 0 !important;
}

#password-alert {
    padding: 8px 12px;
    margin: 0;
    border-radius: 5px;
    min-width: 100%;
}

.wrong .text-success {
    display: none;
}

.good .text-danger {
    display: none;
}

.btn-white-outline {
    border-color: white !important;
}

.btn-white-outline:hover {
    background-color: white;
    color: black; /* Or whatever contrast you want */
}

#form-submit {
    border-radius: 5px;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 150%;
}

.cancel-btn {
    a {
        color: #FFF;
        font-size: 1rem;
        font-style: normal;
        font-weight: 700;
        line-height: 150%;

        &:hover {
            background: linear-gradient(270deg, #F0F0F0 -26.19%, #B3F1E7 0%);
            color: #1F2427 !important;
            border-color: unset !important;
        }
    }
}


/* ✅ Mobile-specific tweaks */
@media (max-width: 768px) {
    .background-container {
        background-size: contain; /* Prevents cropping on mobile */
    }

    .content-container {
        width: 100%; /* Adapts for smaller screens */
        min-width: unset; /* Allows shrinking */
        height: auto; /* Adjusts height dynamically */
        padding: 48px 16px;
    }
}
