/* ==========================================================================
   Şahinler Züccaciye — Çekiliş / Kampanya Sistemi
   Kurumsal Giriş (Login) Tasarımı — Split Screen
   ========================================================================== */

:root {
    --brand-navy: #0f172a;
    --brand-navy-2: #16233d;
    --gold: #cba55a;
    --accent: #2563eb;
    --accent-hover: #1d4ed8;
    --accent-gradient: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
    --bg-page: #eef1f6;
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --border: #e2e6ee;
    --error-color: #dc2626;
    --error-bg: #fef2f2;
    --radius: 14px;
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

.auth-body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-page);
    color: var(--text-primary);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.auth-layout {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    min-height: 100vh;
}

/* ── Brand Panel ── */
.auth-brand {
    position: relative;
    background: linear-gradient(160deg, var(--brand-navy) 0%, var(--brand-navy-2) 55%, #1e3a8a 130%);
    color: #e2e8f0;
    padding: 3rem 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}
.auth-brand::before {
    content: '';
    position: absolute;
    top: -120px; right: -120px;
    width: 380px; height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.45), transparent 70%);
}
.auth-brand::after {
    content: '';
    position: absolute;
    bottom: -160px; left: -100px;
    width: 420px; height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(203, 165, 90, 0.18), transparent 70%);
}

.auth-brand-top,
.auth-brand-body,
.auth-brand-foot { position: relative; z-index: 2; }

.auth-brand-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 16px;
    padding: 12px 16px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}
.auth-brand-logo img { max-height: 46px; width: auto; display: block; }

.auth-brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #cbd5e1;
    padding: 7px 15px;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}
.auth-brand-badge i { color: var(--gold); }

.auth-brand-body h2 {
    font-size: 2.1rem;
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 1rem;
    max-width: 460px;
}
.auth-brand-body p {
    font-size: 1rem;
    color: #a9b6cc;
    line-height: 1.6;
    max-width: 440px;
    margin-bottom: 2rem;
}

.auth-brand-features { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.auth-brand-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.92rem;
    color: #d5deec;
    font-weight: 500;
}
.auth-brand-features i { color: #34d399; font-size: 1.15rem; }

.auth-brand-foot { font-size: 0.8rem; color: #7c8aa5; }

/* ── Form Panel ── */
.auth-form-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem;
}

.auth-card {
    width: 100%;
    max-width: 420px;
}

.auth-card-logo { display: none; margin-bottom: 1.5rem; text-align: center; }
.auth-card-logo img { max-height: 54px; }

.auth-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
}
.auth-subtitle {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.auth-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--error-bg);
    color: var(--error-color);
    border: 1px solid #fecaca;
    border-left: 4px solid var(--error-color);
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}
.auth-alert i { font-size: 1.1rem; flex-shrink: 0; }

.auth-field { margin-bottom: 1.25rem; }
.auth-field label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 8px;
}

.auth-input-wrap { position: relative; }
.auth-input-wrap > i {
    position: absolute;
    left: 16px; top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.05rem;
    pointer-events: none;
    transition: var(--transition);
}
.auth-input-wrap input {
    width: 100%;
    height: 54px;
    padding: 0 48px;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    color: var(--text-primary);
    background: #f6f8fb;
    outline: none;
    transition: var(--transition);
}
.auth-input-wrap input::placeholder { color: var(--text-muted); }
.auth-input-wrap input:focus {
    border-color: var(--accent);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}
.auth-input-wrap input:focus + .auth-toggle-pass,
.auth-input-wrap:focus-within > i { color: var(--accent); }

.auth-toggle-pass {
    position: absolute;
    right: 8px; top: 50%;
    transform: translateY(-50%);
    width: 38px; height: 38px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.auth-toggle-pass:hover { color: var(--text-primary); background: #eef1f6; }

.auth-btn {
    width: 100%;
    height: 52px;
    margin-top: 0.5rem;
    background: var(--accent-gradient);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
    box-shadow: 0 8px 22px rgba(37, 99, 235, 0.35);
}
.auth-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(37, 99, 235, 0.45); }
.auth-btn:active { transform: translateY(0); }

.auth-secure-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.4;
}
.auth-secure-note i { color: var(--success, #059669); font-size: 0.95rem; }

/* ── Responsive ── */
@media (max-width: 900px) {
    .auth-layout { grid-template-columns: 1fr; }
    .auth-brand { display: none; }
    .auth-form-panel { padding: 1.5rem; min-height: 100vh; }
    .auth-card-logo { display: block; }
}
