:root {
    --brand: #0f62fe;
    --ink: #1f2937;
    --muted: #64748b;
    --page: #f5f7fb;
    --panel: #ffffff;
    --line: #e5e7eb;
}

body {
    background: var(--page);
    color: var(--ink);
}

.bg-primary,
.btn-primary {
    background-color: var(--brand) !important;
    border-color: var(--brand) !important;
}

.login-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #eef4ff, #ffffff);
}

.login-panel {
    width: min(100%, 430px);
    padding: 2rem;
    border-radius: 8px;
    background: var(--panel);
}

.panel,
.metric-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 1.25rem;
}

.panel-header {
    font-weight: 700;
    margin-bottom: 1rem;
}

.metric-card {
    min-height: 112px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.metric-card span {
    color: var(--muted);
    font-size: .92rem;
}

.metric-card strong {
    font-size: 2rem;
    line-height: 1.1;
}

.table thead th {
    color: var(--muted);
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .03em;
    border-bottom: 1px solid var(--line);
}

.status-badge {
    background: #e8f1ff;
    color: #084298;
    border: 1px solid #cfe2ff;
}

.pre-line {
    white-space: pre-line;
}

.detail-list dt,
.detail-list dd {
    padding-top: .45rem;
    padding-bottom: .45rem;
    border-bottom: 1px solid var(--line);
}

@media (max-width: 768px) {
    .container-fluid.py-4 {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .panel,
    .metric-card {
        padding: 1rem;
    }
}
