:root {
    --brand-navy-900: #063F52;
    --brand-navy-800: #07556B;
    --brand-teal-500: #11B7BE;
    --brand-teal-400: #26C3C7;
    --brand-orange-500: #F28C00;
    --bg-page: #F2F2F2;
    --text-on-dark: #FFFFFF;
    --radius-lg: 24px;
    --shadow-premium: 0 20px 50px rgba(6, 63, 82, 0.25);
    --gradient-dark: linear-gradient(135deg, #063F52 0%, #07556B 100%);
}

body {
    min-height: 100vh;
    margin: 0;
    padding: 0;
    background: var(--bg-page);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow-x: hidden;
}

/* MAWANI Background Mesh */
.bg-mesh { position: absolute; inset: 0; overflow: hidden; z-index: 1; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.15; }
.blob-1 { width: 600px; height: 600px; background: var(--brand-navy-900); top: -200px; left: -200px; }
.blob-2 { width: 500px; height: 500px; background: var(--brand-teal-500); bottom: -100px; right: -100px; }

.auth-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 900px;
    display: flex;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    margin: 1rem;
}

/* Brand Side Panel */
.brand-panel {
    flex: 1;
    background: var(--gradient-dark);
    padding: 3rem;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}
@media (max-width: 768px) { .brand-panel { display: none; } .auth-container { max-width: 440px; } }

.brand-panel::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--brand-teal-500) 0%, transparent 70%);
    opacity: 0.2;
    filter: blur(50px);
}

/* Login Side Panel */
.login-panel {
    width: 440px;
    padding: 3.5rem 3rem;
}
@media (max-width: 768px) { .login-panel { width: 100%; padding: 2.5rem 2rem; } }

.platform-title { color: var(--brand-navy-900); font-weight: 800; font-size: 1.5rem; margin-bottom: 0.5rem; }
.platform-sub { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 2.5rem; }

.form-label { font-weight: 700; color: var(--brand-navy-900); font-size: 0.85rem; margin-bottom: 6px; }
.input-group-custom {
    position: relative;
    margin-bottom: 1.5rem;
}
.input-group-custom i {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--brand-navy-800);
    opacity: 0.6;
    font-size: 1.1rem;
}
.form-input {
    width: 100%;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    font-weight: 600;
    color: var(--brand-navy-900);
    transition: all 0.2s ease;
}
.form-input:focus {
    border-color: var(--brand-teal-500);
    background: white;
    box-shadow: 0 0 0 4px rgba(17, 183, 190, 0.1);
    outline: none;
}

.btn-brand {
    background: var(--brand-teal-500);
    color: white;
    border: none;
    padding: 0.9rem;
    border-radius: 999px;
    font-weight: 700;
    width: 100%;
    box-shadow: 0 8px 25px rgba(17, 183, 190, 0.3);
    transition: all 0.3s ease;
    margin-top: 1rem;
}
.btn-brand:hover {
    background: var(--brand-teal-400);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(17, 183, 190, 0.45);
}

.guest-link {
    display: block;
    text-align: center;
    padding: 1rem;
    border-radius: 14px;
    background: #f1f5f9;
    color: var(--brand-navy-900);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    margin-top: 1.5rem;
    transition: all 0.2s;
    border: 1px solid transparent;
}
.guest-link:hover {
    background: white;
    border-color: var(--brand-teal-500);
    color: var(--brand-teal-500);
}

.lang-switcher { position: fixed; top: 1.5rem; z-index: 100; }
.lang-link {
    text-decoration: none;
    color: var(--brand-navy-900);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    background: white;
    border-radius: 999px;
    border: 1px solid #d6d6d6;
    box-shadow: 0 8px 24px rgba(6,63,82,0.08);
}

.brand-logo { max-height: 60px; margin-bottom: 2rem; }
