/* Pichle design jaisa hi CSS hai, thoda sa color change kiya hai */
:root {
    --primary: #4f46e5;
    --sidebar-bg: #1e293b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: #f1f5f9;
}

.container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar Styling */
.sidebar {
    width: 260px;
    background: var(--sidebar-bg);
    color: white;
    padding: 20px;
    position: fixed;
    height: 100%;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
}

.nav-links a {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #94a3b8;
    text-decoration: none;
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 8px;
    transition: 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    background: var(--primary);
    color: white;
}

/* Main Content Area */
.main-content {
    margin-left: 260px; /* Sidebar jitni width ka margin */
    flex: 1;
    padding: 25px;
}

/* Top Header (Uperbar) Styling */
.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 15px 25px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}

.search-bar {
    background: #f1f5f9;
    padding: 8px 15px;
    border-radius: 20px;
    width: 300px;
}

.search-bar input {
    border: none;
    background: transparent;
    outline: none;
    margin-left: 10px;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-profile img {
    width: 35px;
    border-radius: 50%;
}

/* Content Styling (Cards for demo) */
.content {
    margin-top: 30px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.stat-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
