/* ================================================================
   Giderler.com - Kurumsal Finans Takip Uygulaması
   Premium CSS Tasarım Sistemi v2.0
   ================================================================ */

:root {
    --sidebar-bg:      #0f172a;
    --sidebar-border:  rgba(255,255,255,0.07);
    --sidebar-hover:   rgba(255,255,255,0.07);
    --sidebar-active:  #6366f1;
    --sidebar-text:    rgba(255,255,255,0.60);
    --sidebar-text-hi: #ffffff;
    --sidebar-width:   275px;

    --primary:         #6366f1;
    --primary-dark:    #4f46e5;
    --primary-light:   #818cf8;
    --primary-bg:      #eef2ff;

    --success:         #22c55e;
    --success-dark:    #16a34a;
    --success-bg:      #f0fdf4;

    --danger:          #ef4444;
    --danger-dark:     #dc2626;
    --danger-bg:       #fef2f2;

    --warning:         #f59e0b;
    --warning-bg:      #fffbeb;

    --info:            #3b82f6;
    --info-bg:         #eff6ff;

    --body-bg:         #f1f5f9;
    --card-bg:         #ffffff;
    --header-bg:       #ffffff;

    --text-1:          #0f172a;
    --text-2:          #475569;
    --text-3:          #94a3b8;
    --border:          #e2e8f0;
    --border-strong:   #cbd5e1;

    --header-h:        66px;
    --radius-xs:       4px;
    --radius-sm:       8px;
    --radius-md:       12px;
    --radius-lg:       16px;
    --radius-xl:       20px;
    --radius-full:     9999px;

    --shadow-xs:  0 1px 2px rgba(0,0,0,0.05);
    --shadow-sm:  0 1px 3px rgba(0,0,0,0.07), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md:  0 4px 16px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.04);
    --shadow-lg:  0 10px 40px rgba(0,0,0,0.10), 0 2px 6px rgba(0,0,0,0.05);
    --shadow-xl:  0 20px 60px rgba(0,0,0,0.14);

    --ease:       cubic-bezier(0.4, 0, 0.2, 1);
    --transition: all 0.22s var(--ease);
}

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: 14px; line-height: 1.6;
    color: var(--text-1); background: var(--body-bg);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 99px; }

/* ================================================================
   LAYOUT
   ================================================================ */
body.has-sidebar { display: flex; min-height: 100vh; }

.sidebar {
    width: var(--sidebar-width);
    background: var(--sidebar-bg);
    position: fixed; top: 0; left: 0;
    height: 100vh; z-index: 1000;
    display: flex; flex-direction: column;
    overflow-y: auto; overflow-x: hidden;
    transition: transform 0.3s var(--ease);
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.08) transparent;
}

.page-wrapper {
    flex: 1;
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    display: flex; flex-direction: column;
    background: var(--body-bg);
}

.app-header {
    height: var(--header-h);
    background: var(--header-bg);
    border-bottom: 1px solid var(--border);
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 26px;
    position: sticky; top: 0; z-index: 900;
    box-shadow: 0 1px 0 var(--border);
    gap: 14px;
    flex-shrink: 0;
}

.app-main {
    flex: 1;
    padding: 26px;
    display: flex; flex-direction: column;
}

.app-footer {
    background: var(--card-bg);
    border-top: 1px solid var(--border);
    padding: 16px 26px;
    text-align: center;
    font-size: 13px;
    color: var(--text-3);
    flex-shrink: 0;
}

.sidebar-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(2px);
    z-index: 999;
}
.sidebar-overlay.show { display: block; }

/* ================================================================
   SIDEBAR — Kurumsal Tasarım
   ================================================================ */

/* ── Brand Head ── */
.sb-head {
    padding: 20px 16px 0;
    flex-shrink: 0;
}

.sb-brand {
    display: flex;
    align-items: center;
    gap: 11px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    text-decoration: none;
    color: inherit;
    transition: opacity .18s ease, transform .18s ease;
}

.sb-brand:hover {
    opacity: 0.96;
    transform: translateY(-1px);
    color: inherit;
}

.sb-logo {
    width: 40px; height: 40px;
    border-radius: 12px;
    background: linear-gradient(145deg, #4f46e5 0%, #6366f1 45%, #818cf8 100%);
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    flex-shrink: 0;
    animation: sb-logo-glow 3s ease-in-out infinite;
    border: 1px solid rgba(255,255,255,0.34);
    box-shadow: 0 8px 24px rgba(79,70,229,0.35), inset 0 1px 0 rgba(255,255,255,0.22);
}

.sb-logo-mark {
    width: 21px;
    height: 21px;
    color: #fff;
    filter: drop-shadow(0 1px 1px rgba(0,0,0,0.18));
}

@keyframes sb-logo-glow {
    0%, 100% { box-shadow: 0 6px 20px rgba(99,102,241,0.45); }
    50%       { box-shadow: 0 6px 32px rgba(99,102,241,0.75), 0 0 0 6px rgba(99,102,241,0.09); }
}

.sb-brand-info strong {
    display: block;
    font-size: 15px; font-weight: 800; color: #fff;
    letter-spacing: -0.3px;
}

.sb-brand-info span {
    font-size: 11px;
    color: rgba(255,255,255,0.38);
    font-weight: 500;
}

/* Net balance widget */
.sb-net {
    padding: 14px 0 16px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.sb-net small {
    display: block;
    font-size: 9.5px; font-weight: 800;
    text-transform: uppercase; letter-spacing: 1.2px;
    color: rgba(255,255,255,0.32);
    margin-bottom: 5px;
}

.sb-net strong {
    font-size: 23px; font-weight: 900;
    letter-spacing: -0.8px;
    font-variant-numeric: tabular-nums;
    display: block;
}

.sb-net-pos { color: #4ade80; }
.sb-net-neg { color: #f87171; }

/* ── Navigation ── */
.sb-nav {
    flex: 1;
    padding: 6px 10px;
    overflow-y: auto;
}

.sb-group { margin-bottom: 4px; }

.sb-group-label {
    font-size: 9.5px; font-weight: 800;
    letter-spacing: 1.8px; text-transform: uppercase;
    color: rgba(255,255,255,0.22);
    padding: 14px 8px 5px;
    user-select: none;
}

.sb-item {
    display: flex; align-items: center; gap: 10px;
    padding: 9px 10px;
    border-radius: 10px;
    color: rgba(255,255,255,0.58);
    font-size: 13.5px; font-weight: 500;
    text-decoration: none;
    margin-bottom: 1px;
    position: relative;
    overflow: hidden;
    transition: color .18s ease, background .18s ease;
}

/* Shimmer on hover */
.sb-item::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.07) 50%, transparent 60%);
    transform: translateX(-120%);
}

.sb-item:hover::before {
    transform: translateX(120%);
    transition: transform .55s ease;
}

.sb-item:hover {
    color: #fff;
    background: rgba(255,255,255,0.08);
}

/* Active: gradient bg + left accent bar */
.sb-item.is-active {
    background: linear-gradient(135deg, rgba(99,102,241,0.30) 0%, rgba(99,102,241,0.12) 100%);
    color: #fff;
    font-weight: 600;
}

.sb-item.is-active::after {
    content: '';
    position: absolute;
    left: 0; top: 18%; bottom: 18%;
    width: 3px;
    background: linear-gradient(180deg, #a5b4fc, var(--primary));
    border-radius: 0 3px 3px 0;
    box-shadow: 0 0 10px rgba(99,102,241,0.65);
}

.sb-ico {
    font-size: 16px; width: 22px;
    text-align: center; flex-shrink: 0;
    transition: transform .22s ease;
}

.sb-item:hover .sb-ico,
.sb-item.is-active .sb-ico { transform: scale(1.18); }

.sb-item-lbl { flex: 1; }

/* Balance amounts in nav */
.sb-amount {
    font-size: 11.5px; font-weight: 700;
    color: #4ade80;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.sb-amount.neg { color: #f87171; }

/* Tags (gelir/gider) */
.sb-tag {
    font-size: 9px; font-weight: 800;
    text-transform: uppercase; letter-spacing: 0.4px;
    padding: 2px 7px; border-radius: 999px;
}

.sb-tag--in  { background: rgba(74,222,128,0.18); color: #4ade80; }
.sb-tag--out { background: rgba(248,113,113,0.18); color: #f87171; }

/* Danger item (logout) */
.sb-item--danger { color: rgba(248,113,113,0.65); }
.sb-item--danger:hover { color: #f87171; background: rgba(248,113,113,0.10); }

/* ── Ad slot ── */
.sb-ad {
    margin: 8px 10px;
    padding: 10px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 10px;
    text-align: center;
    min-height: 140px;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.10);
    font-size: 11px;
}

/* ── User Footer ── */
.sb-foot {
    display: flex; align-items: center; gap: 10px;
    padding: 14px;
    border-top: 1px solid rgba(255,255,255,0.07);
    background: rgba(0,0,0,0.22);
    flex-shrink: 0;
}

.sb-ava {
    width: 34px; height: 34px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #818cf8);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 800; font-size: 14px;
    flex-shrink: 0;
    position: relative;
    box-shadow: 0 0 0 2px rgba(99,102,241,0.42);
}

.sb-ava-dot {
    position: absolute; bottom: 1px; right: 1px;
    width: 8px; height: 8px; border-radius: 50%;
    background: #22c55e;
    border: 1.5px solid #0d1117;
    animation: sb-dot-pulse 2.8s ease-in-out infinite;
}

@keyframes sb-dot-pulse {
    0%, 100% { box-shadow: 0 0 4px rgba(34,197,94,0.5); }
    50%       { box-shadow: 0 0 10px rgba(34,197,94,0.85); }
}

.sb-foot-info { flex: 1; min-width: 0; }

.sb-foot-info strong {
    display: block;
    font-size: 13px; font-weight: 700; color: #fff;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.sb-foot-info span { font-size: 11px; color: rgba(255,255,255,0.38); }

.sb-foot-action {
    width: 30px; height: 30px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.36);
    background: transparent;
    border: 1px solid rgba(255,255,255,0.08);
    text-decoration: none;
    transition: color .18s, background .18s, border-color .18s;
    flex-shrink: 0;
}

.sb-foot-action:hover {
    color: #fff;
    background: rgba(255,255,255,0.09);
    border-color: rgba(255,255,255,0.16);
}

/* ================================================================
   APP HEADER — Kurumsal Tasarım
   ================================================================ */

/* ── Left ── */
.hdr-left {
    display: flex; align-items: center; gap: 14px;
    flex-shrink: 0;
    margin-right: auto;
}

.hdr-title-wrap { min-width: 0; }

.hdr-title {
    font-size: 17px; font-weight: 800;
    color: var(--text-1); letter-spacing: -0.3px;
    line-height: 1.2; white-space: nowrap;
}

.hdr-breadcrumb {
    display: flex; align-items: center; gap: 5px;
    font-size: 11px; color: var(--text-3);
    margin-top: 1px;
}

.hdr-bc-sep { opacity: .5; }

/* ── Center chips ── */
.hdr-center {
    display: flex; align-items: center; gap: 8px;
    padding: 0 22px;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    height: 100%;
}

.hdr-chip {
    display: flex; align-items: center; gap: 9px;
    padding: 7px 13px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--body-bg);
    cursor: default;
    transition: box-shadow .2s, transform .2s;
}

.hdr-chip:hover {
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
}

.hdr-chip-ico { font-size: 16px; flex-shrink: 0; }

.hdr-chip-body { line-height: 1.25; }

.hdr-chip-body small {
    display: block;
    font-size: 9.5px; font-weight: 800;
    text-transform: uppercase; letter-spacing: 0.6px;
    color: var(--text-3);
}

.hdr-chip-body strong {
    font-size: 13px; font-weight: 800;
    color: var(--text-1);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.hdr-chip--kasa  { background: linear-gradient(135deg, #fffbeb, #fef3c7); border-color: #fde68a; }
.hdr-chip--banka { background: linear-gradient(135deg, #eff6ff, #dbeafe); border-color: #bfdbfe; }
.hdr-chip--net   { background: linear-gradient(135deg, #f0fdf4, #dcfce7); border-color: #bbf7d0; }
.hdr-chip--net .hdr-chip-body strong { color: #16a34a; }
.hdr-chip--neg   { background: linear-gradient(135deg, #fff1f2, #ffe4e6); border-color: #fecdd3; }
.hdr-chip--neg .hdr-chip-body strong { color: #dc2626; }

/* ── Right ── */
.hdr-right {
    display: flex; align-items: center;
    gap: 12px; padding-left: 18px;
    flex-shrink: 0;
}

.hdr-sep { width: 1px; height: 28px; background: var(--border); }

/* ── Clock ── */
.hdr-clock {
    display: flex; flex-direction: column; align-items: flex-end;
    line-height: 1.1; flex-shrink: 0;
}

.hdr-clock-time {
    font-size: 20px; font-weight: 800; color: var(--text-1);
    letter-spacing: -1px; font-variant-numeric: tabular-nums;
}

.hdr-clock-date { font-size: 11px; color: var(--text-3); font-weight: 500; }

/* ── User button ── */
.hdr-user {
    display: flex; align-items: center; gap: 9px;
    padding: 5px 10px;
    border-radius: 12px;
    cursor: pointer;
    position: relative;
    transition: background .18s;
    user-select: none;
}

.hdr-user:hover { background: var(--body-bg); }

.hdr-ava {
    width: 34px; height: 34px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #818cf8);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 800; font-size: 14px;
    position: relative; flex-shrink: 0;
    box-shadow: 0 0 0 2px rgba(99,102,241,0.25);
    transition: box-shadow .2s;
}

.hdr-user:hover .hdr-ava { box-shadow: 0 0 0 3px rgba(99,102,241,0.38); }

.hdr-ava-dot {
    position: absolute; bottom: 1px; right: 1px;
    width: 9px; height: 9px; border-radius: 50%;
    background: #22c55e;
    border: 2px solid var(--header-bg);
    box-shadow: 0 0 5px rgba(34,197,94,0.5);
}

.hdr-user-meta { line-height: 1.2; }
.hdr-uname { font-size: 13px; font-weight: 700; color: var(--text-1); display: block; }
.hdr-urole { font-size: 11px; color: var(--text-3); }

.hdr-caret {
    color: var(--text-3);
    transition: transform .22s ease;
    flex-shrink: 0;
}

.hdr-user:hover .hdr-caret { transform: rotate(180deg); }

/* ── Dropdown ── */
.hdr-dropdown {
    position: absolute; top: calc(100% + 10px); right: 0;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12), 0 4px 16px rgba(0,0,0,0.06);
    min-width: 220px; padding: 6px;
    display: none; z-index: 1100;
    animation: hdr-drop-in .18s cubic-bezier(.16,1,.3,1);
}

@keyframes hdr-drop-in {
    from { opacity: 0; transform: translateY(-6px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0)   scale(1);    }
}

.hdr-dropdown.show { display: block; }

.hdr-drop-user {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 10px 12px;
}

.hdr-drop-ava {
    width: 36px; height: 36px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #818cf8);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 800; font-size: 14px; flex-shrink: 0;
}

.hdr-drop-name { font-size: 13px; font-weight: 700; color: var(--text-1); }
.hdr-drop-role { font-size: 11px; color: var(--text-3); }

.hdr-drop-divider { height: 1px; background: var(--border); margin: 5px 0; }

.hdr-drop-item {
    display: flex; align-items: center; gap: 10px;
    padding: 9px 11px;
    border-radius: 9px;
    color: var(--text-2);
    font-size: 13.5px; font-weight: 500;
    text-decoration: none;
    transition: background .15s, color .15s;
}

.hdr-drop-item:hover { background: var(--body-bg); color: var(--text-1); }

.hdr-drop-item--danger { color: var(--danger) !important; }
.hdr-drop-item--danger:hover { background: rgba(239,68,68,0.06) !important; }

/* Ad bar */
.hdr-ad-bar {
    padding: 8px 28px;
    background: #fff;
    border-bottom: 1px solid var(--border);
    text-align: center;
}

/* Hamburger (mobile) */
.menu-toggle {
    width: 36px; height: 36px;
    display: none; align-items: center; justify-content: center;
    border: 1px solid var(--border); background: transparent;
    border-radius: 10px; cursor: pointer;
    color: var(--text-2);
    transition: background .18s, border-color .18s;
    flex-shrink: 0;
}

.menu-toggle:hover { background: var(--body-bg); border-color: var(--primary); }

/* ================================================================
   SAYFA ÜST BÖLÜMÜ
   ================================================================ */
.page-header {
    display: flex; align-items: flex-start; justify-content: space-between;
    margin-bottom: 20px; flex-wrap: wrap; gap: 12px;
}
.page-header-text h1 { font-size: 21px; font-weight: 800; color: var(--text-1); }
.page-header-text .sub { font-size: 13px; color: var(--text-3); margin-top: 2px; }
.page-header > h1 { font-size: 21px; font-weight: 800; }

/* ================================================================
   FORMLAR
   ================================================================ */
.form-group { margin-bottom: 15px; }
.form-group label {
    display: block; font-size: 12.5px; font-weight: 600;
    color: var(--text-2); margin-bottom: 5px; letter-spacing: 0.1px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%; padding: 9.5px 12px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 13.5px; font-family: inherit;
    color: var(--text-1); background: #fff;
    transition: var(--transition); outline: none;
    -webkit-appearance: none; appearance: none;
}
.form-group select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2394a3b8' d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(99,102,241,0.12); }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-3); }
.form-group input[type="color"] { width: 54px; height: 38px; padding: 3px; cursor: pointer; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.amount-wrap { position: relative; }
.amount-wrap input { padding-right: 28px; font-variant-numeric: tabular-nums; font-weight: 600; }
.amount-wrap::after { content: '₺'; position: absolute; right: 11px; top: 50%; transform: translateY(-50%); color: var(--text-3); font-weight: 600; pointer-events: none; }

/* ================================================================
   BUTONLAR
   ================================================================ */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    padding: 9px 18px;
    font-size: 13.5px; font-weight: 600; font-family: inherit;
    border: 1.5px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer; transition: var(--transition);
    text-decoration: none; white-space: nowrap; line-height: 1;
    -webkit-user-select: none;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; box-shadow: 0 4px 14px rgba(99,102,241,0.35); }
.btn-success { background: var(--success); color: #fff; border-color: var(--success); }
.btn-success:hover { background: var(--success-dark); color: #fff; box-shadow: 0 4px 14px rgba(34,197,94,0.3); }
.btn-danger { background: var(--danger); color: #fff; border-color: var(--danger); }
.btn-danger:hover { background: var(--danger-dark); color: #fff; box-shadow: 0 4px 14px rgba(239,68,68,0.3); }
.btn-outline { background: transparent; border-color: var(--border-strong); color: var(--text-2); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-bg); }
.btn-ghost { background: var(--body-bg); color: var(--text-2); border-color: transparent; }
.btn-ghost:hover { background: var(--border); }
.btn-white { background: #fff; color: var(--primary); border-color: #fff; }
.btn-white:hover { background: var(--primary-bg); }
.btn-sm { padding: 6px 12px; font-size: 12.5px; }
.btn-lg { padding: 12px 28px; font-size: 15px; }
.btn-full { width: 100%; }

/* ================================================================
   KARTLAR
   ================================================================ */
.card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: box-shadow 0.22s var(--ease);
}
.card:hover { box-shadow: var(--shadow-md); }
.card-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 15px 20px;
    border-bottom: 1px solid var(--border);
}
.card-header h3 { font-size: 14px; font-weight: 700; color: var(--text-1); }
.card-body { padding: 20px; }
.card-footer { padding: 12px 20px; border-top: 1px solid var(--border); background: #fafbfc; }

/* ================================================================
   STAT KARTLARI
   ================================================================ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 16px; margin-bottom: 20px;
}
.stat-card {
    background: var(--card-bg); border: 1px solid var(--border);
    border-radius: var(--radius-md); padding: 18px 20px;
    display: flex; align-items: flex-start; gap: 14px;
    box-shadow: var(--shadow-sm); transition: var(--transition);
    position: relative; overflow: hidden;
}
.stat-card::after {
    content: ''; position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
}
.stat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.income-card::after  { background: linear-gradient(90deg, #22c55e, #86efac); }
.expense-card::after { background: linear-gradient(90deg, #ef4444, #fca5a5); }
.balance-card::after { background: linear-gradient(90deg, #6366f1, #818cf8); }
.monthly-card::after { background: linear-gradient(90deg, #f59e0b, #fcd34d); }
.account-card::after { background: linear-gradient(90deg, #3b82f6, #93c5fd); }

.stat-icon-box {
    width: 46px; height: 46px; border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    font-size: 21px; flex-shrink: 0;
}
.income-card  .stat-icon-box { background: var(--success-bg); }
.expense-card .stat-icon-box { background: var(--danger-bg);  }
.balance-card .stat-icon-box { background: var(--primary-bg); }
.monthly-card .stat-icon-box { background: var(--warning-bg); }
.account-card .stat-icon-box { background: var(--info-bg);    }

.stat-body .stat-label {
    font-size: 11px; font-weight: 700; color: var(--text-3);
    text-transform: uppercase; letter-spacing: 0.6px; margin-bottom: 5px;
}
.stat-body .stat-value {
    font-size: 22px; font-weight: 900; color: var(--text-1);
    letter-spacing: -0.5px; line-height: 1;
    font-variant-numeric: tabular-nums;
}
.stat-body .stat-sub { font-size: 11.5px; color: var(--text-3); margin-top: 6px; }
.stat-trend { display: inline-flex; align-items: center; gap: 3px; margin-top: 5px; font-size: 12px; font-weight: 700; }
.stat-trend.up   { color: var(--success); }
.stat-trend.down { color: var(--danger);  }

/* ================================================================
   TABLOLAR
   ================================================================ */
.table-wrapper { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table thead th {
    padding: 10px 15px;
    font-size: 11px; font-weight: 700; color: var(--text-3);
    text-transform: uppercase; letter-spacing: 0.7px;
    text-align: left; background: #f8fafc;
    border-bottom: 1.5px solid var(--border);
    white-space: nowrap;
}
.data-table tbody td {
    padding: 12px 15px; font-size: 13.5px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle; color: var(--text-1);
}
.data-table tbody tr:hover td { background: #f8fafc; }
.data-table tbody tr:last-child td { border-bottom: none; }

.amount-pos { color: var(--success); font-weight: 700; font-variant-numeric: tabular-nums; }
.amount-neg { color: var(--danger);  font-weight: 700; font-variant-numeric: tabular-nums; }

/* ================================================================
   BADGE & ETİKET
   ================================================================ */
.badge {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 3px 9px; font-size: 11.5px; font-weight: 600;
    border-radius: var(--radius-full);
}
.badge-success { background: var(--success-bg); color: var(--success-dark); }
.badge-danger  { background: var(--danger-bg);  color: var(--danger-dark);  }
.badge-primary { background: var(--primary-bg); color: var(--primary-dark); }
.badge-warning { background: var(--warning-bg); color: #92400e; }
.badge-neutral { background: var(--body-bg); color: var(--text-2); }
.badge-kasa    { background: #fef3c7; color: #78350f; }
.badge-banka   { background: #dbeafe; color: #1e3a8a; }
.badge-admin   { background: #f3e8ff; color: #6b21a8; }

.cat-tag {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 3px 9px; border-radius: var(--radius-full);
    font-size: 12.5px; font-weight: 500; background: var(--body-bg);
    white-space: nowrap;
}
.cat-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }

/* ================================================================
   MODAl
   ================================================================ */
.modal-overlay {
    position: fixed; inset: 0;
    background: rgba(15,23,42,0.55);
    backdrop-filter: blur(4px);
    display: none; align-items: center; justify-content: center;
    z-index: 2000; padding: 20px;
}
.modal-overlay.show { display: flex; }
.modal {
    background: var(--card-bg); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    width: 100%; max-width: 520px;
    max-height: 90vh; overflow-y: auto;
    animation: modalIn 0.25s var(--ease);
}
@keyframes modalIn { from { opacity:0; transform: translateY(-14px) scale(0.97); } to { opacity:1; } }
.modal-header {
    padding: 16px 22px; border-bottom: 1px solid var(--border);
    display: flex; align-items: center; justify-content: space-between;
}
.modal-header h3 { font-size: 16px; font-weight: 700; }
.modal-close {
    width: 28px; height: 28px; border: none;
    background: var(--body-bg); border-radius: 7px;
    cursor: pointer; font-size: 15px;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-3); transition: var(--transition);
}
.modal-close:hover { background: var(--danger-bg); color: var(--danger); }
.modal-body { padding: 20px; }
.modal-footer {
    padding: 12px 20px; border-top: 1px solid var(--border);
    display: flex; align-items: center; justify-content: flex-end; gap: 8px;
    background: #fafbfc;
}

/* ================================================================
   ALERTLER
   ================================================================ */
.alert {
    padding: 11px 15px; border-radius: var(--radius-sm);
    margin-bottom: 18px; font-size: 13.5px; font-weight: 500;
    animation: alertSlide 0.3s var(--ease);
}
@keyframes alertSlide { from { opacity:0; transform: translateY(-6px); } to { opacity:1; } }
.alert-success { background: var(--success-bg); color: var(--success-dark); border-left: 4px solid var(--success); }
.alert-danger  { background: var(--danger-bg);  color: var(--danger-dark);  border-left: 4px solid var(--danger);  }
.alert-warning { background: var(--warning-bg); color: #92400e;             border-left: 4px solid var(--warning); }

/* ================================================================
   SAYFALAMA
   ================================================================ */
.pagination { display: flex; align-items: center; justify-content: center; gap: 5px; padding: 16px; }
.pagination a, .pagination .pg-active {
    min-width: 33px; height: 33px;
    display: flex; align-items: center; justify-content: center;
    border-radius: var(--radius-sm); font-size: 13px; font-weight: 600;
    border: 1.5px solid var(--border); color: var(--text-2);
    transition: var(--transition); text-decoration: none;
}
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination .pg-active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ================================================================
   FİLTRE
   ================================================================ */
.filter-bar { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; flex-wrap: wrap; }
.filter-bar select,
.filter-bar input[type="text"],
.filter-bar input[type="date"] {
    padding: 8px 12px; border: 1.5px solid var(--border);
    border-radius: var(--radius-sm); font-size: 13px;
    color: var(--text-1); background: #fff;
    outline: none; transition: var(--transition);
}
.filter-bar select:focus, .filter-bar input:focus { border-color: var(--primary); }

/* ================================================================
   BOŞ DURUM
   ================================================================ */
.empty-state { text-align: center; padding: 44px 20px; color: var(--text-3); }
.empty-state .ei { font-size: 42px; margin-bottom: 12px; opacity: 0.5; }
.empty-state h3 { font-size: 15px; font-weight: 600; color: var(--text-2); margin-bottom: 6px; }
.empty-state p { font-size: 13.5px; margin-bottom: 16px; }
.empty-state.compact { padding: 22px 16px; }
.empty-state.compact .ei { font-size: 26px; margin-bottom: 8px; }

/* ================================================================
   İŞLEM SATIRI
   ================================================================ */
.transaction-item { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--border); }
.transaction-item:last-child { border-bottom: none; }
.tx-ico { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.tx-info { flex: 1; min-width: 0; }
.tx-info h4 { font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tx-info span { font-size: 12px; color: var(--text-3); }
.tx-amt { font-size: 14px; font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tx-amt.pos { color: var(--success); }
.tx-amt.neg { color: var(--danger); }

/* ================================================================
   HESAP
   ================================================================ */
.account-list { display: flex; flex-direction: column; gap: 10px; }
.account-item {
    display: flex; align-items: center; justify-content: space-between;
    padding: 13px 15px; background: var(--body-bg);
    border-radius: var(--radius-sm); border: 1.5px solid var(--border);
    transition: var(--transition);
}
.account-item:hover { border-color: var(--primary); background: var(--primary-bg); }
.account-meta strong { font-size: 13.5px; font-weight: 700; display: block; }
.account-meta span { font-size: 12px; color: var(--text-3); }
.account-balance { font-size: 17px; font-weight: 900; font-variant-numeric: tabular-nums; }
.account-balance.positive { color: var(--success); }
.account-balance.negative { color: var(--danger);  }

/* ================================================================
   GRAFİK
   ================================================================ */
.chart-container { position: relative; height: 270px; }

/* ================================================================
   DASHBOARD DIGITAL THEME
   ================================================================ */
body.dashboard-digital .page-wrapper {
    background:
        radial-gradient(circle at 10% 0%, rgba(59,130,246,0.08), transparent 30%),
        radial-gradient(circle at 95% 6%, rgba(99,102,241,0.10), transparent 28%),
        var(--body-bg);
}

body.dashboard-digital .app-header {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(99,102,241,0.16);
}

body.dashboard-digital .dashboard-main {
    gap: 18px;
}

body.dashboard-digital .dashboard-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 55%, #0f172a 100%);
    color: #fff;
    border: 1px solid rgba(129,140,248,0.26);
    border-radius: 16px;
    box-shadow: 0 18px 44px rgba(15,23,42,0.28);
    padding: 20px 22px;
    margin-bottom: 2px;
}

body.dashboard-digital .dashboard-kicker {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.22);
    background: rgba(255,255,255,0.10);
    color: rgba(255,255,255,0.9);
    font-size: 11px;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 10px;
}

body.dashboard-digital .dashboard-hero h1 {
    color: #fff;
    letter-spacing: -0.5px;
    margin-bottom: 4px;
}

body.dashboard-digital .dashboard-hero p {
    color: rgba(255,255,255,0.72);
    font-size: 13px;
}

body.dashboard-digital .dashboard-hero-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

body.dashboard-digital .dashboard-mini-card {
    display: flex;
    flex-direction: column;
    gap: 3px;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 8px 10px;
    min-width: 144px;
}

body.dashboard-digital .dashboard-mini-card span {
    font-size: 11px;
    color: rgba(255,255,255,0.65);
}

body.dashboard-digital .dashboard-mini-card strong {
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

body.dashboard-digital .digital-stats {
    gap: 14px;
}

body.dashboard-digital .stat-card,
body.dashboard-digital .card {
    border: 1px solid rgba(99,102,241,0.12);
    box-shadow: 0 10px 30px rgba(15,23,42,0.06);
}

body.dashboard-digital .stat-card:hover,
body.dashboard-digital .card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(15,23,42,0.12);
    border-color: rgba(99,102,241,0.28);
}

body.dashboard-digital .card-header {
    background: linear-gradient(180deg, #ffffff, #f8faff);
}

body.dashboard-digital .chart-container {
    height: 290px;
}

body.dashboard-digital .transaction-item {
    padding: 12px 2px;
    border-bottom: 1px dashed var(--border);
}

body.dashboard-digital .account-item {
    border-radius: 12px;
    background: linear-gradient(180deg, #ffffff, #f8faff);
    border-color: rgba(99,102,241,0.16);
}

body.dashboard-digital .account-item:hover {
    background: linear-gradient(180deg, #f8faff, #eef3ff);
}

/* ================================================================
   DASHBOARD DIGITAL+ (Sidebar / Header / Sections Animated)
   ================================================================ */
@keyframes ddFadeUp {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes ddGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(99,102,241,0.00); }
    50%      { box-shadow: 0 0 0 7px rgba(99,102,241,0.10); }
}

@keyframes ddShine {
    from { transform: translateX(-120%); }
    to   { transform: translateX(220%); }
}

body.dashboard-digital {
    --dd-side-1: #0b1224;
    --dd-side-2: #15183b;
    --dd-accent: #7c83ff;
    --dd-accent-2: #27d2b4;
}

body.dashboard-digital .sidebar {
    background: linear-gradient(185deg, var(--dd-side-1) 0%, var(--dd-side-2) 100%);
    border-right: 1px solid rgba(124,131,255,0.22);
    box-shadow: 8px 0 26px rgba(2,6,23,0.30);
}

body.dashboard-digital .sb-head {
    border-bottom: 1px solid rgba(124,131,255,0.20);
}

body.dashboard-digital .sb-logo {
    animation: ddGlow 3.2s ease-in-out infinite;
}

body.dashboard-digital .sb-group-label {
    color: rgba(255,255,255,0.30);
    letter-spacing: 1.9px;
}

body.dashboard-digital .sb-item {
    border: 1px solid transparent;
    margin-bottom: 3px;
    transition: transform .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}

body.dashboard-digital .sb-item:hover {
    background: rgba(124,131,255,0.16);
    border-color: rgba(124,131,255,0.28);
    transform: translateX(2px);
    box-shadow: 0 10px 18px rgba(2,6,23,0.22);
}

body.dashboard-digital .sb-item.is-active {
    background: linear-gradient(135deg, var(--dd-accent), #5d67f3);
    border-color: rgba(255,255,255,0.22);
    box-shadow: 0 10px 24px rgba(92,103,243,0.42);
}

body.dashboard-digital .sb-amount { color: #8df6cc; }

body.dashboard-digital .sb-foot {
    background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(0,0,0,0.24));
    border-top: 1px solid rgba(124,131,255,0.20);
}

body.dashboard-digital .sb-ad {
    border-color: rgba(124,131,255,0.22);
    background: rgba(255,255,255,0.03);
}

body.dashboard-digital .app-header {
    border-bottom: 1px solid rgba(124,131,255,0.22);
    box-shadow: 0 10px 24px rgba(15,23,42,0.09);
}

body.dashboard-digital .hdr-title {
    font-weight: 800; letter-spacing: -0.3px;
}

body.dashboard-digital .hdr-chip {
    border-color: rgba(124,131,255,0.24);
    box-shadow: 0 4px 14px rgba(99,102,241,0.10);
}

body.dashboard-digital .hdr-clock-time {
    background: linear-gradient(90deg, #1e293b, #4f46e5);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

body.dashboard-digital .dashboard-main > * {
    animation: ddFadeUp .45s var(--ease) both;
}

body.dashboard-digital .dashboard-main > *:nth-child(1) { animation-delay: .02s; }
body.dashboard-digital .dashboard-main > *:nth-child(2) { animation-delay: .06s; }
body.dashboard-digital .dashboard-main > *:nth-child(3) { animation-delay: .10s; }
body.dashboard-digital .dashboard-main > *:nth-child(4) { animation-delay: .14s; }
body.dashboard-digital .dashboard-main > *:nth-child(5) { animation-delay: .18s; }
body.dashboard-digital .dashboard-main > *:nth-child(6) { animation-delay: .22s; }

body.dashboard-digital .stat-card,
body.dashboard-digital .card {
    position: relative;
    overflow: hidden;
}

body.dashboard-digital .stat-card::before,
body.dashboard-digital .card::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(124,131,255,0.14), transparent 70%);
    pointer-events: none;
}

body.dashboard-digital .card-header h3 {
    letter-spacing: -0.2px;
}

body.dashboard-digital .transaction-item:hover {
    background: linear-gradient(90deg, rgba(99,102,241,0.05), transparent);
}

body.dashboard-digital .transaction-icon {
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
}

@media (prefers-reduced-motion: reduce) {
    body.dashboard-digital .dashboard-main > *,
    body.dashboard-digital .sb-logo,
    body.dashboard-digital .sb-nav a::before {
        animation: none !important;
    }
}

/* ================================================================
   AKSİYON BUTONU
   ================================================================ */
.action-btns { display: flex; gap: 5px; align-items: center; }
.action-btn {
    width: 30px; height: 30px;
    border: 1.5px solid var(--border); border-radius: var(--radius-sm);
    background: #fff; color: var(--text-3); cursor: pointer;
    font-size: 13px; display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
}
.action-btn:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-bg); }
.action-btn.del:hover { border-color: var(--danger); color: var(--danger); background: var(--danger-bg); }

/* ================================================================
   GRİD
   ================================================================ */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }

/* ================================================================
   KATEGORİ KARTLARI
   ================================================================ */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px,1fr)); gap: 10px; }
.cat-card {
    display: flex; align-items: center; gap: 12px;
    padding: 13px 15px; background: var(--card-bg);
    border: 1.5px solid var(--border); border-radius: var(--radius-sm);
    transition: var(--transition);
}
.cat-card:hover { border-color: var(--primary-light); box-shadow: var(--shadow-sm); }
.cat-card-icon { width: 40px; height: 40px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 19px; flex-shrink: 0; }
.cat-card-info { flex: 1; }
.cat-card-info .cat-name { font-size: 13.5px; font-weight: 600; }
.cat-card-info .cat-hint { font-size: 11.5px; color: var(--text-3); }
.cat-card-actions { display: flex; gap: 4px; }

/* ================================================================
   İKON SEÇİCİ
   ================================================================ */
.icon-picker { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.icon-opt {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; cursor: pointer; border-radius: var(--radius-sm);
    border: 2px solid transparent; background: var(--body-bg);
    transition: var(--transition);
}
.icon-opt:hover { background: var(--primary-bg); }
.icon-opt.sel { border-color: var(--primary); background: var(--primary-bg); }

/* ================================================================
   DASHBOARD - HIZLI FORM
   ================================================================ */
.qf-card.income  .card-header { border-top: 3px solid var(--success); }
.qf-card.expense .card-header { border-top: 3px solid var(--danger); }
.qf-card.account .card-header { border-top: 3px solid var(--primary); }
.qf-card.transfer .card-header { border-top: 3px solid var(--info); }
.qf-form .form-group { margin-bottom: 11px; }
.qf-form .form-group label { font-size: 11.5px; margin-bottom: 4px; }
.qf-form .form-group input,
.qf-form .form-group select { padding: 8px 11px; font-size: 13px; }

/* ================================================================
   AD ALANLARI
   ================================================================ */
.ad-banner {
    background: var(--card-bg); border: 1px dashed var(--border-strong);
    border-radius: var(--radius-sm); padding: 10px; text-align: center;
    margin-bottom: 20px; min-height: 90px;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-3); font-size: 12px;
}

/* ================================================================
   AUTH SAYFALARI
   ================================================================ */
.auth-page {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 60%, #0f172a 100%);
    padding: 20px;
}
.auth-container {
    display: flex; width: 100%; max-width: 880px;
    background: var(--card-bg); border-radius: var(--radius-xl);
    overflow: hidden; box-shadow: var(--shadow-xl); min-height: 540px;
}
.auth-left {
    flex: 1; padding: 48px 38px;
    background: linear-gradient(160deg, #0f172a, #1e1b4b);
    color: #fff; display: flex; flex-direction: column; justify-content: center;
}
.auth-logo {
    width: 54px; height: 54px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; font-weight: 900; color: #fff;
    margin-bottom: 20px; box-shadow: 0 8px 24px rgba(99,102,241,0.4);
}
.auth-left h1 { font-size: 24px; font-weight: 800; margin-bottom: 10px; }
.auth-left p { color: rgba(255,255,255,0.6); font-size: 14px; line-height: 1.7; }
.auth-features { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; }
.auth-feat {
    display: flex; align-items: center; gap: 11px;
    font-size: 13px; color: rgba(255,255,255,0.8);
}
.auth-feat-ico {
    width: 30px; height: 30px; background: rgba(255,255,255,0.08);
    border-radius: 7px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.auth-right {
    flex: 1; padding: 48px 40px;
    display: flex; align-items: center; justify-content: center;
}
.auth-box { width: 100%; max-width: 340px; }
.auth-box h2 { font-size: 22px; font-weight: 800; margin-bottom: 4px; }
.auth-sub { font-size: 13px; color: var(--text-3); margin-bottom: 24px; }
.auth-link { text-align: center; margin-top: 20px; font-size: 13.5px; color: var(--text-3); }
.auth-link a { font-weight: 700; }

/* ================================================================
   LOGIN SAYFASI (Profesyonel Panel - login.php)
   ================================================================ */
.auth-login-page {
    background:
        radial-gradient(circle at 12% 14%, rgba(99,102,241,0.32), transparent 38%),
        radial-gradient(circle at 86% 86%, rgba(56,189,248,0.24), transparent 40%),
        linear-gradient(140deg, #050b1b 0%, #0d1c3f 48%, #081327 100%);
    padding: 24px;
    animation: auth-bg-shift 16s ease-in-out infinite alternate;
}

.auth-login-shell {
    width: 100%;
    max-width: 1080px;
    min-height: 620px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    background: linear-gradient(160deg, rgba(255,255,255,0.09), rgba(255,255,255,0.04));
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 22px;
    backdrop-filter: blur(18px);
    box-shadow: 0 30px 84px rgba(0,0,0,0.45);
    overflow: hidden;
    position: relative;
}

.auth-login-showcase {
    padding: 40px 34px;
    color: #fff;
    background:
        radial-gradient(circle at 84% 16%, rgba(129,140,248,0.30), transparent 40%),
        linear-gradient(165deg, rgba(11,18,37,0.94), rgba(30,27,75,0.88));
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: relative;
    isolation: isolate;
}

.auth-login-gridline {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.14;
    background-image:
        linear-gradient(to right, rgba(255,255,255,0.28) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.22) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: radial-gradient(circle at 35% 45%, black 35%, transparent 88%);
}

.auth-login-brand {
    display: flex;
    gap: 14px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.auth-login-logo {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(145deg, #4f46e5 0%, #6366f1 45%, #818cf8 100%);
    box-shadow: 0 12px 30px rgba(79,70,229,0.42), inset 0 1px 0 rgba(255,255,255,0.28);
    border: 1px solid rgba(255,255,255,0.4);
    flex-shrink: 0;
    animation: auth-logo-pulse 4s ease-in-out infinite;
}

.auth-login-mark {
    width: 27px;
    height: 27px;
    color: #fff;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.18));
}

.auth-login-chip {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(129,140,248,0.45);
    background: rgba(99,102,241,0.18);
    color: rgba(255,255,255,0.88);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 7px;
}

.auth-login-brand h1 {
    margin: 0 0 7px;
    font-size: 28px;
    line-height: 1.1;
    letter-spacing: -0.9px;
}

.auth-login-brand p {
    color: rgba(255,255,255,0.76);
    line-height: 1.65;
    font-size: 14px;
    max-width: 430px;
}

.auth-login-balance-card {
    border-radius: 18px;
    border: 1px solid rgba(129,140,248,0.38);
    background: linear-gradient(132deg, rgba(99,102,241,0.30), rgba(34,197,94,0.14));
    padding: 16px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.18);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.auth-login-balance-card::after {
    content: '';
    position: absolute;
    left: -40%;
    top: -120%;
    width: 65%;
    height: 280%;
    transform: rotate(18deg);
    background: linear-gradient(180deg, transparent, rgba(255,255,255,0.22), transparent);
    animation: auth-sheen 5.5s linear infinite;
}

.auth-login-balance-card small {
    display: block;
    font-size: 11.5px;
    color: rgba(255,255,255,0.75);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 6px;
}

.auth-login-balance-card strong {
    display: block;
    font-size: 36px;
    line-height: 1;
    letter-spacing: -1px;
    margin-bottom: 8px;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
}

.auth-login-balance-card span {
    display: inline-flex;
    font-size: 11.5px;
    font-weight: 700;
    color: #86efac;
    background: rgba(34,197,94,0.14);
    border: 1px solid rgba(34,197,94,0.25);
    border-radius: 999px;
    padding: 5px 10px;
}

.auth-login-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    position: relative;
    z-index: 1;
}

.auth-login-metric {
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 12px;
    background: rgba(255,255,255,0.06);
    padding: 10px 11px;
    backdrop-filter: blur(2px);
}

.auth-login-metric small {
    display: block;
    color: rgba(255,255,255,0.68);
    font-size: 11px;
    margin-bottom: 4px;
}

.auth-login-metric strong {
    display: block;
    color: #fff;
    font-size: 18px;
    letter-spacing: -0.35px;
    font-variant-numeric: tabular-nums;
}

.auth-login-benefits {
    display: grid;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.auth-login-benefit {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    border: 1px solid rgba(255,255,255,0.13);
    border-radius: 12px;
    background: rgba(255,255,255,0.06);
    padding: 12px;
    transform: translateY(8px);
    opacity: 0;
    animation: auth-card-in .6s ease forwards;
}

.auth-login-benefit:nth-child(1) { animation-delay: .1s; }
.auth-login-benefit:nth-child(2) { animation-delay: .2s; }
.auth-login-benefit:nth-child(3) { animation-delay: .3s; }

.auth-login-benefit-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.16);
    font-size: 14px;
    flex-shrink: 0;
}

.auth-login-benefit h3 {
    margin: 0 0 2px;
    font-size: 14px;
    color: #fff;
}

.auth-login-benefit p {
    margin: 0;
    font-size: 12.5px;
    color: rgba(255,255,255,0.68);
    line-height: 1.55;
}

.auth-login-panel {
    background: #ffffff;
    padding: 42px 34px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.auth-login-panel::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #4f46e5, #6366f1, #60a5fa);
}

.auth-login-head h2 {
    font-size: 28px;
    letter-spacing: -0.5px;
    margin-bottom: 6px;
}

.auth-login-head p {
    color: var(--text-3);
    font-size: 13.5px;
    margin-bottom: 24px;
}

.auth-login-form .form-group { margin-bottom: 14px; }

.auth-login-form .form-group label {
    font-size: 12px;
    color: var(--text-2);
    margin-bottom: 6px;
}

.auth-login-form .form-group input {
    border-radius: 10px;
    border-width: 1.5px;
    padding: 11px 12px;
    font-size: 14px;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.auth-login-form .form-group input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99,102,241,0.12);
    transform: translateY(-1px);
}

.auth-login-submit {
    margin-top: 8px;
    border-radius: 10px;
    height: 44px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 12px 28px rgba(99,102,241,0.3);
    transition: transform .18s ease, box-shadow .18s ease;
}

.auth-login-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 34px rgba(99,102,241,0.38);
}

.auth-login-footer {
    margin-top: 16px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--text-3);
}

.auth-login-footer p { margin: 0; }
.auth-login-footer p a { font-weight: 700; }

.auth-login-back {
    color: var(--text-2);
    font-weight: 600;
}

.auth-login-back:hover { color: var(--primary); }

@keyframes auth-bg-shift {
    0% { background-position: 0 0, 100% 100%, 50% 50%; }
    100% { background-position: 5% 4%, 92% 94%, 50% 50%; }
}

@keyframes auth-logo-pulse {
    0%, 100% { transform: translateY(0); box-shadow: 0 12px 30px rgba(79,70,229,0.42), inset 0 1px 0 rgba(255,255,255,0.28); }
    50% { transform: translateY(-1px); box-shadow: 0 16px 38px rgba(79,70,229,0.52), inset 0 1px 0 rgba(255,255,255,0.32); }
}

@keyframes auth-sheen {
    0% { transform: translateX(-16%) rotate(18deg); }
    100% { transform: translateX(210%) rotate(18deg); }
}

@keyframes auth-card-in {
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 980px) {
    .auth-login-shell {
        grid-template-columns: 1fr;
        max-width: 620px;
        min-height: auto;
    }

    .auth-login-showcase {
        padding: 28px 24px;
    }

    .auth-login-metrics {
        grid-template-columns: 1fr;
    }

    .auth-login-panel {
        padding: 30px 24px;
    }
}

@media (max-width: 520px) {
    .auth-login-page { padding: 14px; }

    .auth-login-brand h1 {
        font-size: 24px;
    }

    .auth-login-balance-card strong {
        font-size: 30px;
    }

    .auth-login-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ================================================================
   LANDING PAGE
   ================================================================ */
.l-nav {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 48px; background: var(--card-bg);
    border-bottom: 1px solid var(--border);
    position: sticky; top: 0; z-index: 100; box-shadow: var(--shadow-xs);
}
.l-brand { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 800; color: var(--text-1); }
.l-brand-ico { width: 36px; height: 36px; background: linear-gradient(135deg, var(--primary), var(--primary-light)); border-radius: 9px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 17px; font-weight: 900; }
.l-nav-links { display: flex; align-items: center; gap: 10px; }
.l-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%);
    color: #fff; text-align: center; padding: 100px 40px 80px;
}
.l-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(99,102,241,0.18); border: 1px solid rgba(99,102,241,0.35); border-radius: 99px; padding: 6px 16px; font-size: 12.5px; color: #a5b4fc; margin-bottom: 22px; font-weight: 600; }
.l-hero h1 { font-size: 52px; font-weight: 900; letter-spacing: -2px; line-height: 1.1; margin-bottom: 18px; }
.l-hero p { font-size: 18px; color: rgba(255,255,255,0.65); max-width: 560px; margin: 0 auto 36px; line-height: 1.7; }
.l-hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-ghost-white { background: rgba(255,255,255,0.1); border: 1.5px solid rgba(255,255,255,0.25); color: #fff; backdrop-filter: blur(4px); }
.btn-ghost-white:hover { background: rgba(255,255,255,0.18); color: #fff; }
.l-features { padding: 80px 48px; max-width: 1100px; margin: 0 auto; }
.l-features h2 { text-align: center; font-size: 34px; font-weight: 900; margin-bottom: 10px; }
.l-features > .sub { text-align: center; color: var(--text-3); margin-bottom: 48px; font-size: 15px; display: block; }
.l-feat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px,1fr)); gap: 20px; }
.l-feat-card { padding: 28px 20px; border-radius: var(--radius-md); border: 1.5px solid var(--border); text-align: center; transition: var(--transition); }
.l-feat-card:hover { box-shadow: var(--shadow-md); border-color: var(--primary-light); transform: translateY(-3px); }
.l-feat-ico { width: 58px; height: 58px; border-radius: var(--radius-md); background: var(--primary-bg); display: flex; align-items: center; justify-content: center; font-size: 26px; margin: 0 auto 14px; }
.l-feat-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 7px; }
.l-feat-card p { font-size: 13px; color: var(--text-3); line-height: 1.6; }
.l-cta { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; text-align: center; padding: 80px 40px; }
.l-cta h2 { font-size: 34px; font-weight: 900; margin-bottom: 12px; }
.l-cta p { font-size: 16px; opacity: 0.85; margin-bottom: 28px; }
.l-footer { background: #0f172a; color: rgba(255,255,255,0.45); padding: 36px; text-align: center; font-size: 13px; }

/* ================================================================
   LANDING PAGE v3 (index.php) — Corporate / Modern theme overrides
   ================================================================ */
body.lp-page {
    /* landing-only theme overrides to keep other pages unchanged */
    --primary: #0b63d6;            /* deep corporate blue */
    --primary-dark: #0748a8;
    --primary-light: #5aa0ff;
    --primary-bg: #eef6ff;
    --body-bg: #f6f9fc;            /* very light cool background */
    --card-bg: #ffffff;
    --text-1: #071427;             /* very dark slate */
    --text-2: #5b6b83;             /* muted slate */
    --border: #e6eef8;
    --shadow-lg: 0 18px 50px rgba(2,6,23,0.10);
    --radius-lg: 18px;
    background: linear-gradient(180deg,#f9fbff 0%,var(--body-bg) 100%);
    color: var(--text-1);
    font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* subtle entrance animation used across landing */
@keyframes lp-fade-up { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@keyframes lp-float { 0%{transform:translateY(0)}50%{transform:translateY(-6px)}100%{transform:translateY(0)} }

.lp-animated { animation: lp-fade-up .6s var(--ease) both; }
.lp-float { animation: lp-float 6s ease-in-out infinite; }

.lp-container {
    width: min(1160px, calc(100% - 48px));
    margin: 0 auto;
}

/* ============================================================
   LANDING — DUYURU ÇUBUĞU
   ============================================================ */
.lp-announce {
    background: #0f172a;
    padding: 9px 0;
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,0.72);
    position: relative;
    z-index: 960;
}

.lp-announce-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 0 40px;
}

.lp-announce-badge {
    background: var(--primary);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 2px 8px;
    border-radius: 999px;
    flex-shrink: 0;
}

.lp-announce-text { color: rgba(255,255,255,0.7); }

.lp-announce-link {
    color: #fff;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
    white-space: nowrap;
    transition: opacity .18s;
}

.lp-announce-link:hover { opacity: .8; }

.lp-announce-close {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255,255,255,0.45);
    font-size: 16px;
    cursor: pointer;
    padding: 6px 10px;
    line-height: 1;
    border-radius: 6px;
    transition: color .15s, background .15s;
}

.lp-announce-close:hover { color: #fff; background: rgba(255,255,255,0.08); }

/* ============================================================
   LANDING — HEADER / NAV
   ============================================================ */
.lp-header {
    position: sticky;
    top: 0;
    z-index: 950;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(0,0,0,0.07);
    transition: box-shadow .22s ease;
}

.lp-header--scrolled {
    box-shadow: 0 4px 28px rgba(2,6,23,0.09);
}

.lp-nav {
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* ---- Brand ---- */
.lp-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
    flex-shrink: 0;
    transition: transform .2s ease, opacity .18s ease;
}

.lp-brand:hover {
    opacity: .96;
    transform: translateY(-1px);
}

.lp-brand-logo {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(145deg, #4f46e5 0%, #6366f1 45%, #818cf8 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 7px 22px rgba(79,70,229,0.32), inset 0 1px 0 rgba(255,255,255,0.25);
    border: 1px solid rgba(255,255,255,0.38);
    flex-shrink: 0;
}

.lp-brand-mark {
    width: 21px;
    height: 21px;
    color: #fff;
    filter: drop-shadow(0 1px 1px rgba(0,0,0,0.15));
}

.lp-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.18;
}

.lp-brand-text strong {
    font-size: 16px;
    font-weight: 900;
    color: var(--text-1);
    letter-spacing: -0.45px;
}

.lp-brand-text small {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-3);
    letter-spacing: 0.2px;
}

.lp-brand-text--compact strong {
    font-size: 15px;
}

.lp-brand-text--compact small {
    font-size: 10px;
}

/* ---- Center nav links ---- */
.lp-navlinks {
    display: flex;
    align-items: center;
    gap: 2px;
    flex: 1;
    justify-content: center;
}

.lp-navlink {
    position: relative;
    padding: 8px 15px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-2);
    text-decoration: none;
    white-space: nowrap;
    transition: color .18s, background .18s;
}

.lp-navlink::after {
    content: '';
    position: absolute;
    left: 50%; bottom: 4px;
    transform: translateX(-50%) scaleX(0);
    width: 20px; height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: transform .2s ease;
}

.lp-navlink:hover {
    color: var(--primary);
    background: rgba(99,102,241,0.06);
}

.lp-navlink:hover::after { transform: translateX(-50%) scaleX(1); }

/* ---- Right CTA ---- */
.lp-nav-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.lp-nav-login {
    padding: 8px 15px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-2);
    text-decoration: none;
    white-space: nowrap;
    transition: color .18s, background .18s;
}

.lp-nav-login:hover {
    color: var(--primary);
    background: rgba(99,102,241,0.06);
}

.lp-nav-register {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    border-radius: 12px !important;
    padding: 9px 20px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    white-space: nowrap;
    box-shadow: 0 6px 22px rgba(99,102,241,0.30) !important;
    transition: transform .18s ease, box-shadow .18s ease !important;
}

.lp-nav-register:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 10px 32px rgba(99,102,241,0.40) !important;
}

.lp-arrow-icon {
    transition: transform .2s ease;
    flex-shrink: 0;
}

.lp-nav-register:hover .lp-arrow-icon { transform: translateX(3px); }

/* ---- Hamburger ---- */
.lp-hamburger {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: none;
    cursor: pointer;
    color: var(--text-1);
    transition: background .18s, border-color .18s;
}

.lp-hamburger:hover {
    background: rgba(99,102,241,0.06);
    border-color: rgba(99,102,241,0.25);
}

.lp-hm-close { display: none; }
.lp-hamburger.is-open .lp-hm-open { display: none; }
.lp-hamburger.is-open .lp-hm-close { display: block; }

/* ---- Mobile menu ---- */
.lp-mobile-menu {
    display: none;
    border-top: 1px solid var(--border);
    background: #fff;
}

@keyframes lp-slide-down {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.lp-mobile-menu.is-open {
    display: block;
    animation: lp-slide-down .2s ease;
}

.lp-mobile-inner {
    display: flex;
    flex-direction: column;
    padding: 12px 0 18px;
}

.lp-mobile-link {
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-2);
    text-decoration: none;
    transition: color .15s, background .15s;
}

.lp-mobile-link:hover { color: var(--primary); background: rgba(99,102,241,0.06); }

.lp-mobile-divider {
    height: 1px;
    background: var(--border);
    margin: 10px 0;
}

.lp-mobile-btn {
    width: 100%;
    text-align: center;
    border-radius: 12px !important;
    padding: 11px 20px !important;
    font-weight: 700 !important;
}

.lp-ad-wrap {
    border-bottom: 1px solid var(--border);
    background: var(--card-bg);
    text-align: center;
    padding: 10px 0;
}

.lp-hero {
    background: radial-gradient(circle at top right, rgba(99,102,241,0.22), transparent 45%),
                linear-gradient(160deg, #0f172a 0%, #1e1b4b 100%);
    padding: 74px 0;
    color: #fff;
}

.lp-hero-grid {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 28px;
    align-items: center;
}

.lp-kicker {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: rgba(255,255,255,0.86);
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 8px 12px;
    border-radius: var(--radius-full);
    margin-bottom: 20px;
}

.lp-hero-content h1 {
    font-size: 50px;
    line-height: 1.08;
    letter-spacing: -1.8px;
    margin-bottom: 16px;
}

.lp-hero-content p {
    color: rgba(255,255,255,0.72);
    font-size: 16px;
    line-height: 1.75;
    margin-bottom: 26px;
    max-width: 620px;
}

.lp-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.lp-hero-points {
    list-style: none;
    display: grid;
    gap: 10px;
}

.lp-hero-points li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.84);
    font-size: 14px;
}

.lp-hero-points li::before {
    content: '✓';
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    background: rgba(255,255,255,0.2);
}

.lp-hero-panel {
    background: rgba(10,12,30,0.72);
    border: 1px solid rgba(99,102,241,0.32);
    border-radius: 20px;
    padding: 24px;
    backdrop-filter: blur(20px);
    box-shadow:
        0 0 0 1px rgba(99,102,241,0.10),
        0 28px 64px rgba(0,0,0,0.45),
        inset 0 1px 0 rgba(255,255,255,0.07);
    position: relative;
    overflow: hidden;
}

.lp-hero-panel::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 220px; height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99,102,241,0.22), transparent 70%);
    pointer-events: none;
}

.lp-hero-panel::after {
    content: '';
    position: absolute;
    bottom: -60px; left: -40px;
    width: 160px; height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,179,166,0.14), transparent 70%);
    pointer-events: none;
}

.lp-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: rgba(255,255,255,0.74);
    font-size: 12.5px;
    margin-bottom: 14px;
}

.lp-balance-card {
    background: linear-gradient(135deg, rgba(99,102,241,0.22), rgba(99,102,241,0.08));
    border: 1px solid rgba(99,102,241,0.3);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 12px;
    position: relative;
    overflow: hidden;
}

.lp-balance-card small {
    display: block;
    color: rgba(255,255,255,0.62);
    font-size: 11.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.lp-balance-card strong {
    display: block;
    font-size: 34px;
    font-weight: 900;
    letter-spacing: -1.5px;
    line-height: 1;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #fff 40%, rgba(255,255,255,0.7));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-variant-numeric: tabular-nums;
}

.lp-balance-trend {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    font-weight: 700;
    color: #86efac;
    background: rgba(34,197,94,0.15);
    border: 1px solid rgba(34,197,94,0.25);
    padding: 4px 10px;
    border-radius: 999px;
}

.lp-panel-badge {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 4px 10px;
    border-radius: 999px;
}

.lp-panel-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: rgba(255,255,255,0.9);
}

.lp-panel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 3px rgba(34,197,94,0.25);
    animation: lp-dot-pulse 2.2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes lp-dot-pulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(34,197,94,0.25); }
    50% { box-shadow: 0 0 0 7px rgba(34,197,94,0.08); }
}

.lp-panel-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 12px;
}

.lp-panel-metrics > div {
    background: rgba(255,255,255,0.06);
    border-radius: var(--radius-sm);
    padding: 12px;
    border: 1px solid rgba(255,255,255,0.10);
}

.lp-panel-metrics small {
    display: block;
    color: rgba(255,255,255,0.52);
    font-size: 10.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 5px;
}

.lp-panel-metrics strong {
    font-size: 17px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.lp-panel-list {
    list-style: none;
    display: grid;
    gap: 8px;
    margin-bottom: 14px;
}

.lp-panel-item {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
    font-size: 13px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    animation: lp-fade-up 0.45s ease both;
    animation-delay: var(--lp-d, 0s);
}

.lp-panel-item > span:nth-child(2) { flex: 1; color: rgba(255,255,255,0.82); }

.lp-item-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.lp-icon-income { background: rgba(34,197,94,0.18); }
.lp-icon-expense { background: rgba(239,68,68,0.18); }

.lp-panel-bar { margin-top: 4px; }

.lp-bar-label {
    display: flex;
    justify-content: space-between;
    font-size: 11.5px;
    color: rgba(255,255,255,0.56);
    margin-bottom: 7px;
}

.lp-bar-track {
    height: 6px;
    background: rgba(255,255,255,0.10);
    border-radius: 999px;
    overflow: hidden;
}

.lp-bar-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--primary), #00b3a6);
    border-radius: 999px;
    transition: width 1.4s cubic-bezier(.17,.67,.35,1) 0.6s;
}

/* ---------- Corporate/trust/testimonial styles ---------- */
.lp-trusted {
    padding: 34px 0;
    background: linear-gradient(180deg, rgba(11,99,214,0.04), rgba(11,99,214,0.01));
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.lp-trusted-inner {
    padding: 18px;
    border-radius: 16px;
    border: 1px solid rgba(11,99,214,0.13);
    background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.74));
    box-shadow: 0 12px 24px rgba(2,6,23,0.05);
}

.lp-trusted .lp-trust-logos {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.lp-trust-logo {
    background: #fff;
    border-radius: 999px;
    padding: 9px 16px;
    color: #2f4f73;
    font-weight: 700;
    font-size: 13px;
    border: 1px solid rgba(11,99,214,0.18);
    box-shadow: 0 6px 18px rgba(2,6,23,0.04);
}

.lp-testimonials { padding: 52px 0 12px; }

.lp-testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 18px;
}

.lp-testimonial-card {
    background: linear-gradient(180deg, #ffffff, #fbfdff);
    border: 1px solid rgba(11,99,214,0.12);
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 12px 28px rgba(2,6,23,0.06);
    transition: var(--transition);
    position: relative;
}

.lp-testimonial-card::before {
    content: '“';
    position: absolute;
    top: -8px;
    right: 16px;
    font-size: 52px;
    line-height: 1;
    color: rgba(11,99,214,0.18);
    font-weight: 900;
}

.lp-testimonial-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(2,6,23,0.12); }
.lp-testimonial-quote { font-size: 15px; color: var(--text-2); line-height: 1.78; margin-bottom: 14px; }
.lp-testimonial-author { display:flex; gap:12px; align-items:center; }
.t-author-ava { width:44px;height:44px;border-radius:10px;background:linear-gradient(135deg,var(--primary),var(--primary-light)); color:#fff; display:inline-flex;align-items:center;justify-content:center;font-weight:800; }
.t-author-meta { font-size:13px; color:var(--text-1); font-weight:700; }
.t-author-role { font-size:12px; color:var(--text-3); font-weight:600; }

/* gradient-highlight for product name / emphasis */
.lp-gradient { background: linear-gradient(90deg, var(--primary), #00b3a6); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight:900; }

/* landing-specific CTA emphasis */
.lp-hero .btn-primary { box-shadow: 0 12px 40px rgba(11,99,214,0.18); transform: translateZ(0); }
.lp-hero .btn-outline { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.12); color: rgba(255,255,255,0.92); }

/* responsive adjustments for new sections */
@media (max-width: 900px) {
    .lp-testimonial-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 520px) {
    .lp-testimonial-grid { grid-template-columns: 1fr; }
    .lp-trust-logos { gap: 10px; }
}


.lp-text-success { color: #86efac; }
.lp-text-danger { color: #fca5a5; }

.lp-metrics {
    background:
        radial-gradient(circle at 20% 0%, rgba(11,99,214,0.08), transparent 40%),
        linear-gradient(180deg, #ffffff, #f9fbff);
    border-bottom: 1px solid var(--border);
}

.lp-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    padding: 26px 0;
}

.lp-metric-card {
    border: 1px solid rgba(11,99,214,0.14);
    border-radius: 14px;
    background: var(--card-bg);
    box-shadow: 0 10px 30px rgba(2,6,23,0.05);
    padding: 18px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.lp-metric-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), #00b3a6);
    opacity: 0;
    transition: var(--transition);
}

.lp-metric-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(2,6,23,0.10);
    border-color: rgba(11,99,214,0.24);
}

.lp-metric-card:hover::after { opacity: 1; }

.lp-metric-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 10px;
    background: linear-gradient(145deg, #eef6ff, #f6fbff);
    border: 1px solid rgba(11,99,214,0.2);
}

.lp-metric-card h3 {
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 6px;
    letter-spacing: -0.1px;
}

.lp-metric-card p {
    font-size: 13px;
    color: var(--text-2);
}

.lp-section {
    padding: 72px 0;
}

.lp-section-alt {
    background: var(--card-bg);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.lp-section-head {
    text-align: center;
    margin-bottom: 34px;
}

.lp-section-head-sm { margin-bottom: 24px; }

.lp-section-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(11,99,214,0.2);
    color: #24538d;
    background: rgba(11,99,214,0.08);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.lp-section-head h2 {
    font-size: 34px;
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 10px;
}

.lp-section-head p {
    max-width: 760px;
    margin: 0 auto;
    color: var(--text-2);
    font-size: 15px;
}

.lp-section-head h3 {
    font-size: 24px;
    letter-spacing: -0.4px;
    margin-bottom: 8px;
}

.lp-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.lp-feature-card {
    background: linear-gradient(180deg, #ffffff, #fdfefe);
    border: 1px solid rgba(11,99,214,0.14);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 28px rgba(2,6,23,0.05);
    padding: 22px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.lp-feature-card:hover {
    border-color: rgba(11,99,214,0.35);
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(2,6,23,0.10);
}

.lp-feature-card::before {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    right: -44px;
    top: -54px;
    background: radial-gradient(circle, rgba(11,99,214,0.15), transparent 66%);
    pointer-events: none;
}

.lp-feature-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 12px;
    background: linear-gradient(145deg, #edf6ff, #f7fbff);
    border: 1px solid rgba(11,99,214,0.22);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}

.lp-feature-card h3 {
    font-size: 16px;
    margin-bottom: 6px;
}

.lp-feature-card p {
    font-size: 13px;
    color: var(--text-3);
    line-height: 1.65;
}

.lp-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    position: relative;
}

.lp-steps::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, rgba(11,99,214,0.18), rgba(11,99,214,0.36), rgba(11,99,214,0.18));
}

.lp-step-card {
    background: #fff;
    border: 1px solid rgba(11,99,214,0.14);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: 0 10px 24px rgba(2,6,23,0.05);
    position: relative;
    z-index: 1;
}

.lp-step-num {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--primary), #00b3a6);
    color: #fff;
    box-shadow: 0 8px 18px rgba(11,99,214,0.26);
}

.lp-step-card h3 {
    font-size: 16px;
    margin-bottom: 6px;
}

.lp-step-card p {
    color: var(--text-3);
    font-size: 13px;
    line-height: 1.65;
}

.lp-cta {
    padding: 74px 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.lp-cta-box {
    text-align: center;
    color: #fff;
}

.lp-cta-box h2 {
    font-size: 38px;
    font-weight: 900;
    letter-spacing: -1.2px;
    margin-bottom: 10px;
}

.lp-cta-box p {
    font-size: 16px;
    color: rgba(255,255,255,0.86);
    margin-bottom: 24px;
}

.lp-cta-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.lp-footer {
    background: #0f172a;
    color: rgba(255,255,255,0.74);
    padding: 34px 0;
}

.lp-footer-inner {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.lp-footer-inner .lp-brand { color: #fff; }

.lp-footer-inner .lp-brand-logo {
    background: linear-gradient(145deg, #6366f1 0%, #818cf8 100%);
    border-color: rgba(255,255,255,0.26);
    box-shadow: 0 10px 24px rgba(99,102,241,0.35), inset 0 1px 0 rgba(255,255,255,0.24);
}

.lp-footer-inner .lp-brand-text strong {
    color: #fff;
}

.lp-footer-inner .lp-brand-text small {
    color: rgba(255,255,255,0.56);
}

.lp-footer-inner p {
    color: rgba(255,255,255,0.64);
    max-width: 640px;
    font-size: 14px;
}

.lp-footer-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.lp-footer-links a {
    color: rgba(255,255,255,0.76);
    font-size: 13px;
}

.lp-footer-links a:hover { color: #fff; }

.lp-footer-inner small {
    color: rgba(255,255,255,0.48);
    font-size: 12px;
}

/* ================================================================
   YARDIMCI SINIFLAR
   ================================================================ */
.mt-0{margin-top:0} .mt-1{margin-top:8px} .mt-2{margin-top:16px} .mt-3{margin-top:22px}
.mb-0{margin-bottom:0} .mb-1{margin-bottom:8px} .mb-2{margin-bottom:16px} .mb-3{margin-bottom:22px}
.text-right{text-align:right} .text-center{text-align:center}
.text-muted{color:var(--text-3)} .text-sm{font-size:12.5px}
.fw-bold{font-weight:700} .fw-black{font-weight:900}
.w-full{width:100%}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1100px) {
    .grid-4 { grid-template-columns: repeat(2,1fr); }
    .stats-grid { grid-template-columns: repeat(2,1fr); }
    .header-balance-strip { display: none; }
}
@media (max-width: 900px) {
    .grid-3 { grid-template-columns: 1fr; }
    .auth-container { flex-direction: column; }
    .auth-left { padding: 34px 26px; }
    .auth-right { padding: 30px 26px; }
    body.dashboard-digital .dashboard-hero-right { width: 100%; justify-content: space-between; }
    .lp-hero-grid { grid-template-columns: 1fr; }
    .lp-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lp-steps { grid-template-columns: 1fr; }
    .lp-steps::before { display: none; }
    .lp-metrics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
    .sidebar { transform: translateX(-100%); }
    .sidebar.open { transform: translateX(0); }
    .page-wrapper { margin-left: 0; }
    .menu-toggle { display: flex; }
    .app-main { padding: 16px; }
    .app-header { padding: 0 14px; }
    .grid-2 { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .filter-bar { flex-direction: column; align-items: stretch; }
    .hdr-center { display: none; }
    .hdr-user-meta { display: none; }
    .hdr-clock { display: none; }
    .hdr-sep { display: none; }
    .hdr-breadcrumb { display: none; }
    .hdr-caret { display: none; }
    body.dashboard-digital .dashboard-hero { padding: 16px; }
    body.dashboard-digital .dashboard-hero-right { flex-wrap: wrap; }
    body.dashboard-digital .dashboard-mini-card { width: 100%; min-width: 0; }
    .l-hero h1 { font-size: 34px; }
    .l-hero { padding: 60px 20px 48px; }
    .l-features { padding: 48px 20px; }
    .l-nav { padding: 14px 20px; }
    .form-row { grid-template-columns: 1fr; }
    .lp-container { width: min(1160px, calc(100% - 32px)); }
    .lp-navlinks { display: none; }
    .lp-nav-login { display: none; }
    .lp-hamburger { display: inline-flex; }
    .lp-nav {
        height: auto;
        padding: 14px;
        margin-top: 8px;
        margin-bottom: 8px;
        flex-direction: column;
        align-items: stretch;
    }
    .lp-announce-text { display: none; }
    .lp-nav-cta { gap: 6px; }
    .lp-hero { padding: 52px 0; }
    .lp-hero-content h1 { font-size: 35px; letter-spacing: -1px; }
    .lp-section { padding: 54px 0; }
    .lp-section-head h2 { font-size: 28px; }
    .lp-cta-box h2 { font-size: 30px; }
}
@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; }
    .cat-grid { grid-template-columns: 1fr; }
    .hdr-clock-time { font-size: 17px; }
    body.dashboard-digital .dashboard-kicker { font-size: 10px; }
    .l-hero h1 { font-size: 26px; letter-spacing: -1px; }
    .lp-brand-text small { display: none; }
    .lp-nav-actions { flex-direction: row; }
    .lp-section-head h3 { font-size: 21px; }
    .lp-feature-grid { grid-template-columns: 1fr; }
    .lp-metrics-grid { grid-template-columns: 1fr; }
    .lp-hero-actions .btn,
    .lp-cta-actions .btn { width: 100%; }
}

/* ================================================================
   GERİYE UYUMLULUK - Eski HTML sınıf isimleri için takma isimler
   ================================================================ */

/* Stat kartları (dashboard kullanır) */
.stat-icon {
    width: 46px; height: 46px; border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    font-size: 21px; flex-shrink: 0;
}
.stat-icon.income  { background: var(--success-bg); }
.stat-icon.expense { background: var(--danger-bg);  }
.stat-icon.balance { background: var(--primary-bg); }
.stat-icon.monthly { background: var(--warning-bg); }
.stat-info { flex: 1; min-width: 0; }
.stat-info h4 {
    font-size: 11px; font-weight: 700; color: var(--text-3);
    text-transform: uppercase; letter-spacing: 0.6px; margin-bottom: 6px;
}
.stat-info .stat-value {
    font-size: 22px; font-weight: 900; color: var(--text-1);
    letter-spacing: -0.5px; font-variant-numeric: tabular-nums; line-height: 1;
}
.stat-info .stat-change { font-size: 12px; color: var(--text-3); margin-top: 6px; }
.stat-info .stat-change.up   { color: var(--success); font-weight: 700; }
.stat-info .stat-change.down { color: var(--danger);  font-weight: 700; }
.stat-value { font-size: 22px; font-weight: 900; color: var(--text-1); letter-spacing: -0.5px; font-variant-numeric: tabular-nums; }
.stat-change { font-size: 12px; color: var(--text-3); margin-top: 5px; }
.stat-change.up   { color: var(--success); font-weight: 700; }
.stat-change.down { color: var(--danger);  font-weight: 700; }

/* İşlem satırları */
.transaction-icon {
    width: 40px; height: 40px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; flex-shrink: 0;
}
.transaction-details { flex: 1; min-width: 0; }
.transaction-details h4 {
    font-size: 13.5px; font-weight: 600;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    margin-bottom: 2px;
}
.transaction-details span { font-size: 12px; color: var(--text-3); }
.transaction-amount {
    font-size: 14px; font-weight: 800;
    white-space: nowrap; font-variant-numeric: tabular-nums;
}
.transaction-amount.income { color: var(--success); }
.transaction-amount.expense { color: var(--danger); }

/* Badge takma isimleri */
.badge-income   { background: var(--success-bg); color: var(--success-dark); }
.badge-expense  { background: var(--danger-bg);  color: var(--danger-dark);  }
.badge-active   { background: var(--success-bg); color: var(--success-dark); }
.badge-inactive { background: var(--danger-bg);  color: var(--danger-dark);  }

/* ── Transfer satırı stilleri ─────────────────────────────── */
.tx-transfer-row {
    background: linear-gradient(90deg, rgba(99,102,241,.04) 0%, transparent 100%);
}
.tx-transfer-row:hover td { background: rgba(99,102,241,.06) !important; }

.tx-badge-transfer {
    background: rgba(99,102,241,.12);
    color: #4338CA;
    font-weight: 700;
    white-space: nowrap;
}

.tx-transfer-route {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.tx-transfer-route svg { color: #94a3b8; flex-shrink: 0; }

.tx-acc-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}
.tx-acc-kasa  { background: #fef3c7; color: #92400e; }
.tx-acc-banka { background: #dbeafe; color: #1e40af; }

.tx-amount-transfer {
    color: #4338CA;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

/* Tutar renkleri */
.amount-income  { color: var(--success); font-weight: 700; font-variant-numeric: tabular-nums; }
.amount-expense { color: var(--danger);  font-weight: 700; font-variant-numeric: tabular-nums; }
.text-right { text-align: right; }
.text-danger  { color: var(--danger); }
.text-success { color: var(--success); }

/* Kategori etiketi */
.category-tag {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 3px 9px; border-radius: var(--radius-full);
    font-size: 12.5px; font-weight: 500; background: var(--body-bg);
    white-space: nowrap;
}
.category-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; display: inline-block; }

/* Aksiyon buton: .delete sınıfı */
.action-btn.delete:hover { border-color: var(--danger); color: var(--danger); background: var(--danger-bg); }

/* ================================================================
   TRANSFER SAYFASI
   ================================================================ */

/* Summary bar */
.tr-summary {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto;
    gap: 12px;
    align-items: center;
    margin-bottom: 4px;
}

@media (max-width: 900px) {
    .tr-summary { grid-template-columns: 1fr 1fr; }
    .tr-summary-arrow { display: none; }
}

.tr-summary-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px 18px;
    transition: box-shadow .2s, transform .2s;
}

.tr-summary-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.tr-sc-icon { font-size: 26px; flex-shrink: 0; }

.tr-sc-body { line-height: 1.3; }
.tr-sc-body small { display: block; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--text-3); margin-bottom: 3px; }
.tr-sc-body strong { display: block; font-size: 18px; font-weight: 800; color: var(--text-1); font-variant-numeric: tabular-nums; }
.tr-sc-body span { font-size: 11.5px; color: var(--text-3); }

.tr-summary--kasa  { border-color: #fde68a; background: linear-gradient(135deg, #fffbeb, #fef9e0); }
.tr-summary--banka { border-color: #bfdbfe; background: linear-gradient(135deg, #eff6ff, #e0edff); }
.tr-summary--net   { border-color: #bbf7d0; background: linear-gradient(135deg, #f0fdf4, #ddfbea); }
.tr-summary--net.neg { border-color: #fecdd3; background: linear-gradient(135deg, #fff1f2, #ffe4e6); }
.tr-summary--net .tr-sc-body strong { color: var(--success-dark); }
.tr-summary--net.neg .tr-sc-body strong { color: var(--danger-dark); }

/* Summary arrow */
.tr-summary-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--text-3);
    font-size: 11px;
    font-weight: 600;
    flex-shrink: 0;
}

.tr-arrow-line {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--primary);
}

.tr-arrow-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--primary);
    flex-shrink: 0;
}

.tr-arrow-dash {
    width: 28px; height: 2px;
    background: linear-gradient(90deg, var(--primary), rgba(99,102,241,0.3));
    border-radius: 2px;
}

.tr-arrow-svg { animation: tr-arrow-pulse 1.8s ease-in-out infinite; flex-shrink: 0; }

@keyframes tr-arrow-pulse {
    0%, 100% { transform: translateX(0); opacity: 1; }
    50%       { transform: translateX(4px); opacity: 0.7; }
}

/* Form card */
.tr-form-card .card-header { border-bottom: 1px solid var(--border); }

.tr-form-badge {
    font-size: 10px; font-weight: 800;
    text-transform: uppercase; letter-spacing: .5px;
    color: var(--success-dark);
    background: var(--success-bg);
    border: 1px solid #bbf7d0;
    padding: 3px 9px; border-radius: 999px;
}

.tr-form { display: flex; flex-direction: column; gap: 16px; }

.tr-field-group { display: flex; flex-direction: column; gap: 6px; }

.tr-label {
    font-size: 13px; font-weight: 700; color: var(--text-2);
    display: flex; align-items: center; gap: 8px;
}

.tr-label-dot {
    width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
}
.tr-dot--out { background: var(--danger); box-shadow: 0 0 6px rgba(239,68,68,0.4); }
.tr-dot--in  { background: var(--success); box-shadow: 0 0 6px rgba(34,197,94,0.4); }

.tr-select, .tr-text-input, .tr-date-input {
    width: 100%;
    padding: 10px 13px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--card-bg);
    font-size: 14px;
    color: var(--text-1);
    transition: border-color .18s, box-shadow .18s;
    appearance: auto;
}

.tr-select:focus, .tr-text-input:focus, .tr-date-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99,102,241,0.12);
}

.tr-balance-hint {
    font-size: 12px; color: var(--text-3);
    display: flex; align-items: center; gap: 6px;
    min-height: 18px;
}

.tr-hint-label { font-weight: 600; color: var(--text-2); }
.tr-balance-hint strong { color: var(--text-1); font-variant-numeric: tabular-nums; }

/* Form arrow divider */
.tr-form-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 3px;
    color: var(--primary);
    font-size: 11px; font-weight: 600;
    padding: 4px 0;
}

.tr-form-arrow svg { animation: tr-arrow-pulse 1.8s ease-in-out infinite; }

/* Amount row */
.tr-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.tr-amount-wrap {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--card-bg);
    transition: border-color .18s, box-shadow .18s;
    overflow: hidden;
}

.tr-amount-wrap:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99,102,241,0.12);
}

.tr-amount-sym {
    padding: 0 10px;
    font-size: 16px; font-weight: 800;
    color: var(--primary);
    flex-shrink: 0;
}

.tr-amount-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 10px 12px 10px 0;
    font-size: 16px; font-weight: 700;
    color: var(--text-1);
    background: transparent;
    font-variant-numeric: tabular-nums;
    min-width: 0;
}

.tr-amount-warn {
    display: flex; align-items: center; gap: 6px;
    font-size: 12px; font-weight: 700; color: var(--danger);
    margin-top: 4px;
}

.tr-submit-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 20px !important;
    border-radius: var(--radius-md) !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    box-shadow: 0 6px 22px rgba(99,102,241,0.28) !important;
    transition: transform .18s, box-shadow .18s !important;
}

.tr-submit-btn:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 10px 30px rgba(99,102,241,0.38) !important;
}

.tr-submit-btn:disabled {
    opacity: .5; pointer-events: none;
}

/* History list */
.tr-history {
    display: flex; flex-direction: column;
}

.tr-history-item {
    display: flex; align-items: center; gap: 12px;
    padding: 13px 18px;
    border-bottom: 1px solid var(--border);
    transition: background .15s;
}

.tr-history-item:last-child { border-bottom: none; }
.tr-history-item:hover { background: var(--body-bg); }

.tr-hi-icon {
    width: 36px; height: 36px; border-radius: 10px;
    background: rgba(99,102,241,0.09);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; flex-shrink: 0;
}

.tr-hi-body { flex: 1; min-width: 0; }

.tr-hi-route {
    display: flex; align-items: center; gap: 6px;
    font-size: 13px; flex-wrap: wrap;
}

.tr-hi-acc { display: flex; align-items: center; gap: 4px; font-weight: 600; color: var(--text-1); }
.tr-hi-type {
    font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px;
    padding: 1px 6px; border-radius: 999px;
    background: var(--primary-bg); color: var(--primary);
}

.tr-hi-route svg { color: var(--text-3); flex-shrink: 0; }

.tr-hi-meta {
    display: flex; align-items: center; gap: 6px;
    margin-top: 3px;
}

.tr-hi-date { font-size: 12px; color: var(--text-3); font-weight: 500; }
.tr-hi-desc { font-size: 12px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 200px; }

.tr-hi-right {
    display: flex; flex-direction: column; align-items: flex-end; gap: 6px;
    flex-shrink: 0;
}

.tr-hi-amount {
    font-size: 14px; font-weight: 800; color: var(--primary);
    font-variant-numeric: tabular-nums; white-space: nowrap;
}

.tr-del-btn {
    display: flex; align-items: center; justify-content: center;
    width: 26px; height: 26px; border-radius: 7px;
    border: 1px solid var(--border); background: transparent;
    color: var(--text-3); cursor: pointer;
    transition: color .15s, border-color .15s, background .15s;
}

.tr-del-btn:hover { color: var(--danger); border-color: var(--danger); background: var(--danger-bg); }

/* Stack form */
.stack-form { display: flex; flex-direction: column; }

/* Profil sayfası */
.profile-header {
    display: flex; align-items: center; gap: 20px;
    background: var(--card-bg); border: 1px solid var(--border);
    border-radius: var(--radius-md); padding: 24px; margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}
.profile-avatar-large {
    width: 68px; height: 68px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; font-weight: 900; color: #fff; flex-shrink: 0;
}
.profile-info h2 { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.profile-info p  { font-size: 13px; color: var(--text-3); }

/* Pagination aktif sınıfı */
.pagination a.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* Color picker (kategoriler) */
.color-options { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.color-option {
    width: 28px; height: 28px; border-radius: 6px;
    cursor: pointer; border: 3px solid transparent;
    transition: var(--transition); display: inline-block;
}
.color-option:hover { transform: scale(1.12); border-color: var(--text-3); }

/* Dashboard özel */
.quick-form-card.income-card  { border-top: 3px solid var(--success); }
.quick-form-card.expense-card { border-top: 3px solid var(--danger); }
.quick-form-card.account-card { border-top: 3px solid var(--primary); }
.dashboard-header { flex-wrap: wrap; }

/* Boş durum ikon ismi */
.empty-icon { font-size: 42px; margin-bottom: 12px; opacity: 0.55; }
.empty-state.compact p { margin-bottom: 0; }

/* Hesap listesi */
.account-item .account-meta { display: flex; flex-direction: column; gap: 2px; }

/* Quick form ikonu */
.form-group input::placeholder { color: var(--text-3); font-size: 13px; }
