:root {
    --brand: #5b5fc7;
    --brand-dark: #4347a0;
    --bg-soft: #f5f6fb;
}

body {
    background: var(--bg-soft);
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

.sidebar {
    min-height: 100vh;
    background: linear-gradient(180deg, var(--brand-dark), var(--brand));
}

.sidebar .nav-link {
    color: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    margin-bottom: 4px;
    font-weight: 500;
}

.sidebar .nav-link.active,
.sidebar .nav-link:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.sidebar .brand {
    color: #fff;
    font-weight: 700;
    font-size: 1.3rem;
}

.card {
    border: none;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(20, 20, 50, 0.06);
}

.stat-card {
    border-radius: 14px;
    padding: 1.25rem;
    color: #fff;
}

.stat-card.c1 { background: linear-gradient(135deg, #5b5fc7, #7b7ff0); }
.stat-card.c2 { background: linear-gradient(135deg, #16a085, #27ae60); }
.stat-card.c3 { background: linear-gradient(135deg, #f39c12, #e67e22); }
.stat-card.c4 { background: linear-gradient(135deg, #e74c3c, #c0392b); }

.badge-soft-success { background: #e6f7ee; color: #1e8a5f; }
.badge-soft-danger { background: #fdecea; color: #c0392b; }
.badge-soft-warning { background: #fff6e5; color: #b9770e; }
.badge-soft-secondary { background: #eef0f6; color: #555; }

.btn-brand {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}
.btn-brand:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }

.action-step {
    border: 1px dashed #c9cbe8;
    border-radius: 10px;
    padding: 12px;
    background: #fafaff;
    margin-bottom: 10px;
}

.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--brand-dark), var(--brand));
}

.login-card {
    border-radius: 18px;
    overflow: hidden;
    max-width: 420px;
    width: 100%;
}
