/* ═══════════════════════════════════════════════════════════════
   HAIVAN Management Portal — Premium Dark Theme CSS
   Hải Vân Holding | Module 1
   ═══════════════════════════════════════════════════════════════ */

/* ─── CSS VARIABLES ─── */
:root {
    --bg-primary: #0a0e1a;
    --bg-secondary: #111827;
    --bg-card: rgba(17, 24, 39, 0.7);
    --bg-card-solid: #111827;
    --bg-hover: rgba(17, 24, 39, 0.9);
    
    --accent-gradient: linear-gradient(135deg, #06b6d4, #8b5cf6);
    --accent-gradient-reverse: linear-gradient(135deg, #8b5cf6, #06b6d4);
    --accent-cyan: #06b6d4;
    --accent-purple: #8b5cf6;
    --accent-blue: #3b82f6;
    
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --success: #22c55e;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #06b6d4;
    
    --border-subtle: rgba(148, 163, 184, 0.1);
    --border-hover: rgba(148, 163, 184, 0.2);
    
    --glass-bg: rgba(17, 24, 39, 0.7);
    --glass-blur: blur(12px);
    --glass-border: 1px solid rgba(148, 163, 184, 0.1);
    
    --sidebar-width: 280px;
    --sidebar-collapsed: 72px;
    --topbar-height: 64px;
    
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(6, 182, 212, 0.15);
    
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── RESET & BASE ─── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 14px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.2);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(148, 163, 184, 0.4);
}

::selection {
    background: rgba(6, 182, 212, 0.3);
    color: var(--text-primary);
}

a {
    color: var(--accent-cyan);
    text-decoration: none;
}

/* ═══════════════════════════════════════════════════════════════
   SIDEBAR
   ═══════════════════════════════════════════════════════════════ */

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.98) 0%, rgba(10, 14, 26, 0.98) 100%);
    backdrop-filter: var(--glass-blur);
    border-right: var(--glass-border);
    display: flex;
    flex-direction: column;
    z-index: 1000;
    transition: width var(--transition-normal);
    overflow: hidden;
}

.sidebar.collapsed {
    width: var(--sidebar-collapsed);
}

/* Sidebar Header */
.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 16px 16px 20px;
    border-bottom: var(--glass-border);
    min-height: 68px;
    flex-shrink: 0;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    overflow: hidden;
}

.logo-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 0 16px rgba(6, 182, 212, 0.3);
}

.logo-text {
    display: flex;
    flex-direction: column;
    white-space: nowrap;
    overflow: hidden;
    transition: opacity var(--transition-normal), width var(--transition-normal);
}

.sidebar.collapsed .logo-text {
    opacity: 0;
    width: 0;
}

.logo-title {
    font-size: 15px;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
}

.logo-subtitle {
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 400;
    letter-spacing: 0.5px;
}

.sidebar-toggle {
    width: 28px;
    height: 28px;
    border: none;
    background: rgba(148, 163, 184, 0.1);
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

.sidebar-toggle:hover {
    background: rgba(6, 182, 212, 0.2);
    color: var(--accent-cyan);
}

.sidebar.collapsed .sidebar-toggle i {
    transform: rotate(180deg);
}

/* Sidebar Navigation */
.sidebar-nav {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 8px 0;
}

.nav-section {
    margin-bottom: 2px;
}

.nav-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px 10px 20px;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    position: relative;
    user-select: none;
}

.nav-section-header:hover {
    color: var(--text-primary);
    background: rgba(148, 163, 184, 0.05);
}

.nav-section-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    background: rgba(148, 163, 184, 0.08);
    transition: all var(--transition-fast);
}

.nav-section-header:hover .nav-section-icon {
    background: rgba(6, 182, 212, 0.15);
    color: var(--accent-cyan);
}

.nav-section.active > .nav-section-header .nav-section-icon {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 0 12px rgba(6, 182, 212, 0.3);
}

.nav-section-title {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: opacity var(--transition-normal);
}

.sidebar.collapsed .nav-section-title,
.sidebar.collapsed .nav-chevron {
    opacity: 0;
    width: 0;
    overflow: hidden;
}

.nav-chevron {
    font-size: 10px;
    margin-left: auto;
    transition: transform var(--transition-fast), opacity var(--transition-normal);
    flex-shrink: 0;
}

.nav-section.expanded > .nav-section-header .nav-chevron {
    transform: rotate(180deg);
}

.nav-section-items {
    list-style: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow);
}

.nav-section.expanded > .nav-section-items {
    max-height: 800px;
}

.sidebar.collapsed .nav-section-items {
    max-height: 0 !important;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px 8px 48px;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 400;
    transition: all var(--transition-fast);
    position: relative;
    white-space: nowrap;
    overflow: hidden;
}

.nav-item i {
    width: 18px;
    text-align: center;
    font-size: 12px;
    flex-shrink: 0;
}

.nav-item:hover {
    color: var(--text-primary);
    background: rgba(148, 163, 184, 0.05);
    padding-left: 52px;
}

.nav-item.active {
    color: var(--accent-cyan);
    background: rgba(6, 182, 212, 0.08);
    font-weight: 500;
}

.nav-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: var(--accent-gradient);
    animation: navGlow 2s ease-in-out infinite;
}

@keyframes navGlow {
    0%, 100% { box-shadow: 0 0 6px rgba(6, 182, 212, 0.3); }
    50% { box-shadow: 0 0 12px rgba(6, 182, 212, 0.6); }
}

/* Sidebar Indented Submenus (Hoạch định P) */
.nav-item.nav-sub-item {
    padding-left: 64px;
    font-size: 12px;
    opacity: 0.9;
}
.nav-item.nav-sub-item:hover {
    padding-left: 68px;
    opacity: 1;
}
.nav-item.nav-sub-item.active {
    opacity: 1;
    font-weight: 500;
}

.nav-item.nav-sub-nested-item {
    padding-left: 80px;
    font-size: 11px;
    opacity: 0.75;
}
.nav-item.nav-sub-nested-item:hover {
    padding-left: 84px;
    opacity: 1;
}
.nav-item.nav-sub-nested-item.active {
    opacity: 1;
    font-weight: 500;
}

/* Sidebar Footer */
.sidebar-footer {
    border-top: var(--glass-border);
    padding: 12px 16px 12px 20px;
    flex-shrink: 0;
}

.sidebar-user {
    display: flex;
    align-items: center;
    gap: 12px;
    overflow: hidden;
}

.user-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: white;
    flex-shrink: 0;
}

.user-info {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    white-space: nowrap;
    transition: opacity var(--transition-normal);
}

.sidebar.collapsed .user-info {
    opacity: 0;
    width: 0;
}

.user-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

.user-role {
    font-size: 11px;
    color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════════════
   MAIN CONTENT
   ═══════════════════════════════════════════════════════════════ */

.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    transition: margin-left var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.sidebar.collapsed ~ .main-content {
    margin-left: var(--sidebar-collapsed);
}

/* Top Bar */
.top-bar {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--topbar-height);
    background: rgba(10, 14, 26, 0.85);
    backdrop-filter: var(--glass-blur);
    border-bottom: var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    flex-shrink: 0;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-menu-btn {
    display: none;
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(148, 163, 184, 0.1);
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 16px;
    align-items: center;
    justify-content: center;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
}

.breadcrumb-item.active {
    color: var(--text-primary);
    font-weight: 500;
}

.breadcrumb-sep {
    font-size: 8px;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar-search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(148, 163, 184, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 20px;
    transition: all var(--transition-fast);
}

.top-bar-search:focus-within {
    border-color: var(--accent-cyan);
    background: rgba(6, 182, 212, 0.05);
}

.top-bar-search i {
    color: var(--text-muted);
    font-size: 12px;
}

.top-bar-search input {
    background: none;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 13px;
    width: 160px;
}

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

.top-bar-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(148, 163, 184, 0.08);
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 14px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.top-bar-btn:hover {
    background: rgba(6, 182, 212, 0.15);
    color: var(--accent-cyan);
}

.notification-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--danger);
    color: white;
    font-size: 9px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Page Container */
.page-container {
    flex: 1;
    padding: 24px;
}

.page {
    display: none;
    animation: pageIn 0.4s ease-out;
}

.page.active {
    display: block;
}

@keyframes pageIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ═══════════════════════════════════════════════════════════════
   GLASS CARD
   ═══════════════════════════════════════════════════════════════ */

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: all var(--transition-normal);
}

.glass-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-sm);
}

.card-header {
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.06);
}

.card-header h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-header h3 i {
    color: var(--accent-cyan);
    font-size: 14px;
}

/* ═══════════════════════════════════════════════════════════════
   DASHBOARD — HERO BANNER
   ═══════════════════════════════════════════════════════════════ */

.dashboard-hero {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.12) 0%, rgba(139, 92, 246, 0.12) 100%);
    border: var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 40px 36px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(6, 182, 212, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-bg-pattern::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(90deg, rgba(148, 163, 184, 0.03) 1px, transparent 1px),
        linear-gradient(rgba(148, 163, 184, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

.hero-content {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.hero-title {
    font-size: 28px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 14px;
    letter-spacing: 1px;
}

.hero-brand-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: white;
    box-shadow: 0 0 24px rgba(6, 182, 212, 0.3);
}

.hero-tagline {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 6px;
    font-weight: 300;
}

.hero-date {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

.hero-badge {
    background: var(--glass-bg);
    border: var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 16px 24px;
    text-align: center;
    backdrop-filter: var(--glass-blur);
}

.badge-label {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.badge-value {
    display: block;
    font-size: 32px;
    font-weight: 700;
    font-family: var(--font-mono);
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ═══════════════════════════════════════════════════════════════
   KPI CARDS
   ═══════════════════════════════════════════════════════════════ */

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.kpi-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 22px 24px;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-normal);
    cursor: default;
}

.kpi-card:hover {
    transform: translateY(-2px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
}

.kpi-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 3px 3px 0 0;
}

.kpi-card.kpi-revenue::before { background: var(--accent-gradient); }
.kpi-card.kpi-profit::before { background: linear-gradient(135deg, #22c55e, #10b981); }
.kpi-card.kpi-ros::before { background: linear-gradient(135deg, #f59e0b, #f97316); }
.kpi-card.kpi-netincome::before { background: linear-gradient(135deg, #8b5cf6, #ec4899); }

.kpi-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.kpi-label {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.kpi-icon {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.kpi-revenue .kpi-icon { background: rgba(6, 182, 212, 0.12); color: var(--accent-cyan); }
.kpi-profit .kpi-icon { background: rgba(34, 197, 94, 0.12); color: var(--success); }
.kpi-ros .kpi-icon { background: rgba(245, 158, 11, 0.12); color: var(--warning); }
.kpi-netincome .kpi-icon { background: rgba(139, 92, 246, 0.12); color: var(--accent-purple); }

.kpi-value {
    font-size: 24px;
    font-weight: 700;
    font-family: var(--font-mono);
    color: var(--text-primary);
    margin-bottom: 4px;
    line-height: 1.2;
}

.kpi-unit {
    font-size: 12px;
    font-weight: 400;
    color: var(--text-muted);
    margin-left: 4px;
}

.kpi-trend {
    font-size: 11px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}

.kpi-trend.positive { color: var(--success); }
.kpi-trend.negative { color: var(--danger); }

.kpi-sparkline {
    height: 32px;
    margin-top: 12px;
}

/* ═══════════════════════════════════════════════════════════════
   DASHBOARD GRIDS
   ═══════════════════════════════════════════════════════════════ */

.dashboard-mid-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.dashboard-bottom-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

/* ═══════════════════════════════════════════════════════════════
   PDCA CYCLE
   ═══════════════════════════════════════════════════════════════ */

.pdca-cycle {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 20px;
}

.pdca-ring {
    position: relative;
    width: 280px;
    height: 280px;
}

.pdca-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 0 24px rgba(6, 182, 212, 0.3);
}

.pdca-center span {
    font-size: 16px;
    font-weight: 700;
    color: white;
    letter-spacing: 2px;
}

.pdca-center small {
    font-size: 8px;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    line-height: 1.3;
    margin-top: 2px;
}

.pdca-segment {
    position: absolute;
    width: 110px;
    height: 110px;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: 1px solid rgba(148, 163, 184, 0.1);
}

.pdca-segment:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.pdca-p { top: 0; left: 0; background: rgba(59, 130, 246, 0.12); }
.pdca-d { top: 0; right: 0; background: rgba(34, 197, 94, 0.12); }
.pdca-c { bottom: 0; right: 0; background: rgba(245, 158, 11, 0.12); }
.pdca-a { bottom: 0; left: 0; background: rgba(239, 68, 68, 0.12); }

.pdca-p:hover { border-color: var(--accent-blue); }
.pdca-d:hover { border-color: var(--success); }
.pdca-c:hover { border-color: var(--warning); }
.pdca-a:hover { border-color: var(--danger); }

.pdca-segment.active {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 16px rgba(6, 182, 212, 0.2);
}

.pdca-segment-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.pdca-segment-inner i {
    font-size: 20px;
    margin-bottom: 2px;
}

.pdca-p .pdca-segment-inner i { color: var(--accent-blue); }
.pdca-d .pdca-segment-inner i { color: var(--success); }
.pdca-c .pdca-segment-inner i { color: var(--warning); }
.pdca-a .pdca-segment-inner i { color: var(--danger); }

.pdca-segment-inner span {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.pdca-segment-inner small {
    font-size: 10px;
    color: var(--text-muted);
}

.pdca-status {
    margin-top: 6px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.status-dot.status-active {
    background: var(--success);
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.5);
    animation: pulse 2s infinite;
}

.status-dot.status-pending {
    background: var(--text-muted);
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.pdca-arrows {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.pdca-arrow {
    position: absolute;
    color: rgba(148, 163, 184, 0.2);
    font-size: 14px;
}

.arrow-1 { top: 48px; left: 50%; transform: translateX(-50%); }
.arrow-2 { top: 50%; right: 48px; transform: translateY(-50%); }
.arrow-3 { bottom: 48px; left: 50%; transform: translateX(-50%); }
.arrow-4 { top: 50%; left: 48px; transform: translateY(-50%); }

/* ═══════════════════════════════════════════════════════════════
   QUICK LINKS
   ═══════════════════════════════════════════════════════════════ */

.quicklinks-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.quicklink-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 18px 12px;
    border-radius: var(--radius-md);
    background: rgba(148, 163, 184, 0.04);
    border: 1px solid rgba(148, 163, 184, 0.06);
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
    color: var(--text-primary);
}

.quicklink-item:hover {
    background: rgba(6, 182, 212, 0.08);
    border-color: rgba(6, 182, 212, 0.2);
    transform: translateY(-2px);
}

.quicklink-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.ql-blue { background: rgba(59, 130, 246, 0.12); color: var(--accent-blue); }
.ql-purple { background: rgba(139, 92, 246, 0.12); color: var(--accent-purple); }
.ql-green { background: rgba(34, 197, 94, 0.12); color: var(--success); }
.ql-amber { background: rgba(245, 158, 11, 0.12); color: var(--warning); }
.ql-rose { background: rgba(244, 63, 94, 0.12); color: #f43f5e; }
.ql-teal { background: rgba(20, 184, 166, 0.12); color: #14b8a6; }

.quicklink-item span {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-secondary);
    text-align: center;
}

/* ═══════════════════════════════════════════════════════════════
   CHARTS
   ═══════════════════════════════════════════════════════════════ */

.chart-container {
    width: 100%;
    min-height: 280px;
}

/* ═══════════════════════════════════════════════════════════════
   NEWS / ANNOUNCEMENTS
   ═══════════════════════════════════════════════════════════════ */

.news-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.news-item {
    padding: 14px 16px;
    border-radius: var(--radius-md);
    background: rgba(148, 163, 184, 0.04);
    border: 1px solid rgba(148, 163, 184, 0.06);
    transition: all var(--transition-fast);
    cursor: pointer;
}

.news-item:hover {
    background: rgba(6, 182, 212, 0.06);
    border-color: rgba(6, 182, 212, 0.15);
}

.news-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.news-tag {
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-tag.tag-important { background: rgba(239, 68, 68, 0.15); color: var(--danger); }
.news-tag.tag-info { background: rgba(6, 182, 212, 0.15); color: var(--accent-cyan); }
.news-tag.tag-update { background: rgba(34, 197, 94, 0.15); color: var(--success); }

.news-date {
    font-size: 11px;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.news-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.news-excerpt {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════════════
   DATA TABLE
   ═══════════════════════════════════════════════════════════════ */

.table-responsive {
    overflow-x: auto;
}

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

.data-table thead th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    white-space: nowrap;
}

.data-table tbody td {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.05);
    color: var(--text-primary);
    white-space: nowrap;
}

.data-table tbody tr {
    transition: background var(--transition-fast);
}

.data-table tbody tr:hover {
    background: rgba(6, 182, 212, 0.04);
}

.data-table .number {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
}

.data-table .positive { color: var(--success); }
.data-table .negative { color: var(--danger); }

.data-table .sbu-name {
    font-weight: 600;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.data-table .sbu-name:hover {
    color: var(--accent-cyan);
}

.sparkline-cell {
    width: 80px;
}

.sbu-table-card {
    margin-bottom: 24px;
}

/* ═══════════════════════════════════════════════════════════════
   ORG CHART
   ═══════════════════════════════════════════════════════════════ */

.orgchart-wrapper {
    overflow-x: auto;
    padding: 20px 0 40px;
}

.orgchart {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 800px;
    padding: 20px;
    position: relative;
}

/* Continuous center line from TGĐ to SBU bottom */
.orgchart::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: calc(100% - 40px);
    background: rgba(148, 190, 230, 0.6);
    border-radius: 2px;
    z-index: 0;
    pointer-events: none;
}

/* All orgchart children sit above the center line */
.orgchart > * {
    position: relative;
    z-index: 1;
}

/* ═══════════════════════════════════════════════════════════
   ORG CHART — Columnar VP Layout
   ═══════════════════════════════════════════════════════════ */
.org-node {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    border-radius: var(--radius-md);
    padding: 10px 16px;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    width: 100%;
    max-width: 190px;
    box-sizing: border-box;
}

.org-node:hover {
    transform: translateY(-2px);
    border-color: var(--accent-cyan);
    box-shadow: var(--shadow-glow);
}

.org-node-title {
    font-size: 10.5px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
    line-height: 1.3;
}

.org-node-role {
    font-size: 9.5px;
    color: var(--text-muted);
    line-height: 1.3;
}

.org-node-name {
    font-size: 10px;
    color: var(--accent-cyan);
    font-weight: 600;
    margin-top: 3px;
}

/* ─── Level-0: TGĐ (CEO) — Red gradient ─── */
.org-node.level-0 {
    background: linear-gradient(135deg, #b91c1c 0%, #dc2626 50%, #ef4444 100%);
    border: none;
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.35);
    max-width: 220px;
    padding: 14px 24px;
}
.org-node.level-0 .org-node-title { font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; color: white; }
.org-node.level-0 .org-node-role { color: rgba(255,255,255,0.85); }
.org-node.level-0 .org-node-name { color: rgba(255,255,255,0.95); font-style: italic; }

/* ─── Level-assist: Trợ lý/Thư ký ─── */
.org-node.level-assist {
    background: rgba(148, 163, 184, 0.05);
    border-color: rgba(148, 163, 184, 0.15);
    max-width: 280px;
}

/* ─── Level-vp: PTGĐ — Blue left border ─── */
.org-node.level-vp {
    border-left: 3px solid #3b82f6;
    background: rgba(59, 130, 246, 0.05);
    padding: 12px 16px;
}
.org-node.level-vp .org-node-title { color: #60a5fa; font-size: 10px; text-transform: uppercase; letter-spacing: 0.3px; }
.org-node.level-vp .org-node-name { color: var(--text-primary); font-size: 11px; font-weight: 700; }

/* ─── Level-dept: Phòng ban — Green accent ─── */
.org-node.level-dept {
    background: rgba(34, 197, 94, 0.03);
    border-color: rgba(34, 197, 94, 0.15);
    padding: 8px 12px;
}
.org-node.level-dept .org-node-title { font-size: 9.5px; font-weight: 700; color: #4ade80; }
.org-node.level-dept .org-node-role { font-size: 8.5px; }

/* ─── Level-sbu: SBU — Amber left border ─── */
.org-node.level-sbu {
    border-left: 3px solid #f59e0b;
    background: rgba(245, 158, 11, 0.03);
    padding: 8px 12px;
}
.org-node.level-sbu .org-node-title { font-size: 9px; font-weight: 700; text-transform: uppercase; color: #fbbf24; }
.org-node.level-sbu .org-node-role { font-size: 8.5px; }

/* ═══ Layout Containers ═══ */

/* Centered row (for TGĐ, Trợ lý) */
.oc-row { display: flex; justify-content: center; }

/* Vertical connector line */
.oc-vline {
    display: block;
    width: 3px;
    height: 30px;
    background: rgba(148, 190, 230, 0.7);
    margin: 0 auto;
    border-radius: 2px;
    flex-shrink: 0;
    align-self: center;
}
.oc-vline-short { height: 18px; }
.oc-vline-tiny  { height: 12px; }
.oc-vline-tall  { height: 50px; }

/* Horizontal spread line (connects VPs from TGĐ) */
.oc-hline {
    width: 85%;
    max-width: 900px;
    height: 3px;
    background: rgba(148, 190, 230, 0.7);
    margin: 0 auto;
    border-radius: 2px;
    flex-shrink: 0;
}

/* VP columns container: horizontal row of vertical columns */
.oc-columns {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 10px;
    padding: 0 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
}

/* Each VP column: VP node at top, departments stacked vertically */
.oc-vp-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    min-width: 155px;
    max-width: 210px;
    flex: 1 1 0;
    padding-top: 4px;
}

/* Tree-view children: vertical line on left + horizontal branches */
.oc-vp-children {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 0;
    padding-top: 10px;
    padding-left: 18px;
    border-left: 3px solid rgba(148, 190, 230, 0.6);
    margin-left: 10px;
    align-self: stretch;
}

/* Specific styling for SBU column under TGĐ to mask center line */
.oc-tgd-column .oc-vp-children {
    background: var(--bg-primary);
    position: relative;
    z-index: 2;
}

/* Horizontal branch from vertical line to each child node */
.oc-vp-children > .org-node {
    position: relative;
    max-width: none;
    width: auto;
}

.oc-vp-children > .org-node::before {
    content: '';
    position: absolute;
    left: -18px;
    top: 50%;
    width: 15px;
    height: 3px;
    background: rgba(148, 190, 230, 0.6);
    transform: translateY(-50%);
}

/* Last child: shorten the vertical line to stop at this node */
.oc-vp-children > .org-node:last-child {
    position: relative;
}
.oc-vp-children > .org-node:last-child::after {
    content: '';
    position: absolute;
    left: -21px;
    top: 50%;
    width: 6px;
    height: calc(50% + 6px);
    background: var(--bg-primary, #0f172a);
    z-index: 1;
}

/* Section label for bottom SBU area */
.oc-section-label {
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    padding: 8px 16px;
    margin: 0 auto 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.oc-section-label i { font-size: 12px; color: #f59e0b; }

/* SBU nodes rendered directly in container — center them */
#orgChart > .org-node.level-sbu {
    max-width: 240px;
    min-width: 200px;
}

/* TGĐ SBU column — same as VP column but wider */
.oc-tgd-column {
    max-width: 280px;
    min-width: 200px;
    margin-top: 20px;
}

/* ─── Staggered entrance ─── */
.org-node {
    opacity: 0;
    animation: orgNodeIn 0.5s ease-out forwards;
}

@keyframes orgNodeIn {
    from { opacity: 0; transform: translateY(16px) scale(0.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Role Panel */
.role-panel {
    position: fixed;
    top: 0;
    right: -420px;
    width: 400px;
    height: 100vh;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    border-left: var(--glass-border);
    z-index: 1001;
    transition: right var(--transition-normal);
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.3);
}

.role-panel.open {
    right: 0;
}

.role-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: var(--glass-border);
}

.role-panel-header h3 {
    font-size: 16px;
    font-weight: 600;
}

.role-panel-close {
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(148, 163, 184, 0.1);
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.role-panel-close:hover {
    background: rgba(239, 68, 68, 0.2);
    color: var(--danger);
}

.role-panel-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

.role-detail-section {
    margin-bottom: 20px;
}

.role-detail-section h4 {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.role-detail-section p {
    font-size: 14px;
    color: var(--text-primary);
    line-height: 1.6;
}

.role-detail-section ul {
    list-style: none;
    padding: 0;
}

.role-detail-section ul li {
    padding: 6px 0;
    font-size: 13px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.role-detail-section ul li i {
    color: var(--accent-cyan);
    font-size: 10px;
}

/* ═══════════════════════════════════════════════════════════════
   SBU DETAIL PAGE
   ═══════════════════════════════════════════════════════════════ */

.page-header {
    margin-bottom: 24px;
}

.page-header h2 {
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 4px;
}

.page-header h2 i {
    color: var(--accent-cyan);
}

.page-desc {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 300;
}

/* SBU Info Card */
.sbu-info-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 24px;
}

.sbu-info-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.sbu-avatar {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg);
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
    flex-shrink: 0;
}

.sbu-info-text h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.sbu-info-text p {
    font-size: 12px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
}

.sbu-info-text p i {
    color: var(--accent-cyan);
    font-size: 11px;
}

.sbu-info-kpis {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.sbu-mini-kpi {
    text-align: center;
}

.sbu-mini-kpi .mini-label {
    display: block;
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.sbu-mini-kpi .mini-value {
    font-family: var(--font-mono);
    font-size: 16px;
    font-weight: 600;
}

.sbu-mini-kpi .mini-value.positive { color: var(--success); }
.sbu-mini-kpi .mini-value.negative { color: var(--danger); }

/* SBU Tabs */
.sbu-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 24px;
    background: rgba(148, 163, 184, 0.05);
    padding: 4px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(148, 163, 184, 0.08);
}

.sbu-tab {
    flex: 1;
    padding: 10px 16px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.sbu-tab:hover {
    color: var(--text-primary);
    background: rgba(148, 163, 184, 0.08);
}

.sbu-tab.active {
    background: var(--accent-gradient);
    color: white;
    font-weight: 600;
}

.sbu-tab-content {
    display: none;
    animation: pageIn 0.3s ease-out;
}

.sbu-tab-content.active {
    display: block;
}

.sbu-charts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.sbu-general-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.sbu-general-item {
    padding: 16px;
    border-radius: var(--radius-md);
    background: rgba(148, 163, 184, 0.04);
    border: 1px solid rgba(148, 163, 184, 0.06);
}

.sbu-general-item .gen-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    display: block;
}

.sbu-general-item .gen-value {
    font-family: var(--font-mono);
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

/* ═══════════════════════════════════════════════════════════════
   DEPARTMENT DETAIL
   ═══════════════════════════════════════════════════════════════ */

.dept-info-card {
    margin-bottom: 24px;
}

.dept-header-row {
    display: flex;
    align-items: center;
    gap: 20px;
}

.dept-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg);
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: white;
    flex-shrink: 0;
}

.dept-header-row h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.dept-header-row p {
    font-size: 12px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.dept-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.dept-functions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dept-function-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    background: rgba(148, 163, 184, 0.04);
}

.dept-function-item i {
    color: var(--accent-cyan);
    font-size: 12px;
    margin-top: 3px;
    flex-shrink: 0;
}

.dept-function-item span {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.dept-folders {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.dept-folder-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 18px 12px;
    border-radius: var(--radius-md);
    background: rgba(148, 163, 184, 0.04);
    border: 1px solid rgba(148, 163, 184, 0.06);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.dept-folder-item:hover {
    background: rgba(6, 182, 212, 0.06);
    border-color: rgba(6, 182, 212, 0.15);
}

.dept-folder-item i {
    font-size: 28px;
    color: var(--warning);
}

.dept-folder-item span {
    font-size: 12px;
    color: var(--text-secondary);
    text-align: center;
}

.dept-folder-item small {
    font-size: 10px;
    color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════════════
   STRATEGY PAGE
   ═══════════════════════════════════════════════════════════════ */

.strategy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.strategy-vision {
    grid-column: 1 / -1;
}

.vision-quote {
    font-size: 16px;
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.8;
    padding: 20px 24px;
    border-left: 3px solid var(--accent-cyan);
    background: rgba(6, 182, 212, 0.04);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.mission-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mission-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.mission-list li i {
    color: var(--success);
    font-size: 14px;
    flex-shrink: 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.value-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 12px;
    border-radius: var(--radius-md);
    background: rgba(148, 163, 184, 0.04);
    transition: all var(--transition-fast);
}

.value-item:hover {
    background: rgba(6, 182, 212, 0.08);
    transform: translateY(-2px);
}

.value-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: white;
}

.value-item span {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-primary);
}

/* Goals */
.goals-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.goal-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px;
    border-radius: var(--radius-md);
    background: rgba(148, 163, 184, 0.04);
}

.goal-progress {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: conic-gradient(var(--accent-cyan) var(--progress), rgba(148, 163, 184, 0.1) var(--progress));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}

.goal-progress::before {
    content: '';
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--bg-secondary);
    position: absolute;
}

.goal-pct {
    position: relative;
    z-index: 1;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    color: var(--accent-cyan);
}

.goal-text strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.goal-text span {
    font-size: 12px;
    color: var(--text-secondary);
}

/* ═══════════════════════════════════════════════════════════════
   TIMELINE (Restructure)
   ═══════════════════════════════════════════════════════════════ */

.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(148, 163, 184, 0.1);
}

.timeline-item {
    position: relative;
    margin-bottom: 32px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -32px;
    top: 4px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(148, 163, 184, 0.1);
    border: 2px solid rgba(148, 163, 184, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: var(--text-muted);
}

.timeline-item.completed .timeline-dot {
    background: rgba(34, 197, 94, 0.15);
    border-color: var(--success);
    color: var(--success);
}

.timeline-item.active .timeline-dot {
    background: rgba(6, 182, 212, 0.15);
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    box-shadow: 0 0 12px rgba(6, 182, 212, 0.3);
}

.timeline-content h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.timeline-content p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 6px;
}

.timeline-date {
    font-size: 11px;
    font-family: var(--font-mono);
    color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════════════
   BOARD MEMBERS
   ═══════════════════════════════════════════════════════════════ */

.board-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.board-member-card {
    text-align: center;
    padding: 32px 24px;
}

.board-member-card.featured {
    border-color: rgba(6, 182, 212, 0.3);
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.08), rgba(139, 92, 246, 0.08));
}

.member-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: white;
    margin: 0 auto 16px;
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.2);
}

.board-member-card h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.member-title {
    display: block;
    font-size: 12px;
    color: var(--accent-cyan);
    font-weight: 500;
    margin-bottom: 12px;
}

.member-desc {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════
   RACI TABLE
   ═══════════════════════════════════════════════════════════════ */

.raci-badge {
    display: inline-flex;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 700;
}

.raci-r { background: rgba(59, 130, 246, 0.15); color: var(--accent-blue); }
.raci-a { background: rgba(239, 68, 68, 0.15); color: var(--danger); }
.raci-c { background: rgba(245, 158, 11, 0.15); color: var(--warning); }
.raci-i { background: rgba(148, 163, 184, 0.1); color: var(--text-muted); }

.raci-legend {
    display: flex;
    gap: 24px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.raci-legend span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-secondary);
}

/* ═══════════════════════════════════════════════════════════════
   FOLDER GRID (PDCA Pages)
   ═══════════════════════════════════════════════════════════════ */

.folder-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

.folder-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 24px 16px;
    border-radius: var(--radius-md);
    background: rgba(148, 163, 184, 0.04);
    border: 1px solid rgba(148, 163, 184, 0.06);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.folder-item:hover {
    background: rgba(6, 182, 212, 0.06);
    border-color: rgba(6, 182, 212, 0.15);
    transform: translateY(-2px);
}

.folder-icon {
    font-size: 36px;
    color: var(--warning);
}

.folder-item span {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    text-align: center;
}

.folder-item small {
    font-size: 11px;
    color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════════════
   PLAN PLACEHOLDER
   ═══════════════════════════════════════════════════════════════ */

.plan-placeholder {
    text-align: center;
    padding: 48px 24px;
    color: var(--text-muted);
}

.plan-placeholder i {
    font-size: 48px;
    margin-bottom: 16px;
    color: rgba(148, 163, 184, 0.3);
}

.plan-placeholder h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.plan-placeholder p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    line-height: 1.6;
}

.plan-placeholder span {
    font-size: 12px;
    color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE OVERLAY
   ═══════════════════════════════════════════════════════════════ */

.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 1200px) {
    .dashboard-mid-grid,
    .dashboard-bottom-grid,
    .sbu-charts-grid,
    .dept-content-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        width: var(--sidebar-width);
    }

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

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

    .main-content {
        margin-left: 0 !important;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .top-bar-search {
        display: none;
    }

    .kpi-grid {
        grid-template-columns: 1fr 1fr;
    }

    .strategy-grid {
        grid-template-columns: 1fr;
    }

    .quicklinks-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sbu-info-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .sbu-tabs {
        flex-direction: column;
    }

    .page-container {
        padding: 16px;
    }

    .dashboard-hero {
        padding: 24px 20px;
    }

    .hero-title {
        font-size: 20px;
    }

    .orgchart-wrapper {
        padding: 10px 0;
    }
}

@media (max-width: 480px) {
    .kpi-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .folder-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ═══════════════════════════════════════════════════════════════
   UTILITY / COUNT-UP ANIMATION
   ═══════════════════════════════════════════════════════════════ */

.count-up {
    transition: all 0.3s;
}

/* ApexCharts dark theme overrides */
.apexcharts-tooltip {
    background: var(--bg-secondary) !important;
    border-color: var(--border-subtle) !important;
    color: var(--text-primary) !important;
}

.apexcharts-tooltip-title {
    background: rgba(148, 163, 184, 0.05) !important;
    border-color: var(--border-subtle) !important;
}

.apexcharts-xaxistooltip,
.apexcharts-yaxistooltip {
    background: var(--bg-secondary) !important;
    border-color: var(--border-subtle) !important;
    color: var(--text-primary) !important;
}

.apexcharts-gridline {
    stroke: rgba(148, 163, 184, 0.06);
}

.apexcharts-legend-text {
    color: var(--text-secondary) !important;
}

/* ==================== ACTION TRACKER MODALS & FORM CSS ==================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(5, 7, 12, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-container {
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 650px;
    max-width: 90%;
    border-radius: 16px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 242, 254, 0.08);
    overflow: hidden;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    max-height: 85vh;
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}

.modal-header {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-size: 16px;
    font-weight: 700;
    color: #f1f5f9;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-close-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 22px;
    cursor: pointer;
    transition: all 0.2s;
}

.modal-close-btn:hover {
    color: #f1f5f9;
}

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

.modal-footer {
    padding: 12px 20px;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    background: rgba(15, 23, 42, 0.6);
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
    text-align: left;
}

.form-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #94a3b8;
}

.form-input, .form-select, .form-textarea {
    background: rgba(9, 13, 22, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.15);
    color: white;
    padding: 10px 14px;
    border-radius: 6px;
    font-family: var(--font-primary);
    font-size: 13px;
    outline: none;
    transition: all 0.2s;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: #06b6d4;
    box-shadow: 0 0 0 1px rgba(6, 182, 212, 0.2);
}

.form-textarea {
    resize: vertical;
    min-height: 80px;
}

/* Kanban Cards interactive hover */
.kanban-card {
    transition: all 0.3s ease;
}
.kanban-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 0 8px rgba(6, 182, 212, 0.15);
    border-color: rgba(6, 182, 212, 0.3) !important;
}

/* Detailed Task Modal Layout */
.task-detail-grid {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 20px;
}

.task-detail-main {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.task-detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.detail-meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detail-meta-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    color: #94a3b8;
    letter-spacing: 0.5px;
    text-align: left;
}

/* History logs */
.history-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 150px;
    overflow-y: auto;
    font-size: 11px;
    color: #94a3b8;
}

.history-item {
    display: flex;
    gap: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.06);
}

.history-time {
    white-space: nowrap;
    font-weight: 600;
    color: #64748b;
}

/* Comments list */
.comment-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 150px;
    overflow-y: auto;
    padding-right: 5px;
}

.comment-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(148, 163, 184, 0.08);
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 12px;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
    font-size: 10.5px;
    color: #64748b;
}

.comment-author {
    font-weight: 700;
    color: #e2e8f0;
}

.btn-secondary-custom {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: white;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.btn-secondary-custom:hover {
    background: rgba(255, 255, 255, 0.08);
}

.btn-primary-custom {
    background: var(--accent-gradient);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.btn-primary-custom:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.2);
}

.select-custom {
    outline: none;
}

/* Pre-meeting Report Styles */
.meeting-decision-box {
    background: rgba(6, 182, 212, 0.03);
    border: 1px dashed rgba(6, 182, 212, 0.15);
    border-radius: var(--radius-md);
    padding: 16px;
    text-align: left;
}

.meeting-decision-title {
    font-size: 12.5px;
    font-weight: 700;
    color: #06b6d4;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.5px;
}

/* ═══════════════════════════════════════════════════════════════
   PREMIUM LIGHT THEME — HIGH CONTRAST & READABILITY OVERRIDES
   ═══════════════════════════════════════════════════════════════ */
body.light-theme {
    --bg-primary: #f1f5f9; /* Soft Slate 100 for high-contrast container backing */
    --bg-secondary: #ffffff; /* Clean pure white for primary elements */
    --bg-card: rgba(255, 255, 255, 0.9);
    --bg-card-solid: #ffffff;
    --bg-hover: #f8fafc;
    
    --accent-gradient: linear-gradient(135deg, #0284c7, #6d28d9); /* Vivid Indigo-Blue for readability */
    --accent-gradient-reverse: linear-gradient(135deg, #6d28d9, #0284c7);
    --accent-cyan: #0284c7;
    --accent-purple: #6d28d9;
    --accent-blue: #1d4ed8;
    
    --text-primary: #0f172a; /* Slate 900 - Dark charcoal for maximum contrast */
    --text-secondary: #334155; /* Slate 700 - Highly readable body copy */
    --text-muted: #475569; /* Slate 600 - High-contrast secondary text */
    
    --success: #15803d; /* High-contrast Forest Green */
    --warning: #b45309; /* High-contrast Ochre */
    --danger: #b91c1c; /* High-contrast Crimson */
    --info: #0369a1;
    
    --border-subtle: rgba(15, 23, 42, 0.15); /* More visible borders in light mode */
    --border-hover: rgba(15, 23, 42, 0.25);
    
    --glass-bg: rgba(255, 255, 255, 0.88);
    --glass-blur: blur(16px);
    --glass-border: 1px solid rgba(15, 23, 42, 0.12);
    
    --shadow-sm: 0 2px 10px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 6px 20px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.12);
    --shadow-glow: 0 0 20px rgba(2, 132, 199, 0.1);
}

/* Light Theme Component Specific Overrides */
body.light-theme .sidebar {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
    border-right: 1px solid rgba(15, 23, 42, 0.08) !important;
}

body.light-theme .sidebar-header {
    border-bottom: 1px solid rgba(15, 23, 42, 0.06) !important;
}

body.light-theme .top-bar {
    background: rgba(255, 255, 255, 0.8) !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
}

body.light-theme .logo-title {
    color: #0f172a !important;
}

body.light-theme .nav-section-title {
    color: #475569 !important;
    font-weight: 700 !important;
}

body.light-theme .nav-item {
    color: #334155 !important;
}

body.light-theme .nav-item:hover, 
body.light-theme .nav-item.active {
    background: rgba(2, 132, 199, 0.08) !important;
    color: #0284c7 !important;
}

body.light-theme .nav-item.active i {
    color: #0284c7 !important;
}

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

body.light-theme .user-role {
    color: #475569 !important;
}

body.light-theme .modal-container {
    background: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, 0.15) !important;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.15) !important;
}

body.light-theme .modal-header {
    border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
}

body.light-theme .modal-footer {
    background: #f8fafc !important;
    border-top: 1px solid rgba(15, 23, 42, 0.08) !important;
}

body.light-theme .form-input,
body.light-theme .form-select,
body.light-theme .comment-box-input input {
    background: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, 0.2) !important;
    color: #0f172a !important;
}

body.light-theme .form-input:focus,
body.light-theme .form-select:focus,
body.light-theme .comment-box-input input:focus {
    border-color: #0284c7 !important;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15) !important;
}

/* ApexCharts Contrast Adjustments for Light Theme */
body.light-theme .apexcharts-canvas text {
    fill: #0f172a !important;
}

body.light-theme .apexcharts-tooltip {
    background: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, 0.12) !important;
    color: #0f172a !important;
    box-shadow: var(--shadow-md) !important;
}

body.light-theme .apexcharts-tooltip-title {
    background: #f1f5f9 !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.12) !important;
    color: #0f172a !important;
}

body.light-theme .apexcharts-legend-text {
    color: #334155 !important;
}

body.light-theme .apexcharts-gridline,
body.light-theme .apexcharts-xaxis-tick {
    stroke: rgba(15, 23, 42, 0.08) !important;
}

/* Gantt/Timeline Grid & RACI Matrix Contrast for Light Theme */
body.light-theme .raci-header-cell {
    background: #f1f5f9 !important;
    color: #0f172a !important;
    border: 1px solid rgba(15, 23, 42, 0.15) !important;
}

body.light-theme .raci-cell {
    background: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, 0.1) !important;
}

body.light-theme .raci-cell:hover {
    background: #f8fafc !important;
}

body.light-theme .raci-badge {
    box-shadow: var(--shadow-sm) !important;
}

body.light-theme .task-detail-sidebar {
    background: #f8fafc !important;
    border: 1px solid rgba(15, 23, 42, 0.1) !important;
}

/* Glass card styling overrides */
body.light-theme .glass-card {
    background: rgba(255, 255, 255, 0.85) !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    box-shadow: var(--shadow-sm) !important;
}

body.light-theme .glass-card:hover {
    border-color: rgba(15, 23, 42, 0.12) !important;
    box-shadow: var(--shadow-md) !important;
}

/* Scrollbars for Light theme */
body.light-theme ::-webkit-scrollbar-thumb {
    background: rgba(15, 23, 42, 0.15) !important;
}

body.light-theme ::-webkit-scrollbar-thumb:hover {
    background: rgba(15, 23, 42, 0.3) !important;
}

/* ─── NOTIFICATION DROPDOWN ─── */
.notification-dropdown-wrapper {
    position: relative;
    display: inline-block;
}

.notification-dropdown {
    position: absolute;
    top: 45px;
    right: 0;
    width: 380px;
    background: var(--bg-card-solid);
    border: var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    display: none;
    animation: dropdownFadeIn 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.notification-dropdown.show {
    display: block;
}

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

.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    border-bottom: var(--glass-border);
    background: rgba(148, 163, 184, 0.04);
}

.notification-header h4 {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.notification-mark-read {
    font-size: 11px;
    color: var(--accent-cyan);
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: color var(--transition-fast);
}

.notification-mark-read:hover {
    color: var(--accent-purple);
    text-decoration: underline;
}

.notification-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 360px;
    overflow-y: auto;
}

.notification-item {
    padding: 14px 18px;
    border-bottom: var(--glass-border);
    cursor: pointer;
    transition: background var(--transition-fast);
    display: flex;
    gap: 12px;
    text-align: left;
}

.notification-item:hover {
    background: var(--bg-hover);
}

.notification-item.read {
    opacity: 0.65;
}

.notification-icon-wrap {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 13px;
}

.notification-item.danger .notification-icon-wrap {
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger);
}

.notification-item.warning .notification-icon-wrap {
    background: rgba(245, 158, 11, 0.15);
    color: var(--warning);
}

.notification-item.success .notification-icon-wrap {
    background: rgba(34, 197, 94, 0.15);
    color: var(--success);
}

.notification-info {
    flex: 1;
}

.notification-title {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 3px;
}

.notification-desc {
    font-size: 11.5px;
    color: var(--text-secondary);
    line-height: 1.4;
    margin-bottom: 4px;
}

.notification-time {
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 500;
}

.notification-footer {
    padding: 12px;
    text-align: center;
    border-top: var(--glass-border);
    background: rgba(148, 163, 184, 0.02);
}

.notification-view-all {
    font-size: 11.5px;
    color: var(--text-secondary);
    font-weight: 600;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.notification-view-all:hover {
    color: var(--accent-cyan);
}

/* ─── DUPONT DETAILED BREAKDOWN STYLES ─── */
.dupont-sub-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: rgba(148, 163, 184, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast) ease;
}

.dupont-sub-item:hover {
    background: var(--bg-hover);
    border-color: rgba(6, 182, 212, 0.3);
}

.dupont-sub-item.mini {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    padding: 6px 10px;
}

.dupont-sub-item .sub-label {
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 500;
}

.dupont-sub-item .sub-value {
    font-size: 11px;
    color: var(--text-primary);
    font-weight: 600;
}

.dupont-sub-item.mini .sub-label {
    font-size: 9.5px;
    color: var(--text-muted);
}

.dupont-sub-item.mini .sub-value {
    font-size: 10px;
    color: var(--text-primary);
    font-weight: 600;
}
