/*
 * Sadece İK — panel dışındaki sayfaların ortak kurumsal stili.
 * Renkler logodan (#0440DE) türetildi; panel (Filament) ile aynı palet ve fontlar.
 */
:root {
    --brand: #0440DE;
    --brand-dark: #0333B2;
    --brand-50: #F2F5FE;
    --brand-100: #E6ECFC;
    --ink: #0B1736;
    --text: #1E293B;
    --muted: #64748B;
    --subtle: #94A3B8;
    --line: #E2E8F0;
    --bg: #F5F7FB;
    --surface: #FFFFFF;
    --success: #059669;
    --success-bg: #D1FAE5;
    --warning: #B45309;
    --warning-bg: #FEF3C7;
    --danger: #B91C1C;
    --danger-bg: #FEE2E2;
    --radius: 12px;
    --radius-lg: 16px;
    --shadow: 0 1px 2px rgba(11, 23, 54, .04), 0 8px 24px rgba(11, 23, 54, .06);
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Outfit', var(--font-body);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--font-heading); color: var(--ink); line-height: 1.25; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: var(--brand); }
a:hover { color: var(--brand-dark); }
img { max-width: 100%; }

/* ---------- Üst ve alt bilgi ---------- */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.site-header-inner { max-width: 1080px; margin: 0 auto; padding: 0 24px; height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.site-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.site-logo img { height: 32px; display: block; }
.site-header-nav { display: flex; align-items: center; gap: 20px; font-size: 14px; }
.site-header-nav a { color: var(--muted); text-decoration: none; font-weight: 500; }
.site-header-nav a:hover { color: var(--ink); }

.site-main { flex: 1; width: 100%; }

.site-footer { border-top: 1px solid var(--line); background: var(--surface); }
.site-footer-inner { max-width: 1080px; margin: 0 auto; padding: 20px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; font-size: 13px; color: var(--subtle); }
.site-footer nav { display: flex; gap: 20px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--brand); }

/* ---------- Yerleşimler ---------- */
.layout-centered .site-main { display: flex; align-items: center; justify-content: center; padding: 48px 20px; background: radial-gradient(ellipse 70% 50% at 50% 0%, var(--brand-100), transparent 70%); }
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }

/* ---------- Bileşenler ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 36px; width: 100%; }
.card-sm { max-width: 440px; }
.card-center { text-align: center; }
.card-title { font-size: 22px; margin-bottom: 6px; }
.card-subtitle { color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.card-brand { display: flex; justify-content: center; margin-bottom: 20px; }
.card-brand img { height: 44px; display: block; }

.eyebrow { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); margin-bottom: 8px; }
.badge { display: inline-block; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--brand-100); color: var(--brand-dark); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 10px; border: 1px solid transparent; font: 600 14px/1.2 var(--font-body); text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-block { width: 100%; }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.field input, .field textarea, .field select {
    width: 100%; padding: 10px 12px; border: 1px solid #CBD5E1; border-radius: 10px;
    font: 14px/1.4 var(--font-body); color: var(--ink); background: var(--surface);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(4, 64, 222, .15); }
.field-hint { font-size: 12px; color: var(--subtle); margin-top: 4px; }
.field-error { font-size: 12px; color: var(--danger); margin-top: 4px; }

.alert { border-radius: 10px; padding: 12px 14px; font-size: 13.5px; margin-bottom: 18px; border: 1px solid transparent; }
.alert ul { margin: 0; padding-left: 18px; }
.alert-danger { background: #FEF2F2; border-color: #FECACA; color: var(--danger); }
.alert-success { background: #ECFDF5; border-color: #A7F3D0; color: var(--success); }
.alert-info { background: var(--brand-50); border-color: var(--brand-100); color: var(--brand-dark); }

.status-icon { width: 64px; height: 64px; border-radius: 999px; display: flex; align-items: center; justify-content: center; font-size: 30px; font-weight: 700; margin: 0 auto 20px; }
.status-icon.success { background: var(--success-bg); color: var(--success); }
.status-icon.info { background: var(--brand-100); color: var(--brand); }
.status-icon.warning { background: var(--warning-bg); color: var(--warning); }
.status-icon.danger { background: var(--danger-bg); color: var(--danger); }

.muted { color: var(--muted); }
.text-sm { font-size: 13px; }

/* ---------- Yasal metinler ---------- */
.prose { padding: 56px 0 88px; }
.prose h1 { font-size: 32px; margin-bottom: 8px; }
.prose .updated { color: var(--subtle); font-size: 13px; margin-bottom: 36px; }
.prose h2 { font-size: 20px; margin: 36px 0 12px; }
.prose p, .prose li { color: #334155; font-size: 15px; line-height: 1.75; }
.prose p + p { margin-top: 12px; }
.prose ul { margin: 8px 0 8px 20px; padding: 0; }
.prose li { margin-bottom: 6px; }
.prose strong { color: var(--ink); }

@media (max-width: 560px) {
    .card { padding: 28px 22px; }
    .site-header-nav .hide-sm { display: none; }
    .site-footer-inner { justify-content: center; text-align: center; }
}
