body {
    background-color: #f5f5f5;
}

.container-fluid {
    max-width: 1800px;
}

.navbar-brand {
    font-weight: 600;
}

/* ── Tester theme (default) ──────────────────────────────── */
[data-theme="tester"] .navbar {
    background-color: #1a3a5c !important;
}
[data-theme="tester"] thead.table-dark {
    --bs-table-bg: #1a3a5c;
    --bs-table-border-color: #2a4a6c;
}

/* ── Admin theme ─────────────────────────────────────────── */
[data-theme="admin"] .navbar {
    background-color: #1a4d2e !important;
}
[data-theme="admin"] thead.table-dark {
    --bs-table-bg: #1a4d2e;
    --bs-table-border-color: #235f3a;
}

/* ── Superadmin theme ────────────────────────────────────── */
[data-theme="superadmin"] .navbar {
    background-color: #8b1a1a !important;
}
[data-theme="superadmin"] thead.table-dark {
    --bs-table-bg: #8b1a1a;
    --bs-table-border-color: #a02020;
}

.card {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.table th {
    white-space: nowrap;
    vertical-align: middle;
}

.table th:last-child,
.table td:last-child {
    width: 1%;
    white-space: nowrap;
}

.table td {
    vertical-align: middle;
}

.table .col-audit {
    font-size: 0.82rem;
    color: #6c757d;
}

.table th.col-audit {
    font-size: 0.85rem;
}

.inline-edit-row td {
    background-color: #e9f5ff;
    border-top: 2px solid #0d6efd;
    border-bottom: 2px solid #0d6efd;
    padding: 1rem;
}

.editing-highlight {
    background-color: #cfe2ff !important;
}

#btnEnableDeletions:checked {
    background-color: #dc3545;
    border-color: #dc3545;
}

.required-label::after {
    content: ' *';
    color: #dc3545;
}

.placeholder-muted::placeholder {
    color: #adb5bd;
    font-style: italic;
}
