:root {
    --primary: #1a73e8;
    --primary-dark: #1557b0;
    --sidebar-bg: #1e293b;
    --sidebar-hover: #334155;
    --sidebar-active: #3b82f6;
    --bg: #f1f5f9;
    --card-bg: #ffffff;
    --text: #1e293b;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --success: #22c55e;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #06b6d4;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 260px;
    background: var(--sidebar-bg);
    color: #fff;
    position: fixed;
    top: 0; left: 0; bottom: 0;
    overflow-y: auto;
    z-index: 100;
    transition: transform 0.3s;
}

.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.sidebar-header h2 {
    font-size: 16px;
    font-weight: 600;
    color: #93c5fd;
}

.sidebar-header small {
    color: #94a3b8;
    font-size: 11px;
}

.sidebar-nav { padding: 10px 0; }

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.sidebar-nav a:hover {
    background: var(--sidebar-hover);
    color: #fff;
}

.sidebar-nav a.active {
    background: rgba(59,130,246,0.15);
    color: #60a5fa;
    border-left-color: var(--sidebar-active);
}

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

.nav-section {
    padding: 14px 20px 6px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #fbbf24;
    font-weight: 700;
    border-top: 1px solid rgba(255,255,255,0.06);
    margin-top: 4px;
}

/* Main content */
.main-content {
    margin-left: 260px;
    flex: 1;
    padding: 24px;
    min-height: 100vh;
}

.page-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.page-header h1 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    width: 100%;
}

/* Cards */
.card {
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    margin-bottom: 20px;
    overflow: hidden;
}

.card-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    font-weight: 600;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-body { padding: 20px; }

/* Stat cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 16px;
}

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

.stat-icon.blue { background: #dbeafe; color: #2563eb; }
.stat-icon.green { background: #dcfce7; color: #16a34a; }
.stat-icon.orange { background: #ffedd5; color: #ea580c; }
.stat-icon.purple { background: #f3e8ff; color: #9333ea; }
.stat-icon.red { background: #fee2e2; color: #dc2626; }
.stat-icon.cyan { background: #cffafe; color: #0891b2; }

.stat-info h3 {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
}

.stat-info p {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

/* Tables */
.table-container {
    overflow-x: auto;
    border-radius: 8px;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

thead {
    background: #f8fafc;
}

th {
    padding: 10px 12px;
    text-align: left;
    font-weight: 600;
    color: var(--text-muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    border-bottom: 2px solid var(--border);
}

td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}

tr:hover { background: #f8fafc; }

/* Badges */
.badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
}

.badge-success { background: #dcfce7; color: #166534; }
.badge-warning { background: #fef3c7; color: #92400e; }
.badge-danger { background: #fee2e2; color: #991b1b; }
.badge-info { background: #dbeafe; color: #1e40af; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-success { background: var(--success); color: #fff; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #dc2626; }
.btn-sm { padding: 4px 10px; font-size: 12px; }
.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
}
.btn-outline:hover { background: #f8fafc; }

/* Forms */
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 4px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 13px;
    color: var(--text);
    background: #fff;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26,115,232,0.1);
}

/* Charts grid */
.charts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

/* Flash messages */
.flash {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 13px;
    font-weight: 500;
}

.flash-success { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.flash-warning { background: #fef3c7; color: #92400e; border: 1px solid #fde68a; }
.flash-error { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }

/* Hamburger menu button */
.hamburger { display: none; background: none; border: none; font-size: 24px; cursor: pointer; padding: 8px; color: #1e293b; position: fixed; top: 8px; left: 8px; z-index: 1001; }

.menu-toggle {
    display: none;
    position: fixed;
    top: 12px; left: 12px;
    z-index: 200;
    background: var(--sidebar-bg);
    color: #fff;
    border: none;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
}

/* Responsive */
@media (max-width: 768px) {
    .sidebar { transform: translateX(-100%); position: fixed; z-index: 1000; height: 100vh; transition: transform 0.3s ease; }
    .sidebar.active { transform: translateX(0); }
    .sidebar.open { transform: translateX(0); }
    .main-content { margin-left: 0 !important; }
    .page-header { flex-direction: column; align-items: flex-start !important; gap: 8px; }
    .page-header h1 { font-size: 18px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 8px !important; }
    .stat-card { padding: 10px !important; }
    .stat-info h3 { font-size: 18px !important; }
    .stat-info p { font-size: 10px !important; }
    .form-grid { grid-template-columns: 1fr !important; }
    .card { margin: 0 -8px 12px; border-radius: 0; }
    .card-body { padding: 10px !important; }
    .card-header { padding: 8px 12px !important; font-size: 13px; }
    .table-container { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 -10px; padding: 0 10px; }
    table { font-size: 11px !important; }
    table th, table td { padding: 4px 6px !important; white-space: nowrap; }
    .btn { min-height: 40px; padding: 8px 14px !important; font-size: 13px !important; }
    .btn-sm { min-height: 34px; padding: 6px 10px !important; }
    .charts-grid { grid-template-columns: 1fr !important; }
    select, input[type="text"], input[type="number"], input[type="date"], textarea { font-size: 16px !important; min-height: 40px; }
    .hamburger { display: flex !important; }
    .menu-toggle { display: block; }
    /* Sidebar overlay */
    .sidebar-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5); z-index: 999; }
    .sidebar-overlay.active { display: block; }
    /* Touch target improvements */
    .sidebar .nav-submenu a { padding: 10px 12px 10px 28px !important; min-height: 44px; display: flex; align-items: center; }
    .btn { min-height: 44px; }
    .btn-sm { min-height: 38px; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr !important; }
    .page-header h1 { font-size: 16px; }
    body { font-size: 13px; }
}

.text-right { text-align: right; }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mt-2 { margin-top: 8px; }
.mb-2 { margin-bottom: 8px; }
.fw-bold { font-weight: 700; }

.number { font-variant-numeric: tabular-nums; }

/* ==================== DARK MODE ==================== */
body.dark-mode {
    --bg: #0f172a;
    --card-bg: #1e293b;
    --text: #e2e8f0;
    --text-muted: #94a3b8;
    --border: #334155;
    --primary: #3b82f6;
    --primary-dark: #2563eb;
}

/* --- Layout & Sidebar --- */
body.dark-mode .sidebar { background: #0c1524; }
body.dark-mode .main-content { background: #0f172a; }

/* --- Cards --- */
body.dark-mode .card { background: #1e293b !important; box-shadow: 0 1px 3px rgba(0,0,0,0.4); border-color: #334155 !important; }
body.dark-mode .card-header { background: #1e293b !important; border-color: #334155 !important; color: #e2e8f0 !important; }
body.dark-mode .card-body { background: #1e293b !important; }
body.dark-mode .stat-card { background: #1e293b !important; box-shadow: 0 1px 3px rgba(0,0,0,0.4); }

/* --- Tables --- */
body.dark-mode table { border-color: #334155; }
body.dark-mode thead, body.dark-mode thead tr, body.dark-mode thead th { background: #0f172a !important; color: #e2e8f0 !important; border-color: #334155 !important; }
body.dark-mode tbody tr { background: #1e293b !important; color: #e2e8f0 !important; }
body.dark-mode tbody tr:nth-child(even) { background: #1a2536 !important; }
body.dark-mode tbody tr:hover { background: #263548 !important; }
body.dark-mode td, body.dark-mode th { border-color: #334155 !important; color: #e2e8f0 !important; }
body.dark-mode tfoot tr { background: #0f172a !important; color: #e2e8f0 !important; }
body.dark-mode tfoot td { color: #e2e8f0 !important; }
/* Sticky columns in dark mode */
body.dark-mode td[style*="sticky"], body.dark-mode th[style*="sticky"] { background: #1e293b !important; }
body.dark-mode tr:nth-child(even) td[style*="sticky"] { background: #1a2536 !important; }

/* --- Koyu baslikli tablolarda th beyaz yazi --- */
.puantaj-tablo thead th, table thead tr[style*="background:#1e293b"] th { color: #fff !important; }

/* --- Puantaj grid specifics --- */
body.dark-mode td[style*="position:sticky"][style*="left:0"] { background: #1e293b !important; }
body.dark-mode td[style*="position:sticky"][style*="left:40px"] { background: #1e293b !important; }
body.dark-mode input[type="text"][style*="width:32px"] { background: #0f172a !important; color: #e2e8f0 !important; border-color: #475569 !important; }
/* Puantaj kod renkleri - koyu versiyonlar */
body.dark-mode input[style*="background:#dcfce7"], body.dark-mode span[style*="background:#dcfce7"] { background: #14532d !important; color: #86efac !important; }
body.dark-mode input[style*="background:#fef3c7"], body.dark-mode span[style*="background:#fef3c7"] { background: #78350f !important; color: #fde68a !important; }
body.dark-mode input[style*="background:#dbeafe"], body.dark-mode span[style*="background:#dbeafe"] { background: #1e3a5f !important; color: #93c5fd !important; }
body.dark-mode input[style*="background:#e0e7ff"], body.dark-mode span[style*="background:#e0e7ff"] { background: #312e81 !important; color: #c7d2fe !important; }
body.dark-mode input[style*="background:#fce7f3"], body.dark-mode span[style*="background:#fce7f3"] { background: #831843 !important; color: #fbcfe8 !important; }
body.dark-mode input[style*="background:#f1f5f9"], body.dark-mode span[style*="background:#f1f5f9"] { background: #1e293b !important; color: #94a3b8 !important; }
body.dark-mode input[style*="background:#fee2e2"], body.dark-mode span[style*="background:#fee2e2"] { background: #7f1d1d !important; color: #fca5a5 !important; }
body.dark-mode td[style*="background:#f0fdf4"] { background: #14532d !important; }
body.dark-mode td[style*="background:#eff6ff"] { background: #1e3a5f !important; }
body.dark-mode td[style*="background:#f0fdfa"] { background: #134e4a !important; }
body.dark-mode td[style*="background:#faf5ff"] { background: #3b0764 !important; }
body.dark-mode td[style*="background:#fef2f2"] { background: #450a0a !important; }
body.dark-mode td[style*="background:#fef3c7"] { background: #78350f !important; }

/* --- Ekip baslik satiri --- */
body.dark-mode td[style*="background:#e2e8f0"] { background: #0f172a !important; color: #e2e8f0 !important; }

/* --- Forms --- */
body.dark-mode input, body.dark-mode select, body.dark-mode textarea { background: #0f172a !important; color: #e2e8f0 !important; border-color: #475569 !important; }
body.dark-mode input:focus, body.dark-mode select:focus, body.dark-mode textarea:focus { border-color: #3b82f6 !important; }
body.dark-mode input[readonly], body.dark-mode input:disabled { background: #1e293b !important; color: #94a3b8 !important; }
body.dark-mode label { color: #cbd5e1 !important; }
body.dark-mode .form-group label { color: #cbd5e1; }

/* --- Buttons --- */
body.dark-mode .btn-outline { border-color: #475569 !important; color: #e2e8f0 !important; }
body.dark-mode .btn-outline:hover { background: #334155 !important; }

/* --- Badges --- */
body.dark-mode .badge-success { background: #14532d !important; color: #86efac !important; }
body.dark-mode .badge-warning { background: #78350f !important; color: #fde68a !important; }
body.dark-mode .badge-danger { background: #7f1d1d !important; color: #fca5a5 !important; }
body.dark-mode .badge-info { background: #164e63 !important; color: #67e8f9 !important; }

/* --- Flash messages --- */
body.dark-mode .flash-success { background: #14532d; color: #86efac; border-color: #166534; }
body.dark-mode .flash-warning { background: #78350f; color: #fde68a; border-color: #92400e; }
body.dark-mode .flash-error { background: #7f1d1d; color: #fca5a5; border-color: #991b1b; }

/* --- Inline style overrides (common patterns in PHP pages) --- */
body.dark-mode [style*="background:#fff"] { background: #1e293b !important; }
body.dark-mode [style*="background:#ffffff"] { background: #1e293b !important; }
body.dark-mode [style*="background: #fff"] { background: #1e293b !important; }
body.dark-mode [style*="background:#f8fafc"] { background: #162032 !important; }
body.dark-mode [style*="background:#f1f5f9"] { background: #0f172a !important; }
body.dark-mode [style*="background:#fafbfc"] { background: #1a2536 !important; }
body.dark-mode [style*="background:white"] { background: #1e293b !important; }

/* Text color overrides */
body.dark-mode [style*="color:#1e293b"] { color: #e2e8f0 !important; }
body.dark-mode [style*="color:#334155"] { color: #cbd5e1 !important; }
body.dark-mode [style*="color:#475569"] { color: #94a3b8 !important; }
body.dark-mode [style*="color:#64748b"] { color: #94a3b8 !important; }

/* --- Page header --- */
body.dark-mode .page-header h1 { color: #e2e8f0; }
body.dark-mode .page-header { color: #e2e8f0; }

/* --- Filter cards, stat boxes --- */
body.dark-mode div[style*="background:#eff6ff"] { background: #1e3a5f !important; }
body.dark-mode div[style*="background:#f0fdf4"] { background: #14532d !important; }
body.dark-mode div[style*="background:#fef2f2"] { background: #450a0a !important; }
body.dark-mode div[style*="background:#fff7ed"] { background: #431407 !important; }
body.dark-mode div[style*="background:#fefce8"] { background: #422006 !important; }
body.dark-mode div[style*="background:#faf5ff"] { background: #3b0764 !important; }
body.dark-mode div[style*="background:#ecfdf5"] { background: #064e3b !important; }

/* --- Borders --- */
body.dark-mode [style*="border-color:#e2e8f0"] { border-color: #334155 !important; }
body.dark-mode [style*="border-color:#cbd5e1"] { border-color: #475569 !important; }
body.dark-mode [style*="border-top:1px solid #e2e8f0"] { border-color: #334155 !important; }
body.dark-mode [style*="border-bottom:1px solid #e2e8f0"] { border-color: #334155 !important; }
body.dark-mode [style*="border-bottom:1px solid #f1f5f9"] { border-color: #1e293b !important; }

/* --- Gantt chart --- */
body.dark-mode div[style*="background:#1e293b"][style*="position:sticky"] { background: #0c1524 !important; }

/* --- Checkbox labels with backgrounds --- */
body.dark-mode label[style*="background:#fef2f2"] { background: #450a0a !important; color: #fca5a5 !important; border-color: #7f1d1d !important; }
body.dark-mode label[style*="background:#eff6ff"] { background: #1e3a5f !important; color: #93c5fd !important; border-color: #1e40af !important; }
body.dark-mode label[style*="background:#f8fafc"] { background: #162032 !important; color: #e2e8f0 !important; border-color: #334155 !important; }

/* --- Scrollbar --- */
body.dark-mode ::-webkit-scrollbar { width: 8px; height: 8px; }
body.dark-mode ::-webkit-scrollbar-track { background: #0f172a; }
body.dark-mode ::-webkit-scrollbar-thumb { background: #475569; border-radius: 4px; }
body.dark-mode ::-webkit-scrollbar-thumb:hover { background: #64748b; }

/* --- Misc --- */
body.dark-mode hr { border-color: #334155; }
body.dark-mode a { color: #60a5fa; }
body.dark-mode .nav-submenu a { color: #cbd5e1; }
body.dark-mode .nav-submenu a:hover { color: #fff; }
body.dark-mode .nav-submenu a.active { color: #60a5fa; }
body.dark-mode strong { color: #f1f5f9; }
body.dark-mode h1, body.dark-mode h2, body.dark-mode h3, body.dark-mode h4 { color: #f1f5f9; }
body.dark-mode p { color: #cbd5e1; }

/* --- Helpbox --- */
body.dark-mode div[style*="background:#eff6ff"][style*="border"] { background: #1e3a5f !important; color: #93c5fd !important; border-color: #1e40af !important; }

/* --- Progress bars --- */
body.dark-mode div[style*="background:#e2e8f0"][style*="border-radius"] { background: #334155 !important; }

/* --- Number/money cells --- */
body.dark-mode .number { color: #e2e8f0; }
body.dark-mode td.number { color: #e2e8f0 !important; }

/* ==================== ERGONOMI IYILESTIRMELERI ==================== */

/* 1. MINIMUM FONT ENFORCEMENT - 9px/10px kullanimi engelle */
/* Inline style'lardaki kucuk fontlari yakala */
[style*="font-size:9px"], [style*="font-size: 9px"] { font-size: 11px !important; }
[style*="font-size:10px"], [style*="font-size: 10px"] { font-size: 11px !important; }
[style*="font-size:8px"], [style*="font-size: 8px"] { font-size: 11px !important; }

/* 2. BADGE READABILITY - badge font minimumu */
.badge { font-size: 12px; padding: 3px 10px; letter-spacing: 0.2px; }

/* 3. TABLO SATIRLARI - daha rahat okuma */
td { padding: 10px 12px; line-height: 1.4; }
tr { transition: background 0.15s ease; }
tr:hover { background: #f1f5f9; }

/* 4. AKSIYON BUTONLARI - compact ama tıklanabilir */
.btn-sm { padding: 5px 10px; font-size: 12px; border-radius: 6px; min-height: 28px; }

/* 5. FILTRE KARTI - daha nefesli */
.card-body .form-grid { gap: 12px; }

/* 6. STAT KART OKUMA - daha net hiyerarsi */
.stat-info p { font-size: 13px; line-height: 1.3; }

/* 7. UX KOLON GIZLEME sistemi */
.ux-col-hidden { display: none !important; }
.ux-col-toggle-bar { display: flex; align-items: center; gap: 6px; padding: 8px 14px; flex-wrap: wrap; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; margin-bottom: 10px; }
.ux-col-toggle-bar > span:first-child { font-size: 12px; color: #64748b; font-weight: 600; margin-right: 4px; white-space: nowrap; }
.ux-col-toggle-btn { display: inline-block; padding: 4px 10px; font-size: 11px; border-radius: 14px; border: 1px solid #cbd5e1; background: #fff; color: #475569; cursor: pointer; white-space: nowrap; transition: all .2s; user-select: none; line-height: 1.3; }
.ux-col-toggle-btn:hover { border-color: #3b82f6; color: #3b82f6; }
.ux-col-toggle-btn.active { background: #eff6ff; color: #1d4ed8; border-color: #93c5fd; font-weight: 600; }
.ux-col-toggle-btn.hidden { background: #f1f5f9; color: #94a3b8; border-color: #e2e8f0; text-decoration: line-through; opacity: 0.7; }

/* 8. AKSIYON DROPDOWN MENU */
.ux-action-menu { position: relative; display: inline-block; }
.ux-action-btn { padding: 5px 10px; font-size: 13px; border-radius: 6px; border: 1px solid #e2e8f0; background: #fff; color: #475569; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; min-height: 28px; }
.ux-action-btn:hover { background: #f8fafc; border-color: #cbd5e1; }
.ux-action-drop { display: none; position: absolute; right: 0; top: 100%; min-width: 140px; background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; box-shadow: 0 4px 16px rgba(0,0,0,0.12); z-index: 50; padding: 4px; }
.ux-action-drop.show { display: block; }
.ux-action-drop a, .ux-action-drop button { display: flex; align-items: center; gap: 6px; width: 100%; padding: 8px 12px; font-size: 13px; border: none; background: none; color: #334155; cursor: pointer; text-decoration: none; border-radius: 6px; text-align: left; }
.ux-action-drop a:hover, .ux-action-drop button:hover { background: #f1f5f9; }
.ux-action-drop .danger { color: #dc2626; }
.ux-action-drop .danger:hover { background: #fef2f2; }

/* 9. ZEBRA STRIPE - daha yumusak */
tbody tr:nth-child(even) { background: #fafbfc; }
tbody tr:nth-child(even):hover { background: #f1f5f9; }

/* 10. BUGUN BANNER - sadele */
.ux-today-banner { background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 8px; padding: 8px 14px; margin-bottom: 12px; font-size: 13px; color: #166534; font-weight: 500; }

/* 11. FORM SECTION dividers */
.ux-form-section { border-top: 1px solid #e2e8f0; margin-top: 20px; padding-top: 16px; }
.ux-form-section-title { font-size: 13px; font-weight: 700; color: #475569; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 12px; }

/* 12. ERISILEBILIRLIK - focus gostergesi */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid #3b82f6; outline-offset: 2px; }

/* 13. SCROLLBAR stillemesi (tum tarayicilar) */
.table-container::-webkit-scrollbar { height: 6px; }
.table-container::-webkit-scrollbar-track { background: #f1f5f9; border-radius: 3px; }
.table-container::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }
.table-container::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* Photo Preview Modal */
.foto-modal-overlay { display:none;position:fixed;inset:0;background:rgba(0,0,0,.85);z-index:2000;align-items:center;justify-content:center;cursor:pointer; }
.foto-modal-overlay.active { display:flex; }
.foto-modal-overlay img { max-width:90vw;max-height:90vh;border-radius:8px;box-shadow:0 8px 32px rgba(0,0,0,.5); }

/* Mobile improvements */
@media (max-width: 768px) {
    .page-header .btn { font-size: 12px !important; padding: 6px 10px !important; }
    .main-content { padding: 12px 8px !important; padding-top: 52px !important; }
    .hamburger { display: flex !important; align-items: center; justify-content: center; }
}

@media (max-width: 480px) {
    .main-content { padding: 8px 4px !important; padding-top: 48px !important; }
    .card-body { padding: 8px !important; }
    .form-group input, .form-group select, .form-group textarea { padding: 10px !important; }
}
