/* ============================================================
   TechNova Design System — Centralized Styles
   Based on: sampleTheme/beyaz turuncu tema.html (Light)
             sampleTheme/siyah turuncu tema.html (Dark)
   ============================================================ */

/* ===== 1. DESIGN TOKENS ===== */
:root {
    /* Orange Palette */
    --orange-100: #fff3e0;
    --orange-200: #ffe0b2;
    --orange-300: #ffcc80;
    --orange-400: #ff9800;
    --orange-500: #f57c00;
    --orange-600: #e65100;
    --orange-700: #bf360c;
    --orange-glow: rgba(230, 81, 0, 0.12);
    --orange-glow-strong: rgba(230, 81, 0, 0.25);
    --orange-gradient: linear-gradient(135deg, var(--orange-500), var(--orange-600));

    /* Surfaces */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fb;
    --bg-card: #ffffff;
    --bg-card-hover: #fafafa;
    --bg-glass: rgba(255, 255, 255, 0.92);

    /* Borders */
    --border-color: rgba(0, 0, 0, 0.06);
    --border-hover: rgba(230, 81, 0, 0.25);

    /* Typography */
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;

    /* Semantic */
    --success: #16a34a;
    --danger: #dc2626;
    --warning: #d97706;
    --info: #0284c7;

    --brand-text-gradient: linear-gradient(135deg, var(--orange-500), var(--orange-600));
    --teal: #20c997;

    /* Layout */
    --sidebar-width: 260px;
    --sidebar-collapsed-width: 80px;
    --header-height: 70px;

    /* Sidebar - Light */
    --sidebar-bg: var(--bg-primary);
    --sidebar-link: var(--text-secondary);
    --sidebar-active-bg: rgba(255, 109, 0, 0.08);
    --sidebar-active-text: var(--orange-600);
}

/* ===== 2. DARK THEME TOKENS ===== */
[data-theme="black"] {
    --orange-glow: rgba(255, 109, 0, 0.4);
    --orange-glow-strong: rgba(255, 109, 0, 0.7);
    --bg-primary: #0a0a0f;
    --bg-secondary: #0d0d14;
    --bg-card: #14141d;
    --bg-card-hover: #1c1c28;
    --bg-glass: rgba(20, 20, 29, 0.75);
    --bg-glass-heavy: rgba(10, 10, 15, 0.85);
    --border-color: rgba(255, 109, 0, 0.15);
    --border-hover: rgba(255, 109, 0, 0.4);
    --text-primary: #f0f0f0;
    --text-secondary: #a0a0b0;
    --text-muted: #6a6a7a;
    --success: #00e676;
    --danger: #ff1744;
    --warning: #ffab00;
    --info: #00b0ff;
    --primary-color: var(--orange-500);
    --sidebar-bg: var(--bg-secondary);
    --sidebar-link: var(--text-secondary);
    --sidebar-active-bg: rgba(255, 109, 0, 0.12);
    --sidebar-active-text: var(--orange-400);
    --brand-text-gradient: linear-gradient(135deg, var(--orange-400), var(--orange-500));
}

/* ===== 3. BACKGROUND EFFECTS (Tech Look) ===== */
.bg-animation {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 0;
    pointer-events: none; overflow: hidden; display: none;
}
[data-theme="black"] .bg-animation { display: block; }

.bg-animation .orb {
    position: absolute; border-radius: 50%; filter: blur(80px);
    opacity: 0.12; animation: floatOrb 25s ease-in-out infinite; z-index: -1;
}
.bg-animation .orb:nth-child(1) { width: 500px; height: 500px; background: var(--orange-500); top: -100px; left: -100px; animation-delay: 0s; }
.bg-animation .orb:nth-child(2) { width: 400px; height: 400px; background: var(--orange-600); bottom: -50px; right: -50px; animation-delay: -7s; }
.bg-animation .orb:nth-child(3) { width: 300px; height: 300px; background: var(--orange-300); top: 50%; left: 50%; animation-delay: -14s; }

@keyframes floatOrb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(100px, -50px) scale(1.1); }
    50% { transform: translate(-50px, 100px) scale(0.9); }
    75% { transform: translate(80px, 50px) scale(1.05); }
}

.grid-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 109, 0, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 109, 0, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
}
[data-theme="black"] .grid-overlay {
    background-image:
        linear-gradient(rgba(255, 109, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 109, 0, 0.03) 1px, transparent 1px);
}

/* ===== 3. BASE DARK-MODE OVERRIDES ===== */
[data-theme="black"] .content-header,
[data-theme="black"] .app-content-header,
[data-theme="black"] .breadcrumb {
    background-color: var(--bg-primary) !important;
    color: var(--text-primary) !important;
}
[data-theme="black"] .breadcrumb-item a { color: var(--orange-400) !important; }
[data-theme="black"] .breadcrumb-item.active { color: var(--text-muted) !important; }

[data-theme="black"] .card-header,
[data-theme="black"] .card-footer,
[data-theme="black"] .bg-white,
[data-theme="black"] .bg-light,
[data-theme="black"] .bg-body,
[data-theme="black"] .bg-body-secondary,
[data-theme="black"] .bg-body-tertiary {
    background-color: var(--bg-card) !important;
    color: var(--text-primary) !important;
    border-color: var(--border-color) !important;
}
[data-theme="black"] .table thead th {
    background-color: rgba(255, 109, 0, 0.1) !important;
    color: var(--text-primary) !important;
    border-bottom-color: var(--border-color) !important;
}
[data-theme="black"] .table td {
    color: var(--text-secondary) !important;
    border-color: var(--border-color) !important;
}
[data-theme="black"] .bg-glass-light {
    background: rgba(26, 26, 37, 0.8) !important;
}

/* ===== 4. TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.brand-text { font-family: 'Chakra Petch', 'Exo 2', sans-serif !important; }

.nav-header, .stat-label, .chart-labels span, .tech-label {
    font-family: 'Rajdhani', sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
}

body, p, a, span, button, input, select, textarea, .nav-link {
    font-family: 'Inter', sans-serif !important;
}

.text-tech-numeric {
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.brand-text {
    font-weight: 800 !important;
    background: var(--brand-text-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
}

.x-small { font-size: 0.75rem; }
.smallest { font-size: 0.65rem; }

/* ===== 5. GLOBAL LAYOUT ===== */
body {
    background: linear-gradient(135deg, rgba(255, 109, 0, 0.08) 0%, var(--bg-secondary) 60%) !important;
    background-attachment: fixed !important;
}
.app-main, .content-wrapper {
    background: transparent !important;
    position: relative;
    z-index: 1;
}

.app-header {
    height: var(--header-height);
    background: var(--bg-glass) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color) !important;
    display: flex;
    align-items: center;
    z-index: 1030;
}

.app-footer {
    padding: 1.5rem;
}

[data-bs-theme="dark"] .app-header {
    background-color: #000000 !important;
    border-bottom: 1px solid #18181b !important;
}


/* ===== 6. SIDEBAR ===== */
.app-sidebar {
    background: var(--sidebar-bg) !important;
    border-right: 1px solid var(--border-color) !important;
    z-index: 1050 !important;
}
.sidebar-brand {
    height: var(--header-height);
    display: flex;
    align-items: center;
    padding: 0 24px !important;
    background: var(--sidebar-bg) !important;
    border-bottom: 1px solid var(--border-color) !important;
}
.brand-link {
    display: flex;
    align-items: center;
    text-decoration: none !important;
}
.brand-logo {
    height: 38px;
    width: auto;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 0 10px rgba(255, 109, 0, 0.15));
}
.sidebar-brand:hover .brand-logo {
    transform: scale(1.05) translateX(2px);
    filter: drop-shadow(0 0 15px rgba(255, 109, 0, 0.3));
}

/* High-Specificity Reset for AdminLTE Themes */
.app-sidebar .sidebar-wrapper .sidebar-menu .nav-item .nav-link {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 10px 15px !important;
    border-radius: 12px !important;
    color: var(--text-primary) !important;
    font-size: 0.88rem !important;
    font-weight: 600 !important;
    transition: all 0.25s ease !important;
    position: relative !important;
    overflow: hidden !important;
    opacity: 1 !important;
    background: transparent !important;
    border: none !important;
}

.app-sidebar .sidebar-wrapper .sidebar-menu .nav-item .nav-link p,
.app-sidebar .sidebar-wrapper .sidebar-menu .nav-item .nav-link i,
.app-sidebar .sidebar-wrapper .sidebar-menu .nav-item .nav-link span {
    color: inherit !important;
    margin: 0 !important;
}

.app-sidebar .sidebar-wrapper .sidebar-menu .nav-item .nav-link i.nav-icon {
    width: 20px !important;
    min-width: 20px !important;
    height: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    font-size: 0.95rem !important;
}

.app-sidebar .sidebar-wrapper .sidebar-menu .nav-item .nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) scaleY(0);
    width: 4px;
    height: 60%;
    background: var(--orange-500);
    border-radius: 0 4px 4px 0;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 5;
    box-shadow: 0 0 10px var(--orange-glow);
}

/* Hover & Active Enforcement */
.app-sidebar .sidebar-wrapper .sidebar-menu .nav-item .nav-link:hover,
.app-sidebar .sidebar-wrapper .sidebar-menu .nav-item .nav-link.active {
    color: var(--orange-600) !important;
    background: var(--orange-100) !important;
    font-weight: 700 !important;
}

[data-theme="black"] .app-sidebar .sidebar-wrapper .sidebar-menu .nav-item .nav-link:hover,
[data-theme="black"] .app-sidebar .sidebar-wrapper .sidebar-menu .nav-item .nav-link.active {
    color: var(--orange-400) !important;
    background: rgba(255, 109, 0, 0.1) !important;
    box-shadow: inset 0 0 15px rgba(255, 109, 0, 0.05);
}

.app-sidebar .sidebar-wrapper .sidebar-menu .nav-item .nav-link:hover::before,
.app-sidebar .sidebar-wrapper .sidebar-menu .nav-item .nav-link.active::before {
    transform: translateY(-50%) scaleY(1);
}

/* Sub-menu (Treeview) Hierarchy Refinement */
.app-sidebar .sidebar-wrapper .sidebar-menu .nav-treeview .nav-link {
    padding-left: 32px !important;
    font-size: 0.82rem !important;
    opacity: 0.7 !important;
    font-weight: 500 !important;
}

.app-sidebar .sidebar-wrapper .sidebar-menu .nav-treeview .nav-link:hover,
.app-sidebar .sidebar-wrapper .sidebar-menu .nav-treeview .nav-link.active {
    opacity: 1 !important;
    font-weight: 700 !important;
}

/* ===== USER CARD & AVATAR ===== */
.app-sidebar .user-card {
    background: rgba(255, 109, 0, 0.05) !important;
    border: 1px solid var(--border-color) !important;
    transition: all 0.3s ease;
}

.app-sidebar .user-avatar {
    width: 40px !important;
    height: 40px !important;
    background: linear-gradient(135deg, var(--orange-500), var(--orange-700)) !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #fff !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    position: relative !important;
    overflow: hidden !important;
}

.app-sidebar .user-avatar img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
}

/* ===== 7. BUTTONS ===== */
.btn {
    border-radius: 12px !important;
    font-weight: 600 !important;
    padding: 10px 24px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
}
.btn-sm { padding: 7px 16px !important; font-size: 0.8rem !important; border-radius: 10px !important; }
.btn-xs { padding: 4px 12px !important; font-size: 0.72rem !important; border-radius: 8px !important; }
.btn-xs-tech { padding: 0.25rem 0.6rem !important; font-size: 0.7rem !important; border-radius: 8px !important; }
.btn-xxs-tech { padding: 0.15rem 0.4rem !important; font-size: 0.65rem !important; border-radius: 8px !important; }

/* Primary orange button */
.btn-primary, .btn-orange {
    background: var(--orange-gradient) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px var(--orange-glow) !important;
    border: none !important;
    position: relative; overflow: hidden;
}
.btn-primary::before, .btn-orange::before {
    content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}
.btn-primary:hover, .btn-orange:hover {
    box-shadow: 0 8px 25px var(--orange-glow-strong) !important;
    transform: translateY(-2px) !important;
    color: #fff !important;
}
.btn-primary:hover::before, .btn-orange:hover::before { left: 100%; }

/* Enterprise orange (gradient button) */
.btn-tech-orange {
    background: var(--orange-gradient) !important;
    border: none !important; color: white !important;
    box-shadow: 0 4px 15px rgba(255, 109, 0, 0.2) !important;
    position: relative; overflow: hidden;
}
.btn-tech-orange::before {
    content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s ease;
}
.btn-primary:hover, .btn-orange:hover, .btn-tech-orange:hover {
    box-shadow: 0 8px 25px var(--orange-glow-strong) !important;
    transform: translateY(-3px) !important;
    color: #fff !important;
}
.btn-tech-orange:hover::before { left: 100%; }

/* Orange outline */
.btn-orange-outline {
    background: transparent; border: 1px solid var(--orange-500); color: var(--orange-600);
    padding: 10px 24px; border-radius: 12px; font-weight: 600; font-size: 0.85rem;
    transition: all 0.3s ease;
}
.btn-orange-outline:hover {
    background: var(--orange-100); border-color: var(--orange-600); color: var(--orange-700);
    box-shadow: 0 0 20px var(--orange-glow); transform: translateY(-2px);
}
[data-theme="black"] .btn-orange-outline { color: var(--orange-400); }
[data-theme="black"] .btn-orange-outline:hover {
    background: rgba(255, 109, 0, 0.1); color: var(--orange-300);
}

/* Ghost button */
.btn-ghost {
    background: var(--bg-secondary); border: 1px solid var(--border-color); color: var(--text-secondary);
    padding: 8px 16px; border-radius: 10px; font-size: 0.8rem; font-weight: 500; transition: all 0.25s ease;
}
.btn-ghost:hover { background: var(--orange-100); border-color: var(--border-hover); color: var(--orange-600); }
[data-theme="black"] .btn-ghost { background: rgba(255, 255, 255, 0.05); }
[data-theme="black"] .btn-ghost:hover { background: rgba(255, 109, 0, 0.08); color: var(--orange-400); }
.btn-sm-tech { padding: 6px 14px; font-size: 0.75rem; border-radius: 8px; }

/* Table Action Button (Compact) */
.btn-table-action {
    width: 34px !important;
    height: 34px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 8px !important;
    background: var(--bg-primary) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-secondary) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.btn-table-action:hover {
    background: var(--orange-100) !important;
    border-color: var(--orange-500) !important;
    color: var(--orange-600) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px var(--orange-glow) !important;
}
.btn-table-action i { font-size: 0.85rem !important; }

/* Action Specific Hover Colors */
.btn-table-action.btn-edit:hover {
    background: rgba(2, 132, 199, 0.1) !important;
    border-color: var(--info) !important;
    color: var(--info) !important;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.2) !important;
}
.btn-table-action.btn-delete:hover {
    background: rgba(220, 38, 38, 0.1) !important;
    border-color: var(--danger) !important;
    color: var(--danger) !important;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2) !important;
}
.btn-table-action.btn-view:hover {
    background: rgba(22, 163, 74, 0.1) !important;
    border-color: var(--success) !important;
    color: var(--success) !important;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.2) !important;
}

[data-theme="black"] .btn-table-action {
    background: rgba(255, 255, 255, 0.03) !important;
}
[data-theme="black"] .btn-table-action:hover {
    background: rgba(255, 109, 0, 0.1) !important;
    border-color: var(--orange-500) !important;
    color: var(--orange-400) !important;
}
[data-theme="black"] .btn-table-action.btn-edit:hover {
    background: rgba(0, 176, 255, 0.12) !important;
    border-color: var(--info) !important;
    color: var(--info) !important;
}
[data-theme="black"] .btn-table-action.btn-delete:hover {
    background: rgba(255, 23, 68, 0.12) !important;
    border-color: var(--danger) !important;
    color: var(--danger) !important;
}
[data-theme="black"] .btn-table-action.btn-view:hover {
    background: rgba(0, 230, 118, 0.12) !important;
    border-color: var(--success) !important;
    color: var(--success) !important;
}

/* Secondary tech */
.btn-secondary-tech {
    background: var(--bg-secondary) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-secondary) !important;
}
.btn-secondary-tech:hover {
    background: var(--orange-100) !important;
    border-color: var(--orange-500) !important;
    color: var(--orange-600) !important;
}

/* ===== 8. CARDS & GLASSMORPHISM ===== */
.card, .card-tech {
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: 16px !important;
    backdrop-filter: blur(20px);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
    overflow: hidden;
}
.card:hover, .card-tech:hover {
    border-color: var(--border-hover) !important;
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.08), 0 0 20px var(--orange-glow) !important;
}
[data-theme="black"] .card, [data-theme="black"] .card-tech {
    background: var(--bg-glass) !important;
    border: 1px solid var(--border-color) !important;
}
[data-theme="black"] .card:hover, [data-theme="black"] .card-tech:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(255, 109, 0, 0.08) !important;
}

/* Ensure filter cards can show dropdowns */
.card-tech-filter {
    overflow: visible !important;
}

.card-header-tech {
    background: transparent !important;
    border-bottom: 1px solid var(--border-color) !important;
    padding: 18px 24px !important;
    display: flex; align-items: center; justify-content: space-between;
}
.card-title-tech {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700; color: var(--text-primary);
    font-size: 0.95rem; text-transform: uppercase;
    letter-spacing: 0.5px; margin-bottom: 0;
    display: flex; align-items: center; gap: 10px;
}
.card-title-tech i { color: var(--orange-600); }
[data-theme="black"] .card-title-tech i { color: var(--orange-400); }

.bg-glass-light {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(8px);
}
.bg-glass { background: var(--bg-glass) !important; backdrop-filter: blur(20px) !important; }

/* Glass color variants */
.bg-orange-glass { background: linear-gradient(135deg, rgba(234, 88, 12, 0.2), rgba(234, 88, 12, 0.1)) !important; }
.bg-blue-glass { background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(59, 130, 246, 0.1)) !important; }
.bg-green-glass { background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(34, 197, 94, 0.1)) !important; }

/* Dashboard / widget cards */
.dashboard-card, .widget-tech-card, .card-info-tech {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color) !important;
    background: var(--bg-glass);
    border-radius: 16px; overflow: hidden; position: relative;
    backdrop-filter: blur(10px);
}
.dashboard-card:hover, .widget-tech-card:hover, .card-info-tech:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1) !important;
    border-color: var(--orange-400);
}
.widget-tech-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255,109,0,0.03), transparent);
    transform: translateX(-100%); transition: 0.5s;
}
.widget-tech-card:hover::before { transform: translateX(100%); }

.card-header-premium {
    background: rgba(255, 255, 255, 0.03) !important;
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-color) !important;
}

/* ===== 9. STAT CARDS ===== */
.stat-card {
    background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: 16px !important; padding: 24px; position: relative;
    overflow: hidden; transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}
.stat-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--orange-600), var(--orange-400), var(--orange-300));
    opacity: 0; transition: opacity 0.3s ease;
}
.stat-card:hover {
    border-color: var(--border-hover) !important; transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.08), 0 0 20px var(--orange-glow) !important;
}
[data-theme="black"] .stat-card {
    background: var(--bg-card) !important;
}
[data-theme="black"] .stat-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 109, 0, 0.15) !important;
    background: var(--bg-card-hover) !important;
}
.stat-card:hover::before { opacity: 1; }

.stat-icon {
    width: 48px; height: 48px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; margin-bottom: 16px; border: 1px solid var(--border-color);
}
.stat-icon.orange { background: var(--orange-100); color: var(--orange-600); }
.stat-icon.green  { background: rgba(22, 163, 74, 0.1); color: var(--success); }
.stat-icon.blue   { background: rgba(2, 132, 199, 0.1); color: var(--info); }
.stat-icon.red    { background: rgba(220, 38, 38, 0.1); color: var(--danger); }
[data-theme="black"] .stat-icon.orange { background: rgba(255, 109, 0, 0.12); color: var(--orange-400); border-color: rgba(255, 109, 0, 0.2); }
[data-theme="black"] .stat-icon.green  { background: rgba(0, 230, 118, 0.12); color: var(--success); border-color: rgba(0, 230, 118, 0.2); }
[data-theme="black"] .stat-icon.blue   { background: rgba(0, 176, 255, 0.12); color: var(--info); border-color: rgba(0, 176, 255, 0.2); }
[data-theme="black"] .stat-icon.red    { background: rgba(255, 23, 68, 0.12); color: var(--danger); border-color: rgba(255, 23, 68, 0.2); }

.stat-label { font-size: 0.78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; font-weight: 700; }
.stat-value { font-family: 'Rajdhani', sans-serif !important; font-size: 1.8rem; font-weight: 700; color: var(--text-primary); margin-top: 4px; }
.stat-change {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 0.75rem; font-weight: 600; padding: 3px 10px;
    border-radius: 20px; margin-top: 8px;
}
.stat-change.up   { background: rgba(22, 163, 74, 0.1); color: var(--success); }
.stat-change.down { background: rgba(220, 38, 38, 0.1); color: var(--danger); }
[data-theme="black"] .stat-change.up   { background: rgba(0, 230, 118, 0.1); color: var(--success); }
[data-theme="black"] .stat-change.down { background: rgba(255, 23, 68, 0.1); color: var(--danger); }

.stat-bg-icon { position: absolute; right: -10px; bottom: -10px; font-size: 5rem; opacity: 0.03; color: var(--orange-600); }
[data-theme="black"] .stat-bg-icon { color: var(--orange-400); opacity: 0.04; }

/* ===== 10. TABLES ===== */
.table-tech { width: 100%; border-collapse: separate; border-spacing: 0; }
.table-tech thead th {
    background: var(--bg-secondary); border-bottom: 2px solid var(--border-color);
    padding: 14px 16px; font-family: 'Rajdhani', sans-serif;
    font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 1.5px; color: var(--text-muted); white-space: nowrap;
}
[data-theme="black"] .table-tech thead th { background: rgba(255, 109, 0, 0.06); }
.table-tech thead th:first-child { border-radius: 12px 0 0 0; }
.table-tech thead th:last-child { border-radius: 0 12px 0 0; }
.table-tech tbody td {
    padding: 14px 16px; border-bottom: 1px solid var(--border-color);
    font-size: 0.85rem; vertical-align: middle; transition: background 0.2s;
    color: var(--text-secondary);
}
.table-tech tbody tr:hover td { background: var(--orange-100); }
[data-theme="black"] .table-tech tbody tr:hover td { background: rgba(255, 109, 0, 0.04); }
.table-tech tbody tr:last-child td { border-bottom: none; }
.hover-row-tech:hover td { background: rgba(255, 109, 0, 0.04) !important; color: var(--orange-500) !important; }
.table-row-animate:hover td { background: rgba(255, 109, 0, 0.04) !important; }

/* Enterprise / Premium table variants (alias) */
.enterprise-table thead th, .table-premium thead th {
    background: rgba(255, 109, 0, 0.05) !important;
    border-bottom: 2px solid var(--border-color) !important;
    padding: 14px 16px !important;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.75rem; text-transform: uppercase;
    letter-spacing: 1.5px; font-weight: 700; color: var(--text-muted);
}
[data-theme="black"] .enterprise-table thead th,
[data-theme="black"] .table-premium thead th { background: rgba(255, 109, 0, 0.1) !important; }

/* ===== 11. BADGES ===== */
.badge-tech {
    padding: 4px 12px; border-radius: 20px; font-size: 0.7rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.5px;
    border: 1px solid var(--border-color); background: var(--bg-secondary); color: var(--text-secondary);
    transition: all 0.2s ease;
}
.badge-tech.success, .badge-tech.active { background: rgba(22, 163, 74, 0.1); color: var(--success); border-color: rgba(22, 163, 74, 0.2); }
.badge-tech.warning, .badge-tech.pending { background: rgba(217, 119, 6, 0.1); color: var(--warning); border-color: rgba(217, 119, 6, 0.2); }
.badge-tech.danger, .badge-tech.inactive { background: rgba(220, 38, 38, 0.1); color: var(--danger); border-color: rgba(220, 38, 38, 0.2); }
.badge-tech.info { background: rgba(2, 132, 199, 0.1); color: var(--info); border-color: rgba(2, 132, 199, 0.2); }
.badge-tech.teal { background: rgba(32, 201, 151, 0.1); color: var(--teal); border-color: rgba(32, 201, 151, 0.2); }
.badge-tech.help { background: rgba(0, 176, 255, 0.1); color: var(--info); border-color: rgba(0, 176, 255, 0.2); }
.badge-tech:hover { background: var(--orange-100); border-color: var(--orange-400); color: var(--orange-700); }
[data-theme="black"] .badge-tech.success, [data-theme="black"] .badge-tech.active { background: rgba(0, 230, 118, 0.12); border-color: rgba(0, 230, 118, 0.2); }
[data-theme="black"] .badge-tech.warning, [data-theme="black"] .badge-tech.pending { background: rgba(255, 171, 0, 0.12); border-color: rgba(255, 171, 0, 0.2); }
[data-theme="black"] .badge-tech.danger, [data-theme="black"] .badge-tech.inactive { background: rgba(255, 23, 68, 0.12); border-color: rgba(255, 23, 68, 0.2); }
[data-theme="black"] .badge-tech.info { background: rgba(0, 176, 255, 0.12); border-color: rgba(0, 176, 255, 0.2); }

.badge-mini-tech {
    font-size: 0.6rem; padding: 2px 6px; border-radius: 4px;
    background: rgba(255, 109, 0, 0.1); color: var(--orange-500);
    text-decoration: none; font-weight: 700; transition: all 0.2s; display: inline-block;
}
.badge-mini-tech.secondary { background: var(--bg-secondary); color: var(--text-secondary); }
.badge-mini-tech:hover { filter: brightness(1.1); transform: translateY(-1px); }

/* ===== 12. PROGRESS BARS ===== */
.progress-slim { height: 5px !important; border-radius: 9999px; background-color: var(--border-color) !important; }
.tech-progress-wrapper { position: relative; }
.tech-progress, .progress-tech {
    height: 8px !important; background: var(--bg-secondary) !important;
    border-radius: 10px; overflow: hidden; position: relative;
}
[data-theme="black"] .tech-progress, [data-theme="black"] .progress-tech { background: rgba(255, 255, 255, 0.05) !important; }
.tech-progress-bar, .progress-tech .progress-bar {
    background: linear-gradient(90deg, var(--orange-500), var(--orange-400)) !important;
    box-shadow: 0 0 10px rgba(255, 109, 0, 0.3);
    position: relative; border-radius: 10px; overflow: hidden;
    transition: width 0.6s ease;
}
.tech-progress-bar::after, .progress-tech .progress-bar::after {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shimmer 2s infinite;
}
@keyframes shimmer { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }

/* ===== 13. FORM ELEMENTS ===== */
[data-bs-theme="dark"] .form-control,
[data-bs-theme="dark"] .form-select {
    background-color: #09090b !important; color: #fafafa !important; border-color: #27272a !important;
}
.form-tech .form-label {
    font-size: 0.8rem; font-weight: 600; color: var(--text-secondary);
    margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.5px;
}
.form-tech .form-control, .form-tech .form-select {
    background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 12px;
    padding: 10px 16px; color: var(--text-primary); font-size: 0.85rem;
    transition: all 0.3s ease; outline: none;
}
.form-tech .form-control:focus, .form-tech .form-select:focus {
    border-color: var(--orange-500); box-shadow: 0 0 0 3px var(--orange-glow);
    background: var(--bg-card); color: var(--text-primary);
}
.form-tech .form-control::placeholder { color: var(--text-muted); }

.form-label-tech {
    font-weight: 700; color: var(--text-secondary); font-size: 0.75rem;
    text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 0.5rem; display: block;
}
.form-check-tech .form-check-input, .form-check-input {
    background-color: var(--bg-card);
    border: 1.5px solid #cbd5e1; /* More visible border */
    cursor: pointer;
    transition: all 0.2s ease;
    width: 1.1rem;
    height: 1.1rem;
}
[data-theme="black"] .form-check-input {
    border-color: rgba(255, 255, 255, 0.3);
}
.form-check-tech .form-check-input:checked, .form-check-input:checked {
    background-color: var(--orange-500);
    border-color: var(--orange-500);
    box-shadow: 0 0 15px var(--orange-glow-strong);
}
.form-check-tech .form-check-label { color: var(--text-secondary); font-size: 0.85rem; cursor: pointer; }

/* Switch Toggle */
.form-switch .form-check-input {
    width: 44px; height: 24px; background-color: var(--bg-secondary);
    border: 1px solid var(--border-color); cursor: pointer;
}
.form-switch .form-check-input:checked {
    background-color: var(--orange-500); border-color: var(--orange-500);
    box-shadow: 0 0 12px var(--orange-glow);
}

/* ===== 14. TIMELINE ===== */
.timeline-tech {
    position: relative; padding-left: 2.5rem; margin-bottom: 2rem;
    list-style: none;
}
.timeline-tech::before {
    content: ''; position: absolute; left: 0.75rem; top: 0; height: 100%; width: 2px;
    background: linear-gradient(180deg, var(--orange-400), var(--bg-secondary));
}
.timeline-tech-item { position: relative; margin-bottom: 2.5rem; }
.timeline-tech-item::before {
    content: ''; position: absolute; left: -2.15rem; top: 0;
    width: 1rem; height: 1rem; border-radius: 50%;
    background: var(--orange-500); border: 3px solid var(--bg-card);
    box-shadow: 0 0 10px rgba(255, 109, 0, 0.4); z-index: 2;
}
.timeline-tech-card {
    background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: 16px; padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05); transition: all 0.3s ease;
}
.timeline-tech-card:hover { transform: translateX(5px); border-color: var(--orange-400); box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); }

.timeline-marker {
    position: absolute; left: -6px; width: 14px; height: 14px; border-radius: 50%; z-index: 10;
}
.border-start-orange { border-left: 3px solid var(--orange-600) !important; }

/* Modern Timeline variant */
.timeline-modern { position: relative; padding: 1rem 0; }
.timeline-modern::before {
    content: ''; position: absolute; left: 1rem; top: 0; bottom: 0; width: 2px; background: var(--border-color);
}
.timeline-item-modern { position: relative; margin-left: 3rem; margin-bottom: 2rem; }
.timeline-item-modern::before {
    content: ''; position: absolute; left: -2.35rem; top: 0.4rem;
    width: 14px; height: 14px; background: var(--bg-primary);
    border: 3px solid var(--orange-500); border-radius: 50%; z-index: 10;
}
.timeline-content-modern {
    background: var(--bg-card); border-radius: 12px; padding: 1.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); border: 1px solid var(--border-color);
    transition: transform 0.2s ease;
}
.timeline-content-modern:hover { transform: translateX(5px); }

/* ===== 15. STATUS INDICATORS ===== */
.status-indicator, .status-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; margin-right: 6px; }
.status-online, .status-dot.online { background-color: var(--success); box-shadow: 0 0 8px rgba(22, 163, 74, 0.4); }
.status-offline, .status-dot.offline { background-color: var(--text-muted); }
.status-busy { background-color: var(--danger); }
.status-away, .status-dot.warning { background-color: var(--warning); box-shadow: 0 0 8px rgba(217, 119, 6, 0.4); }
[data-theme="black"] .status-online, [data-theme="black"] .status-dot.online { box-shadow: 0 0 8px rgba(0, 230, 118, 0.5); }
[data-theme="black"] .status-dot.offline { background-color: var(--danger); box-shadow: 0 0 8px rgba(255, 23, 68, 0.5); }

/* Status text colors */
.status-text-satıldı { color: var(--success) !important; font-weight: 700; }
.status-text-teklif { color: var(--warning) !important; font-weight: 700; }
.status-text-ön_görüşme { color: var(--info) !important; font-weight: 700; }
.status-text-iptal { color: var(--danger) !important; font-weight: 700; }
.status-text-belirtilmemiş { color: var(--text-muted) !important; }

/* ===== 16. TOTALS & SUMMARIES ===== */
.total-box-tech {
    background: var(--bg-card); border-radius: 16px; padding: 24px;
    border: 1px solid var(--border-color); border-left: 5px solid var(--orange-500);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
.section-title-tech {
    font-size: 0.9rem; font-weight: 800; color: var(--orange-500);
    margin-bottom: 20px; border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px; text-transform: uppercase; letter-spacing: 1px;
}

/* ===== 17. CHAT & MESSAGING ===== */
.chat-messaging-tech { display: flex; flex-direction: column; gap: 1.5rem; }
.chat-bubble-tech {
    max-width: 85%; padding: 1.25rem; border-radius: 20px; position: relative;
    font-size: 0.9rem; line-height: 1.6; background: var(--bg-card); border: 1px solid var(--border-color);
}
.chat-bubble-tech.out {
    align-self: flex-end; background: var(--orange-gradient); color: white;
    border: none; border-bottom-right-radius: 4px;
}
.chat-bubble-tech.in {
    align-self: flex-start; border-bottom-left-radius: 4px;
    background: var(--bg-glass); backdrop-filter: blur(10px);
}

/* ===== 18. MAIL / FEED COMPONENTS ===== */
.mail-unread-tech {
    font-weight: 700 !important; background: rgba(255, 109, 0, 0.05) !important;
    border-left: 3px solid var(--orange-500) !important;
}
[data-theme="black"] .mail-unread-tech { background: rgba(255, 109, 0, 0.1) !important; }
.mail-row-tech { cursor: pointer; transition: all 0.2s ease; }
.mail-row-tech:hover { background: var(--bg-card-hover) !important; transform: scale(1.002); }
.mailbox-read-info-tech { padding: 1.5rem; border-bottom: 1px solid var(--border-color); background: var(--bg-secondary); }
[data-theme="black"] .mailbox-read-info-tech { background: rgba(0, 0, 0, 0.2); }
.mailbox-read-time { color: var(--text-muted); font-size: 0.8rem; }

.feed-card-tech {
    background: var(--bg-glass); border: 1px solid var(--border-color);
    border-radius: 20px !important; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.feed-card-tech:hover { border-color: var(--orange-400) !important; transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12) !important; }
.feed-author-tech { display: flex; align-items: center; gap: 12px; }
.feed-author-img {
    width: 44px; height: 44px; border-radius: 50%; object-fit: cover;
    border: 2px solid var(--bg-secondary); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.feed-comment-tech { background: var(--bg-secondary); border-radius: 12px; padding: 10px 14px; font-size: 0.85rem; position: relative; }
[data-theme="black"] .feed-comment-tech { background: rgba(255, 255, 255, 0.03); }
.feed-comment-input-tech {
    background: var(--bg-secondary) !important; border: 1px solid var(--border-color) !important;
    border-radius: 50px !important; padding: 10px 20px !important;
    font-size: 0.85rem !important; color: var(--text-primary) !important; transition: all 0.2s ease;
}
.feed-comment-input-tech:focus {
    background: var(--bg-card) !important; border-color: var(--orange-500) !important;
    box-shadow: 0 0 10px var(--orange-glow) !important;
}
.glow-icon { filter: drop-shadow(0 0 4px var(--orange-400)); }

/* ===== 19. SETTINGS ===== */
.setting-name { color: var(--text-primary); font-weight: 700; font-family: 'Exo 2', sans-serif; }
.setting-value-preview {
    font-family: 'Inter', sans-serif; color: var(--text-secondary); font-size: 0.85rem;
    max-width: 450px; display: -webkit-box; -webkit-line-clamp: 2;
    line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* ===== 20. MODALS ===== */
.modal-content-tech {
    background: var(--bg-card) !important; border: 1px solid var(--border-color) !important;
    border-radius: 20px !important; overflow: hidden; box-shadow: 0 25px 50px rgba(0,0,0,0.1) !important;
}
.modal-header-tech {
    background: var(--orange-gradient) !important; color: white !important;
    border: none !important; padding: 1.25rem 1.5rem !important;
}
.modal-header-tech .btn-close { filter: brightness(0) invert(1); opacity: 0.8; }
.modal-header-tech .btn-close:hover { opacity: 1; }

/* ===== 21. SELECT2 ===== */
.select2-container--open { z-index: 9999 !important; }
.select2-tech + .select2-container .select2-selection--single {
    border-radius: 50px !important; padding-left: 10px;
    height: 32px !important; display: flex; align-items: center;
    border: 1px solid var(--border-color); background: var(--bg-glass);
}
.select2-tech + .select2-container--default .select2-selection--single {
    background-color: var(--bg-card) !important; border: 1px solid var(--border-color) !important;
    border-radius: 50px !important; height: 35px !important; display: flex; align-items: center;
}
.select2-tech + .select2-container--default .select2-selection__rendered {
    color: var(--text-primary) !important; font-size: 0.75rem !important; padding-left: 15px !important;
}
.select2-tech + .select2-container--default .select2-selection__arrow { height: 33px !important; }

[data-bs-theme="dark"] .select2-container--bootstrap-5 .select2-selection {
    background-color: #09090b !important; color: #fafafa !important; border-color: #27272a !important;
}
[data-bs-theme="dark"] .select2-dropdown { background-color: #1a1a25 !important; border-color: #27272a !important; }
[data-bs-theme="dark"] .select2-results__option { background-color: transparent !important; color: #fafafa !important; }
[data-bs-theme="dark"] .select2-results__option--highlighted { background-color: var(--orange-600) !important; }

.select2-tech-dark .select2-container--bootstrap-5 .select2-selection { background-color: var(--bg-card) !important; border-color: var(--border-color) !important; color: var(--text-primary) !important; }
.select2-tech-dark .select2-container--bootstrap-5 .select2-dropdown { background-color: var(--bg-card) !important; border-color: var(--border-color) !important; }
.select2-tech-dark .select2-container--bootstrap-5 .select2-results__option--highlighted { background-color: var(--orange-500) !important; }

/* Select2 scrollbar */
.select2-results__options { max-height: 280px !important; overflow-y: auto !important; }
.select2-results__options::-webkit-scrollbar { width: 5px; }
.select2-results__options::-webkit-scrollbar-track { background: transparent; }
.select2-results__options::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 10px; }
.select2-results__options::-webkit-scrollbar-thumb:hover { background: var(--orange-500); }

/* ===== 22. UTILITY EFFECTS ===== */
.hover-lift-tech { transition: transform 0.2s ease; }
.hover-lift-tech:hover { transform: translateY(-3px); }

.avatar-hover { transition: transform 0.2s ease; cursor: pointer; }
.avatar-hover:hover { transform: scale(1.1); z-index: 5; }

/* ===== 23. PAGINATION ===== */
.pagination-tech .page-link {
    background: var(--bg-card); border: 1px solid var(--border-color); color: var(--text-secondary);
    margin: 0 3px; border-radius: 10px; font-size: 0.82rem; padding: 8px 14px; transition: all 0.25s ease;
}
.pagination-tech .page-link:hover {
    background: var(--orange-100); border-color: var(--orange-500); color: var(--orange-600);
}
[data-theme="black"] .pagination-tech .page-link:hover {
    background: rgba(255, 109, 0, 0.1); color: var(--orange-400);
}
.pagination-tech .page-item.active .page-link {
    background: var(--orange-gradient); border-color: var(--orange-500);
    color: #fff; box-shadow: 0 4px 12px var(--orange-glow);
}

/* ===== 24. ALERTS ===== */
.alert-tech {
    border-radius: 14px; border: 1px solid; padding: 16px 20px;
    display: flex; align-items: flex-start; gap: 14px; margin-bottom: 16px; background: var(--bg-card);
}
.alert-tech .alert-icon {
    width: 36px; height: 36px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.alert-tech.alert-warning { border-color: rgba(217, 119, 6, 0.2); background: rgba(254, 243, 199, 0.5); }
.alert-tech.alert-warning .alert-icon { background: rgba(217, 119, 6, 0.15); color: var(--warning); }
.alert-tech.alert-danger { border-color: rgba(220, 38, 38, 0.2); background: rgba(254, 226, 226, 0.5); }
.alert-tech.alert-danger .alert-icon { background: rgba(220, 38, 38, 0.15); color: var(--danger); }
.alert-tech.alert-success { border-color: rgba(22, 163, 74, 0.2); background: rgba(220, 252, 231, 0.5); }
.alert-tech.alert-success .alert-icon { background: rgba(22, 163, 74, 0.15); color: var(--success); }
.alert-tech .alert-content h6 { font-size: 0.85rem; font-weight: 600; margin-bottom: 2px; color: var(--text-primary); }
.alert-tech .alert-content p { font-size: 0.78rem; color: var(--text-secondary); margin: 0; }
[data-theme="black"] .alert-tech.alert-warning { background: rgba(255, 171, 0, 0.06); border-color: rgba(255, 171, 0, 0.2); }
[data-theme="black"] .alert-tech.alert-warning .alert-icon { background: rgba(255, 171, 0, 0.12); }
[data-theme="black"] .alert-tech.alert-danger { background: rgba(255, 23, 68, 0.06); border-color: rgba(255, 23, 68, 0.2); }
[data-theme="black"] .alert-tech.alert-danger .alert-icon { background: rgba(255, 23, 68, 0.12); }
[data-theme="black"] .alert-tech.alert-success { background: rgba(0, 230, 118, 0.06); border-color: rgba(0, 230, 118, 0.2); }
[data-theme="black"] .alert-tech.alert-success .alert-icon { background: rgba(0, 230, 118, 0.12); }

/* ===== 25. TABS ===== */
.nav-tabs-tech { border-bottom: 1px solid var(--border-color); gap: 4px; }
.nav-tabs-tech .nav-link {
    border: none; background: transparent; color: var(--text-muted);
    font-size: 0.82rem; font-weight: 600; padding: 10px 18px;
    border-radius: 10px 10px 0 0; transition: all 0.25s ease;
}
.nav-tabs-tech .nav-link:hover { color: var(--text-primary); background: var(--bg-secondary); }
.nav-tabs-tech .nav-link.active { color: var(--orange-600); background: var(--orange-100); border-bottom: 2px solid var(--orange-600); }
[data-theme="black"] .nav-tabs-tech .nav-link:hover { background: rgba(255, 109, 0, 0.05); }
[data-theme="black"] .nav-tabs-tech .nav-link.active { color: var(--orange-400); background: rgba(255, 109, 0, 0.08); border-bottom-color: var(--orange-500); }

/* ===== 26. BACKGROUND EFFECTS ===== */
.bg-animation {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0; pointer-events: none; overflow: hidden;
}
/* Light mode: radial gradients, no orbs needed */
.bg-animation {
    background: radial-gradient(circle at 15% 20%, rgba(255, 152, 0, 0.08) 0%, transparent 40%),
                radial-gradient(circle at 85% 80%, rgba(230, 81, 0, 0.06) 0%, transparent 45%),
                radial-gradient(circle at 50% 50%, rgba(245, 124, 0, 0.04) 0%, transparent 60%);
}
/* Dark mode: animated orbs */
.bg-animation .orb {
    position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.15;
    animation: floatOrb 20s ease-in-out infinite; display: none;
}
[data-theme="black"] .bg-animation { background: none; }
[data-theme="black"] .bg-animation .orb { display: block; }
.bg-animation .orb:nth-child(1) { width: 500px; height: 500px; background: var(--orange-500); top: -100px; left: -100px; }
.bg-animation .orb:nth-child(2) { width: 400px; height: 400px; background: var(--orange-600); bottom: -50px; right: -50px; animation-delay: -7s; }
.bg-animation .orb:nth-child(3) { width: 300px; height: 300px; background: var(--orange-400); top: 50%; left: 50%; animation-delay: -14s; }

@keyframes floatOrb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(100px, -50px) scale(1.1); }
    50% { transform: translate(-50px, 100px) scale(0.9); }
    75% { transform: translate(80px, 50px) scale(1.05); }
}

.grid-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0; pointer-events: none;
    background-image: linear-gradient(rgba(230, 81, 0, 0.04) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(230, 81, 0, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
}
[data-theme="black"] .grid-overlay {
    background-image: linear-gradient(rgba(255, 109, 0, 0.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 109, 0, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

/* ===== 27. ANIMATIONS ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-in { animation: fadeInUp 0.5s ease forwards; opacity: 0; }
.animate-in:nth-child(1) { animation-delay: 0.05s; }
.animate-in:nth-child(2) { animation-delay: 0.1s; }
.animate-in:nth-child(3) { animation-delay: 0.15s; }
.animate-in:nth-child(4) { animation-delay: 0.2s; }

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 var(--orange-glow); }
    50% { box-shadow: 0 0 0 10px transparent; }
}
.pulse { animation: pulse 2s infinite; }

/* ===== 28. SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--orange-400); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--orange-600); }
[data-theme="black"]::-webkit-scrollbar-track { background: var(--bg-primary); }
[data-theme="black"]::-webkit-scrollbar-thumb { background: var(--orange-600); }
[data-theme="black"]::-webkit-scrollbar-thumb:hover { background: var(--orange-500); }

/* ===== 17. HEADER DROPDOWN ENHANCEMENTS ===== */
.dropdown-menu-premium {
    width: 320px !important;
    border: none !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15) !important;
    border-radius: 20px !important;
    overflow: hidden;
    padding: 0 !important;
}

.user-header-tech {
    background: linear-gradient(135deg, var(--orange-500), var(--orange-700));
    padding: 2.5rem 1.5rem;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.user-header-tech::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 35c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm60-21c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM70 88c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm-20-74c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3z' fill='%23ffffff' fill-opacity='0.15' fill-rule='evenodd' /%3E%3C/svg%3E");
    opacity: 0.15;
}

.user-header-tech .img-circle {
    width: 90px;
    height: 90px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    margin-bottom: 0.75rem;
    object-fit: cover;
    background: #fff;
}

.menu-body-tech {
    padding: 1rem 0.5rem;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
}

.menu-body-tech a {
    color: var(--text-secondary);
    font-size: 0.7rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
}

.menu-body-tech i {
    font-size: 1.1rem;
    color: var(--orange-500);
}

.menu-body-tech a:hover {
    color: var(--orange-600);
    transform: translateY(-2px);
}

.user-footer-tech {
    padding: 0.75rem 1rem;
    background: var(--bg-secondary);
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

[data-theme="black"] .user-header-tech {
    background: linear-gradient(135deg, var(--orange-600), #9333ea);
}
[data-theme="black"] .menu-body-tech {
    background: var(--bg-card);
}
[data-theme="black"] .user-footer-tech {
    background: #000;
}

/* ===== 29. SKELETON SCREENS (Ghost Loading) ===== */
@keyframes skeleton-shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.skeleton-bg {
    background: linear-gradient(90deg, 
        rgba(0, 0, 0, 0.05) 25%, 
        rgba(0, 0, 0, 0.08) 37%, 
        rgba(0, 0, 0, 0.05) 63%
    );
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite linear;
    border-radius: 8px;
    display: block;
}

[data-theme="black"] .skeleton-bg {
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0.05) 25%, 
        rgba(255, 255, 255, 0.08) 37%, 
        rgba(255, 255, 255, 0.05) 63%
    );
    background-size: 200% 100%;
}

.skeleton-title { height: 32px; width: 60%; margin-bottom: 0.75rem; border-radius: 12px; }
.skeleton-subtitle { height: 16px; width: 40%; margin-bottom: 1.5rem; opacity: 0.6; }
.skeleton-text { height: 12px; width: 100%; margin-bottom: 0.5rem; border-radius: 4px; }
.skeleton-avatar { width: 48px; height: 48px; border-radius: 14px; }
.skeleton-button { height: 32px; width: 100px; border-radius: 8px; }
.skeleton-card { height: 200px; width: 100%; border-radius: 16px; margin-bottom: 1.5rem; }
.skeleton-breadcrumb { height: 14px; width: 150px; border-radius: 4px; }
.skeleton-toolbar { height: 60px; width: 100%; border-radius: 16px; margin-bottom: 1.5rem; }

/* Special layout for table rows */
.skeleton-table-row {
    height: 50px;
    width: 100%;
    margin-bottom: 1px;
    border-radius: 0;
}

/* Glassmorphism support for skeletons */
.skeleton-glass {
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
}

/* Soft Utilities */
.bg-primary-soft { background-color: rgba(13, 110, 253, 0.1); }
.bg-info-soft { background-color: rgba(13, 202, 240, 0.1); }
.bg-teal-soft { background-color: rgba(32, 201, 151, 0.1); }
.bg-success-soft { background-color: rgba(25, 135, 84, 0.1); }
.bg-warning-soft { background-color: rgba(255, 193, 7, 0.1); }
.bg-danger-soft { background-color: rgba(220, 53, 69, 0.1); }
.bg-secondary-soft { background-color: rgba(108, 117, 125, 0.1); }
.text-teal { color: var(--teal) !important; }