/* ==========================================================================
   Schwair2 · modern.css
   style.css'ten SONRA yüklenir. Yalnızca <body class="ui2"> olan sayfaları
   etkiler (login, 404, index, account). Geri almak için: <link> satırını ve
   body'deki "ui2" sınıfını kaldırmak yeterli.
   Ledger / Aurora / Noir temaları kendi değişkenlerini korur.
   ========================================================================== */

/* ---------- 1. Tasarım değişkenleri ---------- */
:root:not(.design-ledger):not(.design-aurora):not(.design-noir) {
    --bg: #f2f4f7;
    --bg-soft: #f7f8fa;
    --panel: #ffffff;
    --panel-solid: #ffffff;
    --text: #121a23;
    --muted: #56636f;
    --muted-2: #8793a0;
    --border: #e1e6ec;
    --border-strong: #cbd3dc;
    --primary: #2748d9;
    --primary-dark: #1d38b3;
    --on-primary: #ffffff;
    --danger: #c9372c;
    --danger-soft: #fdf1f0;
    --warning: #a85a07;
    --warning-soft: #fef6e7;
    --success: #12805c;
    --success-soft: #eaf7f1;
    --chart-paid: #2748d9;
    --chart-remaining: #12805c;
    --shadow: 0 1px 2px rgba(18, 26, 35, .05), 0 10px 28px rgba(18, 26, 35, .07);
    --shadow-soft: 0 1px 2px rgba(18, 26, 35, .05);
    --radius: 14px;
    --r-sm: 10px;
    --focus: 0 0 0 3px rgba(39, 72, 217, .22);
}

:root:not(.design-ledger):not(.design-aurora):not(.design-noir).dark-theme {
    --bg: #0d1319;
    --bg-soft: #121a22;
    --panel: #141c25;
    --panel-solid: #141c25;
    --text: #eef2f6;
    --muted: #9aa7b5;
    --muted-2: #6f7d8c;
    --border: rgba(255, 255, 255, .09);
    --border-strong: rgba(255, 255, 255, .17);
    --primary: #8aa2ff;
    --primary-dark: #6f8aff;
    --on-primary: #0d1319;
    --danger: #ff8277;
    --danger-soft: rgba(255, 130, 119, .12);
    --warning: #f2b45a;
    --warning-soft: rgba(242, 180, 90, .12);
    --success: #4fd1a1;
    --success-soft: rgba(79, 209, 161, .12);
    --chart-paid: #8aa2ff;
    --chart-remaining: #4fd1a1;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 28px rgba(0, 0, 0, .3);
    --shadow-soft: 0 1px 2px rgba(0, 0, 0, .3);
    --focus: 0 0 0 3px rgba(138, 162, 255, .3);
}

/* ---------- 2. Temel ---------- */
body.ui2 {
    background: var(--bg);
    color: var(--text);
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.ui2 h1,
body.ui2 h2,
body.ui2 h3 {
    color: var(--text);
    letter-spacing: -0.015em;
    line-height: 1.2;
}

/* Para ve sayılar: sabit genişlikli rakamlar, sütunlar hizalı kalır */
body.ui2 .summary-card strong,
body.ui2 .due-amount strong,
body.ui2 .welcome-today-list b,
body.ui2 .bank-summary-card strong,
body.ui2 .debt-meta strong,
body.ui2 .debt31-balance,
body.ui2 .debt31-balance strong,
body.ui2 .debt31-metrics strong,
body.ui2 .health30-score strong,
body.ui2 .calendar31-day-total,
body.ui2 .installment-box,
body.ui2 .auth29-console strong,
body.ui2 .chart37-metric strong {
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum" 1, "cv11" 1;
}

/* Küçük etiketler: büyük harf yok, sakin ve okunur */
body.ui2 .mini-label,
body.ui2 .calendar31-kicker,
body.ui2 .debts31-kicker,
body.ui2 .chart37-eyebrow,
body.ui2 .payment37-eyebrow,
body.ui2 .account31-section-label,
body.ui2 .health30-label,
body.ui2 .auth29-kicker {
    text-transform: none;
    letter-spacing: 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
}

body.ui2 a:focus-visible,
body.ui2 button:focus-visible,
body.ui2 summary:focus-visible,
body.ui2 [tabindex]:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: 8px;
}

body.ui2 ::selection {
    background: rgba(39, 72, 217, .2);
}

/* ---------- 3. Düzen ve yüzeyler ---------- */
body.ui2 .layout {
    max-width: 1200px;
    gap: 20px;
    padding-bottom: 56px;
}

body.ui2 .panel,
body.ui2 .welcome-panel,
body.ui2 .notification-center,
body.ui2 .health30-card,
body.ui2 .calendar31-panel,
body.ui2 .debts31-panel,
body.ui2 .account31-card,
body.ui2 .account31-hero,
body.ui2 .payment37-card,
body.ui2 .chart37-panel {
    background: var(--panel-solid);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

body.ui2 .section-head {
    align-items: flex-start;
    gap: 16px;
}

body.ui2 .section-head h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 650;
}

body.ui2 .section-head p {
    margin: 4px 0 0;
    max-width: 62ch;
    color: var(--muted);
    font-size: 13px;
}

/* ---------- 4. Karşılama ve bildirimler ---------- */
body.ui2 .welcome-copy h2 {
    margin: 4px 0 8px;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.025em;
}

body.ui2 .welcome-copy p {
    margin: 0;
    max-width: 56ch;
    color: var(--muted);
}

body.ui2 .welcome-today-list article {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 12px;
}

body.ui2 .notification-card {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: none;
}

body.ui2 .notification-card.success { background: var(--success-soft); border-color: transparent; }
body.ui2 .notification-card.danger  { background: var(--danger-soft);  border-color: transparent; }
body.ui2 .notification-card.warning { background: var(--warning-soft); border-color: transparent; }

body.ui2 .due-soon-panel {
    background: var(--warning-soft);
    border: 1px solid color-mix(in srgb, var(--warning) 28%, transparent);
    border-radius: var(--radius);
    box-shadow: none;
}

body.ui2 .due-soon-item {
    background: var(--panel-solid);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: none;
}

/* ---------- 5. Özet şeridi: tek parça, hücrelere bölünmüş ---------- */
body.ui2 .summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

body.ui2 .summary-card {
    background: var(--panel-solid);
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 20px 22px;
}

body.ui2 .summary-card > span {
    display: block;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
}

body.ui2 .summary-card strong {
    display: block;
    margin: 6px 0 4px;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.025em;
}

body.ui2 .summary-card small {
    color: var(--muted);
    font-size: 12.5px;
}

body.ui2 .summary-card.danger-card strong { color: var(--danger); }

@media (max-width: 900px) {
    body.ui2 .summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 480px) {
    body.ui2 .summary-card { padding: 16px; }
    body.ui2 .summary-card strong { font-size: 22px; }
}

/* ---------- 6. Formlar ---------- */
body.ui2 input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
body.ui2 select,
body.ui2 textarea {
    width: 100%;
    min-height: 42px;
    padding: 9px 12px;
    background: var(--panel-solid);
    color: var(--text);
    border: 1px solid var(--border-strong);
    border-radius: var(--r-sm);
    font: inherit;
    font-size: 14px;
    box-shadow: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}

body.ui2 textarea { min-height: 96px; resize: vertical; }

body.ui2 input:hover,
body.ui2 select:hover { border-color: var(--muted-2); }

body.ui2 input:focus,
body.ui2 select:focus,
body.ui2 textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: var(--focus);
}

body.ui2 input::placeholder { color: var(--muted-2); }

body.ui2 input[type="file"] {
    font-size: 13px;
    color: var(--muted);
}

body.ui2 .form-field > span,
body.ui2 .form-field > label,
body.ui2 .field-label {
    display: block;
    margin-bottom: 6px;
    color: var(--text);
    font-size: 13px;
    font-weight: 600;
}

body.ui2 .field-help,
body.ui2 .optional {
    color: var(--muted);
    font-size: 12.5px;
    font-weight: 400;
}

/* ---------- 7. Butonlar ---------- */
body.ui2 .btn {
    min-height: 40px;
    padding: 9px 16px;
    border-radius: var(--r-sm);
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.2;
    box-shadow: none;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

body.ui2 .btn:active { transform: translateY(1px); }

body.ui2 .btn-primary {
    background: var(--primary);
    color: var(--on-primary);
    border: 1px solid var(--primary);
}

body.ui2 .btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: none;
    box-shadow: none;
}

body.ui2 .btn-secondary {
    background: var(--panel-solid);
    color: var(--text);
    border: 1px solid var(--border-strong);
}

body.ui2 .btn-secondary:hover { background: var(--bg-soft); border-color: var(--muted-2); }

body.ui2 .btn-ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid transparent;
}

body.ui2 .btn-ghost:hover { background: var(--bg-soft); border-color: var(--border); }

body.ui2 .danger-button,
body.ui2 .btn-danger {
    background: var(--danger);
    border: 1px solid var(--danger);
    color: #fff;
}

body.ui2 .icon-btn {
    min-width: 36px;
    min-height: 36px;
    border-radius: var(--r-sm);
}

/* ---------- 8. Rozetler, uyarılar, toast ---------- */
body.ui2 .status-badge,
body.ui2 .readonly-chip,
body.ui2 .due-soon-count {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--bg-soft);
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
}

body.ui2 .status-badge.success { background: var(--success-soft); color: var(--success); border-color: transparent; }
body.ui2 .status-badge.overdue,
body.ui2 .status-badge.danger  { background: var(--danger-soft);  color: var(--danger);  border-color: transparent; }
body.ui2 .status-badge.soon,
body.ui2 .status-badge.today   { background: var(--warning-soft); color: var(--warning); border-color: transparent; }

body.ui2 .alert {
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid transparent;
    font-size: 13.5px;
    font-weight: 500;
}

body.ui2 .alert-danger  { background: var(--danger-soft);  color: var(--danger);  border-color: color-mix(in srgb, var(--danger) 25%, transparent); }
body.ui2 .alert-success { background: var(--success-soft); color: var(--success); border-color: color-mix(in srgb, var(--success) 25%, transparent); }

body.ui2 .toast {
    background: var(--text);
    color: var(--bg);
    border-radius: var(--r-sm);
    padding: 11px 16px;
    font-size: 13.5px;
    font-weight: 600;
}

/* ---------- 9. Borç kartları ve taksitler ---------- */
body.ui2 .debt-card,
body.ui2 .debt31-card,
body.ui2 .bank-summary-card {
    background: var(--panel-solid);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: none;
}

body.ui2 .progress-bar,
body.ui2 .debt31-progress-track {
    height: 8px;
    border-radius: 999px;
    background: var(--border);
    overflow: hidden;
}

body.ui2 .progress-bar > i,
body.ui2 .debt31-progress-track > i,
body.ui2 .debt31-progress-track > span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--primary);
}

body.ui2 .completed-debt-card .progress-bar > i { background: var(--success); }

body.ui2 .installments {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(74px, 1fr));
    gap: 8px;
}

body.ui2 .installment-box {
    min-height: 52px;
    padding: 8px 6px;
    background: var(--panel-solid);
    border: 1px solid var(--border-strong);
    border-radius: var(--r-sm);
    color: var(--text);
    box-shadow: none;
    cursor: pointer;
    transition: border-color .15s ease, background-color .15s ease;
}

body.ui2 .installment-box:hover { border-color: var(--primary); transform: none; box-shadow: none; }
body.ui2 .installment-box strong { font-size: 14px; font-weight: 700; }
body.ui2 .installment-box span { color: var(--muted); font-size: 11.5px; }

body.ui2 .installment-box.paid {
    background: var(--success-soft);
    border-color: color-mix(in srgb, var(--success) 35%, transparent);
    color: var(--success);
}

body.ui2 .installment-box.paid strong { color: var(--success); }

body.ui2 .installment-box.overdue:not(.paid) {
    background: var(--danger-soft);
    border-color: color-mix(in srgb, var(--danger) 40%, transparent);
    color: var(--danger);
}

body.ui2 .installment-box.overdue:not(.paid) strong { color: var(--danger); }

body.ui2 .receipt-pill {
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--bg-soft);
}

/* ---------- 10. Takvim ---------- */
body.ui2 .calendar31-day {
    background: var(--panel-solid);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: none;
}

body.ui2 .calendar31-weekday {
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
}

/* ---------- 11. Hesap sayfası ---------- */
body.ui2 .account31-navigation {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 6px;
    background: var(--panel-solid);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

body.ui2 .account31-navigation a {
    padding: 7px 12px;
    border-radius: 8px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
}

body.ui2 .account31-navigation a:hover,
body.ui2 .account31-navigation a:focus-visible {
    background: var(--bg-soft);
    color: var(--text);
}

body.ui2 .design-theme-option {
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    background: var(--panel-solid);
    transition: border-color .15s ease, box-shadow .15s ease;
}

body.ui2 .design-theme-option:hover { border-color: var(--muted-2); }

body.ui2 .design-theme-option.is-selected {
    border-color: var(--primary);
    box-shadow: var(--focus);
}

body.ui2 .account31-danger,
body.ui2 .danger-zone {
    border-color: color-mix(in srgb, var(--danger) 30%, transparent);
}

body.ui2 .account36-audit-table { width: 100%; border-collapse: collapse; }

body.ui2 .account36-audit-table th {
    text-align: left;
    padding: 10px 12px;
    color: var(--muted);
    font-size: 12.5px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    border-bottom: 1px solid var(--border-strong);
}

body.ui2 .account36-audit-table td {
    padding: 12px;
    border-bottom: 1px solid var(--border);
}

/* ==========================================================================
   12. Giriş sayfası
   ========================================================================== */
body.auth29-body.ui2 {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body.auth29-body.ui2 .auth29-ambient { display: none; }

body.auth29-body.ui2 .auth29-shell {
    flex: 1;
    width: 100%;
    max-width: 1120px;
    min-height: 0;
    margin: 0 auto;
    padding: 32px 20px 48px;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(340px, 440px);
    gap: 64px;
    align-items: center;
    animation: none;
}

body.auth29-body.ui2 .auth29-showcase {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
    min-width: 0;
}

body.auth29-body.ui2 .auth29-showcase-copy h1 {
    margin: 10px 0 14px;
    font-size: clamp(30px, 4.2vw, 46px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    max-width: 16ch;
}

body.auth29-body.ui2 .auth29-showcase-copy h1 em {
    display: block;
    font-style: normal;
    color: var(--muted);
}

body.auth29-body.ui2 .auth29-showcase-copy p {
    margin: 0;
    max-width: 52ch;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.6;
}

/* Örnek önizleme: gerçek verinin nasıl görüneceğini gösterir */
body.auth29-body.ui2 .auth29-console {
    max-width: 520px;
    padding: 20px;
    background: var(--panel-solid);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    animation: none;
    transform: none;
}

body.auth29-body.ui2 .auth29-console-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
    color: var(--muted);
}

body.auth29-body.ui2 .auth29-console-head b { color: var(--text); font-weight: 650; }

body.auth29-body.ui2 .auth29-console-head i {
    font-style: normal;
    padding: 2px 9px;
    border-radius: 999px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    font-size: 12px;
    font-weight: 600;
}

body.auth29-body.ui2 .auth29-cashflow {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 16px;
}

body.auth29-body.ui2 .auth29-cashflow-main span { display: block; color: var(--muted); font-size: 13px; }
body.auth29-body.ui2 .auth29-cashflow-main strong { display: block; margin: 4px 0; font-size: 30px; font-weight: 700; letter-spacing: -0.025em; }
body.auth29-body.ui2 .auth29-cashflow-main small { color: var(--muted); font-size: 12.5px; }

body.auth29-body.ui2 .auth29-cashflow-bars {
    display: flex;
    align-items: flex-end;
    gap: 5px;
    height: 64px;
    flex: 0 0 auto;
}

body.auth29-body.ui2 .auth29-cashflow-bars i {
    display: block;
    width: 10px;
    height: var(--h);
    border-radius: 3px;
    background: color-mix(in srgb, var(--primary) 30%, transparent);
    animation: none;
}

body.auth29-body.ui2 .auth29-cashflow-bars i:last-child { background: var(--primary); }

body.auth29-body.ui2 .auth29-console-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    margin-bottom: 14px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

body.auth29-body.ui2 .auth29-console-grid article {
    padding: 12px 14px;
    background: var(--panel-solid);
    border: 0;
    border-radius: 0;
    box-shadow: none;
    animation: none;
}

body.auth29-body.ui2 .auth29-console-grid span { display: block; color: var(--muted); font-size: 12px; }
body.auth29-body.ui2 .auth29-console-grid strong { display: block; font-size: 20px; font-weight: 700; margin: 2px 0; }
body.auth29-body.ui2 .auth29-console-grid small { color: var(--muted); font-size: 12px; }

body.auth29-body.ui2 .auth29-flow-list { display: grid; gap: 0; }

body.auth29-body.ui2 .auth29-flow-list article {
    display: grid;
    grid-template-columns: 10px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 11px 2px;
    background: none;
    border: 0;
    border-top: 1px solid var(--border);
    border-radius: 0;
    box-shadow: none;
    animation: none;
}

body.auth29-body.ui2 .auth29-flow-list b { display: block; font-size: 13.5px; font-weight: 600; }
body.auth29-body.ui2 .auth29-flow-list small { color: var(--muted); font-size: 12.5px; }
body.auth29-body.ui2 .auth29-flow-list strong { font-size: 14px; font-weight: 650; font-variant-numeric: tabular-nums; }

body.auth29-body.ui2 .auth29-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--primary);
    box-shadow: none;
}
body.auth29-body.ui2 .auth29-dot.dot-success { background: var(--success); }

/* Adımlar gerçekten sıralı olduğu için numaralı kalır */
body.auth29-body.ui2 .auth29-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    color: var(--muted);
    font-size: 13.5px;
}

body.auth29-body.ui2 .auth29-proof span { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; padding: 0; }
body.auth29-body.ui2 .auth29-proof b {
    display: inline-grid;
    place-items: center;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--bg-soft);
    border: 1px solid var(--border-strong);
    color: var(--text);
    font-size: 11.5px;
    font-weight: 650;
}

/* Eski katmandan kalan süslemeleri kapat */
body.auth29-body.ui2 .auth29-showcase {
    min-height: 0;
    border-radius: 0;
    justify-content: flex-start;
    overflow: visible;
    background: none;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
body.auth29-body.ui2 .auth29-switch { flex-direction: row; align-items: baseline; }
body.auth29-body.ui2 .auth29-showcase::before,
body.auth29-body.ui2 .auth29-showcase::after,
body.auth29-body.ui2 .auth29-form-card::before,
body.auth29-body.ui2 .auth29-form-card::after,
body.auth29-body.ui2 .auth29-kicker::before,
body.auth29-body.ui2 .auth29-console::before,
body.auth29-body.ui2 .auth29-console::after { content: none; display: none; }

body.auth29-body.ui2 .auth29-kicker {
    display: block;
    padding: 0;
    background: none;
    border: 0;
    border-radius: 0;
}

body.auth29-body.ui2 .auth29-showcase-copy { max-width: none; }
body.auth29-body.ui2 .auth29-showcase-copy h1 { max-width: 24ch; }

body.auth29-body.ui2 .auth29-console-head { display: flex; }
body.auth29-body.ui2 .auth29-console-head span { font-size: 13px; font-weight: 500; }
body.auth29-body.ui2 .auth29-console-head b { font-size: 14px; }
body.auth29-body.ui2 .auth29-console-head i { color: var(--muted); background: var(--bg-soft); padding: 2px 9px; font-size: 12px; font-weight: 600; }

body.auth29-body.ui2 .auth29-proof { margin-top: 0; gap: 10px 24px; }
body.auth29-body.ui2 .auth29-proof span {
    padding: 0;
    background: none;
    border: 0;
    border-radius: 0;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--muted);
}
body.auth29-body.ui2 .auth29-proof b { color: var(--text); font-size: 11.5px; }

/* Giriş kutusunun içindeki alan: kenarlık dıştaki sarmalayıcıda */
body.auth29-body.ui2 .auth29-input input,
body.auth29-body.ui2 .auth29-input input:hover,
body.auth29-body.ui2 .auth29-input input:focus {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 var(--r-sm) var(--r-sm) 0;
    min-height: 46px;
}

/* Form kartı */
body.auth29-body.ui2 .auth29-form-card {
    width: 100%;
    padding: 32px;
    background: var(--panel-solid);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow);
    animation: none;
    transform: none;
}

body.auth29-body.ui2 .auth29-form-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding: 4px 11px 4px 9px;
    border-radius: 999px;
    background: var(--success-soft);
    color: var(--success);
    font-size: 12.5px;
    font-weight: 600;
}

body.auth29-body.ui2 .auth29-form-badge span {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--success);
    box-shadow: none;
    animation: none;
}

body.auth29-body.ui2 .auth29-form-head { margin-bottom: 22px; }
body.auth29-body.ui2 .auth29-form-head > span { display: none; }
body.auth29-body.ui2 .auth29-form-head h2 { margin: 0 0 6px; font-size: 26px; font-weight: 700; letter-spacing: -0.025em; }
body.auth29-body.ui2 .auth29-form-head p { margin: 0; color: var(--muted); font-size: 14px; }

body.auth29-body.ui2 .auth29-form { display: grid; gap: 16px; }

body.auth29-body.ui2 .auth29-form label { display: grid; gap: 6px; }
body.auth29-body.ui2 .auth29-form label > span { font-size: 13px; font-weight: 600; color: var(--text); }

body.auth29-body.ui2 .auth29-input {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--panel-solid);
    border: 1px solid var(--border-strong);
    border-radius: var(--r-sm);
    transition: border-color .15s ease, box-shadow .15s ease;
}

body.auth29-body.ui2 .auth29-input:hover { border-color: var(--muted-2); }
body.auth29-body.ui2 .auth29-input:focus-within { border-color: var(--primary); box-shadow: var(--focus); }

body.auth29-body.ui2 .auth29-input i {
    flex: 0 0 40px;
    text-align: center;
    font-style: normal;
    font-weight: 600;
    color: var(--muted-2);
    background: none;
    border: 0;
}

body.auth29-body.ui2 .auth29-input input {
    flex: 1;
    min-width: 0;
    min-height: 46px;
    padding: 0 14px 0 0;
    border: 0;
    border-radius: 0 var(--r-sm) var(--r-sm) 0;
    background: transparent;
    box-shadow: none;
}

body.auth29-body.ui2 .auth29-input input:focus { box-shadow: none; }

body.auth29-body.ui2 .auth29-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 48px;
    margin-top: 4px;
    border: 1px solid var(--primary);
    border-radius: var(--r-sm);
    background: var(--primary);
    color: var(--on-primary);
    font-size: 15px;
    font-weight: 650;
    cursor: pointer;
    box-shadow: none;
    transition: background-color .15s ease;
}

body.auth29-body.ui2 .auth29-submit:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: none; box-shadow: none; }
body.auth29-body.ui2 .auth29-submit b { display: none; }

body.auth29-body.ui2 .auth29-session-note {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    padding: 12px 14px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.5;
}

body.auth29-body.ui2 .auth29-session-note p { margin: 0; }
body.auth29-body.ui2 .auth29-session-note span { color: var(--success); font-weight: 700; }

body.auth29-body.ui2 .auth29-switch {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    margin-top: 20px;
    color: var(--muted);
    font-size: 13.5px;
}

body.auth29-body.ui2 .auth29-switch a { font-weight: 650; }
body.auth29-body.ui2 .auth29-switch a:hover { text-decoration: underline; }

body.auth29-body.ui2 .auth29-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 24px;
    max-width: 1120px;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    color: var(--muted);
    font-size: 12.5px;
    border-top: 1px solid var(--border);
    background: none;
}

@media (max-width: 960px) {
    body.auth29-body.ui2 .auth29-shell {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
        max-width: 520px;
    }
    /* Mobilde önce form: kullanıcı doğrudan giriş yapabilsin */
    body.auth29-body.ui2 .auth29-form-card { order: -1; padding: 24px; }
    body.auth29-body.ui2 .auth29-showcase-copy h1 { max-width: none; }
    body.auth29-body.ui2 .auth29-console { display: none; }
}

/* ==========================================================================
   13. 404 sayfası
   ========================================================================== */
body.error29-body.ui2 {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body.error29-body.ui2 .error29-ambient { display: none; }

body.error29-body.ui2 .error29-shell {
    flex: 1;
    width: 100%;
    max-width: 1040px;
    min-height: 0;
    margin: 0 auto;
    padding: 32px 20px 48px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 56px;
    align-items: center;
    animation: none;
}

body.error29-body.ui2 .error29-visual {
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
    animation: none;
}

body.error29-body.ui2 .error29-code {
    display: block;
    font-size: clamp(110px, 18vw, 200px);
    font-weight: 800;
    letter-spacing: -0.06em;
    line-height: .9;
    color: var(--text);
    font-variant-numeric: tabular-nums;
}

body.error29-body.ui2 .error29-code span,
body.error29-body.ui2 .error29-code b { display: inline; font: inherit; color: inherit; }
body.error29-body.ui2 .error29-code .error29-zero { display: inline; position: static; }
body.error29-body.ui2 .error29-code .error29-zero i { display: none; }
body.error29-body.ui2 .error29-code .error29-zero b { color: var(--primary); animation: none; }

body.error29-body.ui2 .error29-status {
    margin-top: 24px;
    padding: 14px 16px;
    max-width: 340px;
    background: var(--panel-solid);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: none;
}

body.error29-body.ui2 .error29-status span { display: block; color: var(--muted); font-size: 12.5px; }
body.error29-body.ui2 .error29-status strong { display: block; margin: 2px 0; font-size: 15px; font-weight: 650; }
body.error29-body.ui2 .error29-status small { color: var(--muted); font-size: 12.5px; }

body.error29-body.ui2 .error29-content {
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
    animation: none;
}

body.error29-body.ui2 .error29-content h1 {
    margin: 0 0 12px;
    font-size: clamp(28px, 3.6vw, 38px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.12;
    max-width: 18ch;
}

body.error29-body.ui2 .error29-content > p {
    margin: 0 0 24px;
    max-width: 52ch;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.6;
}

body.error29-body.ui2 .error29-countdown {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    padding: 14px 16px;
    max-width: 360px;
    background: var(--panel-solid);
    border: 1px solid var(--border);
    border-radius: 12px;
}

body.error29-body.ui2 .error29-countdown > div { display: flex; align-items: baseline; gap: 6px; }
body.error29-body.ui2 .error29-countdown strong { font-size: 28px; font-weight: 700; font-variant-numeric: tabular-nums; min-width: 2ch; }
body.error29-body.ui2 .error29-countdown span { color: var(--muted); font-size: 13px; }
body.error29-body.ui2 .error29-countdown p { margin: 0; color: var(--muted); font-size: 13px; }

body.error29-body.ui2 .error29-actions { display: flex; flex-wrap: wrap; gap: 10px; }

body.error29-body.ui2 .error29-help {
    margin-top: 24px;
    max-width: 52ch;
    color: var(--muted);
    font-size: 13.5px;
}

body.error29-body.ui2 .error29-help span { font-weight: 650; color: var(--text); }
body.error29-body.ui2 .error29-help p { margin: 2px 0 0; }

body.error29-body.ui2 .error29-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 24px;
    max-width: 1040px;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    color: var(--muted);
    font-size: 12.5px;
    border-top: 1px solid var(--border);
    background: none;
}

/* Eski katmandan kalan süslemeleri kapat */
body.error29-body.ui2 .error29-visual,
body.error29-body.ui2 .error29-content {
    min-height: 0;
    display: block;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 0;
}
body.error29-body.ui2 .error29-visual::before,
body.error29-body.ui2 .error29-visual::after { content: none; display: none; }

body.error29-body.ui2 .error29-code {
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    gap: 0;
    white-space: nowrap;
    font-size: clamp(96px, 15vw, 176px);
    letter-spacing: -0.06em;
}
body.error29-body.ui2 .error29-code .error29-zero {
    display: inline;
    width: auto;
    height: auto;
    background: none;
    box-shadow: none;
    border-radius: 0;
    color: var(--primary);
}
body.error29-body.ui2 .error29-code .error29-zero b { font-size: 1em; letter-spacing: inherit; font-weight: inherit; color: inherit; }

body.error29-body.ui2 .error29-countdown { display: flex; margin: 0 0 24px; background: var(--panel-solid); }
body.error29-body.ui2 .error29-countdown > div { display: flex; min-width: 0; padding: 0; background: none; border: 0; border-radius: 0; }
body.error29-body.ui2 .error29-countdown strong { color: var(--primary); line-height: 1; }
body.error29-body.ui2 .error29-countdown span,
body.error29-body.ui2 .error29-countdown p { font-size: 13px; }

body.error29-body.ui2 .error29-help { display: block; padding-top: 0; border-top: 0; }
body.error29-body.ui2 .error29-help span { display: inline; padding: 0; border-radius: 0; background: none; color: var(--text); font-size: 13.5px; font-weight: 650; }
body.error29-body.ui2 .error29-help p { font-size: 13.5px; }

@media (max-width: 800px) {
    body.error29-body.ui2 .error29-shell { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    body.error29-body.ui2 .error29-code { font-size: 112px; }
}

/* ---------- 13b. Eski katmanın dekorları ve düzeltmeler ---------- */
/* Kartların üzerindeki degrade şeritler, parlamalar ve daireler kapatılır */
body.ui2 .panel::before, body.ui2 .panel::after,
body.ui2 .welcome-panel::before, body.ui2 .welcome-panel::after,
body.ui2 .notification-center::before, body.ui2 .notification-center::after,
body.ui2 .health30-card::before, body.ui2 .health30-card::after,
body.ui2 .calendar31-panel::before, body.ui2 .calendar31-panel::after,
body.ui2 .debts31-panel::before, body.ui2 .debts31-panel::after,
body.ui2 .account31-card::before, body.ui2 .account31-card::after,
body.ui2 .account31-hero::before, body.ui2 .account31-hero::after,
body.ui2 .payment37-card::before, body.ui2 .payment37-card::after,
body.ui2 .chart37-panel::before, body.ui2 .chart37-panel::after,
body.ui2 .summary-card::before, body.ui2 .summary-card::after,
body.ui2 .debt-card::before, body.ui2 .debt-card::after,
body.ui2 .debt31-card::before, body.ui2 .debt31-card::after {
    content: none;
    display: none;
}

body.ui2 .account31-card,
body.ui2 .debt-card,
body.ui2 .debt31-card {
    overflow: visible;
    padding: 24px;
}

body.ui2 .account31-card { border-left: 1px solid var(--border); }

/* Banka rengi yalnızca ince bir şerit olarak kalır: hangi bankaya ait olduğunu söyler */
body.ui2 .debt-card,
body.ui2 .debt31-card {
    border-left: 3px solid var(--bank-accent, var(--border-strong));
}

/* Taksit kutusundaki eski rozet/daire arka planları sıfırlanır */
body.ui2 .installment-box strong,
body.ui2 .installment-box.paid strong,
body.ui2 .installment-box.overdue strong {
    display: block;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    background: none;
    border-radius: 0;
    box-shadow: none;
}

/* Hesap sayfası bölüm menüsü: tek satır başlıklar */
body.ui2 .account31-navigation { gap: 4px; padding: 6px; align-items: center; }
body.ui2 .account31-navigation a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 6px 12px;
    border: 0;
    border-radius: 8px;
    background: none;
    box-shadow: none;
    flex: 0 0 auto;
}
body.ui2 .account31-navigation a span,
body.ui2 .account31-navigation a small { display: none; }
body.ui2 .account31-navigation a b { font-size: 13px; font-weight: 600; color: inherit; }

@media (max-width: 760px) {
    body.ui2 .account31-navigation { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; }
    body.ui2 .layout { padding-left: 14px; padding-right: 14px; }
}

/* ---------- 13c. Eski katmanın !important ile kilitlediği özellikler ----------
   Yalnızca varsayılan (glass) temada ezilir; Ledger/Aurora/Noir etkilenmez. */
html:not(.design-ledger):not(.design-aurora):not(.design-noir) body.ui2 .panel,
html:not(.design-ledger):not(.design-aurora):not(.design-noir) body.ui2 .welcome-panel,
html:not(.design-ledger):not(.design-aurora):not(.design-noir) body.ui2 .notification-center,
html:not(.design-ledger):not(.design-aurora):not(.design-noir) body.ui2 .health30-card,
html:not(.design-ledger):not(.design-aurora):not(.design-noir) body.ui2 .calendar31-panel,
html:not(.design-ledger):not(.design-aurora):not(.design-noir) body.ui2 .debts31-panel,
html:not(.design-ledger):not(.design-aurora):not(.design-noir) body.ui2 .account31-card,
html:not(.design-ledger):not(.design-aurora):not(.design-noir) body.ui2 .payment37-card {
    border-radius: var(--radius) !important;
    box-shadow: var(--shadow-soft) !important;
}

html:not(.design-ledger):not(.design-aurora):not(.design-noir) body.ui2 .panel,
html:not(.design-ledger):not(.design-aurora):not(.design-noir) body.ui2 .welcome-panel,
html:not(.design-ledger):not(.design-aurora):not(.design-noir) body.ui2 .notification-center {
    background: var(--panel-solid) !important;
}

html:not(.design-ledger):not(.design-aurora):not(.design-noir) body.ui2 .summary-card {
    background: var(--panel-solid) !important;
    border-radius: 0 !important;
    border-left: 0 !important;
    box-shadow: none !important;
}

html:not(.design-ledger):not(.design-aurora):not(.design-noir) body.ui2 .debt-card,
html:not(.design-ledger):not(.design-aurora):not(.design-noir) body.ui2 .debt31-card {
    background: var(--panel-solid) !important;
    border: 1px solid var(--border) !important;
    border-left: 3px solid var(--bank-accent, var(--border-strong)) !important;
    border-radius: var(--radius) !important;
    box-shadow: none !important;
    padding: 24px !important;
    overflow: visible;
}

html:not(.design-ledger):not(.design-aurora):not(.design-noir) body.ui2 .notification-card { border-radius: 12px !important; }
html:not(.design-ledger):not(.design-aurora):not(.design-noir) body.ui2 .readonly-chip,
html:not(.design-ledger):not(.design-aurora):not(.design-noir) body.ui2 .status-badge { border-radius: 999px !important; }
html:not(.design-ledger):not(.design-aurora):not(.design-noir) body.ui2 .installment-box { border-radius: var(--r-sm) !important; box-shadow: none !important; }

html:not(.design-ledger):not(.design-aurora):not(.design-noir) body.ui2 .btn {
    border-radius: var(--r-sm) !important;
    box-shadow: none !important;
}
html:not(.design-ledger):not(.design-aurora):not(.design-noir) body.ui2 .btn-primary { background: var(--primary) !important; color: var(--on-primary) !important; }
html:not(.design-ledger):not(.design-aurora):not(.design-noir) body.ui2 .btn-primary:hover { background: var(--primary-dark) !important; }
html:not(.design-ledger):not(.design-aurora):not(.design-noir) body.ui2 .btn-secondary { background: var(--panel-solid) !important; color: var(--text) !important; }

/* ---------- 14. Hareket tercihi ---------- */
@media (prefers-reduced-motion: reduce) {
    body.ui2 *,
    body.ui2 *::before,
    body.ui2 *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}
