:root {
    --app-surface: #f4f6f9;
}

html {
    min-height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--app-surface);
}

main {
    flex: 1;
    max-width: 1680px;
}

.navbar-brand {
    letter-spacing: -.02em;
}

.card {
    border: 0;
    box-shadow: 0 .125rem .5rem rgba(15, 23, 42, .08);
}

.metric-value {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1;
}

.status-dot {
    width: .65rem;
    height: .65rem;
    display: inline-block;
    border-radius: 50%;
    background: var(--bs-secondary);
}

.status-dot.ok {
    background: var(--bs-success);
}

.status-dot.error {
    background: var(--bs-danger);
}

.table > :not(caption) > * > * {
    padding-top: .75rem;
    padding-bottom: .75rem;
    vertical-align: middle;
}

.item-content {
    min-width: 14rem;
    max-width: 36rem;
    white-space: normal;
}

.page-heading {
    margin-bottom: 1.5rem;
}

.page-heading p {
    max-width: 52rem;
}

.empty-state {
    padding: 4rem 1.5rem;
    text-align: center;
    color: var(--bs-secondary-color);
}

.connection-detail {
    min-height: 4.5rem;
}

code.secret-state {
    color: inherit;
    background: var(--bs-tertiary-bg);
    padding: .15rem .35rem;
    border-radius: .25rem;
}

@media (max-width: 767.98px) {
    .table-responsive .btn-group {
        display: flex;
    }
}
