:root {
    --primary-color: #4361ee;
    --secondary-color: #3f37c9;
    --accent-color: #4895ef;
    --bg-color: #f4f7fe;
    --card-bg: #ffffff;
    --text-main: #2b2d42;
    --text-muted: #6c757d;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --info: #06b6d4;
    --sidebar-width: 250px;
    --radius-lg: 16px;
    --radius-md: 12px;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    overflow-x: hidden;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Glassmorphism Card */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
}

.card {
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: 0 5px 20px rgba(0,0,0,0.02);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* Mobile Sidebar Overlay */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Sidebar Styling */
.sidebar {
    width: var(--sidebar-width);
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    background: #111827;
    color: #fff;
    padding: 20px 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}

.sidebar .nav-link {
    color: #9ca3af;
    padding: 10px 15px;
    border-radius: 10px;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    transition: all 0.2s;
    font-size: 0.85rem;
    font-weight: 500;
}

.sidebar .nav-link i {
    width: 20px;
    margin-right: 12px;
    font-size: 1rem;
    opacity: 0.8;
}

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

.sidebar .nav-link.active {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 15px rgba(67, 97, 238, 0.3);
}

/* Main Content area */
.main-content {
    margin-left: var(--sidebar-width);
    padding: 25px 35px;
    min-height: 100vh;
    transition: all 0.3s;
}

/* Buttons */
.fw-600 { font-weight: 600; }
.fw-500 { font-weight: 500; }

.btn {
    font-size: 0.85rem;
    padding: 8px 20px;
    border-radius: 10px;
    transition: all 0.3s;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(67, 97, 238, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(67, 97, 238, 0.3);
}

/* Tables */
.table {
    font-size: 0.85rem;
}

.table thead th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    border: none;
    padding: 15px;
}

.table tbody td {
    padding: 12px 15px;
    vertical-align: middle;
    border-top: 1px solid #f1f5f9;
}

/* Stats box */
.stat-box {
    padding: 20px;
    background: #fff;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid #f1f5f9;
}

.stat-icon {
    width: 42px;
    height: 42px;
    background: rgba(67, 97, 238, 0.1);
    color: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 1.1rem;
}

/* Modern Inputs */
.form-control, .form-select {
    border-radius: 10px;
    padding: 10px 15px;
    border: 1px solid #e5e7eb;
    font-size: 0.85rem;
    background-color: #fff;
}

.form-control:focus, .form-select:focus {
    box-shadow: 0 0 0 4px rgba(67, 97, 238, 0.1);
    border-color: var(--primary-color);
}

/* Status Badges */
.badge {
    padding: 6px 12px;
    font-weight: 600;
    font-size: 0.7rem;
    border-radius: 8px;
}

@media (max-width: 992px) {
    .sidebar {
        transform: translateX(-105%);
        left: 0;
    }
    .main-content {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .sidebar.active {
        transform: translateX(0);
    }
}

/* 3D Icons & Containers */
.icon-3d {
    width: 40px;
    height: 40px;
    background: #fff;
    box-shadow: 4px 4px 10px rgba(0,0,0,0.03), -4px -4px 10px rgba(255,255,255,0.7);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0,0,0,0.01);
}

/* Mobile styles handled by mobile-app.css */
