:root {
    --bg-color: #f1f0f5;
    --surface-color: rgba(255, 255, 255, 0.9);
    --text-primary: #2f3847;
    --text-secondary: #475569;
    --accent-primary: #0284c7;
    --accent-hover: #0ea5e9;
    --border-color: rgba(2, 132, 199, 0.15);
    --accent-gradient: linear-gradient(135deg, #0284c7, #0ea5e9);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Lexend', sans-serif; }

body {
    background: var(--bg-color);
    color: var(--text-primary);
    overflow: hidden;
    height: 100vh;
}

.login-split-layout {
    display: flex;
    height: 100vh;
    width: 100vw;
}

.login-left {
    flex: 1.2;
    position: relative;
    background: radial-gradient(circle at center top, #e2e0eb 0%, var(--bg-color) 80%);
    display: flex;
    align-items: center;
    padding: 10%;
    overflow: hidden;
    border-right: 1px solid rgba(2, 132, 199,0.05);
}

/* Abstract Background Elements */
.blob {
    position: absolute; border-radius: 50%; filter: blur(120px); z-index: 0; opacity: 0.25; pointer-events: none;
}
.blob-1 {
    top: -10%; left: -10%; width: 50vw; height: 50vw; background: var(--accent-primary); animation: float 20s ease-in-out infinite alternate;
}
.blob-2 {
    bottom: -10%; right: -10%; width: 40vw; height: 40vw; background: #a855f7; animation: float 15s ease-in-out infinite alternate-reverse;
}
@keyframes float {
    0% { transform: translate(0, 0); }
    100% { transform: translate(5%, 5%); }
}

.left-content {
    position: relative; z-index: 2; max-width: 600px;
}

.brand-logo {
    display: flex; align-items: center; gap: 14px; margin-bottom: 40px;
}
.brand-logo img { width: 54px; height: 54px; filter: drop-shadow(0 0 20px rgba(56, 189, 248, 0.4)); }
.brand-name { font-size: 2rem; font-weight: 800; letter-spacing: 2px; }

.hero-text {
    font-size: 4.8rem; line-height: 1.1; font-weight: 700; margin-bottom: 24px;
    color: var(--text-primary);
    letter-spacing: -1.5px;
}
.hero-subtext {
    font-size: 1.2rem; color: var(--text-secondary); line-height: 1.6; max-width: 480px;
}

/* Decorative glass cards */
.glass-card-deco {
    position: absolute; background: rgba(2, 132, 199,0.02); border: 1px solid rgba(2, 132, 199,0.06);
    backdrop-filter: blur(16px); border-radius: 20px; z-index: -1; pointer-events: none;
    box-shadow: 0 20px 40px rgba(2, 132, 199, 0.1);
}
.float-1 {
    width: 220px; height: 140px; right: 0; top: 15%; transform: rotate(12deg);
    animation: hoverAnim1 8s infinite alternate ease-in-out;
}
.float-2 {
    width: 180px; height: 180px; left: 55%; bottom: 15%; transform: rotate(-10deg);
    animation: hoverAnim2 10s infinite alternate-reverse ease-in-out;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.05), rgba(2, 132, 199,0.01));
}
@keyframes hoverAnim1 {
    0% { transform: translateY(0) rotate(12deg); }
    100% { transform: translateY(-25px) rotate(16deg); }
}
@keyframes hoverAnim2 {
    0% { transform: translateY(0) rotate(-10deg); }
    100% { transform: translateY(-20px) rotate(-14deg); }
}

.login-right {
    flex: 0.8;
    background: var(--bg-color);
    display: flex; align-items: center; justify-content: center;
    position: relative;
    padding: 2rem;
    box-shadow: -20px 0 50px rgba(2, 132, 199, 0.1);
    z-index: 10;
}

.login-container {
    width: 100%; max-width: 420px;
    animation: fadeLeft 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0; transform: translateX(30px);
}

@keyframes fadeLeft { to { opacity: 1; transform: translateX(0); } }

.login-title { font-size: 2.2rem; font-weight: 700; margin-bottom: 8px; color: var(--text-primary); letter-spacing: -0.5px; }
.login-subtitle { color: var(--text-secondary); font-size: 1.05rem; margin-bottom: 45px; font-weight: 400; }

.form-group { margin-bottom: 1.8rem; position: relative; }
.form-group label { display: block; color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 10px; font-weight: 500; }
.form-group input {
    width: 100%; padding: 16px 20px; background: rgba(255, 255, 255, 0.5); border: 1px solid var(--border-color);
    border-radius: 12px; color: var(--text-primary); font-size: 1rem; transition: all 0.3s ease;
}
.form-group input::placeholder { color: rgba(148, 163, 184, 0.4); }
.form-group input:focus {
    outline: none; border-color: var(--accent-primary); background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.15);
}

.btn-login {
    width: 100%; padding: 18px; background: var(--accent-gradient); color: #ffffff; border: none;
    border-radius: 12px; font-size: 1.1rem; font-weight: 600; cursor: pointer; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 1.5rem; box-shadow: 0 8px 25px -8px rgba(56, 189, 248, 0.6); position: relative; overflow: hidden;
}
.btn-login::after {
    content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(2, 132, 199, 0.2), transparent); transition: left 0.5s ease;
}
.btn-login:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -8px rgba(56, 189, 248, 0.8); }
.btn-login:hover::after { left: 100%; }

.return-link {
    display: inline-flex; align-items: center; gap: 8px; color: var(--text-secondary); text-decoration: none;
    font-size: 0.95rem; margin-top: 3rem; transition: all 0.3s ease; font-weight: 500;
}
.return-link:hover { color: var(--text-primary); transform: translateX(-4px); }

/* Responsive */
@media (max-width: 1024px) {
    body {
        overflow-y: auto !important;
        height: auto !important;
        min-height: 100vh !important;
    }
    .login-split-layout {
        flex-direction: column;
        height: auto !important;
        min-height: 100vh;
    }
    .login-left {
        flex: none;
        height: auto !important;
        padding: 3rem 1.5rem 1.5rem;
        align-items: center;
        justify-content: center;
        text-align: center;
        border-right: none;
        border-bottom: 1px solid rgba(2, 132, 199, 0.08);
    }
    .hero-text {
        font-size: 2.4rem;
        margin-bottom: 10px;
    }
    .hero-subtext {
        display: none;
    }
    .brand-logo {
        justify-content: center;
        margin-bottom: 15px;
    }
    .login-right {
        flex: 1;
        padding: 2.5rem 1.5rem 3rem;
        align-items: center;
        justify-content: center;
        box-shadow: none;
    }
    .login-container {
        max-width: 100%;
        transform: none;
        opacity: 1;
    }
    .glass-card-deco {
        display: none;
    }
}

@media (max-width: 480px) {
    .login-left {
        padding: 2.5rem 1.2rem 1.2rem;
    }
    .hero-text {
        font-size: 2rem;
    }
    .brand-name {
        font-size: 1.6rem;
    }
    .brand-logo img {
        width: 42px;
        height: 42px;
    }
    .login-right {
        padding: 1.8rem 1.2rem 2.5rem;
    }
    .login-title {
        font-size: 1.8rem;
    }
    .login-subtitle {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }
    .form-group input {
        padding: 14px 16px;
    }
    .btn-login {
        padding: 15px;
        font-size: 1rem;
    }
    .return-link {
        margin-top: 2rem;
    }
}







