﻿/* ===== PAGE LAYOUT ===== */
.login-page {
    display: flex;
    min-height: 100vh;
    background: #f5f9fc;
}

/* ===== LEFT BRAND PANEL ===== */
.login-left {
    flex: 1;
    background: linear-gradient(135deg, #e9f6fb, #fdfefe);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.brand-content {
    text-align: center;
    max-width: 360px;
}

.brand-logo-lg {
    height: 90px;
    width: auto;
    object-fit: contain;
}

.brand-divider {
    height: 1px;
    width: 80px;
    margin: 16px auto;
    background: rgba(0,0,0,0.15);
}

.brand-tagline {
    margin-top: 12px;
    font-size: 14px;
    color: #5f6f7a;
}

/* ===== RIGHT LOGIN PANEL ===== */
.login-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-card {
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    padding: 32px;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
    .login-page {
        flex-direction: column;
    }

    .login-left {
        padding: 24px;
    }

    .brand-logo-lg {
        height: 64px;
    }
}
/* ===== PAGE LAYOUT ===== */
.login-page {
    display: flex;
    min-height: 100vh;
    background: radial-gradient(circle at 15% 20%, rgba(88,199,219,.25), transparent 45%), radial-gradient(circle at 85% 80%, rgba(145,128,255,.18), transparent 45%), linear-gradient(180deg, #f8fcff, #edf6fb);
    position: relative;
    overflow: hidden;
}

    /* floating accent blobs */
    .login-page::before,
    .login-page::after {
        content: "";
        position: absolute;
        border-radius: 50%;
        filter: blur(70px);
        opacity: .6;
    }

    .login-page::before {
        width: 420px;
        height: 420px;
        background: #58c7db;
        top: -140px;
        left: -140px;
    }

    .login-page::after {
        width: 360px;
        height: 360px;
        background: #9180ff;
        bottom: -140px;
        right: -140px;
    }

/* ===== LEFT BRAND PANEL ===== */
.login-left {
    flex: 1;
    background: linear-gradient(135deg, #e6f9fc 0%, #eef6ff 40%, #ffffff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 64px;
    position: relative;
    z-index: 1;
}

.brand-content {
    text-align: center;
    max-width: 440px;
}

/* logos */
.brand-logo-lg {
    height: 96px;
    width: auto;
    object-fit: contain;
    transition: transform .4s ease, filter .4s ease;
}

    .brand-logo-lg:hover {
        transform: scale(1.06);
        filter: drop-shadow(0 6px 14px rgba(0,0,0,.12));
    }

/* divider */
.brand-divider {
    height: 1px;
    width: 140px;
    margin: 22px auto;
    background: linear-gradient( to right, transparent, #4fc3cf, #9180ff, transparent );
}

/* tagline */
.brand-tagline {
    margin-top: 18px;
    font-size: 15px;
    letter-spacing: .4px;
    color: #4b6775;
}

/* ===== RIGHT LOGIN PANEL ===== */
.login-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

/* card */
.login-card {
    width: 100%;
    max-width: 460px;
    background: linear-gradient(180deg, #ffffff, #fbfdff);
    border-radius: 20px;
    padding: 44px 40px;
    box-shadow: 0 40px 80px rgba(0,0,0,.10), 0 10px 24px rgba(79,195,207,.15);
    backdrop-filter: blur(6px);
    animation: slideUp .6s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== FORM COLORS ===== */
.login-card h3 {
    background: linear-gradient(135deg, #2f6fd3, #4fc3cf);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.login-card .form-label {
    color: #405c6a;
    font-weight: 500;
}

/* inputs */
.login-card .form-control {
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(180deg, #f1f8fd, #edf6fb);
    border: 1px solid #d8e7f1;
    transition: all .25s ease;
}

    .login-card .form-control:focus {
        background: #ffffff;
        border-color: #4fc3cf;
        box-shadow: 0 0 0 3px rgba(79,195,207,.25), 0 6px 16px rgba(47,111,211,.15);
    }

/* checkbox */
.login-card .form-check-input:checked {
    background-color: #4fc3cf;
    border-color: #4fc3cf;
}

/* button */
.login-card .btn {
    height: 52px;
    border-radius: 14px;
    font-weight: 600;
    background: linear-gradient(135deg, #4fc3cf, #2f6fd3);
    border: none;
    color: #fff;
    box-shadow: 0 14px 30px rgba(79,195,207,.45);
    transition: all .3s ease;
}

    .login-card .btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 22px 40px rgba(47,111,211,.55);
    }

/* links */
.login-card a {
    color: #2f6fd3;
}

    .login-card a:hover {
        color: #4fc3cf;
    }

/* ===== MOBILE ===== */
@media (max-width: 768px) {
    .login-page {
        flex-direction: column;
    }

    .login-left {
        padding: 36px 20px;
    }

    .brand-logo-lg {
        height: 72px;
    }

    .login-card {
        margin: 20px;
        padding: 34px 28px;
    }
}

