/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');

:root {
    --sidebar-bg: #0f172a; 
    --sidebar-hover: #1e293b;
    --active-blue: #0ea5e9;
    --text-gray: #94a3b8;
    --text-white: #f8fafc;
    --logout-red: #ef4444;
}

body { 
    margin: 0; 
    display: flex; 
    font-family: 'Inter', sans-serif; 
    background: #f1f5f9; 
}

/* Sidebar Styling */
.sidebar {
    width: 260px;
    background-color: var(--sidebar-bg);
    height: 100vh;
    color: var(--text-white);
    display: flex;
    flex-direction: column;
    position: fixed; /* Isse sidebar left mein chipka rahega */
    left: 0;
    top: 0;
}

.logo-section {
    padding: 30px 20px;
    text-align: center;
    border-bottom: 1px solid #1e293b;
}

.logo-section h2 {
    font-size: 16px;
    margin-top: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-white);
}

.menu-list { 
    list-style: none; 
    padding: 0; 
    margin: 20px 0; 
}

.menu-item {
    width: 100%;
}

.menu-item a {
    display: flex;
    align-items: center;
    padding: 15px 25px;
    color: var(--text-gray);
    text-decoration: none;
    transition: 0.3s;
}

.menu-item a:hover {
    background: var(--sidebar-hover);
    color: var(--text-white);
}

.menu-item.active {
    background: var(--sidebar-hover);
    border-left: 4px solid var(--active-blue);
}

.menu-item.active a {
    color: var(--active-blue);
}

.menu-item i {
    margin-right: 15px;
    font-size: 18px;
}

/* Content Area Fix */
.main-content {
    margin-left: 260px; /* Sidebar ki jagah chhodna */
    width: calc(100% - 260px);
    padding: 40px;
    min-height: 100vh;
}

/* Dashboard Cards */
.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}

.card h3 { margin: 0; font-size: 14px; color: #64748b; text-transform: uppercase; }
.card p { margin: 10px 0 0; font-size: 28px; font-weight: bold; color: #1e293b; }