body {
    background: #f4f6f8;
}

.app-header {
    background: #2D98D2;
}

.header-logo {
    display: block;
    height: 28px;
    width: auto;
}

.app-header .btn-outline-secondary {
    border-color: rgb(255 255 255 / 65%);
    color: #fff;
}

.app-header .btn-outline-secondary:hover {
    background: #fff;
    color: #2D98D2;
}

.login-shell {
    align-items: center;
    display: flex;
    min-height: 100vh;
    justify-content: center;
    padding: 1rem;
}

.login-box,
.panel {
    background: #fff;
    border: 1px solid #dfe4ea;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgb(15 23 42 / 6%);
    padding: 1.25rem;
}

.login-box {
    max-width: 380px;
    width: 100%;
}

.cf-turnstile {
    min-height: 65px;
}

.server-card {
    border-color: #dfe4ea;
    border-radius: 8px;
}

.metric-grid {
    display: grid;
    gap: .6rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.metric-grid > div {
    background: #f8fafc;
    border: 1px solid #e9edf2;
    border-radius: 8px;
    padding: .6rem;
}

.metric-grid span {
    color: #64748b;
    display: block;
    font-size: .8rem;
}

.metric-grid strong {
    display: block;
    font-size: .98rem;
    overflow-wrap: anywhere;
}

.service-pill {
    border: 1px solid #dfe4ea;
    border-radius: 999px;
    display: inline-flex;
    gap: .4rem;
    margin: 0 .35rem .45rem 0;
    padding: .25rem .6rem;
}

.service-dot {
    border-radius: 999px;
    display: inline-block;
    height: .65rem;
    margin-top: .25rem;
    width: .65rem;
}

.service-dot.ok {
    background: #198754;
}

.service-dot.bad {
    background: #dc3545;
}

.service-dot.unknown {
    background: #94a3b8;
}

.table {
    font-size: .875rem;
}

.table-compact {
    font-size: .8rem;
}

.table-compact > :not(caption) > * > * {
    padding: .25rem .35rem;
}

@media (min-width: 992px) {
    .metric-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
