﻿
.auth-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    background: #f4f7fb;
    font-family: 'Inter',sans-serif;
}

.auth-left {
    background: linear-gradient(135deg,#0f172a,#1e293b);
    color: white;
    padding: 70px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

    .auth-left::before {
        content: '';
        position: absolute;
        width: 500px;
        height: 500px;
        background: rgba(255,255,255,0.04);
        border-radius: 50%;
        top: -200px;
        right: -100px;
    }

.brand-section {
    display: flex;
    align-items: center;
    gap: 18px;
    position: relative;
    z-index: 2;
}

.brand-logo {
    width: 80px;
    height: 80px;
    border-radius: 24px;
    background: linear-gradient(135deg,#4f46e5,#2563eb);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    box-shadow: 0 20px 40px rgba(79,70,229,0.35);
}

.brand-section h1 {
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 6px;
}

.brand-section p {
    color: #cbd5e1;
}

.hero-content {
    max-width: 560px;
    position: relative;
    z-index: 2;
}

    .hero-content h2 {
        font-size: 56px;
        line-height: 1.1;
        margin-bottom: 24px;
        font-weight: 800;
    }

    .hero-content p {
        font-size: 18px;
        line-height: 1.8;
        color: #cbd5e1;
        margin-bottom: 36px;
    }

.feature-list {
    display: grid;
    gap: 18px;
}

.feature-item {
    height: 64px;
    border-radius: 20px;
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    padding: 0 24px;
    font-weight: 600;
}

.auth-right {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.auth-card {
    width: 100%;
    max-width: 520px;
    background: white;
    border-radius: 36px;
    padding: 48px;
    box-shadow: 0 25px 60px rgba(15,23,42,0.08);
}

.auth-header {
    margin-bottom: 40px;
}

    .auth-header h2 {
        font-size: 42px;
        font-weight: 800;
        margin-bottom: 12px;
        color: #0f172a;
    }

    .auth-header p {
        color: #64748b;
        font-size: 16px;
    }

.input-group {
    margin-bottom: 28px;
}

    .input-group label {
        display: block;
        margin-bottom: 14px;
        font-weight: 700;
        color: #0f172a;
    }

.premium-input {
    height: 72px;
    border-radius: 24px;
    border: 1px solid #dbe4f0;
    background: linear-gradient(135deg,#ffffff,#f8fafc);
    display: flex;
    align-items: center;
    padding: 0 20px;
    gap: 16px;
    transition: all .3s ease;
}

    .premium-input:focus-within {
        border-color: #4f46e5;
        box-shadow: 0 0 0 4px rgba(79,70,229,0.12);
    }

.input-icon {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    background: linear-gradient(135deg,#eef2ff,#e0e7ff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.input-control {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    font-size: 16px;
    font-weight: 600;
}

.auth-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.remember-box {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #475569;
}

.auth-options a {
    color: #4f46e5;
    font-weight: 700;
    text-decoration: none;
}

.login-btn {
    width: 100%;
    height: 68px;
    border: none;
    border-radius: 22px;
    background: linear-gradient(135deg,#4f46e5,#2563eb);
    color: white;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: all .3s ease;
    box-shadow: 0 18px 35px rgba(79,70,229,0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

    .login-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 25px 45px rgba(79,70,229,0.35);
    }

    .login-btn:disabled {
        cursor: wait;
        opacity: .88;
        transform: none;
    }

.login-btn-spinner {
    width: 20px;
    height: 20px;
    border-radius: 999px;
    border: 3px solid rgba(255,255,255,.35);
    border-top-color: #fff;
    animation: spin .75s linear infinite;
}

.error-box {
    margin-top: 20px;
    padding: 16px;
    border-radius: 18px;
    background: #fee2e2;
    color: #dc2626;
    font-weight: 600;
}

@media(max-width:1200px) {

    .auth-page {
        grid-template-columns: 1fr;
    }

    .auth-left {
        display: none;
    }
}
