:root {
    --primary: #4f46e5;
    --primary-light: #eef2ff;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --bg: #f8fafc;
    --card-bg: #ffffff;
    --text: #0f172a;
    --muted: #64748b;
    --border: #e2e8f0;
}

html {
    font-size: 14px;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: Inter, Segoe UI, sans-serif;
    margin: 0;
}

.card {
    border: none;
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(15,23,42,.06);
}

    .card:hover {
        transform: translateY(-2px);
        transition: .2s;
    }

.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
}

    .btn-primary:hover {
        background: #4338ca;
    }

.badge {
    padding: .55rem .75rem;
    border-radius: 999px;
}

.page-title {
    font-size: 2rem;
    font-weight: 700;
}

.page-subtitle {
    color: var(--muted);
}

.kpi-value {
    font-size: 2rem;
    font-weight: 700;
}

.kpi-label {
    color: var(--muted);
    font-size: .9rem;
}

.table {
    background: white;
    border-radius: 16px;
    overflow: hidden;
}

    .table thead {
        background: #f1f5f9;
    }

.coming-soon {
    background: #fff7ed;
    color: #c2410c;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
}
.app-layout {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 260px;
    background: #111827;
    color: white;
    padding: 24px;
    flex-shrink: 0;
}

.sidebar-brand {
    margin-bottom: 30px;
}

    .sidebar-brand h4 {
        margin: 0;
        color: white;
        font-weight: 700;
    }

    .sidebar-brand small {
        color: #9ca3af;
    }

.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .sidebar-menu a {
        text-decoration: none;
        color: #d1d5db;
        padding: 12px;
        border-radius: 10px;
    }

        .sidebar-menu a:hover {
            background: #1f2937;
            color: white;
        }

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.topbar {
    height: 70px;
    background: white;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 25px;
}

.content-area {
    padding: 25px;
}

@media(max-width:768px) {

    .app-layout {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
    }
}