:root {
    --app-bg: #f5f7fb;
}

body {
    background: var(--app-bg);
    color: #1f2937;
    min-height: 100vh;
}

.navbar-brand {
    letter-spacing: .2px;
}

.card {
    border-radius: .85rem;
}

.card-header:first-child {
    border-radius: .85rem .85rem 0 0;
}

.stat-card {
    transition: transform .15s ease, box-shadow .15s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: 1.35rem;
    flex: 0 0 48px;
}

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

.limit-grid > div {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: .65rem;
    padding: .8rem;
}

.limit-grid strong,
.limit-grid span {
    display: block;
}

.limit-grid span {
    color: #6b7280;
    font-size: .78rem;
    margin-top: .15rem;
}

.table > :not(caption) > * > * {
    padding: .85rem .9rem;
}

.table thead th {
    color: #64748b;
    font-size: .78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .03em;
    white-space: nowrap;
    border-bottom-width: 1px;
}

.copyable {
    cursor: copy;
}

.copyable:hover {
    text-decoration: underline dotted;
}

.code-block {
    max-height: 520px;
    overflow: auto;
    background: #111827;
    color: #d1fae5;
    padding: 1.25rem;
    border-radius: 0;
    white-space: pre-wrap;
    word-break: break-word;
}

.detail-list dt,
.detail-list dd {
    padding-top: .45rem;
    padding-bottom: .45rem;
    margin-bottom: 0;
}

.detail-list dt {
    color: #64748b;
    font-weight: 500;
}

.admin-lock {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: #e7f1ff;
    color: #0d6efd;
    font-size: 1.7rem;
}

.form-control,
.form-select,
.btn {
    border-radius: .6rem;
}

pre,
code,
.font-monospace {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace !important;
}

@media (max-width: 1199.98px) {
    .sticky-xl-top {
        position: static !important;
    }
}
