* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f5f7fa;
    color: #172033;
}

.sidebar {
    position: fixed;
    width: 240px;
    height: 100vh;
    background: #111827;
    padding: 24px 18px;
    color: white;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
}

.logo-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #7c3aed;
    font-weight: bold;
    font-size: 20px;
}

.logo strong {
    display: block;
    font-size: 18px;
}

.logo span {
    display: block;
    color: #9ca3af;
    margin-top: 3px;
    font-size: 13px;
}

nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

nav a {
    color: #9ca3af;
    text-decoration: none;
    padding: 12px 14px;
    border-radius: 8px;
}

nav a:hover,
nav a.active {
    color: white;
    background: #1f2937;
}

.content {
    margin-left: 240px;
    padding: 32px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

header h1 {
    margin: 0;
    font-size: 30px;
}

header p {
    color: #6b7280;
    margin: 8px 0 0;
}

.status {
    background: white;
    padding: 10px 16px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    font-size: 14px;
}

.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    margin-right: 7px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 24px;
}

.card {
    background: white;
    border-radius: 12px;
    padding: 22px;
    border: 1px solid #e5e7eb;
}

.card span {
    display: block;
    color: #6b7280;
    font-size: 14px;
}

.card strong {
    display: block;
    font-size: 28px;
    margin: 14px 0 8px;
}

.card small {
    color: #9ca3af;
}

.panel {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}

.panel-header {
    padding: 22px 24px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.panel-header h2 {
    margin: 0;
}

.panel-header p {
    margin: 6px 0 0;
    color: #6b7280;
}

button {
    border: 0;
    background: #7c3aed;
    color: white;
    padding: 11px 18px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
}

button:hover {
    background: #6d28d9;
}

.empty-state {
    padding: 70px 20px;
    text-align: center;
}

.empty-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    border-radius: 14px;
    background: #f3e8ff;
    color: #7c3aed;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}

.empty-state h3 {
    margin-bottom: 10px;
}

.empty-state p {
    max-width: 500px;
    margin: 0 auto 22px;
    line-height: 1.6;
    color: #6b7280;
}

@media (max-width: 1000px) {
    .stats {
        grid-template-columns: repeat(2, 1fr);
    }
}
