/* Ultimate Modern Split-Screen Auth */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --auth-primary: #6366f1;
    --auth-primary-soft: #eef2ff;
    --auth-dark: #0f172a;
    --auth-text: #1e293b;
    --auth-text-muted: #64748b;
    --auth-border: #e2e8f0;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body.auth-page {
    font-family: 'Outfit', sans-serif;
    background: #fff;
    min-height: 100vh;
    display: block;
    overflow-x: hidden;
}

/* Split Layout */
.auth-split-container {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

/* Left Panel - Visuals & Marketing */
.auth-visual-panel {
    flex: 1.2;
    background: var(--auth-dark);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px;
    color: #fff;
    overflow: hidden;
}

.auth-visual-panel::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -20%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    z-index: 1;
}

.visual-content {
    position: relative;
    z-index: 2;
}

.visual-content h1 {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 25px;
    background: linear-gradient(to right, #fff, rgba(255,255,255,0.7));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.visual-content p {
    font-size: 18px;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
    max-width: 450px;
}

.feature-list {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--auth-primary);
    font-size: 18px;
    border: 1px solid rgba(255,255,255,0.1);
}

.feature-text {
    font-weight: 600;
    font-size: 16px;
    color: rgba(255,255,255,0.9);
}

/* Right Panel - Form */
.auth-form-panel {
    flex: 1;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
}

.auth-form-content {
    width: 100%;
    max-width: 420px;
}

.auth-logo-top {
    margin-top: 50px;
    margin-bottom: 40px;
}

.auth-logo-top img {
    max-height: 75px;
}

.auth-form-content h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--auth-dark);
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.auth-form-content p.subtitle {
    color: var(--auth-text-muted);
    font-size: 16px;
    margin-bottom: 35px;
}

/* Modern Inputs */
.modern-field {
    margin-bottom: 24px;
}

.modern-field label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--auth-dark);
    margin-bottom: 8px;
}

.modern-input-wrap {
    position: relative;
}

.modern-input-wrap input, 
.modern-input-wrap select {
    width: 100%;
    height: 56px;
    background: #f8fafc;
    border: 2px solid #f1f5f9;
    border-radius: 16px;
    padding: 0 20px;
    font-size: 16px;
    font-weight: 500;
    color: var(--auth-dark);
    transition: all 0.3s ease;
}

.modern-input-wrap input:focus,
.modern-input-wrap select:focus {
    background: #fff;
    border-color: var(--auth-primary);
    box-shadow: 0 0 0 4px var(--auth-primary-soft);
    outline: none;
}

.auth-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 35px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    color: var(--auth-text-muted);
    cursor: pointer;
}

.remember-me input {
    width: 18px;
    height: 18px;
    border-radius: 6px;
    cursor: pointer;
}

.forgot-btn {
    color: var(--auth-primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
}

.btn-modern-submit {
    width: 100%;
    height: 58px;
    background: var(--auth-dark);
    color: #fff;
    border: none;
    border-radius: 18px;
    font-size: 17px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.btn-modern-submit:hover {
    background: #000;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.auth-bottom-link {
    text-align: center;
    margin-top: 35px;
    font-size: 16px;
    color: var(--auth-text-muted);
    font-weight: 500;
}

.auth-bottom-link a {
    color: var(--auth-primary);
    text-decoration: none;
    font-weight: 800;
    margin-left: 5px;
}

/* Responsive */
@media (max-width: 1024px) {
    .auth-visual-panel {
        display: none;
    }
    .auth-form-panel {
        padding: 40px 20px;
    }
}

@media (max-width: 480px) {
    .auth-form-content h2 { font-size: 28px; }
    .btn-modern-submit { height: 54px; }
}
