/* ============================================================
   AsisTron Admin Panel — Paylaşılan stil dosyası
   Sidebar layout · Dark theme · AsisTron tasarım dili
   ============================================================ */

:root {
    --bg:           #07080b;
    --bg-1:         #0a0c10;
    --bg-2:         #11141a;
    --surface:      #14181f;
    --surface-2:    #1a1f28;
    --border:       rgba(255,255,255,0.08);
    --border-2:     rgba(255,255,255,0.14);
    --text:         #f4f6fa;
    --muted:        #a8b0bf;
    --faded:        #6b7280;

    --orange:       #FB8500;
    --orange-2:     #ffae3c;
    --pink:         #C41379;
    --pink-2:       #ff58a8;
    --blue:         #4d7dff;
    --blue-2:       #6c8eff;
    --green:        #2fd47a;
    --purple:       #8b5cf6;
    --cyan:         #00d4ff;
    --warning:      #f59e0b;
    --danger:       #ff6b6b;

    --grad-brand:   linear-gradient(135deg, #FB8500 0%, #ffae3c 100%);
    --shadow-md:    0 16px 40px rgba(0,0,0,0.35);
    --shadow-soft:  0 4px 14px rgba(0,0,0,0.20);
    --radius:       12px;
    --radius-lg:    16px;

    --sidebar-w:    260px;
    --topbar-h:     64px;
}

/* ============================================================
   AÇIK TEMA — html[data-theme="light"] override
   Koyu :root DEĞİŞMEZ. Palet: aciktemamizbilgileri.md (tek kaynak).
   Marka renkleri + yapısal değişkenler (radius/sidebar-w/topbar-h) AYNEN.
   ============================================================ */
html[data-theme="light"] {
    --bg:           #eef1f6;
    --bg-1:         #ffffff;
    --bg-2:         #e6eaf1;
    --surface:      #ffffff;
    --surface-2:    #f4f6fa;
    --border:       rgba(0,0,0,0.10);
    --border-2:     rgba(0,0,0,0.16);
    --text:         #14181f;
    --muted:        #5b6472;
    --faded:        #8b94a3;
    --shadow-md:    0 16px 40px rgba(0,0,0,0.10);
    --shadow-soft:  0 4px 14px rgba(0,0,0,0.08);
}
/* Değişken kullanmayan (hardcoded) kuralların açık tema varyantı */
html[data-theme="light"] .sidebar-link:hover { background: rgba(0,0,0,0.04); }
html[data-theme="light"] .sidebar-user:hover { background: rgba(0,0,0,0.04); }
html[data-theme="light"] .topbar             { background: rgba(255,255,255,0.80); }
html[data-theme="light"] .tbl tbody tr:hover { background: rgba(0,0,0,0.03); }
html[data-theme="light"] .tag                { background: rgba(0,0,0,0.04); }
html[data-theme="light"] .login-form .input-wrap .toggle-pw:hover { background: rgba(0,0,0,0.05); }
/* select ok ikonu — açık temada koyu gri (#5b6472) */
html[data-theme="light"] .select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%235b6472' d='M6 8.825L1.175 4 2.05 3.125 6 7.075 9.95 3.125 10.825 4z'/%3E%3C/svg%3E");
}
/* Login sol marketing paneli — koyu gradyan açık temada açık zemine çevrilir
   (marka parıltıları korunur, opaklık düşürülür) */
html[data-theme="light"] .login-aside {
    background:
        radial-gradient(800px 600px at 20% 20%, rgba(251,133,0,0.14), transparent 60%),
        radial-gradient(700px 500px at 80% 80%, rgba(196,19,121,0.10), transparent 60%),
        radial-gradient(600px 400px at 50% 100%, rgba(77,125,255,0.10), transparent 60%),
        linear-gradient(180deg, #ffffff 0%, #eef1f6 100%);
}
html[data-theme="light"] .login-aside::before {
    background:
        linear-gradient(transparent 95%, rgba(0,0,0,0.04) 95%) 0 0 / 100% 60px,
        linear-gradient(90deg, transparent 95%, rgba(0,0,0,0.04) 95%) 0 0 / 60px 100%;
}
html[data-theme="light"] .login-aside-features .feat-ico { background: rgba(0,0,0,0.04); }

*, *::before, *::after { box-sizing: border-box; }
body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
    transition: background-color 0.2s ease, color 0.2s ease;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: 0; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 700; letter-spacing: -0.02em; }
p { margin: 0; }
img { max-width: 100%; display: block; }
input, textarea, select { font-family: inherit; }

/* Brand */
.brand {
    display: inline-flex; align-items: baseline;
    font-size: 18px; font-weight: 800; letter-spacing: -0.03em;
    white-space: nowrap;
}
.brand .t { color: var(--orange); }
.brand .i-dot {
    position: relative;
    display: inline-block;
    line-height: 0.8;
}
.brand .i-dot::after {
    content: '';
    position: absolute;
    top: 0.02em;
    left: 50%;
    transform: translateX(-50%);
    width: 0.16em;
    height: 0.16em;
    background: var(--orange);
    border-radius: 50%;
}
.brand-tag {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--orange);
    padding: 3px 8px;
    background: rgba(251,133,0,0.12);
    border-radius: 5px;
    margin-left: 6px;
}

/* ============= LAYOUT ============= */
.app {
    display: grid;
    grid-template-columns: var(--sidebar-w) 1fr;
    min-height: 100vh;
}

/* ============= SIDEBAR ============= */
.sidebar {
    background: var(--bg-1);
    border-right: 1px solid var(--border);
    display: flex; flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}
.sidebar-head {
    padding: 18px 22px;
    border-bottom: 1px solid var(--border);
    display: flex; align-items: center;
    flex-shrink: 0;
}
.sidebar-nav {
    flex: 1;
    padding: 14px 12px;
    overflow-y: auto;
}
.sidebar-section {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--faded);
    padding: 14px 12px 8px;
}
/* GOREV-1170 — gruplu akordeon menü */
.sidebar-group-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--faded);
    padding: 14px 12px 8px;
    background: transparent;
    border: 0;
    cursor: pointer;
    font-family: inherit;
}
.sidebar-group-chevron {
    font-size: 16px;
    transition: transform 0.25s;
}
.sidebar-group.open .sidebar-group-chevron {
    transform: rotate(180deg);
}
.sidebar-group-body {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.28s ease;
}
.sidebar-group.open .sidebar-group-body {
    max-height: 600px;
}
.sidebar-link {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 12px;
    margin-bottom: 2px;
    border-radius: 8px;
    color: var(--muted);
    font-size: 13.5px;
    font-weight: 500;
    transition: background 0.15s, color 0.15s;
    position: relative;
}
.sidebar-link i { font-size: 18px; flex-shrink: 0; }
.sidebar-link:hover { background: rgba(255,255,255,0.04); color: var(--text); }
.sidebar-link.active {
    background: rgba(251,133,0,0.10);
    color: var(--orange);
}
.sidebar-link.active::before {
    content: '';
    position: absolute;
    left: 0; top: 8px; bottom: 8px;
    width: 3px;
    background: var(--orange);
    border-radius: 0 3px 3px 0;
}
.sidebar-link .badge {
    margin-left: auto;
    font-size: 10px; font-weight: 700;
    background: var(--orange);
    color: #fff;
    padding: 2px 7px;
    border-radius: 999px;
}
.sidebar-foot {
    border-top: 1px solid var(--border);
    padding: 14px;
    flex-shrink: 0;
}
.sidebar-user {
    display: flex; align-items: center; gap: 10px;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.15s;
}
.sidebar-user:hover { background: rgba(255,255,255,0.04); }
.avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--grad-brand);
    display: inline-flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 700; font-size: 13px;
    flex-shrink: 0;
}
.sidebar-user-name { font-size: 13px; font-weight: 600; }
.sidebar-user-mail { font-size: 11.5px; color: var(--faded); }

/* ============= MAIN ============= */
.main { display: flex; flex-direction: column; min-width: 0; }

/* Topbar */
.topbar {
    height: var(--topbar-h);
    display: flex; align-items: center;
    padding: 0 24px;
    gap: 16px;
    background: rgba(7,8,11,0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    position: sticky; top: 0; z-index: 20;
}
.topbar-title { font-size: 16px; font-weight: 700; }
.topbar-search {
    flex: 1;
    max-width: 480px;
    position: relative;
}
.topbar-search input {
    width: 100%;
    padding: 9px 12px 9px 38px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    font-size: 13.5px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.topbar-search input::placeholder { color: var(--faded); }
.topbar-search input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(251,133,0,0.12); }
.topbar-search i {
    position: absolute;
    left: 12px; top: 50%;
    transform: translateY(-50%);
    color: var(--faded);
    font-size: 18px;
}
.topbar-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.icon-btn {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--muted);
    font-size: 18px;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
    position: relative;
}
.icon-btn:hover { background: var(--surface-2); color: var(--text); border-color: var(--border-2); }
.icon-btn .dot {
    position: absolute;
    top: 8px; right: 8px;
    width: 8px; height: 8px;
    background: var(--orange);
    border-radius: 50%;
    box-shadow: 0 0 0 2px var(--bg);
}

/* Content */
.content {
    padding: 28px;
    flex: 1;
}
.page-head {
    display: flex; align-items: flex-start; justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}
.page-head h1 { font-size: 26px; font-weight: 800; letter-spacing: -0.025em; margin-bottom: 4px; }
.page-head p { color: var(--muted); font-size: 14px; }
.page-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ============= BUTTONS ============= */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 9px 16px;
    border-radius: 10px;
    font-size: 13.5px; font-weight: 600;
    transition: transform 0.15s, box-shadow 0.15s, background 0.15s, border-color 0.15s, color 0.15s;
    white-space: nowrap;
}
.btn-primary {
    background: var(--grad-brand);
    color: #fff;
    box-shadow: 0 6px 16px rgba(251,133,0,0.30);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(251,133,0,0.42); }
.btn-ghost {
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
}
.btn-ghost:hover { background: var(--surface-2); border-color: var(--border-2); }
.btn-danger {
    background: rgba(255,107,107,0.10);
    color: var(--danger);
    border: 1px solid rgba(255,107,107,0.25);
}
.btn-danger:hover { background: rgba(255,107,107,0.18); border-color: rgba(255,107,107,0.4); }
.btn-sm { padding: 6px 12px; font-size: 12.5px; }
.btn-icon { padding: 7px 9px; gap: 0; }

/* ============= CARDS ============= */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 22px;
}
.card-head {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border);
}
.card-head h3 { font-size: 15px; font-weight: 700; }

/* Stat cards */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.stat {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 20px;
    transition: border-color 0.2s, transform 0.2s;
}
.stat:hover { border-color: var(--border-2); transform: translateY(-2px); }
.stat-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.stat-label { font-size: 12px; color: var(--muted); font-weight: 500; }
.stat-icon {
    width: 36px; height: 36px;
    border-radius: 10px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 18px;
}
.stat-val { font-size: 28px; font-weight: 800; letter-spacing: -0.025em; line-height: 1; }
.stat-delta { font-size: 12px; margin-top: 8px; display: inline-flex; align-items: center; gap: 4px; }
.stat-delta.up { color: var(--green); }
.stat-delta.down { color: var(--danger); }

.ico-orange { background: rgba(251,133,0,0.12); color: var(--orange); }
.ico-blue   { background: rgba(77,125,255,0.14); color: var(--blue-2); }
.ico-green  { background: rgba(47,212,122,0.14); color: var(--green); }
.ico-purple { background: rgba(139,92,246,0.14); color: var(--purple); }
.ico-pink   { background: rgba(196,19,121,0.14); color: var(--pink-2); }
.ico-cyan   { background: rgba(0,212,255,0.14); color: var(--cyan); }
.ico-amber  { background: rgba(245,158,11,0.14); color: var(--warning); }
.ico-red    { background: rgba(255,107,107,0.14); color: var(--danger); }

@media (max-width: 991px) {
    .stat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
    .stat-grid { grid-template-columns: 1fr; }
}

/* ============= TABLE ============= */
.table-wrap {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.table-toolbar {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
}
.table-toolbar-search {
    position: relative;
    flex: 1;
    max-width: 320px;
}
.table-toolbar-search input {
    width: 100%;
    padding: 8px 12px 8px 34px;
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-size: 13px;
}
.table-toolbar-search input::placeholder { color: var(--faded); }
.table-toolbar-search input:focus { outline: none; border-color: var(--orange); }
.table-toolbar-search i {
    position: absolute;
    left: 10px; top: 50%;
    transform: translateY(-50%);
    color: var(--faded);
    font-size: 16px;
}
.table-toolbar-filters { display: flex; gap: 8px; flex-wrap: wrap; }

.tbl { width: 100%; border-collapse: collapse; }
.tbl thead th {
    text-align: left;
    padding: 12px 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--faded);
    background: var(--bg-2);
    border-bottom: 1px solid var(--border);
}
.tbl tbody td {
    padding: 14px 20px;
    font-size: 13.5px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl tbody tr:hover { background: rgba(255,255,255,0.02); }
.tbl .td-title { font-weight: 600; color: var(--text); }
.tbl .td-meta { font-size: 12px; color: var(--faded); margin-top: 3px; }

.row-actions { display: flex; gap: 4px; justify-content: flex-end; }
.row-actions .btn { padding: 5px 10px; font-size: 12px; }

/* Pagination */
.pagination {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px;
    padding: 14px 20px;
    border-top: 1px solid var(--border);
    font-size: 13px;
    color: var(--muted);
    flex-wrap: wrap;
}
.pagination-pages { display: flex; gap: 4px; }
.pagination-pages a {
    width: 32px; height: 32px;
    border-radius: 8px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 12.5px; font-weight: 600;
    color: var(--muted);
    background: var(--bg-2);
    border: 1px solid var(--border);
    transition: background 0.15s, color 0.15s;
}
.pagination-pages a:hover { background: var(--surface-2); color: var(--text); }
.pagination-pages a.active { background: var(--grad-brand); color: #fff; border-color: transparent; }

/* ============= BADGES ============= */
.badge-status {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 11.5px; font-weight: 600;
    padding: 3px 9px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.badge-status::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
}
.badge-published { background: rgba(47,212,122,0.10); color: var(--green); }
.badge-published::before { background: var(--green); }
.badge-draft { background: rgba(245,158,11,0.10); color: var(--warning); }
.badge-draft::before { background: var(--warning); }
.badge-archived { background: rgba(108,117,125,0.10); color: var(--faded); }
.badge-archived::before { background: var(--faded); }
.badge-active { background: rgba(47,212,122,0.10); color: var(--green); }
.badge-active::before { background: var(--green); }
.badge-pending { background: rgba(77,125,255,0.10); color: var(--blue-2); }
.badge-pending::before { background: var(--blue); }
.badge-closed { background: rgba(255,107,107,0.10); color: var(--danger); }
.badge-closed::before { background: var(--danger); }

.tag {
    display: inline-flex;
    font-size: 11.5px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 5px;
    background: rgba(255,255,255,0.04);
    color: var(--muted);
    border: 1px solid var(--border);
}

/* ============= FORM ============= */
.form-grid { display: grid; gap: 20px; }
.form-grid.cols-2 { grid-template-columns: 1fr 1fr; }
.form-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 768px) {
    .form-grid.cols-2, .form-grid.cols-3 { grid-template-columns: 1fr; }
}

.field-label {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--muted);
    margin-bottom: 7px;
}
.field-label .req { color: var(--danger); }
.field-hint {
    font-size: 11.5px;
    color: var(--faded);
    margin-top: 6px;
}
.input, .textarea, .select {
    width: 100%;
    padding: 10px 14px;
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    font-size: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.input:focus, .textarea:focus, .select:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(251,133,0,0.15);
}
.textarea { min-height: 140px; resize: vertical; }
.select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23a8b0bf' d='M6 8.825L1.175 4 2.05 3.125 6 7.075 9.95 3.125 10.825 4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

/* Toggle */
.toggle {
    display: inline-flex; align-items: center; gap: 10px;
    cursor: pointer;
    user-select: none;
}
.toggle input { display: none; }
.toggle-track {
    width: 38px; height: 22px;
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: 999px;
    position: relative;
    transition: background 0.2s, border-color 0.2s;
}
.toggle-track::after {
    content: '';
    position: absolute;
    top: 2px; left: 2px;
    width: 16px; height: 16px;
    background: var(--muted);
    border-radius: 50%;
    transition: transform 0.2s, background 0.2s;
}
.toggle input:checked + .toggle-track { background: var(--orange); border-color: var(--orange); }
.toggle input:checked + .toggle-track::after { transform: translateX(16px); background: #fff; }
.toggle-label { font-size: 13.5px; }

/* ============= EMPTY STATE ============= */
.empty {
    text-align: center;
    padding: 60px 30px;
    color: var(--muted);
}
.empty-icon {
    font-size: 48px;
    color: var(--faded);
    opacity: 0.5;
    margin-bottom: 14px;
}
.empty h4 { font-size: 16px; margin-bottom: 6px; color: var(--text); }
.empty p { font-size: 13px; max-width: 380px; margin: 0 auto 20px; }

/* ============= RESPONSIVE ============= */
.sidebar-toggle {
    display: none;
    width: 38px; height: 38px;
    border-radius: 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    align-items: center; justify-content: center;
    color: var(--muted);
    font-size: 20px;
}
@media (max-width: 991px) {
    .app { grid-template-columns: 1fr; }
    .sidebar {
        position: fixed;
        top: 0; left: -100%;
        width: var(--sidebar-w);
        z-index: 60;
        transition: left 0.25s ease;
    }
    .app.sidebar-open .sidebar { left: 0; box-shadow: 0 0 60px rgba(0,0,0,0.6); }
    .app.sidebar-open::after {
        content: '';
        position: fixed; inset: 0;
        background: rgba(0,0,0,0.5);
        backdrop-filter: blur(4px);
        z-index: 55;
    }
    .sidebar-toggle { display: inline-flex; }
    .topbar-search { display: none; }
}

/* ============= LOGIN — Split Layout ============= */
.login-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    background: var(--bg);
}

/* Sol: Marketing paneli */
.login-aside {
    position: relative;
    padding: 56px 60px;
    display: flex; flex-direction: column;
    overflow: hidden;
    background:
        radial-gradient(800px 600px at 20% 20%, rgba(251,133,0,0.22), transparent 60%),
        radial-gradient(700px 500px at 80% 80%, rgba(196,19,121,0.18), transparent 60%),
        radial-gradient(600px 400px at 50% 100%, rgba(77,125,255,0.15), transparent 60%),
        linear-gradient(180deg, #0a0c10 0%, #0d0f14 100%);
}
.login-aside::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(transparent 95%, rgba(255,255,255,0.03) 95%) 0 0 / 100% 60px,
        linear-gradient(90deg, transparent 95%, rgba(255,255,255,0.03) 95%) 0 0 / 60px 100%;
    mask: radial-gradient(70% 60% at 50% 40%, #000, transparent 80%);
    -webkit-mask: radial-gradient(70% 60% at 50% 40%, #000, transparent 80%);
    pointer-events: none;
}
.login-aside > * { position: relative; z-index: 1; }

.login-aside-brand {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 22px; font-weight: 800;
    letter-spacing: -0.04em;
    align-self: flex-start;
}
.login-aside-brand .t { color: var(--orange); }
.login-aside-brand .dot {
    width: 10px; height: 10px;
    background: var(--orange);
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(251,133,0,0.6);
    margin-left: 2px;
}
.login-aside-brand .tag {
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    background: rgba(251,133,0,0.15);
    border: 1px solid rgba(251,133,0,0.4);
    color: var(--orange);
    border-radius: 999px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.login-aside-hero { margin: auto 0; }
.login-aside-hero h2 {
    font-size: clamp(32px, 4vw, 46px);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.1;
    margin-bottom: 18px;
}
.login-aside-hero h2 .grad {
    background: linear-gradient(135deg, #FB8500 0%, #ffae3c 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.login-aside-hero p {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.6;
    max-width: 480px;
}

.login-aside-features {
    display: grid; gap: 14px;
    margin-bottom: 40px;
}
.login-aside-features .feat {
    display: flex; gap: 14px; align-items: flex-start;
}
.login-aside-features .feat-ico {
    width: 38px; height: 38px;
    border-radius: 10px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    color: var(--orange);
}
.login-aside-features strong { display: block; font-size: 14px; margin-bottom: 3px; color: var(--text); }
.login-aside-features span { color: var(--muted); font-size: 13px; line-height: 1.5; }

.login-aside-stats {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}
.login-aside-stats .stat-num {
    font-size: 24px; font-weight: 800;
    letter-spacing: -0.025em;
    background: linear-gradient(135deg, #FB8500, #ffae3c);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}
.login-aside-stats .stat-lbl {
    color: var(--faded);
    font-size: 11.5px;
    margin-top: 4px;
    letter-spacing: 0.3px;
}

/* Sağ: Form paneli */
.login-form-side {
    display: flex; align-items: center; justify-content: center;
    padding: 40px;
    background: var(--bg);
}
.login-form {
    width: 100%;
    max-width: 380px;
}
.login-form .head { margin-bottom: 32px; }
.login-form h1 {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.025em;
    margin-bottom: 6px;
}
.login-form .subtitle {
    color: var(--muted);
    font-size: 14px;
}
.login-form .field { margin-bottom: 18px; }
.login-form .input-wrap {
    position: relative;
    display: block;
    width: 100%;
}
.login-form .input-wrap > i {
    position: absolute;
    left: 14px; top: 50%;
    transform: translateY(-50%);
    color: var(--faded);
    font-size: 18px;
    pointer-events: none;
    z-index: 1;
}
.login-form .input-wrap .input { padding-left: 42px; padding-right: 42px; }
.login-form .input-wrap .toggle-pw {
    position: absolute;
    right: 4px; top: 50%;
    transform: translateY(-50%);
    width: 32px; height: 32px;
    display: inline-flex;
    align-items: center; justify-content: center;
    color: var(--faded);
    font-size: 18px;
    background: transparent;
    border: 0;
    cursor: pointer;
    border-radius: 6px;
    z-index: 2;
}
.login-form .input-wrap .toggle-pw:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.login-form .login-row {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 24px;
    font-size: 12.5px;
}
.login-form .login-row a { color: var(--orange); }
.login-form .login-row a:hover { text-decoration: underline; }
.login-form .submit-btn {
    width: 100%;
    justify-content: center;
    padding: 13px;
    font-size: 14px;
}
.login-form .divider {
    text-align: center;
    margin: 24px 0;
    position: relative;
    color: var(--faded);
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.login-form .divider::before {
    content: '';
    position: absolute;
    top: 50%; left: 0; right: 0;
    height: 1px;
    background: var(--border);
}
.login-form .divider span {
    background: var(--bg);
    padding: 0 14px;
    position: relative;
}
.login-form .sso-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.login-form .sso-btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 8px;
    padding: 10px;
    border-radius: 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 13px;
    font-weight: 500;
    transition: background 0.15s, border-color 0.15s;
}
.login-form .sso-btn:hover { background: var(--surface-2); border-color: var(--border-2); }
.login-form .sso-btn i { font-size: 18px; }
.login-form .signup {
    text-align: center;
    color: var(--muted);
    font-size: 13px;
    margin-top: 28px;
}
.login-form .signup a { color: var(--orange); font-weight: 600; }

@media (max-width: 991px) {
    .login-shell { grid-template-columns: 1fr; }
    .login-aside { padding: 40px 30px; min-height: auto; }
    .login-aside-hero { margin: 30px 0; }
    .login-aside-hero h2 { font-size: 28px; }
    .login-aside-features, .login-aside-stats { display: none; }
    .login-form-side { padding: 30px; }
}

/* Inbox / mesaj listesi */
.inbox {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 16px;
    height: calc(100vh - var(--topbar-h) - 56px);
}
.inbox-list {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow-y: auto;
}
.inbox-item {
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: background 0.15s;
}
.inbox-item:hover { background: var(--surface-2); }
.inbox-item.active { background: rgba(251,133,0,0.08); border-left: 3px solid var(--orange); padding-left: 15px; }
.inbox-item.unread .inbox-item-name::before {
    content: '';
    display: inline-block;
    width: 7px; height: 7px;
    background: var(--orange);
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: middle;
}
.inbox-item-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; }
.inbox-item-name { font-size: 13.5px; font-weight: 600; }
.inbox-item-time { font-size: 11px; color: var(--faded); }
.inbox-item-subj { font-size: 12.5px; color: var(--text); margin-bottom: 4px; }
.inbox-item-preview { font-size: 12px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.inbox-detail {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow-y: auto;
    padding: 30px;
}
.inbox-detail-head { padding-bottom: 22px; border-bottom: 1px solid var(--border); margin-bottom: 22px; }
.inbox-detail-from { display: flex; gap: 12px; align-items: center; margin-top: 10px; }
.inbox-detail-from .sender-name { font-weight: 600; }
.inbox-detail-from .sender-mail { font-size: 12.5px; color: var(--muted); }
.inbox-detail-body { font-size: 14px; line-height: 1.65; color: var(--text); }
.inbox-detail-actions { display: flex; gap: 8px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--border); }

@media (max-width: 991px) {
    .inbox { grid-template-columns: 1fr; height: auto; }
    .inbox-list, .inbox-detail { max-height: 500px; }
}

/* GOREV-1170 — akordeon a11y: hareket azaltma tercihinde geçişleri kapat */
@media (prefers-reduced-motion: reduce) {
    .sidebar-group-chevron,
    .sidebar-group-body {
        transition: none;
    }
}
