:root {
    --primary-color: #007bff;
    --primary-dark: #0056b3;
    --bg-light: #f8f9fa;
    --sidebar-bg: #ffffff;
    --text-main: #333;
    --text-muted: #6c757d;
    --border-color: #e9ecef;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    overflow: hidden;
}

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

/* Sidebar */
.sidebar {
    width: 260px;
    background-color: var(--sidebar-bg);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    padding: 2rem 0;
    transition: all 0.3s;
}

.sidebar-logo {
    padding: 0 2rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.sidebar-logo span {
    color: var(--text-main);
}

.sidebar-nav ul {
    list-style: none;
}

.sidebar-nav li {
    padding: 0.5rem 1rem;
}

.sidebar-nav li a {
    display: flex;
    align-items: center;
    padding: 0.8rem 1rem;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    border-radius: 12px;
    transition: all 0.2s;
}

.sidebar-nav li a .icon {
    margin-right: 12px;
    font-size: 1.2rem;
}

.sidebar-nav li.active a,
.sidebar-nav li a:hover {
    background-color: rgba(0, 123, 255, 0.1);
    color: var(--primary-color);
}

.sidebar-footer {
    margin-top: auto;
    padding: 0 2rem;
}

.btn-logout {
    width: 100%;
    padding: 0.8rem;
    background-color: transparent;
    border: 1px solid #ff4d4d;
    color: #ff4d4d;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-logout:hover {
    background-color: #ff4d4d;
    color: white;
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.dashboard-header {
    height: 80px;
    background-color: white;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 3rem;
    position: sticky;
    top: 0;
    z-index: 10;
}

.header-search input {
    padding: 0.6rem 1.2rem;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    width: 300px;
    background-color: var(--bg-light);
    outline: none;
}

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

.user-info {
    text-align: right;
    margin-right: 1rem;
}

.user-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
}

.user-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.user-avatar img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
}

/* Content Area */
.content-area {
    padding: 3rem;
}

.welcome-banner {
    margin-bottom: 3rem;
}

.welcome-banner h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.welcome-banner p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

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

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

.stat-card h3 {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.stat-card .value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.empty-state {
    text-align: center;
    padding: 5rem 0;
    color: var(--text-muted);
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.empty-state h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}