:root {
    --bg: #1C1C1C;
    --card-bg: #1C1C1C;
    --sidebar-bg: #1C1C1C;
    --border: rgba(245, 232, 216, 0.15);
    --text: #F5E8D8;
    --text-muted: rgba(245, 232, 216, 0.6);
    --primary: #FF6F61;
    --primary-hover: #FF4500;
    --success: #DAA520;
    --danger: #FF4500;
    --accent2: #DAA520;
}

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

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Outfit', sans-serif;
    min-height: 100vh;
    display: flex;
    padding-left: 280px;
}

.sidebar {
    width: 280px;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    background: var(--sidebar-bg);
    border-right: 1px solid var(--border);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    flex-shrink: 0;
    z-index: 100;
}

.logo-area { display: flex; flex-direction: column; gap: 4px; }
.logo-title {
    font-size: 22px; font-weight: 700;
    color: var(--primary);
}
.logo-subtitle { font-size: 12px; color: var(--text-muted); }

.nav-menu { display: flex; flex-direction: column; gap: 8px; }
.nav-btn {
    background: transparent; border: 1px solid transparent;
    color: var(--text); padding: 12px 16px;
    border-radius: 10px; text-align: left;
    font-size: 15px; font-weight: 500; cursor: pointer;
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    transition: all 0.2s ease; text-decoration: none;
}
.nav-btn:hover { background: var(--bg); color: var(--primary); text-decoration: none; }

.main-content {
    flex-grow: 1; padding: 32px; overflow-y: auto;
    max-width: 1200px; margin: 0 auto; width: 100%;
    display: flex; flex-direction: column; gap: 24px;
}

.card {
    background: var(--card-bg); 
    border: 2px solid var(--border); border-radius: 16px;
    padding: 24px; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease;
}

.card:hover {
    transform: translateY(-2px);
}

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }

.stat-card {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 8px; text-align: center;
}

.stat-title {
    font-size: 14px;
    color: var(--text-muted);
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
}

.chart-container {
    width: 100%;
    height: 400px;
    margin-top: 16px;
}

h2, h3 { font-weight: 600; margin-bottom: 16px; }

@media (max-width: 900px) {
    body { flex-direction: column; padding-left: 0; }
    .sidebar { width: 100%; height: auto; position: relative; border-right: 0; border-bottom: 1px solid var(--border); }
}
