/* ==========================================================================
   RinaV: Adalet Bakanlığı (DOJ) Ultra-Lüks Cyber & State Government Tasarım Sistemi
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
    /* DOJ Derin Lacivert & Hükümet Mührü Paleti */
    --bg-main: #060d1e;
    --bg-mesh-1: #081228;
    --bg-mesh-2: #050b18;
    --bg-surface: rgba(11, 23, 44, 0.75);
    --bg-card: rgba(14, 27, 52, 0.7);
    --bg-card-hover: rgba(20, 38, 72, 0.85);
    --bg-glass: rgba(10, 20, 40, 0.65);
    
    --border-color: rgba(212, 175, 55, 0.2);
    --border-glow: rgba(212, 175, 55, 0.35);
    --border-light: rgba(255, 255, 255, 0.12);

    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-gold: #d4af37;

    /* DOJ Resmi Mühür & Altın Tonları */
    --doj-gold: #d4af37;
    --doj-gold-hover: #c59b27;
    --doj-gold-light: #fef08a;
    --doj-gold-glow: 0 0 25px rgba(212, 175, 55, 0.4);
    
    --accent-blue: #1e3a8a;
    --accent-blue-glow: 0 0 25px rgba(30, 58, 138, 0.45);
    
    --accent-cyan: #0284c7;
    --accent-cyan-glow: 0 0 25px rgba(2, 132, 199, 0.4);
    
    --accent-emerald: #10b981;
    --accent-emerald-glow: 0 0 25px rgba(16, 185, 129, 0.4);
    
    --accent-amber: #f59e0b;
    --accent-amber-glow: 0 0 25px rgba(245, 158, 11, 0.4);
    
    --accent-crimson: #ef4444;
    --accent-crimson-glow: 0 0 25px rgba(239, 68, 68, 0.4);

    --accent-purple: #8b5cf6;
    --accent-purple-glow: 0 0 25px rgba(139, 92, 246, 0.4);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    --shadow-soft: 0 8px 32px 0 rgba(0, 0, 0, 0.45);
    --shadow-heavy: 0 20px 50px rgba(0, 0, 0, 0.7);
    --shadow-glow: 0 0 35px rgba(212, 175, 55, 0.2);

    --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Görünmez Scrollbar (No Visible Browser Scrollbar)
   Tarayıcının kaydırma çubuğu tamamen gizlenmiştir. Fare tekerleği, trackpad
   ve dokunmatik kaydırma kusursuz ve pürüzsüz çalışmaya devam eder.
   ========================================================================== */
html, body, * {
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
}

*::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    background: transparent !important;
}

*::-webkit-scrollbar-track,
*::-webkit-scrollbar-thumb,
*::-webkit-scrollbar-corner {
    display: none !important;
    background: transparent !important;
}

/* Tarayıcı varsayılan search ve number butonlarını temizle */
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
    display: none !important;
    -webkit-appearance: none !important;
}

/* Aydınlık Tema Değişkenleri & Gövdesi */
body.light-theme {
    --bg-main: #f1f5f9;
    --bg-mesh-1: #e2e8f0;
    --bg-mesh-2: #cbd5e1;
    --bg-surface: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #f8fafc;
    --bg-glass: rgba(255, 255, 255, 0.9);
    --border-color: rgba(15, 23, 42, 0.1);
    --border-glow: rgba(212, 175, 55, 0.35);
    --border-light: rgba(15, 23, 42, 0.08);
    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;
    --shadow-soft: 0 8px 30px rgba(15, 23, 42, 0.06);
    --shadow-heavy: 0 20px 45px rgba(15, 23, 42, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
    background-color: var(--bg-main);
    background-image: 
        radial-gradient(at 0% 0%, rgba(212, 175, 55, 0.09) 0px, transparent 45%),
        radial-gradient(at 100% 0%, rgba(30, 58, 138, 0.22) 0px, transparent 50%),
        radial-gradient(at 50% 100%, rgba(10, 25, 50, 0.5) 0px, transparent 50%);
    background-attachment: fixed;
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-size: 14px;
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

body.light-theme {
    background-color: #f1f5f9;
    background-image: 
        radial-gradient(at 0% 0%, rgba(212, 175, 55, 0.08) 0px, transparent 45%),
        radial-gradient(at 100% 0%, rgba(59, 130, 246, 0.07) 0px, transparent 50%),
        radial-gradient(at 50% 100%, rgba(226, 232, 240, 0.7) 0px, transparent 50%);
    color: #0f172a;
}

/* Cyber Grid Efekti */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
}

body.light-theme::before {
    background-image: 
        linear-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
}

a {
    color: inherit;
    text-decoration: none;
}

/* ==========================================================================
   Header & Navbar (Lüks Yüzen Bar)
   ========================================================================== */
.header-navbar {
    background: rgba(8, 16, 36, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 0.5rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    gap: 0.75rem;
    width: 100%;
}

.header-navbar::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(212, 175, 55, 0.7) 50%, transparent 100%);
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex: 1 1 auto;
    min-width: 0;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.nav-left::-webkit-scrollbar {
    display: none;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: -0.02em;
    flex-shrink: 0;
}

.brand-icon-shield {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 16px rgba(212, 175, 55, 0.4);
    border: 2px solid #d4af37;
    position: relative;
    overflow: hidden;
    background: #081026;
    flex-shrink: 0;
}

.brand-icon-shield img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.brand-text-wrapper {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    background: linear-gradient(135deg, #ffffff 0%, #fde047 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.15;
    white-space: nowrap;
}

.brand-sub {
    font-size: 0.58rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--doj-gold);
    white-space: nowrap;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    list-style: none;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.nav-link {
    padding: 0.35rem 0.65rem;
    border-radius: 6px;
    color: #94a3b8;
    font-weight: 600;
    font-size: 0.8rem;
    transition: var(--transition-fast);
    position: relative;
    white-space: nowrap !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    line-height: 1.3;
}

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

.nav-link.active {
    background: rgba(212, 175, 55, 0.12);
    color: #fde047;
    border: 1px solid rgba(212, 175, 55, 0.4);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.nav-portal-jump {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.65rem;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 6px;
    color: #fde047;
    font-size: 0.78rem;
    font-weight: 700;
    transition: var(--transition-fast);
    white-space: nowrap !important;
    text-decoration: none;
    line-height: 1.2;
}

.nav-portal-jump:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: rgba(212, 175, 55, 0.6);
    color: #fff;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.25);
}

.nav-admin-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.65rem;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.18) 0%, rgba(184, 134, 11, 0.3) 100%);
    border: 1px solid rgba(212, 175, 55, 0.5);
    border-radius: 6px;
    color: #fde047;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.15);
    transition: var(--transition-fast);
    white-space: nowrap !important;
    text-decoration: none;
    line-height: 1.2;
}

.nav-admin-btn:hover {
    background: linear-gradient(135deg, #b8860b 0%, #d4af37 100%);
    color: #060d1e;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-shrink: 0;
    z-index: 5;
}

/* Canlı Dijital Saat ve Sistem Durumu */
.system-status-indicator {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 0.28rem 0.65rem;
    border-radius: var(--radius-full);
    font-size: 0.68rem;
    font-weight: 700;
    color: #34d399;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #10b981;
    box-shadow: 0 0 8px #10b981;
    animation: pulseGlow 1.8s infinite;
}

@keyframes pulseGlow {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.6; }
}

.header-clock {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    white-space: nowrap;
}

/* Profil Rozeti & Dropdown */
.user-menu-container {
    position: relative;
}

.user-profile-badge {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    cursor: pointer;
    padding: 0.4rem 0.85rem;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    transition: var(--transition-fast);
}

.user-profile-badge:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
}

.avatar-circle {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: #fff;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.user-meta {
    text-align: left;
    display: flex;
    flex-direction: column;
}

.user-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: #fff;
}

.user-role {
    font-size: 0.72rem;
    color: #60a5fa;
    font-weight: 600;
}

.user-dropdown-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 12px);
    width: 240px;
    background: rgba(15, 22, 42, 0.95);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(59, 130, 246, 0.15);
    padding: 0.6rem;
    display: none;
    flex-direction: column;
    z-index: 2000;
    animation: dropdownOpen 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes dropdownOpen {
    from { opacity: 0; transform: translateY(-8px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.user-dropdown-menu.show {
    display: flex;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.75rem 0.9rem;
    color: var(--text-primary);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

.dropdown-item:hover {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
}

.dropdown-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 0.4rem 0;
}

.dropdown-item.logout {
    color: #f87171;
}

.dropdown-item.logout:hover {
    background: rgba(239, 68, 68, 0.15);
    color: #fca5a5;
}

/* ==========================================================================
   Portal Karşılama Ekranı (RinaV DOJ Panel)
   ========================================================================== */
.portal-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
    background: 
        radial-gradient(circle at 50% 20%, rgba(37, 99, 235, 0.25) 0%, transparent 60%),
        radial-gradient(circle at 80% 80%, rgba(6, 182, 212, 0.15) 0%, transparent 50%),
        #060913;
    position: relative;
    overflow: hidden;
}

.portal-shield-icon {
    width: 76px;
    height: 76px;
    background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 100%);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 45px rgba(37, 99, 235, 0.6), 0 0 10px #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: shieldFloat 4s ease-in-out infinite;
}

@keyframes shieldFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.portal-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
    letter-spacing: -0.03em;
    text-align: center;
    background: linear-gradient(135deg, #ffffff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.portal-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 3.5rem;
    text-align: center;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.portal-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    max-width: 1100px;
    width: 100%;
    z-index: 10;
}

.portal-card {
    background: rgba(18, 26, 48, 0.55);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 2.5rem 1.75rem;
    width: 185px;
    min-height: 210px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.portal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition-fast);
}

.portal-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(26, 37, 68, 0.85);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 30px var(--dept-glow);
}

.portal-card:hover::before {
    opacity: 1;
}

.dept-icon-circle {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.portal-card:hover .dept-icon-circle {
    transform: scale(1.12);
    box-shadow: 0 0 25px var(--dept-glow);
}

.portal-card-name {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
    letter-spacing: -0.01em;
}

/* ==========================================================================
   Command Center Hero Banner (Dashboard)
   ========================================================================== */
.main-container {
    max-width: 1480px;
    width: 100%;
    margin: 0 auto;
    padding: 1.75rem 1.25rem 4rem;
    flex: 1;
    position: relative;
    z-index: 10;
}

.welcome-banner {
    background: linear-gradient(135deg, #09152b 0%, #0f2247 50%, #162e5b 100%);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: var(--radius-xl);
    padding: 2.75rem 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2.5rem;
    position: relative;
    overflow: hidden;
    color: #fff;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 35px rgba(212, 175, 55, 0.15), inset 0 1px 0 rgba(212, 175, 55, 0.3);
}

.welcome-banner::before {
    content: '';
    position: absolute;
    right: 5%;
    top: -50%;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}

.welcome-content {
    position: relative;
    z-index: 2;
}

.welcome-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #fde047;
    margin-bottom: 0.5rem;
    background: rgba(8, 16, 36, 0.6);
    padding: 0.3rem 0.85rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.welcome-title {
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.85rem;
    line-height: 1.15;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    background: linear-gradient(135deg, #ffffff 0%, #fef08a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.role-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(8, 16, 36, 0.7);
    backdrop-filter: blur(10px);
    padding: 0.45rem 1.15rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    border: 1px solid rgba(212, 175, 55, 0.25);
    color: #e2e8f0;
}

.welcome-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
}

/* ==========================================================================
   İstatistik Sayaçları (Lüks Neon Glow Kartlar)
   ========================================================================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.stat-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.stat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 25px rgba(59, 130, 246, 0.15);
}

.stat-icon-circle {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon-circle.blue {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2) 0%, rgba(59, 130, 246, 0.35) 100%);
    color: #60a5fa;
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.3);
    border: 1px solid rgba(59, 130, 246, 0.4);
}

.stat-icon-circle.green {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(16, 185, 129, 0.35) 100%);
    color: #34d399;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
    border: 1px solid rgba(16, 185, 129, 0.4);
}

.stat-icon-circle.amber {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2) 0%, rgba(245, 158, 11, 0.35) 100%);
    color: #fbbf24;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
    border: 1px solid rgba(245, 158, 11, 0.4);
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.1rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-primary);
    font-family: 'JetBrains Mono', monospace;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 600;
    margin-top: 0.25rem;
}

/* ==========================================================================
   Bölüm Kutusu ve Kartlar (Section Box)
   ========================================================================== */
.section-box {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-soft);
    position: relative;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.section-dot {
    width: 10px;
    height: 10px;
    background-color: var(--accent-blue);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--accent-blue);
}

/* ==========================================================================
   Lüks Yetkili Karar & Atama Masası (Decision & Assignment Console)
   ========================================================================== */
.decision-console {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.85) 100%);
    border: 1px solid rgba(59, 130, 246, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 25px rgba(59, 130, 246, 0.2);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
}

.decision-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.72rem;
    font-weight: 800;
    color: #60a5fa;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

/* ==========================================================================
   Butonlar
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.75rem 1.4rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    transition: var(--transition-fast);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-sm {
    padding: 0.42rem 0.85rem !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    border-radius: 6px !important;
    gap: 0.35rem !important;
    line-height: 1.2 !important;
}

.btn-xs {
    padding: 0.25rem 0.55rem !important;
    font-size: 0.74rem !important;
    font-weight: 600 !important;
    border-radius: 4px !important;
    gap: 0.25rem !important;
}

.btn-primary {
    background: linear-gradient(135deg, #d4af37 0%, #b8860b 100%);
    color: #060d1e;
    font-weight: 800;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.35);
}
.btn-primary:hover {
    background: linear-gradient(135deg, #f59e0b 0%, #d4af37 100%);
    color: #040813;
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.6);
    transform: translateY(-2px);
}

.btn-success {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    color: #fff;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-success:hover {
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid var(--border-color);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(212, 175, 55, 0.35);
}

.btn-white {
    background: #fff;
    color: #060d1e;
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}
.btn-white:hover {
    background: #fef08a;
    color: #040813;
    transform: translateY(-2px);
}

.btn-glass {
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(10px);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
}
.btn-glass:hover {
    background: rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-danger {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
}
.btn-danger:hover {
    background: #ef4444;
}

/* Form Elemanları */
.form-group {
    margin-bottom: 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-control,
.form-input, 
.form-select, 
.form-textarea,
input.form-control,
select.form-control,
textarea.form-control {
    width: 100%;
    background: rgba(8, 16, 36, 0.88);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1.1rem;
    color: #f8fafc;
    font-size: 0.9rem;
    transition: var(--transition-fast);
    outline: none;
    font-family: inherit;
    box-sizing: border-box;
}

select.form-control,
.form-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: rgba(8, 16, 36, 0.92);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23d4af37' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.1rem center;
    background-size: 14px 14px;
    padding-right: 2.5rem !important;
    cursor: pointer;
}

select.form-control option,
.form-select option {
    background: #081026;
    color: #f8fafc;
    padding: 0.65rem;
}

.form-control:focus,
.form-input:focus, 
.form-select:focus, 
.form-textarea:focus,
input.form-control:focus,
select.form-control:focus,
textarea.form-control:focus {
    border-color: var(--doj-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.25), 0 0 15px rgba(212, 175, 55, 0.2);
}

/* Lüks Filtre Dropdownları (.filter-select) */
.filter-select {
    height: 40px;
    padding: 0.45rem 2.25rem 0.45rem 1rem !important;
    font-size: 0.83rem !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    background-color: rgba(11, 23, 44, 0.85) !important;
    border: 1px solid rgba(212, 175, 55, 0.35) !important;
    color: #e2e8f0 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
}

.filter-select:hover {
    border-color: rgba(212, 175, 55, 0.65) !important;
    background-color: rgba(14, 27, 52, 0.95) !important;
}

.filter-select:focus {
    border-color: #d4af37 !important;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.35) !important;
}

/* ==========================================================================
   Cam Efektli Kart & Lüks Tablo Sistemi
   ========================================================================== */
.glass-card {
    background: rgba(11, 23, 44, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.22);
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5);
    position: relative;
}

.data-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    text-align: left;
}

.data-table thead th {
    background: rgba(6, 13, 26, 0.85);
    color: #94a3b8;
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.85rem 0.95rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    white-space: nowrap;
}

.data-table thead th:first-child {
    border-top-left-radius: var(--radius-lg);
}

.data-table thead th:last-child {
    border-top-right-radius: var(--radius-lg);
    padding-right: 1.25rem;
}

.data-table tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.15s ease;
}

.data-table tbody tr:last-child td {
    border-bottom: none;
}

.data-table tbody tr:hover {
    background: rgba(212, 175, 55, 0.035);
}

.data-table tbody td {
    padding: 0.85rem 0.95rem;
    vertical-align: middle;
    font-size: 0.86rem;
    color: #e2e8f0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.data-table tbody td:last-child {
    padding-right: 1.25rem;
}

body.light-theme .glass-card {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

body.light-theme .data-table thead th {
    background: #f8fafc;
    color: #475569;
    border-bottom-color: #e2e8f0;
}

body.light-theme .data-table tbody tr {
    border-bottom-color: #f1f5f9;
}

body.light-theme .data-table tbody tr:hover {
    background: #f8fafc;
}

body.light-theme .data-table tbody td {
    color: #1e293b;
    border-bottom-color: #f1f5f9;
}

body.light-theme .form-control,
body.light-theme .form-input,
body.light-theme .form-textarea {
    background: #ffffff;
    border-color: #cbd5e1;
    color: #0f172a;
}

body.light-theme select.form-control,
body.light-theme .form-select {
    background-color: #ffffff;
    border-color: #cbd5e1;
    color: #0f172a;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23b89125' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
}

body.light-theme select.form-control option,
body.light-theme .form-select option {
    background: #ffffff;
    color: #0f172a;
}

body.light-theme .form-control:focus,
body.light-theme .form-input:focus,
body.light-theme select.form-control:focus,
body.light-theme .form-select:focus,
body.light-theme .form-textarea:focus {
    border-color: var(--doj-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2), 0 0 15px rgba(212, 175, 55, 0.15);
}

/* ==========================================================================
   Sekmeler & Navigasyon Hapları (Görsel 1 Çözümü: Tabs & Navigation)
   ========================================================================== */
.tabs-container {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(11, 23, 44, 0.8);
    border: 1px solid rgba(212, 175, 55, 0.25);
    padding: 0.35rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.75rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.4rem;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-secondary);
    transition: var(--transition-fast);
    text-decoration: none;
    border: 1px solid transparent;
}

.tab-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.1);
}

.tab-btn.active {
    background: linear-gradient(135deg, #1e3a8a 0%, #0f2042 100%);
    color: #fde047;
    border: 1px solid rgba(212, 175, 55, 0.5);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), 0 0 15px rgba(212, 175, 55, 0.2);
}

/* ==========================================================================
   Filtreler ve Arama Çubuğu (Filters Bar)
   ========================================================================== */
.filters-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    background: rgba(11, 23, 44, 0.65);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(212, 175, 55, 0.18);
    border-radius: var(--radius-md);
    padding: 1rem 1.35rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(6, 13, 26, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    padding: 0.6rem 1rem;
    transition: var(--transition-fast);
}

.search-input-wrapper:focus-within {
    border-color: var(--doj-gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.25);
}

.search-input-wrapper svg {
    color: var(--text-muted);
    flex-shrink: 0;
}

.search-input-wrapper input,
.search-input {
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 0.9rem;
    width: 100%;
}

.search-input::placeholder {
    color: var(--text-muted);
}

.filters-right {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.counter-text {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-muted);
    font-family: 'JetBrains Mono', monospace;
}

.filter-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition-fast);
    text-decoration: none;
    border: 1px solid transparent;
}

.filter-pill:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.filter-pill.active {
    background: rgba(212, 175, 55, 0.15);
    color: #fde047;
    border: 1px solid rgba(212, 175, 55, 0.4);
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.2);
}

/* ==========================================================================
   İzin Kartları Bileşeni (Görsel 3 Çözümü: Permission Toggle Cards)
   ========================================================================== */
.perm-cards-grid {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.perm-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.15rem;
    border-radius: var(--radius-sm);
    background: rgba(8, 16, 36, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: var(--transition-fast);
}

.perm-card:hover {
    background: rgba(14, 27, 56, 0.85);
    border-color: rgba(212, 175, 55, 0.35);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.perm-card-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.perm-card-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.perm-card-desc {
    font-size: 0.76rem;
    color: var(--text-muted);
}

.perm-checkbox {
    width: 20px;
    height: 20px;
    accent-color: #d4af37;
    cursor: pointer;
    flex-shrink: 0;
}

/* Modals */
.modal-backdrop,
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(3, 6, 15, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 1.5rem;
}

.modal-backdrop.active,
.modal-overlay.active {
    display: flex;
    animation: fadeIn 0.2s ease-out;
}

.modal-dialog,
.modal-box,
.modal-card {
    background: #0b152d;
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 650px;
    max-height: 90vh;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 35px rgba(212, 175, 55, 0.18);
    overflow-y: auto;
    animation: scaleUp 0.2s ease-out;
    position: relative;
    color: #fff;
}

.modal-header {
    padding: 1.25rem 1.75rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(15, 23, 42, 0.6);
}

.modal-title,
.modal-header h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
}

.modal-close-btn,
.modal-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.6rem;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition-fast);
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.modal-close-btn:hover,
.modal-close:hover {
    color: #f87171;
    background: rgba(239, 68, 68, 0.12);
}

.modal-body {
    padding: 1.75rem;
    max-height: 75vh;
    overflow-y: auto;
}

.modal-footer {
    padding: 1.25rem 1.75rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    display: flex;
    justify-content: flex-end;
    gap: 0.85rem;
    background: rgba(15, 23, 42, 0.6);
}

/* Rozetler */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap !important;
    line-height: 1.2;
}

.badge-pill {
    border-radius: var(--radius-full) !important;
}

.badge-pending {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-high {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.badge-medium {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-low {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-category {
    background: rgba(59, 130, 246, 0.15);
    color: #93c5fd;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

/* Toasts */
.toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.toast {
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    color: #fff;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    gap: 0.85rem;
    animation: slideIn 0.3s ease-out;
}

.toast.success { border-left: 4px solid #10b981; }
.toast.error { border-left: 4px solid #ef4444; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes scaleUp { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: scale(1); } }
@keyframes slideIn { from { opacity: 0; transform: translateX(50px); } to { opacity: 1; transform: translateX(0); } }

/* Responsive */
@media (max-width: 1380px) {
    .header-clock { display: none; }
}

@media (max-width: 1200px) {
    .system-status-indicator span:not(.pulse-dot) { display: none; }
    .system-status-indicator { padding: 0.35rem 0.45rem; }
}

@media (max-width: 900px) {
    .header-navbar { padding: 0.65rem 1rem; }
    .nav-links { display: none; }
    .welcome-banner { flex-direction: column; align-items: flex-start; gap: 1.5rem; padding: 2rem; }
}

/* ==========================================================================
   Dashboard Dava Listesi Öğesi (.dashboard-case-item)
   ========================================================================== */
.dashboard-case-item {
    background: rgba(14, 20, 36, 0.65);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.15rem 1.4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition-fast);
    text-decoration: none;
    color: #fff;
}

.dashboard-case-item:hover {
    border-color: rgba(212, 175, 55, 0.5);
    transform: translateX(4px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.dashboard-case-title {
    color: #fff;
    font-size: 0.96rem;
    font-weight: 700;
    transition: color 0.2s ease;
}

body.light-theme .dashboard-case-item {
    background: #ffffff;
    border-color: #e2e8f0;
    color: #0f172a;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
}

body.light-theme .dashboard-case-item:hover {
    background: #ffffff;
    border-color: var(--doj-gold);
    box-shadow: 0 6px 25px rgba(15, 23, 42, 0.08), 0 0 15px rgba(212, 175, 55, 0.15);
}

body.light-theme .dashboard-case-title {
    color: #0f172a;
}

/* Dava Tam Liste Kartı (.case-card-full) */
.case-card-full {
    background: rgba(14, 20, 36, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    transition: var(--transition-smooth);
}

.case-card-full:hover {
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(212, 175, 55, 0.15);
    transform: translateY(-2px);
}

/* ==========================================================================
   Özel DOJ Dialog & Alert Sistemi (Tarayıcı Alert/Confirm Yerine)
   ========================================================================== */
.doj-dialog-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(4, 9, 22, 0.85);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 1.5rem;
    animation: fadeIn 0.2s ease-out;
}

body.light-theme .doj-dialog-backdrop {
    background: rgba(15, 23, 42, 0.55);
}

.doj-dialog-card {
    background: linear-gradient(145deg, #0a1630 0%, #060d1e 100%);
    border: 1.5px solid rgba(212, 175, 55, 0.45);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 490px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 35px rgba(212, 175, 55, 0.25);
    overflow: hidden;
    position: relative;
    animation: scaleUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

body.light-theme .doj-dialog-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border: 1.5px solid rgba(212, 175, 55, 0.5);
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.2), 0 0 35px rgba(212, 175, 55, 0.2);
}

.doj-dialog-glow {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.doj-dialog-header {
    padding: 1.6rem 1.8rem 1rem;
    display: flex;
    align-items: center;
    gap: 1.15rem;
}

.doj-dialog-icon-wrapper {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.12);
    border: 2px solid rgba(212, 175, 55, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.doj-dialog-seal-img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
}

.doj-dialog-header-text {
    display: flex;
    flex-direction: column;
}

.doj-dialog-tag {
    font-size: 0.72rem;
    font-weight: 800;
    color: #fde047;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

body.light-theme .doj-dialog-tag {
    color: #a17a1b;
}

.doj-dialog-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
    line-height: 1.25;
}

body.light-theme .doj-dialog-title {
    color: #0f172a;
}

.doj-dialog-body {
    padding: 0.5rem 1.8rem 1.5rem;
}

.doj-dialog-message {
    font-size: 0.94rem;
    line-height: 1.65;
    color: var(--text-secondary);
    margin: 0;
}

body.light-theme .doj-dialog-message {
    color: #334155;
}

.doj-dialog-footer {
    padding: 1.1rem 1.8rem;
    background: rgba(6, 12, 26, 0.7);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    display: flex;
    justify-content: flex-end;
    gap: 0.85rem;
}

body.light-theme .doj-dialog-footer {
    background: #f8fafc;
    border-top-color: #e2e8f0;
}

.doj-dialog-btn {
    padding: 0.65rem 1.5rem;
    font-size: 0.88rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
}

.doj-dialog-cancel {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #e2e8f0;
}

body.light-theme .doj-dialog-cancel {
    background: #ffffff;
    border-color: #cbd5e1;
    color: #475569;
}

.doj-dialog-cancel:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

body.light-theme .doj-dialog-cancel:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.doj-dialog-confirm {
    background: linear-gradient(135deg, #d4af37 0%, #b89125 100%);
    color: #060d1e;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.doj-dialog-confirm:hover {
    background: linear-gradient(135deg, #fde047 0%, #d4af37 100%);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6);
    transform: translateY(-1px);
}

.doj-dialog-confirm.danger {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
}

.doj-dialog-confirm.danger:hover {
    background: #ef4444;
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.6);
}

/* ==========================================================================
   Aydınlık Tema Kapsamlı Bileşen Kuralları (Light Theme Overrides)
   ========================================================================== */
body.light-theme .header-navbar {
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(212, 175, 55, 0.35);
    box-shadow: 0 4px 25px rgba(15, 23, 42, 0.06);
}

body.light-theme .brand-title {
    color: #0f172a;
}

body.light-theme .brand-sub {
    color: #a17a1b;
}

body.light-theme .nav-link {
    color: #475569;
}

body.light-theme .nav-link:hover {
    color: #0f172a;
    background: rgba(15, 23, 42, 0.05);
}

body.light-theme .nav-link.active {
    color: #0f172a;
    background: rgba(212, 175, 55, 0.18);
    border: 1px solid rgba(212, 175, 55, 0.45);
}

body.light-theme .system-status-indicator {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.35);
    color: #059669;
}

body.light-theme .header-clock {
    color: #475569;
}

body.light-theme .user-profile-badge {
    background: rgba(15, 23, 42, 0.04);
    border-color: rgba(15, 23, 42, 0.12);
}

body.light-theme .user-profile-badge:hover {
    background: rgba(212, 175, 55, 0.12);
    border-color: rgba(212, 175, 55, 0.45);
}

body.light-theme .user-name {
    color: #0f172a;
}

body.light-theme .user-role {
    color: #64748b;
}

body.light-theme .user-dropdown-menu {
    background: #ffffff;
    border-color: rgba(212, 175, 55, 0.35);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12), 0 0 25px rgba(212, 175, 55, 0.15);
}

body.light-theme .dropdown-item {
    color: #334155;
}

body.light-theme .dropdown-item:hover {
    background: rgba(212, 175, 55, 0.12);
    color: #a17a1b;
}

body.light-theme .dropdown-divider {
    background: #e2e8f0;
}

body.light-theme .tabs-container {
    background: #e2e8f0;
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

body.light-theme .tab-btn {
    color: #475569;
}

body.light-theme .tab-btn:hover {
    color: #0f172a;
    background: rgba(255, 255, 255, 0.7);
}

body.light-theme .tab-btn.active {
    background: #ffffff;
    color: #0f172a;
    border-color: rgba(212, 175, 55, 0.55);
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.08);
}

body.light-theme .filters-bar {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.08);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

body.light-theme .search-input-wrapper {
    background: #f8fafc;
    border-color: #cbd5e1;
}

body.light-theme .search-input {
    color: #0f172a;
}

body.light-theme .search-input::placeholder {
    color: #94a3b8;
}

body.light-theme .counter-text {
    color: #64748b;
}

body.light-theme .filter-pill {
    color: #475569;
}

body.light-theme .filter-pill:hover {
    color: #0f172a;
    background: #f1f5f9;
}

body.light-theme .filter-pill.active {
    background: rgba(212, 175, 55, 0.15);
    color: #a17a1b;
    border-color: rgba(212, 175, 55, 0.5);
}

body.light-theme .stat-card {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.08);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

body.light-theme .stat-card:hover {
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08), 0 0 20px rgba(212, 175, 55, 0.15);
}

body.light-theme .section-box {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.08);
    box-shadow: 0 4px 25px rgba(15, 23, 42, 0.04);
}

body.light-theme .page-title,
body.light-theme h1,
body.light-theme h2,
body.light-theme h3,
body.light-theme h4 {
    color: #0f172a;
}

body.light-theme .case-card-full {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04) !important;
}

body.light-theme .case-card-full:hover {
    border-color: rgba(212, 175, 55, 0.5) !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08) !important;
}

body.light-theme .case-card-full h3,
body.light-theme .case-card-full strong {
    color: #0f172a !important;
}

body.light-theme .perm-card {
    background: #f8fafc;
    border-color: #e2e8f0;
}

body.light-theme .perm-card:hover {
    background: #ffffff;
    border-color: rgba(212, 175, 55, 0.45);
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.06);
}

body.light-theme .perm-card-title {
    color: #0f172a;
}

body.light-theme .perm-card-desc {
    color: #64748b;
}

body.light-theme .modal-dialog {
    background: #ffffff;
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.25), 0 0 35px rgba(212, 175, 55, 0.2);
}

body.light-theme .modal-header {
    background: #f8fafc !important;
    border-bottom-color: #e2e8f0 !important;
}

body.light-theme .modal-title {
    color: #0f172a;
}

body.light-theme .modal-footer {
    background: #f8fafc !important;
    border-top-color: #e2e8f0 !important;
}

body.light-theme table tr {
    border-color: #e2e8f0 !important;
}

body.light-theme table th {
    color: #64748b !important;
    background: #f8fafc !important;
}

body.light-theme table td {
    color: #0f172a !important;
}

body.light-theme table td strong {
    color: #0f172a !important;
}

body.light-theme .toast {
    background: rgba(255, 255, 255, 0.98);
    color: #0f172a;
    border-color: #e2e8f0;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.15);
}

body.light-theme .auth-card-container {
    background: #ffffff !important;
    border-color: rgba(212, 175, 55, 0.4) !important;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.12), 0 0 25px rgba(212, 175, 55, 0.15) !important;
}

body.light-theme .auth-heading {
    color: #0f172a !important;
}

body.light-theme .auth-header .back-link {
    color: #334155 !important;
}

body.light-theme .portal-card {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06) !important;
}

body.light-theme .portal-card:hover {
    border-color: var(--doj-gold) !important;
    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.1), 0 0 20px rgba(212, 175, 55, 0.2) !important;
}

body.light-theme .portal-card-name {
    color: #0f172a !important;
}

body.light-theme .portal-title {
    background: linear-gradient(135deg, #0f172a 0%, #334155 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

body.light-theme .decision-console {
    background: #ffffff !important;
    border-color: rgba(212, 175, 55, 0.35) !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06) !important;
}

.petition-content-box {
    background: rgba(8, 12, 24, 0.75);
}

body.light-theme .petition-content-box {
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
    color: #0f172a !important;
}

/* ==========================================================================
   Profil Sayfası (.profile-card & .info-grid)
   ========================================================================== */
.profile-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 1.5rem;
}

@media (max-width: 850px) {
    .profile-grid {
        grid-template-columns: 1fr;
    }
}

.profile-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-soft);
}

.profile-avatar-big {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.info-item-label {
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.info-item-value {
    font-size: 0.96rem;
    font-weight: 600;
    color: var(--text-primary);
}

body.light-theme .profile-card {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04) !important;
}




