﻿.login-main-box {
    width: 95%;
    height: 90vh;
    background: linear-gradient( 90deg, #21739c 50%, #00b8cc 100%);
    display: flex;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.login-page {
    background-color: #ffffff!important;
    height: 100vh !important;
}

.login-form {
    margin-top: -25px;
}

.login-image {
    height: 90vh;
    width: 100%;
    object-fit: cover;
    object-position: right center;
    animation: fadeInRight 1.5s ease forwards;
    border-radius: 20px 0 0 20px;
}

.login-col-2 {
    animation: fadeInBoxShadow 1.5s ease-in-out forwards;
    display: flex;
    align-items: center;
    padding-right: 50px;
}

.animate-text {
    border-radius: 10px;
    padding: 20px 20px 10px;
    box-shadow: 0 20px 50px #0000003d;
    animation: move 5s infinite;
    background-color: #fff;
    position: absolute;
    left: 30vh;
    top: 30vh;
}

    .animate-text img {
        width: 120px;
    }

    .animate-text a {
        background: linear-gradient(90deg, #2C83AF 0%, #00B8CC 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        font-size: 24px;
        line-height: 30px;
    }

.text-white-light {
    color: #f0eeee;
}

.sub-title::before {
    content: '✓';
    background: white;
    color: #2c83af;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}

.sub-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 15px;
    border-radius: 25px;
    font-size: 12px !important;
    margin-bottom: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    line-height: 12px !important;
    color: #fff !important;
    font-weight: 600 !important;
}

.input-group-text {
    background: rgb(255 255 255 / 30%) !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    border-left: none !important;
    border-radius: 0 10px 10px 0 !important;
    color: #ffffff !important;
    transition: all 0.3s ease !important;
    width: 50px;
    justify-content: center;
}

.form-control {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 10px 0px 0px 10px !important;
    color: white !important;
    padding: 1rem 1.25rem !important;
    font-size: 1rem !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    height: 50px;
}

    .form-control::placeholder {
        color: rgba(255, 255, 255, 0.5) !important;
    }

    .form-control:focus {
        border-color: #fff !important;
    }

        .form-control:focus + .input-group-append .input-group-text {
            background: rgb(255 255 255 / 25%) !important;
            border-color: #ffffff !important;
            color: #ffffff !important;
        }

.dashed-divider {
    display: flex;
    align-items: center;
    text-align: center;
    gap: 10px;
    margin: 0px 0px 20px;
}

    .dashed-divider hr {
        flex: 1;
        height: 2px;
        background: linear-gradient(90deg, transparent, rgb(117 237 243 / 90%), transparent);
        border: none;
        margin: 0;
    }

    .dashed-divider span {
        color: #fff;
        font-weight: 500;
        text-transform: uppercase;
        font-size: 14px;
        letter-spacing: 1px;
    }

.remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 14px;
    color: #ffffff;
}

    .remember-me input[type="checkbox"] {
        display: none;
    }

.custom-checkbox {
    width: 18px;
    height: 18px;
    border: 2px solid #fff;
    border-radius: 4px;
    display: inline-block;
    margin-right: 8px;
    position: relative;
    transition: all 0.3s ease;
}

.remember-me input[type="checkbox"]:checked + .custom-checkbox {
    background-color: #ffffff;
    border-color: #ffffff;
}

    .remember-me input[type="checkbox"]:checked + .custom-checkbox::after {
        content: "✓";
        position: absolute;
        top: -4px;
        left: 2px;
        font-size: 14px;
        color: #00b8cc;
    }

.forgot-link {
    color: #e9fffc;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s ease;
}

    .forgot-link:hover {
        color: #e9fffc;
        text-decoration: underline;
    }

.backt-to-login {
    text-align: center;
    margin-top: 15px;
}

.btn-login {
    width: 100%;
    padding: 12px;
    background-color: #fff;
    color: #25549f;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    display: block;
}

    .btn-login:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 28px rgb(255 255 255 / 50%);
    }

    .btn-login:active {
        transform: translateY(0);
    }

.text-danger {
    color: #ff6977 !important;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    animation: float 20s infinite ease-in-out;
}

    .shape:nth-child(1) {
        width: 200px;
        height: 200px;
        top: 2%;
        right: 40%;
        animation-delay: 0s;
    }

    .shape:nth-child(2) {
        width: 130px;
        height: 130px;
        top: 30%;
        right: 10%;
        animation-delay: 4s;
    }

    .shape:nth-child(3) {
        width: 150px;
        height: 150px;
        bottom: 10%;
        left: 45%;
        animation-delay: 2s;
    }

/* animations */
@keyframes fadeInRight {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes move {
    0% {
        transform: translate(0, 0);
    }

    25% {
        transform: translate(10px, 0);
    }

    50% {
        transform: translate(10px, 20px);
    }

    75% {
        transform: translate(0, 10px);
    }

    100% {
        transform: translate(0, 0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -30px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

@media screen and (max-width: 1024px) {
    h1 {
        font-size: 35px;
        line-height: 45px;
    }

    .content-wrapper {
        height: 100vh !important;
    }
}

@media screen and (max-width: 991px) {
    .login-main-box {
        flex-direction: column;
        height: auto;
        overflow: hidden;
        padding: 30px;
        width: 90%;
    }

    .login-image {
        height: 350px;
        object-position: center center;
    }

    .login-form {
        margin-top: 10px;
    }

    .login-col-2 {
        padding-right: 7.5px;
    }

    .animate-text {
        left: 25vh;
        top: 10vh;
    }

    h1 {
        font-size: 32px;
        line-height: 40px;
    }

    .animate-text img {
        width: 80px;
    }
}

@media screen and (max-width: 767px) {
    .login-main-box {
        flex-direction: column;
        overflow: hidden;
        padding: 20px;
        width: 100%;
        margin: 20px;
    }

    .content-wrapper {
        height: 100%!important;
    }

    h1 {
        font-size: 30px;
        line-height: 35px;
    }

    .sub-title {
        gap: 5px;
        padding: 8px 10px;
        font-size: 11px !important;
        line-height: 11px !important;
    }

    .login-image {
        height: 290px;
    }

    .animate-text {
        padding: 10px 10px 5px;
    }

    .animate-text {
        left: 100px;
        top: 90px;
    }
}

@media screen and (max-width: 480px) {
}