:root {
    /* Corporate Light Theme (Default) */
    --bg-primary: #f4f6f9;
    --bg-secondary: #ffffff;
    --bg-card: #ffffff;
    --bg-sidebar: #ffffff;
    --bg-app-header: linear-gradient(135deg, #0d6efd 0%, #6f42c1 100%); /* Primary blue to purple */
    
    --neon-cyan: #0d6efd; /* Primary blue */
    --neon-purple: #6f42c1; /* Purple */
    --neon-pink: #d63384;
    --neon-green: #198754;
    --neon-orange: #fd7e14;
    --neon-red: #dc3545;
    
    --gradient-primary: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    --gradient-success: linear-gradient(135deg, #198754 0%, #146c43 100%);
    --gradient-warning: linear-gradient(135deg, #fd7e14 0%, #e37112 100%);
    
    --text-primary: #212529;
    --text-secondary: #6c757d;
    --text-muted: #adb5bd;
    
    --border-color: rgba(0,0,0,0.06);
    --border-glow: rgba(13, 110, 253, 0.15);
    
    --shadow-neon: 0 4px 15px rgba(13, 110, 253, 0.1);
    --shadow-card: 0 2px 10px rgba(0, 0, 0, 0.03);
    
    /* Sidebar */
    --sidebar-width: 260px;
    --sidebar-collapsed: 70px;
}

html[data-theme="dark"] {
    /* Dark Neon Theme */
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: rgba(20, 20, 35, 0.8);
    --bg-sidebar: #0d0d15;
    --bg-app-header: linear-gradient(135deg, #0d0d15 0%, #1a1a2e 100%);
    
    --neon-cyan: #00f5ff;
    --neon-purple: #bf00ff;
    --neon-pink: #ff00aa;
    --neon-green: #00ff88;
    --neon-orange: #ff6b35;
    --neon-red: #ff4757;
    
    --gradient-primary: linear-gradient(135deg, #00f5ff 0%, #bf00ff 100%);
    --gradient-success: linear-gradient(135deg, #00ff88 0%, #00d4aa 100%);
    --gradient-warning: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.6);
    --text-muted: rgba(255, 255, 255, 0.4);
    
    --border-color: rgba(255, 255, 255, 0.06);
    --border-glow: rgba(0, 245, 255, 0.2);
    
    --shadow-neon: 0 0 15px rgba(0, 245, 255, 0.2);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.4);
}

body {
    background: var(--bg-primary);
    color: var(--text-primary);
}

/* Sidebar transition classes */
.sidebar {
    transition: transform 0.3s ease;
}

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

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

/* Base custom classes that work alongside tailwind */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-blur {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Responsive Data Table Overrides */
@media (max-width: 768px) {
    .data-table-responsive {
        display: block;
        overflow-x: auto;
    }
    .data-table-responsive thead {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    .data-table-responsive tbody {
        display: block;
    }
    .data-table-responsive tr {
        display: block;
        border: 1px solid var(--border-color);
        margin-bottom: 1rem;
        border-radius: 0.5rem;
        padding: 0.5rem;
    }
    .data-table-responsive td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border: none;
        padding: 0.5rem;
        text-align: right;
    }
    .data-table-responsive td::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--text-secondary);
        text-align: left;
    }
}
