:root {
    --primary: #667eea;
    --primary-dark: #5a6fd6;
    --success: #28a745;
    --danger: #dc3545;
    --warning: #ffc107;
    --sidebar-width: 240px;

    /* Acik tema degiskenleri */
    --bg: #f4f6fb;
    --card-bg: #ffffff;
    --text: #2d3748;
    --text-muted: #718096;
    --border: #e2e8f0;
    --table-hover: #f8f9fc;
    --input-bg: #ffffff;
    --topbar-bg: #ffffff;
}

/* Tema 2: Bulutlu — hafif grimsі */
[data-tema="bulutlu"] {
    --bg: #e8ecf1;
    --card-bg: #f0f2f5;
    --text: #2d3748;
    --text-muted: #5a6878;
    --border: #c8d1dc;
    --table-hover: #e2e7ee;
    --input-bg: #f0f2f5;
    --topbar-bg: #f0f2f5;
}

/* Tema 3: Alacakaranlık — yumuşak geçiş */
[data-tema="alacakaranlik"] {
    --bg: #8b95a5;
    --card-bg: #9aa3b2;
    --text: #1a202c;
    --text-muted: #3d4555;
    --border: #7a8494;
    --table-hover: #949dac;
    --input-bg: #9aa3b2;
    --topbar-bg: #9aa3b2;
}
[data-tema="alacakaranlik"] .sidebar {
    background: linear-gradient(180deg, #4a5568 0%, #3d4555 100%);
    border-right: 1px solid #6b7688;
}

/* Tema 4: Gece — koyu */
[data-tema="gece"] {
    --bg: #2d3348;
    --card-bg: #363d52;
    --text: #e2e8f0;
    --text-muted: #a0aec0;
    --border: #4a5568;
    --table-hover: #3d4560;
    --input-bg: #3d4560;
    --topbar-bg: #363d52;
}
[data-tema="gece"] .sidebar {
    background: linear-gradient(180deg, #252b3d 0%, #1e2333 100%);
    border-right: 1px solid #4a5568;
}

/* Tema 5: Gece Yarısı — en koyu */
[data-tema="geceyarisi"] {
    --bg: #131620;
    --card-bg: #1a1e2c;
    --text: #e2e8f0;
    --text-muted: #a0aec0;
    --border: #222838;
    --table-hover: #191d28;
    --input-bg: #191d28;
    --topbar-bg: #13161f;
}
[data-tema="geceyarisi"] .sidebar {
    background: linear-gradient(180deg, #111420 0%, #080b10 100%);
    border-right: 1px solid #222838;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
    transition: background 0.3s, color 0.3s;
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 0; left: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
    z-index: 1000;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.sidebar-brand {
    padding: 20px 16px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.sidebar-brand h5 {
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    margin: 0;
    line-height: 1.3;
}

.sidebar-brand small {
    color: rgba(255,255,255,0.6);
    font-size: 11px;
}

.sidebar .nav-link {
    color: rgba(255,255,255,0.9);
    padding: 10px 16px;
    border-radius: 8px;
    margin: 3px 8px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.2px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.06);
}

.sidebar .nav-link:hover {
    background: rgba(255,255,255,0.22);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.15);
}

.sidebar .nav-link.active {
    background: rgba(255,255,255,0.25);
    color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.18);
}

.sidebar .nav-link:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(0,0,0,0.2), inset 0 1px 2px rgba(0,0,0,0.1);
}

.sidebar .nav-link i {
    width: 20px;
    text-align: center;
    font-size: 15px;
}

.sidebar-section {
    padding: 12px 16px 4px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.4);
}

/* Main content */
.main-content {
    margin-left: var(--sidebar-width);
    padding: 24px;
    min-height: 100vh;
}

/* Hamburger menu butonu (mobilde gorunur) */
.mobile-toggle {
    display: none;
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 1100;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--primary);
    border: none;
    color: #fff;
    font-size: 18px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

/* Sidebar overlay (mobilde) */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
}

/* Sidebar tema butonu (nav-link icinde) */
.sidebar-tema-btn-link {
    cursor: pointer;
}
.sidebar-tema-btn-link .tema-icon {
    width: 18px;
    text-align: center;
}

.tema-icon {
    font-size: 18px;
    line-height: 1;
    transition: transform 0.4s ease;
}

.sidebar-tema-btn:active .tema-icon {
    transform: rotate(30deg) scale(1.15);
}

.tema-label {
    font-size: 12px;
    letter-spacing: 0.3px;
}

/* Tema kademe gostergesi */
.tema-dots {
    display: flex;
    gap: 4px;
    align-items: center;
}

.tema-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--border);
    transition: all 0.3s;
}

.tema-dot.active {
    background: rgba(255,255,255,0.9);
    box-shadow: 0 0 4px rgba(255,255,255,0.4);
}

/* Topbar */
.topbar {
    background: var(--topbar-bg);
    border-radius: 12px;
    padding: 14px 20px;
    margin-bottom: 24px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.topbar h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
}

/* KPI Cards */
.kpi-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    border-left: 4px solid var(--primary);
    transition: transform 0.2s;
}

.kpi-card:hover { transform: translateY(-2px); }
.kpi-card.success { border-left-color: var(--success); }
.kpi-card.warning { border-left-color: var(--warning); }
.kpi-card.danger  { border-left-color: var(--danger);  }

.kpi-card .kpi-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--text);
    line-height: 1;
}

.kpi-card .kpi-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

.kpi-card .kpi-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
}

/* Cards */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    background: var(--card-bg);
}

/* Ayarlar sayfasi kartlari — hover ile acilir */
.ayarlar-kart {
    border: 1px solid var(--border);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    cursor: pointer;
}
.ayarlar-kart:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(102,126,234,0.12);
    border-color: rgba(102,126,234,0.3);
}
.ayarlar-kart-tehlike:hover {
    box-shadow: 0 8px 28px rgba(220,53,69,0.12);
    border-color: rgba(220,53,69,0.35);
}
.ayarlar-kart-baslik {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}
.ayarlar-kart:hover .ayarlar-kart-baslik {
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}
.ayarlar-ikon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}
.ayarlar-kart:hover .ayarlar-ikon {
    transform: scale(1.1);
}
/* Acilir-kapanir icerik */
.ayarlar-icerik {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease;
}
.ayarlar-kart:hover .ayarlar-icerik {
    max-height: 600px;
    opacity: 1;
}
/* Genislet oku */
.ayarlar-expand {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    color: var(--text-muted);
    font-size: 11px;
    gap: 6px;
    transition: opacity 0.2s;
}
.ayarlar-kart:hover .ayarlar-expand {
    opacity: 0;
    height: 0;
    margin: 0;
    overflow: hidden;
}

/* Emanete Ver balonu */
.emanet-balon {
    display: none;
    position: absolute;
    left: 50%;
    top: -6px;
    transform: translateX(-50%);
    background: var(--primary);
    color: #fff !important;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none !important;
    z-index: 10;
    box-shadow: 0 3px 12px rgba(0,0,0,0.2);
    animation: emanetBalonGir 0.2s ease;
}
.emanet-balon:hover {
    background: var(--primary-dark);
    color: #fff !important;
}
.emanet-satir:hover .emanet-balon {
    display: inline-block;
}
@keyframes emanetBalonGir {
    from { opacity: 0; top: 4px; }
    to { opacity: 1; top: -6px; }
}

.card-header {
    background: var(--card-bg);
    border-bottom: 1px solid var(--border);
    border-radius: 12px 12px 0 0 !important;
    padding: 14px 20px;
    font-weight: 600;
    color: var(--text);
}

/* Tables */
.table th {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    border-bottom: 2px solid var(--border);
    padding: 10px 12px;
    background: var(--card-bg);
    white-space: nowrap;
}

.table td {
    padding: 10px 12px;
    vertical-align: middle;
    font-size: 14px;
    color: var(--text);
    border-color: var(--border);
}

.table tbody tr:hover { background: var(--table-hover); }

/* Responsive tablo wrapper */
.table-responsive {
    border-radius: 12px;
    -webkit-overflow-scrolling: touch;
}

/* Badges */
.badge-stokta    { background: #e3f6ec; color: #1a7a45; padding: 4px 10px; border-radius: 20px; font-size: 12px; }
.badge-satildi   { background: #fde8e8; color: #c0392b; padding: 4px 10px; border-radius: 20px; font-size: 12px; }
.badge-rezerve   { background: #fff3cd; color: #856404; padding: 4px 10px; border-radius: 20px; font-size: 12px; }
.badge-acil      { background: #fde8e8; color: #c0392b; padding: 4px 10px; border-radius: 20px; font-size: 12px; }
.badge-dikkat    { background: #fff3cd; color: #856404; padding: 4px 10px; border-radius: 20px; font-size: 12px; }
.badge-normal    { background: #e3f6ec; color: #1a7a45; padding: 4px 10px; border-radius: 20px; font-size: 12px; }
.badge-bekliyor  { background: #fff3cd; color: #856404; padding: 4px 10px; border-radius: 20px; font-size: 12px; }
.badge-tahsil    { background: #e3f6ec; color: #1a7a45; padding: 4px 10px; border-radius: 20px; font-size: 12px; }
.badge-gecikti   { background: #fde8e8; color: #c0392b; padding: 4px 10px; border-radius: 20px; font-size: 12px; }

/* Badge koyu tema destegi */
[data-tema="alacakaranlik"] .badge-stokta,
[data-tema="gece"] .badge-stokta,
[data-tema="geceyarisi"] .badge-stokta,
[data-tema="alacakaranlik"] .badge-normal,
[data-tema="gece"] .badge-normal,
[data-tema="geceyarisi"] .badge-normal,
[data-tema="alacakaranlik"] .badge-tahsil,
[data-tema="gece"] .badge-tahsil,
[data-tema="geceyarisi"] .badge-tahsil   { background: rgba(40, 167, 69, 0.2); color: #6dd592; }

[data-tema="alacakaranlik"] .badge-satildi,
[data-tema="gece"] .badge-satildi,
[data-tema="geceyarisi"] .badge-satildi,
[data-tema="alacakaranlik"] .badge-acil,
[data-tema="gece"] .badge-acil,
[data-tema="geceyarisi"] .badge-acil,
[data-tema="alacakaranlik"] .badge-gecikti,
[data-tema="gece"] .badge-gecikti,
[data-tema="geceyarisi"] .badge-gecikti  { background: rgba(220, 53, 69, 0.2); color: #f5a0a8; }

[data-tema="alacakaranlik"] .badge-rezerve,
[data-tema="gece"] .badge-rezerve,
[data-tema="geceyarisi"] .badge-rezerve,
[data-tema="alacakaranlik"] .badge-dikkat,
[data-tema="gece"] .badge-dikkat,
[data-tema="geceyarisi"] .badge-dikkat,
[data-tema="alacakaranlik"] .badge-bekliyor,
[data-tema="gece"] .badge-bekliyor,
[data-tema="geceyarisi"] .badge-bekliyor { background: rgba(255, 193, 7, 0.2); color: #f0d060; }

/* Buttons */
.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
}
.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

/* Forms */
.form-control, .form-select {
    border-radius: 8px;
    border: 1px solid var(--border);
    font-size: 14px;
    background: var(--input-bg);
    color: var(--text);
}
.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(102,126,234,0.15);
}

.form-label {
    font-size: 13px;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 4px;
}

/* Alert */
.alert { border-radius: 10px; font-size: 14px; }

/* ============================================
   MOBIL RESPONSIVE (< 768px)
   ============================================ */
@media (max-width: 768px) {
    /* Hamburger gorunur */
    .mobile-toggle {
        display: flex;
    }

    /* Sidebar gizli, toggle ile acilir */
    .sidebar {
        transform: translateX(-100%);
        width: 280px;
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .sidebar-overlay.show {
        display: block;
    }

    /* Main content tam genislik */
    .main-content {
        margin-left: 0;
        padding: 60px 12px 80px 12px;
    }

    .tema-icon { font-size: 16px; }
    .tema-dots { gap: 3px; }
    .tema-dot { width: 5px; height: 5px; }

    /* KPI kartlari */
    .kpi-card {
        padding: 14px;
    }

    .kpi-card .kpi-value {
        font-size: 22px;
    }

    .kpi-card .kpi-icon {
        width: 38px; height: 38px;
        font-size: 16px;
    }

    /* Basliklar */
    h4 { font-size: 16px; }
    h5 { font-size: 14px; }

    /* Butonlar touch-friendly */
    .btn {
        min-height: 38px;
        font-size: 13px;
    }

    .btn-sm {
        min-height: 32px;
        padding: 4px 10px;
    }

    /* Tablolar yatay scroll */
    .table td, .table th {
        font-size: 12px;
        padding: 8px 8px;
    }

    /* Form elemanları daha buyuk */
    .form-control, .form-select {
        font-size: 16px;  /* iOS zoom engellemek icin */
        padding: 10px 12px;
    }

    /* Alert mobil */
    .alert {
        font-size: 12px;
        padding: 8px 12px;
    }


    /* Destek butonu mobil */
    .destek-fab {
        bottom: 16px;
        right: 16px;
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .destek-offcanvas {
        width: 100%;
        max-width: 100vw;
    }

    /* Sayfa baslik + buton hizalama */
    .d-flex.justify-content-between {
        flex-wrap: wrap;
        gap: 8px;
    }

    /* Card body padding */
    .card-body {
        padding: 12px;
    }
}

/* ============================================
   YARDIM & DESTEK PANELI
   ============================================ */

/* Floating buton */
.destek-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(37,211,102,0.4);
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, box-shadow 0.2s;
    animation: destek-pulse 3s infinite;
}

.destek-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37,211,102,0.5);
}

@keyframes destek-pulse {
    0%, 100% { box-shadow: 0 4px 16px rgba(37,211,102,0.4); }
    50% { box-shadow: 0 4px 24px rgba(37,211,102,0.6); }
}

/* Overlay */
.destek-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 1250;
    backdrop-filter: blur(2px);
}
.destek-overlay.show { display: block; }

/* Offcanvas panel */
.destek-offcanvas {
    position: fixed;
    top: 0; right: 0;
    width: 400px;
    max-width: 90vw;
    height: 100vh;
    background: var(--card-bg);
    z-index: 1300;
    display: flex;
    flex-direction: column;
    box-shadow: -8px 0 32px rgba(0,0,0,0.15);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.35s ease, visibility 0.35s;
    overflow: hidden;
}
.destek-offcanvas.show { transform: translateX(0); visibility: visible; }

.destek-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.destek-header h5 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
}

.destek-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.destek-section {
    margin-bottom: 24px;
}

.destek-section-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 2px solid var(--border);
}

/* Iletisim butonlari */
.destek-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 12px;
    text-decoration: none;
    margin-bottom: 8px;
    transition: transform 0.15s, box-shadow 0.15s;
}

.destek-btn:hover {
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.destek-btn i:first-child {
    font-size: 22px;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.destek-btn strong {
    display: block;
    font-size: 14px;
}

.destek-btn small {
    display: block;
    font-size: 12px;
    opacity: 0.7;
}

.destek-whatsapp {
    background: #e8f8f0;
    color: #128c7e;
}
.destek-whatsapp i:first-child {
    background: #25d366;
    color: #fff;
}

.destek-mail-destek {
    background: #eef0ff;
    color: #4a56a8;
}
.destek-mail-destek i:first-child {
    background: #667eea;
    color: #fff;
}

.destek-mail-bilgi {
    background: #f0f7ff;
    color: #2b6cb0;
}
.destek-mail-bilgi i:first-child {
    background: #3182ce;
    color: #fff;
}

/* SSS */
.sss-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sss-item {
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.sss-item[open] {
    border-color: var(--primary);
}

.sss-item summary {
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.15s;
}

.sss-item summary:hover {
    background: var(--table-hover);
}

.sss-item summary::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 12px;
    color: var(--primary);
    transition: transform 0.2s;
    flex-shrink: 0;
}

.sss-item[open] summary::before {
    transform: rotate(90deg);
}

.sss-item summary::-webkit-details-marker {
    display: none;
}

.sss-item p {
    padding: 0 16px 14px;
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-muted);
}

/* SSS Kategori basliklari */
.sss-kategori {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--primary);
    padding: 12px 4px 4px;
    margin-top: 6px;
}

.sss-kategori:first-child {
    margin-top: 0;
    padding-top: 0;
}

/* Koyu tema uyumu — destek butonlari */
[data-tema="alacakaranlik"] .destek-whatsapp,
[data-tema="gece"] .destek-whatsapp,
[data-tema="geceyarisi"] .destek-whatsapp { background: #1a3d2e; color: #5ae89e; }
[data-tema="alacakaranlik"] .destek-mail-destek,
[data-tema="gece"] .destek-mail-destek,
[data-tema="geceyarisi"] .destek-mail-destek { background: #252850; color: #a3b1ff; }
[data-tema="alacakaranlik"] .destek-mail-bilgi,
[data-tema="gece"] .destek-mail-bilgi,
[data-tema="geceyarisi"] .destek-mail-bilgi { background: #1e3050; color: #7eb8f0; }

/* ============================================
   GERI BILDIRIM SISTEMI
   ============================================ */

/* Tip badge */
.badge-oneri { background: #fef3c7; color: #92400e; padding: 4px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.badge-sikayet { background: #fde8e8; color: #c0392b; padding: 4px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; }

/* Durum badge */
.badge-feedback-acik { background: #dbeafe; color: #1e40af; padding: 4px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.badge-feedback-inceleniyor { background: #fed7aa; color: #c2410c; padding: 4px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.badge-feedback-kapandi { background: #d1fae5; color: #065f46; padding: 4px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; }

/* Onem badge */
.badge-onem-dusuk { background: #f1f5f9; color: #64748b; padding: 4px 10px; border-radius: 20px; font-size: 12px; }
.badge-onem-normal { background: #dbeafe; color: #1e40af; padding: 4px 10px; border-radius: 20px; font-size: 12px; }
.badge-onem-yuksek { background: #fde8e8; color: #c0392b; padding: 4px 10px; border-radius: 20px; font-size: 12px; font-weight: 700; }

/* Timeline */
.feedback-timeline { position: relative; padding-left: 30px; }
.feedback-timeline::before {
    content: ''; position: absolute; left: 12px; top: 0; bottom: 0;
    width: 2px; background: var(--border);
}
.feedback-timeline-item {
    position: relative; margin-bottom: 20px; padding: 16px;
    background: var(--card-bg); border: 1px solid var(--border);
    border-radius: 10px; box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.feedback-timeline-item::before {
    content: ''; position: absolute; left: -24px; top: 20px;
    width: 10px; height: 10px; border-radius: 50%;
    background: var(--primary); border: 2px solid var(--card-bg);
}

/* Tip secim kartlari (form) */
.feedback-tip-card {
    border: 2px solid var(--border); border-radius: 12px;
    padding: 20px; text-align: center; cursor: pointer;
    transition: all 0.2s; background: var(--card-bg);
}
.feedback-tip-card:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.feedback-tip-card.selected-oneri { border-color: #f59e0b; background: #fffbeb; }
.feedback-tip-card.selected-sikayet { border-color: #ef4444; background: #fef2f2; }
.feedback-tip-card i { font-size: 32px; margin-bottom: 8px; display: block; }

/* Koyu temalar uyumu */
[data-tema="alacakaranlik"] .feedback-tip-card.selected-oneri,
[data-tema="gece"] .feedback-tip-card.selected-oneri,
[data-tema="geceyarisi"] .feedback-tip-card.selected-oneri { background: #3d3517; border-color: #f59e0b; }
[data-tema="alacakaranlik"] .feedback-tip-card.selected-sikayet,
[data-tema="gece"] .feedback-tip-card.selected-sikayet,
[data-tema="geceyarisi"] .feedback-tip-card.selected-sikayet { background: #3d1717; border-color: #ef4444; }

/* Kucuk telefonlar (< 480px) */
@media (max-width: 480px) {
    .main-content {
        padding: 56px 8px 80px 8px;
    }

    .kpi-card .kpi-value {
        font-size: 18px;
    }

    .table td, .table th {
        font-size: 11px;
        padding: 6px 6px;
    }
}
