.form-floating label {
    color: gray !important;
}

.form-floating > .form-control:focus ~ label {
    transform: scale(0.85) translateY(-1.8rem) translateX(0.15rem) !important;
    color: black !important;
}

.form-floating > input {
    background-color: white !important;
}

.account-box-shadow {
    box-shadow: 0px 0px 8.4px 0px rgba(0, 0, 0, 0.25) !important;
    border-radius: 20px !important;
}

.forgot-text:hover {
    font-style: italic;
    text-decoration: underline;
    opacity: 0.7;
    animation-duration: 300ms;
}

.left-auth-container {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.media {
    position: relative;
    z-index: 0;
}

.left-auth-container img {
    object-fit: contain;
}

.logo-wrapper {
    height: auto;
    aspect-ratio: 1268 / 472;
    background-size: contain;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 5px;
    padding-bottom: 10px;
}

.logo-wrapper img {
    height: 70%;
    opacity: 0.3;
}

@media (min-width: 576px) {
    .left-auth-container img {
        width: 85%;
    }

    .ucvn-logo {
        width: 150px !important;
    }

    .media {
        justify-content: flex-start;
    }

    .logo-wrapper {
        width: 200px !important;
    }
}

@media (max-width: 767.98px) {
    .left-auth-container img {
        width: 90%;
    }

    .left-auth-container {
        height: auto;
    }

    .media {
        position: absolute;
        z-index: 0;
        margin-bottom: 20px;
        justify-content: center;
    }

    .ucvn-logo {
        width: 130px !important;
    }

    .logo-wrapper {
        width: 130px !important;
    }
}

@media (max-width: 575.98px) {
    .left-auth-container img {
        width: 100%;
    }

    .ucvn-logo {
        width: 110px !important;
    }

    .media {
        position: absolute;
        z-index: 0;
        justify-content: center;
    }

    .logo-wrapper {
        width: 110px !important;
    }
}

.loader {
    width: 24px;
    height: 23px;
    --c: no-repeat linear-gradient(#ff902f 0 0);
    background: var(--c), var(--c), var(--c), var(--c);
    background-size: 12px 12px;
    animation: l5 0.8s infinite cubic-bezier(0.3, 1, 0, 1);
}

@keyframes l5 {
    0% {
        background-position: 0 0, 100% 0, 100% 100%, 0 100%;
    }

    33% {
        background-position: 0 0, 100% 0, 100% 100%, 0 100%;
        width: 30px;
        height: 30px;
    }

    66% {
        background-position: 100% 0, 100% 100%, 0 100%, 0 0;
        width: 30px;
        height: 30px;
    }

    100% {
        background-position: 100% 0, 100% 100%, 0 100%, 0 0;
    }
}
.loader-modal-open {
    overflow: hidden;
}

.loader-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000000;
    overflow: hidden;
}

.loader-modal-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    float: none;
    position: relative;
}
