:root {
    --office-blue: #2563eb;
    --office-blue-dark: #1d4ed8;
    --office-ink: #111827;
    --office-muted: #6b7280;
    --office-line: #e5e7eb;
    --office-bg: #f8fafc;
}

body {
    background: var(--office-bg);
    color: var(--office-ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.btn-primary {
    --bs-btn-bg: var(--office-blue);
    --bs-btn-border-color: var(--office-blue);
    --bs-btn-hover-bg: var(--office-blue-dark);
    --bs-btn-hover-border-color: var(--office-blue-dark);
}

.auth-body {
    background: linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
}

.auth-shell {
    align-items: center;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    padding: 24px;
}

.auth-card {
    background: #ffffff;
    border: 1px solid var(--office-line);
    border-radius: 8px;
    box-shadow: 0 20px 50px rgb(15 23 42 / 8%);
    max-width: 430px;
    padding: 32px;
    width: 100%;
}

.brand-mark {
    align-items: center;
    background: var(--office-blue);
    border-radius: 8px;
    color: #ffffff;
    display: inline-flex;
    font-weight: 800;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.app-shell {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    background: #ffffff;
    border-right: 1px solid var(--office-line);
    flex: 0 0 270px;
    padding: 24px 18px;
}

.sidebar-brand {
    align-items: center;
    color: var(--office-ink);
    display: flex;
    font-weight: 800;
    gap: 12px;
    margin-bottom: 28px;
    text-decoration: none;
}

.sidebar-nav {
    display: grid;
    gap: 6px;
}

.sidebar-nav a {
    align-items: center;
    border-radius: 8px;
    color: #334155;
    display: flex;
    font-weight: 600;
    gap: 10px;
    padding: 11px 12px;
    text-decoration: none;
}

.sidebar-nav a.active,
.sidebar-nav a:hover {
    background: #eff6ff;
    color: var(--office-blue);
}

.main-panel {
    flex: 1;
    min-width: 0;
}

.topbar {
    align-items: center;
    background: #ffffff;
    border-bottom: 1px solid var(--office-line);
    display: flex;
    justify-content: space-between;
    padding: 22px 30px;
}

.content {
    padding: 30px;
}

.eyebrow {
    color: var(--office-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.dashboard-card,
.metric-card {
    background: #ffffff;
    border: 1px solid var(--office-line);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgb(15 23 42 / 4%);
}

.metric-card {
    padding: 22px;
}

.metric-card p {
    color: var(--office-muted);
    font-weight: 700;
    margin: 16px 0 6px;
}

.metric-card strong {
    display: block;
    font-size: 26px;
}

.metric-icon {
    align-items: center;
    background: #eff6ff;
    border-radius: 8px;
    color: var(--office-blue);
    display: inline-flex;
    font-size: 22px;
    height: 44px;
    justify-content: center;
    width: 44px;
}

@media (max-width: 992px) {
    .app-shell {
        display: block;
    }

    .sidebar {
        border-bottom: 1px solid var(--office-line);
        border-right: 0;
    }

    .sidebar-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .topbar {
        gap: 16px;
        padding: 18px;
    }

    .content {
        padding: 18px;
    }
}
