* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f6f9;
}

.sidebar {
    width: 250px;
    height: 100vh;
    background-color: #1e293b;
    position: fixed;
    top: 0;
    left: 0;
    overflow-y: auto;
}

.sidebar-logo {
    padding: 20px;
    text-align: center;
    background-color: #0f172a;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sidebar-logo h2 {
    color: #fff;
    font-size: 22px;
}

.sidebar-menu {
    list-style: none;
    padding: 20px 0;
}

.sidebar-menu li {
    margin: 4px 0;
}

.sidebar-menu li a {
    display: block;
    text-decoration: none;
    color: #fff;
    padding: 12px 20px;
    font-size: 16px;
    transition: 0.3s;
}

.sidebar-menu li a:hover,
.sidebar-menu li a.active {
    background-color: #334155;
    border-left: 4px solid #38bdf8;
}

.main-content {
    margin-left: 250px;
    padding: 20px;
}

.dashboard-header {
    margin-bottom: 25px;
}

.dashboard-header h1 {
    font-size: 32px;
    color: #1e293b;
    margin-bottom: 8px;
}

.dashboard-header p {
    color: #64748b;
    font-size: 16px;
}

.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.card {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.card h3 {
    font-size: 18px;
    color: #475569;
    margin-bottom: 10px;
}

.card p {
    font-size: 28px;
    font-weight: bold;
    color: #0f172a;
}

.dashboard-sections {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

.recent-activity,
.quick-actions {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.recent-activity h2,
.quick-actions h2 {
    margin-bottom: 20px;
    color: #1e293b;
    font-size: 22px;
}

.recent-activity table {
    width: 100%;
    border-collapse: collapse;
}

.recent-activity table th,
.recent-activity table td {
    padding: 12px;
    border-bottom: 1px solid #e2e8f0;
    text-align: left;
}

.recent-activity table th {
    background: #f8fafc;
    color: #334155;
}

.action-btn {
    display: block;
    text-decoration: none;
    background: #1e293b;
    color: #fff;
    padding: 12px 15px;
    margin-bottom: 12px;
    border-radius: 8px;
    transition: 0.3s;
    text-align: center;
}

.action-btn:hover {
    background: #334155;
}

@media (max-width: 992px) {
    .dashboard-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .dashboard-sections {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .sidebar {
        width: 220px;
    }

    .main-content {
        margin-left: 220px;
    }

    .dashboard-cards {
        grid-template-columns: 1fr;
    }
}