:root {
    --app-navy: #12263a;
    --app-blue: #1261a6;
    --app-border: #dce3ea;
    --app-bg: #f5f7fa;
}

.app-body {
    background: var(--app-bg);
    color: #1f2933;
}

.app-navbar {
    background: linear-gradient(90deg, #12263a 0%, #163b5c 100%);
    box-shadow: 0 6px 18px rgba(18, 38, 58, .18);
}

.app-shell {
    max-width: 1440px;
}

.auth-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
    background:
        linear-gradient(rgba(18, 38, 58, .84), rgba(18, 38, 58, .84)),
        url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1600&q=80') center/cover;
}

.auth-card {
    width: 100%;
    max-width: 440px;
    border: 0;
    border-radius: 10px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, .22);
}

.metric-card {
    border: 1px solid var(--app-border);
    border-radius: 10px;
    background: #fff;
    padding: 18px;
    height: 100%;
}

.metric-card span {
    color: #66788a;
    font-size: .9rem;
}

.metric-card strong {
    display: block;
    font-size: clamp(1.7rem, 4vw, 2.5rem);
    line-height: 1.1;
    margin-top: 8px;
}

.content-card {
    background: #fff;
    border: 1px solid var(--app-border);
    border-radius: 10px;
    box-shadow: 0 8px 22px rgba(18, 38, 58, .06);
}

.table-responsive {
    border-radius: 10px;
}

.table th {
    color: #52616f;
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .03em;
    white-space: nowrap;
}

.badge-status {
    border-radius: 999px;
    padding: .45rem .65rem;
    font-weight: 700;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 8px 14px;
}

.form-check-input {
    flex: 0 0 auto;
}

@media (max-width: 575.98px) {
    .app-shell {
        padding-top: 18px !important;
    }

    .content-card {
        border-radius: 8px;
    }
}
