/* =========================
   DASHBOARD LAYOUT
========================= */

body {
    background-color: #f8fafc;
    color: #334155;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* Sidebar Styling */
.sidebar {
    background: #0f172a; /* Deep Slate/Black */
    color: #f8fafc;
    min-height: 100vh;
    position: fixed;
    width: 260px;
    z-index: 1000;
    transition: all 0.3s;
    border-right: 1px solid #1e293b;
}

.sidebar .logo h3 {
    font-weight: 800;
    letter-spacing: -1px;
    color: #ffffff;
}

.sidebar .nav-link {
    color: #94a3b8;
    font-weight: 500;
    border-radius: 10px;
    margin-bottom: 5px;
    transition: all 0.2s;
}

.sidebar .nav-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

.sidebar .nav-link.active {
    background: #1e293b;
    color: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.sidebar .nav-link i {
    width: 20px;
    font-size: 1.1rem;
}

/* Main Content Area */
.main-content {
    margin-left: 260px;
    padding: 40px;
    width: calc(100% - 260px);
}

/* =========================
   CARDS & COMPONENTS
========================= */

/* Stat Cards */
.stat-card {
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #ffffff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px -5px rgba(0, 0, 0, 0.05);
}

.stat-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
}

/* Custom icon colors (minimal version) */
.bg-primary { background-color: #3b82f6 !important; }
.bg-warning { background-color: #f59e0b !important; }
.bg-success { background-color: #10b981 !important; }

.stat-card h3 {
    font-weight: 700;
    color: #1e293b;
    font-size: 1.75rem;
}

/* Quick Action Buttons */
.btn-outline-primary, .btn-outline-success, .btn-outline-info, .btn-outline-warning {
    border: 1px solid #e2e8f0;
    color: #475569;
    background: #ffffff;
    font-weight: 600;
    border-radius: 12px;
}

.btn-outline-primary:hover { background: #eff6ff; border-color: #3b82f6; color: #3b82f6; }
.btn-outline-success:hover { background: #ecfdf5; border-color: #10b981; color: #10b981; }
.btn-outline-info:hover { background: #f0f9ff; border-color: #0ea5e9; color: #0ea5e9; }
.btn-outline-warning:hover { background: #fffbeb; border-color: #f59e0b; color: #f59e0b; }

/* Table styling for dashboard */
.table {
    border-color: #f1f5f9;
}

.table thead th {
    background-color: #f8fafc;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    color: #64748b;
    border-bottom: 1px solid #e2e8f0;
}

/* Responsive */
@media (max-width: 992px) {
    .sidebar {
        width: 100%;
        position: relative;
        min-height: auto;
        border-right: none;
        border-bottom: 1px solid #1e293b;
    }
    .main-content {
        margin-left: 0;
        width: 100%;
        padding: 20px;
    }
}