/*
 * style-light.css — CTPF.DNS ControlDesk | Light Theme
 * Farben: #15224e | #f70000 | #198754 | #fff900 | #ffffff
 * Keine weiteren Farben ohne ausdrückliche Freigabe.
 * Updated : 2026-04-04 14:40:30 +0200 CEST — Full-width footer layout: flex wrapper, sticky sidebar, footer outside layout-body — by MikeGeorg
 * Updated : 2026-04-04 16:30:00 +0200 CEST — Bootstrap color overrides: all btn-primary/outline-primary/focus rings use #15224e — by MikeGeorg
 * Updated : 2026-04-04 16:41:26 +0200 CEST — Add btn-outline-secondary, text-muted, form-text, profile-email brand overrides — by MikeGeorg
 * Updated : 2026-04-04 16:52:00 +0200 CEST — Add placeholder, form-control text, label, strong overrides; profile-session-desc, profile-unavail-msg — by MikeGeorg
 * Updated : 2026-04-04 17:05:00 +0200 CEST — Override Bootstrap CSS variables (--bs-border-color, --bs-body-color, --bs-primary etc.), hr, input-group, modal, card, table, accordion borders — by MikeGeorg
 * Updated : 2026-04-04 17:12:00 +0200 CEST — All muted alpha colors → full #15224e: profile-role, profile-email, form-text, text-muted, form-hint — by MikeGeorg
 * Updated : 2026-04-04 17:18:00 +0200 CEST — !important on all form borders, input-group, input-group-text, hr, badge-status.inactive — by MikeGeorg
 * Updated : 2026-04-05 17:48:43 +0200 CEST — Improve modal placeholder readability in light mode for better field sample contrast — by MikeGeorg
 * Updated : 2026-04-06 20:00:00 +0200 CEST — Sidebar from ticker bottom; app-header only over main column; mobile full-width header — by MikeGeorg
 * Updated : 2026-04-06 20:13:29 +0200 CEST — Restore full-width app-header + logo; sidebar again below ticker+topbar; drop sidebar brand-sub — by MikeGeorg
 * Updated : 2026-04-06 20:36:49 +0200 CEST — .sidebar-section font-size 12px — by MikeGeorg
 */

/* ── CSS-Variablen ────────────────────────────────────────────────────── */
:root {
    --sidebar-w:   230px;
    --topbar-h:     48px;
    --ticker-h:     28px;
    --footer-h:     42px;

    --clr-brand:   #15224e;
    --clr-danger:  #f70000;
    --clr-success: #198754;
    --clr-warning: #fff900;
    --clr-white:   #ffffff;

    --clr-brand-05:  rgba(21,34,78,.05);
    --clr-brand-08:  rgba(21,34,78,.08);
    --clr-brand-12:  rgba(21,34,78,.12);
    --clr-brand-15:  rgba(21,34,78,.15);
    --clr-brand-20:  rgba(21,34,78,.20);

    --clr-bg:      #ffffff;
    --clr-body-bg: rgba(21,34,78,.04);
    --clr-border:  rgba(21,34,78,.14);
    --clr-text:    #15224e;
    --clr-muted:   rgba(21,34,78,.50);
    --clr-heading: #15224e;
}

/* ── Reset ────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { height: 100%; }
body {
    min-height: 100%;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: 0.825rem;
    color: #15224e;
    background: var(--clr-body-bg);
}
a { text-decoration: none; color: inherit; }

/* ── Top Ticker ───────────────────────────────────────────────────────── */
.top-ticker {
    position: fixed; top: 0; left: 0; right: 0;
    height: var(--ticker-h); background: #15224e; color: #ffffff;
    z-index: 1060; display: flex; align-items: center;
    padding: 0 1.5rem;
    gap: 1.25rem; font-size: .72rem;
}
.ticker-item { display: flex; align-items: center; gap: 5px; white-space: nowrap; }
.ticker-dot { width: 7px; height: 7px; border-radius: 50%; background: #198754; display: inline-block; box-shadow: 0 0 5px #198754; flex-shrink: 0; }
.ticker-dot.warn  { background: #f70000; box-shadow: 0 0 5px #f70000; }
.ticker-lang { display: flex; align-items: center; gap: 4px; margin-left: auto; font-size: .72rem; }
.ticker-lang a { color: #ffffff; font-weight: 600; text-decoration: none; transition: opacity .15s; }
.ticker-lang a:hover { opacity: .7; text-decoration: underline; }
.ticker-lang-sep { color: rgba(255,255,255,.5); }
.ticker-clock {
    margin-left: auto; white-space: nowrap;
    font-size: .72rem; font-weight: 600; letter-spacing: .01em;
    color: #ffffff; font-variant-numeric: tabular-nums;
}

/* ── Sidebar — fixed left, between header and footer ─────────────────── */
.sidebar {
    position: fixed;
    top: calc(var(--ticker-h) + var(--topbar-h));
    left: 0;
    bottom: var(--footer-h);
    width: var(--sidebar-w);
    background: #ffffff; border-right: 1px solid var(--clr-border);
    z-index: 1040; overflow-y: auto;
}
.sidebar-brand {
    position: sticky; top: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--clr-border);
    z-index: 2;
    display: flex; align-items: center; gap: 10px; padding: 0.75rem 1.25rem;
}
.sidebar-brand .brand-icon {
    width: 30px; height: 30px; background: #15224e; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: #ffffff; font-size: 1rem; flex-shrink: 0;
}
.sidebar-brand .brand-name { font-weight: 800; font-size: .9rem; color: #15224e; }

.sidebar-section {
    padding: 16px 1.25rem 4px;
    font-size: 12px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .09em; color: #15224e;
}
.sidebar .nav-link {
    display: flex; align-items: center; gap: 10px;
    padding: 7px 1.25rem; color: #15224e;
    font-size: .81rem; text-decoration: none;
    border-right: 3px solid transparent;
    transition: background .15s;
}
.sidebar .nav-link i { font-size: .85rem; width: 16px; text-align: center; }
.sidebar .nav-link:hover { background: rgba(21,34,78,.08); }
.sidebar .nav-link.active { background: rgba(21,34,78,.14); border-right-color: #15224e; font-weight: 700; }
.sidebar-badge {
    margin-left: auto; background: #15224e; color: #ffffff;
    font-size: .6rem; font-weight: 700; padding: 1px 7px;
    border-radius: 10px; min-width: 20px; text-align: center;
}
.sidebar-footer {
    padding: 1rem 1.25rem; border-top: 1px solid var(--clr-border);
    margin-top: 1rem; font-size: .75rem; color: #15224e;
}
.sidebar-footer .logout-link {
    display: flex; align-items: center; gap: 6px;
    margin-top: 8px; color: #f70000; font-weight: 600;
}
.sidebar-footer .logout-link:hover { opacity: .8; }

/* ── App Header (replaces topbar) ─────────────────────────────────────── */
.app-header {
    position: fixed; top: var(--ticker-h); left: 0; right: 0;
    height: var(--topbar-h); background: #ffffff;
    border-bottom: 1px solid var(--clr-border);
    display: flex; align-items: center; gap: 12px;
    padding: 0 1.5rem; z-index: 1050;
    box-shadow: 0 1px 4px rgba(21,34,78,.06);
}

/* Brand */
.app-header-brand {
    display: flex; align-items: center; gap: 8px;
    text-decoration: none; flex-shrink: 0;
}
.app-header-brand:hover { opacity: .85; }
.app-header-brand-icon {
    width: 28px; height: 28px; background: #15224e; border-radius: 7px;
    display: flex; align-items: center; justify-content: center;
    color: #ffffff; font-size: .85rem; flex-shrink: 0;
}
.app-header-brand-name {
    font-size: .95rem; font-weight: 600; color: #15224e; letter-spacing: -.01em;
}
.app-header-brand-name strong { font-weight: 800; }

/* Spacer */
.app-header-spacer { flex: 1; }

/* Search */
.app-header-search {
    position: relative; flex-shrink: 0;
}
.app-header-search input {
    width: 220px; padding: 5px 12px 5px 32px;
    border: 1px solid var(--clr-border); border-radius: 6px;
    font-size: .8rem; color: #15224e; background: #ffffff;
    outline: none; transition: border-color .15s;
}
.app-header-search input::placeholder { color: rgba(21,34,78,.45); }
.app-header-search input:focus { border-color: #15224e; }
.app-header-search-icon {
    position: absolute; left: 10px; top: 50%; transform: translateY(-50%);
    color: #15224e; font-size: .75rem; pointer-events: none;
}

/* Action area */
.app-header-actions {
    display: flex; align-items: center; gap: 6px; flex-shrink: 0;
}

/* Icon buttons */
.app-header-icon-btn {
    width: 32px; height: 32px;
    border: 1px solid #15224e !important;
    border-radius: 6px; background: transparent !important;
    color: #15224e !important; font-size: .85rem;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: background .15s;
}
.app-header-icon-btn:hover {
    background: rgba(21,34,78,.08) !important;
}

/* User pill — rectangular like btn-brand */
.app-header-user-pill {
    display: flex; align-items: center; gap: 7px;
    padding: 4px 10px 4px 4px;
    border: 1px solid #15224e !important; border-radius: 6px;
    background: #ffffff; color: #15224e;
    font-size: .8rem; font-weight: 600;
    cursor: pointer; transition: background .15s;
    margin-left: 4px;
}
.app-header-user-pill:hover { background: rgba(21,34,78,.06) !important; }
.app-header-user-pill::after { display: none; } /* remove bs caret */
.app-header-avatar {
    width: 26px; height: 26px; background: #15224e; color: #ffffff;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: .7rem; font-weight: 700; flex-shrink: 0;
}
.app-header-username { color: #15224e; }
.app-header-chevron { font-size: .65rem; color: #15224e; }

/* Dropdown */
.app-header-dd {
    min-width: 200px;
    border: 1px solid #15224e !important;
}
.app-header-dd .dropdown-divider {
    border-top: 1px solid #15224e !important;
    opacity: 1;
}
.app-header-dd-info { font-size: .78rem; color: #15224e; }
.app-header-dd-logout { color: #f70000 !important; }
.app-header-dd-logout:hover { background: rgba(247,0,0,.06) !important; }

/* ── Header Skin / Lang Switcher ───────────────────────────────────────── */
.header-sw-group {
    display: flex; align-items: center; gap: 2px; flex-shrink: 0;
}
.header-sw-btn {
    display: inline-flex !important; align-items: center; justify-content: center;
    height: 28px; min-width: 28px; padding: 0 7px;
    border: 1px solid #15224e !important; border-radius: 0;
    background: transparent !important; color: #15224e !important;
    font-size: .72rem; font-weight: 600;
    text-decoration: none !important; cursor: pointer;
    transition: background .15s, color .15s, border-color .15s;
    line-height: 1;
}
.header-sw-btn:hover {
    background: rgba(21,34,78,.08) !important; border-color: #15224e !important;
    color: #15224e !important; text-decoration: none !important;
}
.header-sw-btn.active {
    background: #15224e !important; border-color: #15224e !important; color: #ffffff !important;
}
.header-sw-btn.active:hover {
    background: rgba(21,34,78,.85) !important; border-color: rgba(21,34,78,.85) !important;
    color: #ffffff !important;
}
.header-sw-divider {
    width: 1px; height: 20px; background: #15224e; margin: 0 4px; flex-shrink: 0;
}
.header-lang-btn {
    gap: 6px;
    min-width: 110px;
    padding: 0 9px;
}
.header-lang-btn::after { margin-left: 6px; }
.header-lang-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
}
.header-lang-menu .dropdown-item.active,
.header-lang-menu .dropdown-item:active {
    background: rgba(21,34,78,.1) !important;
    color: #15224e !important;
}
.header-lang-flag {
    width: 20px;
    height: 14px;
    object-fit: cover;
    flex-shrink: 0;
}

.topbar-search { position: relative; }
.topbar-search input {
    width: 200px; padding: 5px 10px 5px 30px;
    border: 1px solid var(--clr-border); border-radius: 0;
    font-size: .78rem; outline: none; color: #15224e;
    background: #ffffff; transition: border-color .15s;
}
.topbar-search input::placeholder { color: #15224e; }
.topbar-search input:focus { border-color: #15224e; }
.topbar-search .srch-icon {
    position: absolute; left: 9px; top: 50%; transform: translateY(-50%);
    color: rgba(21,34,78,.45); font-size: .75rem; pointer-events: none;
}

.topbar-user {
    display: flex; align-items: center; gap: 7px;
    padding-left: 1rem; border-left: 1px solid var(--clr-border);
    color: #15224e; font-weight: 600; font-size: .8rem;
    cursor: pointer; background: none; border-top: none; border-right: none; border-bottom: none;
    outline: none;
}
.topbar-user:hover { opacity: .8; }
.topbar-user .avatar {
    width: 28px; height: 28px; background: #15224e; color: #ffffff;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: .72rem; font-weight: 700; flex-shrink: 0;
}

/* ── Buttons ──────────────────────────────────────────────────────────── */
.btn-brand {
    background: #15224e; color: #ffffff; border: none; border-radius: 0;
    padding: 6px 14px; font-size: .78rem; font-weight: 700;
    cursor: pointer; display: flex; align-items: center; gap: 5px; transition: opacity .15s;
}
.btn-brand:hover { opacity: .85; }

.btn-outline {
    background: #ffffff; color: #15224e;
    border: 1px solid var(--clr-border); border-radius: 0;
    padding: 5px 12px; font-size: .78rem; font-weight: 600;
    cursor: pointer; transition: border-color .15s;
}
.btn-outline:hover { border-color: #15224e; }

.btn-danger {
    background: #f70000; color: #ffffff; border: none; border-radius: 0;
    padding: 5px 12px; font-size: .78rem; font-weight: 600;
    cursor: pointer; transition: opacity .15s;
}
.btn-danger:hover { opacity: .85; }

/* ── Main Content — fixed, scrollable, fills space between header and footer */
.main-content {
    position: fixed;
    top: calc(var(--ticker-h) + var(--topbar-h));
    left: var(--sidebar-w);
    right: 0;
    bottom: var(--footer-h);
    overflow-y: auto;
    overflow-x: hidden;
    background: var(--clr-body-bg);
}
.content-inner { padding: 1.5rem; }

/* ── Page Topbar (title left, action buttons right) ──────────────────── */
.page-topbar {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 1.5rem;
}
.page-topbar h1 {
    font-size: 1.3rem; font-weight: 800; color: #15224e; margin: 0;
}
.page-topbar .breadcrumb {
    margin: 0; padding: 0; background: none; font-size: .75rem;
}
.page-topbar .breadcrumb-item { color: #15224e; }
.page-topbar .breadcrumb-item a { color: #15224e !important; font-weight: 700; text-decoration: none !important; opacity: 1 !important; }
.page-topbar .breadcrumb-item a:hover { color: #15224e !important; text-decoration: none !important; opacity: 1 !important; }
.page-topbar .breadcrumb-item.active { color: #15224e; font-weight: 600; }
.page-topbar .breadcrumb-item + .breadcrumb-item::before { color: #15224e; opacity: .4; }
.page-topbar-actions { display: flex; align-items: center; gap: .5rem; flex-shrink: 0; }

/* ── Footer — fixed full width at bottom ─────────────────────────────── */
.app-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--footer-h);
    border-top: 2px solid #15224e;
    background: #15224e;
    padding: 0 1.5rem;
    z-index: 1045;
    display: flex;
    align-items: center;
}
.app-footer-inner {
    display: flex; align-items: center; justify-content: space-between;
    width: 100%;
    font-size: .72rem; color: #ffffff;
}
.footer-logout-link {
    color: #ffffff; text-decoration: none; transition: opacity .15s;
}
.footer-logout-link:hover { opacity: .70; color: #ffffff; }

/* ── API-Status Banner ────────────────────────────────────────────────── */
.api-status-banner {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 14px; border-radius: 6px;
    font-size: .78rem; font-weight: 600; margin-bottom: 1.25rem;
}
.api-status-banner.online  { background: rgba(25,135,84,.1); color: #198754; border: 1px solid rgba(25,135,84,.35); }
.api-status-banner.offline { background: rgba(255,249,0,.15); color: #15224e; border: 1px solid rgba(255,249,0,.6); }

/* ── Content Card ─────────────────────────────────────────────────────── */
.content-card {
    background: #ffffff; border: 1px solid var(--clr-border);
    border-radius: 8px; overflow: hidden;
    box-shadow: 0 1px 4px rgba(21,34,78,.05);
}
.card-toolbar {
    display: flex; align-items: center; gap: 6px;
    padding: 10px 14px; background: rgba(21,34,78,.03);
    border-bottom: 1px solid var(--clr-border);
}

/* ── Badges ───────────────────────────────────────────────────────────── */
.badge-dnssec-on {
    padding: 2px 8px; border-radius: 12px; font-size: .65rem; font-weight: 700;
    background: rgba(25,135,84,.12); color: #198754; border: 1px solid rgba(25,135,84,.4);
}
.badge-dnssec-off {
    padding: 2px 8px; border-radius: 12px; font-size: .65rem; font-weight: 700;
    background: rgba(247,0,0,.08); color: #f70000; border: 1px solid rgba(247,0,0,.3);
}
.badge-kind, .badge-kind-sm {
    display: inline-flex; align-items: center;
    padding: 2px 8px; border-radius: 0; font-size: .65rem; font-weight: 700; border: 1px solid #15224e;
}
.kind-primary,    .kind-sm-primary   { background: rgba(21,34,78,.1);  color: #15224e; border-color: #15224e; }
.kind-secondary,  .kind-sm-secondary { background: rgba(255,249,0,.2); color: #15224e; border-color: #15224e; }
.kind-native,     .kind-sm-native    { background: rgba(25,135,84,.1); color: #198754; border-color: #15224e; }

/* ── Stat Cards ───────────────────────────────────────────────────────── */
.stats-grid, .stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px,1fr)); gap: 1rem; margin-bottom: 1.25rem; }
.stat-card {
    background: #ffffff; border: 1px solid var(--clr-border); border-radius: 8px;
    padding: 1rem 1.25rem; display: flex; align-items: center; gap: 12px;
    box-shadow: 0 1px 3px rgba(21,34,78,.04);
}
.stat-card-icon { width: 38px; height: 38px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.stat-icon-blue   { background: #15224e; color: #ffffff; }
.stat-icon-green  { background: #198754; color: #ffffff; }
.stat-icon-red    { background: #f70000; color: #ffffff; }
.stat-icon-yellow { background: #fff900; color: #15224e; }
.stat-card-label { font-size: .67rem; text-transform: uppercase; letter-spacing: .05em; color: #15224e; }
.stat-card-value { font-size: 1.35rem; font-weight: 800; color: #15224e; line-height: 1.2; }

/* ── Tabellen ─────────────────────────────────────────────────────────── */
.tbl-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .815rem; }
thead th {
    background: rgba(21,34,78,.06); color: #15224e;
    font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
    padding: 9px 12px; border-bottom: 1px solid var(--clr-border); white-space: nowrap;
}
tbody tr { border-bottom: 1px solid rgba(21,34,78,.06); transition: background .1s; }
tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: rgba(21,34,78,.03); }
td { padding: 9px 12px; vertical-align: middle; color: #15224e; }

/* ── Action-Buttons ───────────────────────────────────────────────────── */
.act-btn {
    width: 26px; height: 26px; border-radius: 4px;
    border: 1px solid var(--clr-border); background: #ffffff;
    color: rgba(21,34,78,.55); font-size: .72rem;
    display: inline-flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all .15s;
}
.act-btn:hover      { border-color: #15224e; color: #15224e; background: rgba(21,34,78,.06); }
.act-btn.del:hover  { border-color: #f70000; color: #f70000; background: rgba(247,0,0,.06); }

/* ── Record-Type Badges ───────────────────────────────────────────────── */
.rec-type { display: inline-block; padding: 2px 7px; border-radius: 4px; font-size: .65rem; font-weight: 800; letter-spacing: .03em; white-space: nowrap; }
.type-soa   { background: rgba(21,34,78,.18); color: #15224e; }
.type-ns    { background: rgba(21,34,78,.12); color: #15224e; }
.type-a     { background: rgba(21,34,78,.08); color: #15224e; }
.type-aaaa  { background: rgba(21,34,78,.08); color: #15224e; }
.type-cname { background: rgba(25,135,84,.12); color: #198754; }
.type-mx    { background: rgba(255,249,0,.3); color: #15224e; }
.type-txt   { background: rgba(21,34,78,.05); color: #15224e; }
.type-caa   { background: rgba(255,249,0,.2); color: #15224e; }
.type-srv   { background: rgba(25,135,84,.08); color: #198754; }
.type-ptr   { background: rgba(21,34,78,.06); color: #15224e; }
.type-other { background: rgba(21,34,78,.04); color: #15224e; border: 1px solid var(--clr-border); }

/* ── Status ───────────────────────────────────────────────────────────── */
.status-dot { font-size: .65rem; }
.dot-ok   { color: #198754; }
.dot-warn { color: #fff900; }
.dot-err  { color: #f70000; }
.mono { font-family: 'Consolas','Fira Code',monospace; }

/* ── Scrollbar ────────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-thumb { background: rgba(21,34,78,.2); border-radius: 3px; }

/* ── Modal ────────────────────────────────────────────────────────────── */
.modal-content { border-radius: 8px; border: none; box-shadow: 0 20px 60px rgba(21,34,78,.18); }
.modal-header  { background: #15224e; color: #ffffff; border-radius: 8px 8px 0 0; padding: 14px 20px; }
.modal-header .btn-close { filter: invert(1); }
.modal-header .modal-title { color: #ffffff; font-weight: 700; }

/* ── Empty State ──────────────────────────────────────────────────────── */
.empty-state { text-align: center; padding: 3rem 1rem; color: rgba(21,34,78,.45); }
.empty-state i { font-size: 2.5rem; margin-bottom: .75rem; color: rgba(21,34,78,.2); }

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .sidebar { transform: translateX(-100%); }
    .main-content { left: 0; }
}

/* ── Form Controls (global) ───────────────────────────────────────────── */
.form-label { font-size: .78rem; font-weight: 600; color: #15224e; margin-bottom: 3px; }
.form-control, .form-select { font-size: .82rem; border-color: rgba(21,34,78,.2); border-radius: 6px; color: #15224e; }
.form-control:focus, .form-select:focus { border-color: #15224e; box-shadow: 0 0 0 .15rem rgba(21,34,78,.12); }
.form-hint { font-size: .7rem; color: #15224e; margin-top: 3px; }

/* ── Card Header Bar ──────────────────────────────────────────────────── */
.card-header-bar {
    display: flex; align-items: center; justify-content: flex-start; gap: 8px;
    padding: .75rem 1.25rem; border-bottom: 1px solid rgba(21,34,78,.14);
    background: rgba(21,34,78,.03);
    font-weight: 700; font-size: .85rem; color: #15224e;
}
.card-header-bar .title { font-weight: 700; font-size: .85rem; color: #15224e; }
.card-header-count { color: #15224e; font-size: .7rem; }

/* ── Modal Header Danger (Löschen-Modals) ─────────────────────────────── */
.modal-header-danger { background: #f70000; color: #ffffff; border-radius: 8px 8px 0 0; padding: 14px 20px; }
.modal-header-danger .modal-title { color: #ffffff; }

/* ── Toast ────────────────────────────────────────────────────────────── */
.toast-wrap {
    position: fixed; top: calc(var(--topbar-h) + 12px); right: 16px;
    z-index: 9999; display: flex; flex-direction: column; gap: 6px;
}
.toast-item {
    background: #15224e; color: #ffffff; border-radius: 8px;
    padding: 9px 16px; font-size: .8rem; font-weight: 500;
    box-shadow: 0 4px 16px rgba(21,34,78,.25); animation: slideIn .2s ease;
}
.toast-item.err { background: #f70000; }
@keyframes slideIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: none; } }

/* Global inline toast (JS-generated, dns.php) */
.global-toast {
    position: fixed; top: calc(var(--ticker-h) + var(--topbar-h) + 12px); right: 24px; z-index: 9999;
    padding: 10px 18px; border-radius: 6px; font-size: .82rem; font-weight: 600;
    color: #ffffff; box-shadow: 0 4px 12px rgba(21,34,78,.2); transition: opacity .3s;
}
.global-toast.ok  { background: #198754; }
.global-toast.err { background: #f70000; }

/* ── Icon-Buttons (Row-Actions) ───────────────────────────────────────── */
.btn-row  { display: flex; gap: 6px; }
.btn-icon, .action-btn {
    width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center;
    border-radius: 0; border: 1px solid #15224e; background: #ffffff;
    cursor: pointer; color: #15224e; font-size: .78rem; transition: all .15s;
    padding: 0;
}
.btn-icon:hover, .action-btn:hover { background: #15224e; color: #ffffff; }
.btn-icon.danger, .action-btn.btn-delete { border-color: #f70000; color: #f70000; }
.btn-icon.danger:hover, .action-btn.btn-delete:hover { background: #f70000; color: #ffffff; border-color: #f70000; }
.action-btn.btn-dnssec { border-color: #15224e; color: #15224e; }
.action-btn.btn-dnssec:hover { background: #15224e; color: #ffffff; border-color: #15224e; }
.action-btn.btn-zonemaster { border-color: #15224e; color: #15224e; }
.action-btn.btn-zonemaster.zm-ok { background: #198754; border-color: #198754; color: #ffffff; }
.action-btn.btn-zonemaster.zm-pending { background: #fff900; border-color: #fff900; color: #15224e; }
.action-btn.btn-zonemaster.zm-error { background: #f70000; border-color: #f70000; color: #ffffff; }

/* ═══════════════════════════════════════════════════════════════════════
   NAMESERVER PAGE (dashboard/dns/nameservers.php)
   ═══════════════════════════════════════════════════════════════════════ */

.ns-table { width: 100%; border-collapse: collapse; font-size: .82rem; }
.ns-table th {
    padding: 10px 14px; font-size: .68rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .07em; color: #15224e; border-bottom: 2px solid rgba(21,34,78,.14);
    background: rgba(21,34,78,.04); text-align: left; white-space: nowrap;
}
.ns-table td { padding: 11px 14px; border-bottom: 1px solid rgba(21,34,78,.06); vertical-align: middle; color: #15224e; }
.ns-table tr:last-child td { border-bottom: none; }
.ns-table tr:hover td { background: rgba(21,34,78,.03); }
.ns-hostname { font-weight: 600; color: #15224e; }
.ns-ip       { font-family: 'Consolas', monospace; font-size: .78rem; color: #15224e; }
.ns-ip-empty { color: rgba(21,34,78,.25); font-style: italic; font-size: .75rem; }
.ns-flag-cell { font-size: 1.25rem; text-align: center; }
.group-badge {
    display: inline-block; padding: 2px 9px; border-radius: 10px; font-size: .65rem;
    font-weight: 700; background: rgba(21,34,78,.12); color: #15224e;
}

/* ═══════════════════════════════════════════════════════════════════════
   RECORDS PAGE (dashboard/records/records.php)
   ═══════════════════════════════════════════════════════════════════════ */

/* Breadcrumb in Topbar */
.topbar-breadcrumb { display: flex; align-items: center; gap: 6px; font-size: .8rem; color: #5f6b8f; }
.topbar-breadcrumb a { color: #5f6b8f; }
.topbar-breadcrumb a:hover { color: #15224e; }
.topbar-breadcrumb .sep { color: #8f98b3; }
.topbar-breadcrumb .current { color: #15224e; font-weight: 700; font-size: .9rem; }

/* Quick-Actions-Bar */
.quick-bar {
    background: #ffffff; border-bottom: 1px solid #15224e;
    padding: 10px 1.5rem; display: flex; gap: 6px; flex-wrap: wrap; align-items: center;
}
.qa-btn {
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    padding: 6px 12px; border-radius: 6px; border: 1px solid #15224e;
    background: #ffffff; color: #15224e; cursor: pointer;
    font-size: .62rem; font-weight: 600; transition: all .15s; white-space: nowrap; min-width: 58px;
}
.qa-btn i { font-size: .95rem; color: #15224e; }
.qa-btn:hover { background: #e9edf7; border-color: #15224e; color: #15224e; }
.qa-btn.qa-success {
    border-color: #198754;
    background: #198754;
    color: #ffffff;
}
.qa-btn.qa-success i { color: #ffffff; }
.qa-btn.qa-success:hover {
    background: #198754;
    border-color: #198754;
    color: #ffffff;
}
.qa-btn.qa-warning {
    border-color: #fff900;
    background: #fff900;
    color: #15224e;
}
.qa-btn.qa-warning i { color: #15224e; }
.qa-btn.qa-warning:hover {
    background: #fff900;
    border-color: #fff900;
    color: #15224e;
}
.qa-btn.qa-danger {
    border-color: #f70000;
    background: #f70000;
    color: #ffffff;
}
.qa-btn.qa-danger i { color: #ffffff; }
.qa-btn.qa-danger:hover { background: #f70000; border-color: #f70000; color: #ffffff; }
.qa-btn.qa-action-dark {
    border-color: #15224e;
    background: #15224e;
    color: #ffffff;
}
.qa-btn.qa-action-dark i { color: #ffffff; }
.qa-btn.qa-action-dark:hover {
    border-color: #15224e;
    background: #15224e;
    color: #ffffff;
}
.qa-sep { width: 1px; height: 38px; background: #15224e; margin: 0 4px; }

/* Updated-Status-Button */
.qa-btn-updated {
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    padding: 6px 14px; border-radius: 6px; border: 1.5px solid #15224e;
    background: #ffffff; color: #15224e; font-size: .62rem; font-weight: 700;
    cursor: default; white-space: nowrap; min-width: 58px; transition: all .4s ease; position: relative;
}
.qa-btn-updated i { font-size: 1.1rem; color: #15224e; transition: color .4s, transform .3s; }
.qa-btn-updated.pushing { border-color: #fff900; color: #15224e; animation: updPulse 1.2s ease-in-out infinite; }
.qa-btn-updated.pushing i { color: #fff900; animation: spin 1s linear infinite; }
.qa-btn-updated.checking { border-color: #fff900; color: #15224e; animation: updPulse 1.2s ease-in-out infinite; }
.qa-btn-updated.checking i { color: #fff900; animation: spin 1s linear infinite; }
.qa-btn-updated.synced { border-color: #198754; background: #198754; color: #ffffff; cursor: pointer; }
.qa-btn-updated.synced i { color: #ffffff; }
.qa-btn-updated.synced:hover { background: #198754; border-color: #198754; }
.qa-btn-updated.sync-error { border-color: #f70000; background: #f70000; color: #ffffff; }
.qa-btn-updated.sync-error i { color: #ffffff; }
@keyframes updPulse { 0%,100% { opacity:1; } 50% { opacity:.6; } }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* NS-Tooltip Popup */
.upd-tooltip {
    display: none; position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%);
    background: #15224e; color: #ffffff; border-radius: 8px; padding: 10px 14px;
    font-size: .72rem; white-space: nowrap; z-index: 2000;
    box-shadow: 0 8px 24px #15224e; min-width: 220px;
}
.upd-tooltip::after {
    content: ''; position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%);
    border: 6px solid transparent; border-bottom-color: #15224e;
}
.qa-btn-updated:hover .upd-tooltip,
.qa-btn-updated.synced:hover .upd-tooltip { display: block; }

/* Zonemaster page */
.page-zonemaster .zm-hero {
    margin-top: 14px;
    border: 1px solid #15224e;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    min-height: 340px;
}
.page-zonemaster .zm-hero.is-ok { background: #198754; color: #ffffff; border-color: #198754; }
.page-zonemaster .zm-hero.is-pending { background: #fff900; color: #15224e; border-color: #fff900; }
.page-zonemaster .zm-hero.is-error { background: #f70000; color: #ffffff; border-color: #f70000; }
.page-zonemaster .zm-domain { font-size: 2.1rem; font-weight: 700; line-height: 1.1; }
.page-zonemaster .zm-headline { font-size: 3.2rem; font-weight: 800; line-height: 1; margin-top: 4px; }
.page-zonemaster .zm-summary { font-size: .95rem; margin-top: 10px; }
.page-zonemaster .zm-meta-time { font-size: 1rem; opacity: .9; margin-top: 10px; }
.page-zonemaster .zm-traffic-wrap { min-width: 190px; display: flex; justify-content: center; }
.page-zonemaster #zmTrafficLight {
    width: 150px;
    min-height: 270px;
    border-radius: 0;
    border: none;
    padding: 18px 18px;
    gap: 16px;
}
.page-zonemaster #zmTrafficLight .zm-light {
    width: 84px;
    height: 84px;
    margin: 0 auto;
    background: #666666;
}
.page-zonemaster #zmTrafficLight.is-error .zm-red { background: #f70000; }
.page-zonemaster #zmTrafficLight.is-pending .zm-yellow { background: #fff900; }
.page-zonemaster #zmTrafficLight.is-ok .zm-green { background: #198754; }

.page-zonemaster .zm-module-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 4px;
    margin-top: 12px;
    padding: 8px 20px 0;
    min-height: 46px;
    overflow-x: auto;
}
.page-zonemaster .zm-mod-btn {
    position: relative;
    border: 1px solid #198754;
    background: #198754;
    color: #ffffff;
    font-size: .86rem;
    font-weight: 700;
    padding: 8px 22px 8px 14px;
    white-space: nowrap;
    border-radius: 0;
    cursor: pointer;
    overflow: visible;
}
.page-zonemaster .zm-mod-btn.state-warning { background: #fff900; border-color: #fff900; color: #15224e; }
.page-zonemaster .zm-mod-btn.state-error { background: #f70000; border-color: #f70000; color: #ffffff; }
.page-zonemaster .zm-mod-btn.active {
    outline: 2px solid #15224e;
    outline-offset: -2px;
}
.page-zonemaster .zm-mod-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 22px;
    height: 22px;
    line-height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: #ffffff;
    color: #15224e;
    font-size: .72rem;
    font-weight: 800;
    text-align: center;
    border: 1px solid #15224e;
}
.page-zonemaster .zm-progress-wrap {
    margin-top: 10px;
    max-width: 520px;
}
.page-zonemaster .zm-progress-bar {
    width: 100%;
    height: 10px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #15224e;
    overflow: hidden;
}
.page-zonemaster .zm-progress-fill {
    height: 100%;
    width: 0%;
    background: #15224e;
    transition: width .35s ease;
}
.page-zonemaster .zm-progress-text {
    margin-top: 4px;
    font-size: .82rem;
    font-weight: 700;
}
.page-zonemaster .zm-details-wrap {
    padding: 0 20px 18px;
}
.page-zonemaster .zm-details-head {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin-bottom: 8px;
}
.page-zonemaster .zm-active-module-label {
    opacity: .85;
}
.page-zonemaster .zm-details-wrap .fw-semibold {
    font-size: 1rem;
}
.page-zonemaster .zm-findings-list {
    display: grid;
    gap: 10px;
}
.page-zonemaster .zm-detail-card {
    border: 1px solid rgba(21,34,78,.18);
    border-radius: 8px;
    background: #f8fafc;
}
.page-zonemaster .zm-detail-card-head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(21,34,78,.12);
    font-weight: 800;
    color: #15224e;
    text-transform: capitalize;
}
.page-zonemaster .zm-detail-title {
    font-size: 1.05rem;
}
.page-zonemaster .zm-detail-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 800;
    color: #ffffff;
    background: #198754;
}
.page-zonemaster .zm-detail-card-body {
    padding: 10px 14px 12px;
}
.page-zonemaster .zm-mod-accordion {
    display: grid;
    gap: 10px;
}
.page-zonemaster .zm-acc-card {
    border: 1px solid rgba(21,34,78,.18);
    border-radius: 8px;
    background: #f8fafc;
    overflow: hidden;
}
.page-zonemaster .zm-acc-card.is-error .zm-acc-head { border-left: 4px solid #f70000; }
.page-zonemaster .zm-acc-card.is-warning .zm-acc-head { border-left: 4px solid #fff900; }
.page-zonemaster .zm-acc-card.is-ok .zm-acc-head { border-left: 4px solid #198754; }
.page-zonemaster .zm-acc-head {
    width: 100%;
    border: 0;
    background: transparent;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    cursor: pointer;
    text-align: left;
    border-bottom: 1px solid rgba(21,34,78,.12);
}
.page-zonemaster .zm-acc-toggle {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: #198754;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}
.page-zonemaster .zm-acc-title {
    flex: 1 1 auto;
    font-size: 1.05rem;
    font-weight: 800;
    color: #15224e;
    text-transform: capitalize;
}
.page-zonemaster .zm-acc-badge {
    min-width: 24px;
    height: 24px;
    border-radius: 999px;
    padding: 0 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .74rem;
    font-weight: 800;
    color: #ffffff;
    background: #198754;
}
.page-zonemaster .zm-acc-body {
    padding: 10px 14px 12px;
}
.page-zonemaster .zm-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 7px;
}
.page-zonemaster .zm-detail-item:last-child {
    margin-bottom: 0;
}
.page-zonemaster .zm-level-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 22px;
    padding: 0 8px;
    border-radius: 6px;
    font-size: .72rem;
    font-weight: 800;
    text-transform: capitalize;
    color: #ffffff;
    background: #198754;
}
.page-zonemaster .zm-level-pill.is-warning {
    background: #fff900;
    color: #15224e;
}
.page-zonemaster .zm-level-pill.is-error {
    background: #f70000;
    color: #ffffff;
}
.page-zonemaster .zm-item-text {
    color: #15224e;
    font-size: 1rem;
    line-height: 1.5;
}
.page-zonemaster .zm-item-where {
    font-weight: 700;
}
.page-zonemaster .zm-empty {
    color: rgba(21,34,78,.78);
    font-size: .95rem;
    padding: 10px 0;
}

/* Zonemaster local modal traffic light */
.zonemaster-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.zonemaster-top-status {
    display: flex;
    align-items: center;
    gap: 10px;
}
.zm-traffic-light {
    width: 34px;
    padding: 5px 7px;
    border-radius: 6px;
    background: #000000;
    display: flex;
    flex-direction: column;
    gap: 5px;
    border: 1px solid #15224e;
}
.zm-light {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #666666;
}
.zm-traffic-light.is-error .zm-red { background: #f70000; }
.zm-traffic-light.is-pending .zm-yellow { background: #fff900; }
.zm-traffic-light.is-ok .zm-green { background: #198754; }
.upd-tooltip .ns-row {
    display: flex; align-items: center; gap: 8px; padding: 3px 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.upd-tooltip .ns-row:last-child { border-bottom: none; }
.upd-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.upd-dot.ok   { background: #198754; box-shadow: 0 0 5px #198754; }
.upd-dot.wait { background: #fff900; }
.upd-dot.err  { background: #f70000; }

/* Zone-Strip */
.zone-strip {
    background: #ffffff; padding: 8px 1.5rem; border-bottom: 1px solid rgba(21,34,78,.14);
    display: flex; align-items: center; gap: 12px; font-size: .78rem; color: #15224e;
}
.zone-strip .zone-name {
    font-size: .95rem; font-weight: 800; color: #15224e; display: flex; align-items: center; gap: 6px;
}
.zone-strip .sep { color: #15224e; }
.zone-strip .z-stat { display: flex; align-items: center; gap: 4px; }
.zone-strip .z-stat i { color: #15224e; font-size: .7rem; }
.zone-strip .actions-right { margin-left: auto; display: flex; gap: 8px; }
.btn-sm-outline {
    padding: 3px 10px; border-radius: 4px; border: 1px solid rgba(21,34,78,.14);
    background: #ffffff; color: #15224e; font-size: .72rem; cursor: pointer; transition: all .15s;
}
.btn-sm-outline:hover { border-color: #15224e; }
.btn-sm-outline.danger:hover { border-color: #f70000; background: rgba(247,0,0,.06); color: #f70000; }
.page-records .btn-deactivate-inline {
    color: #15224e;
    border-color: #15224e;
}
.page-records .btn-deactivate-inline:hover {
    background: #15224e;
    color: #ffffff;
}

/* Type-Filter Tabs */
.type-tabs-wrap {
    background: #ffffff; border-bottom: 1px solid rgba(21,34,78,.14);
    padding: 0 1.5rem; display: flex; align-items: center;
}
.type-tabs-scroll {
    display: flex; overflow-x: auto; gap: 2px; scrollbar-width: none; padding: 0 6px; flex: 1;
}
.type-tabs-scroll::-webkit-scrollbar { display: none; }
.type-tab {
    padding: 9px 12px; border: none; background: none; color: #15224e;
    font-size: .75rem; font-weight: 600; border-bottom: 2px solid transparent;
    cursor: pointer; white-space: nowrap; transition: all .15s;
}
.type-tab:hover { color: #15224e; opacity: .7; }
.type-tab.active { color: #15224e; border-bottom-color: #15224e; }
.type-tab .tab-count {
    background: rgba(21,34,78,.12); color: #15224e; border-radius: 8px;
    padding: 0 5px; font-size: .6rem; margin-left: 3px;
}
.type-tab.active .tab-count { background: #15224e; color: #ffffff; }
.tab-scroll-btn {
    width: 28px; height: 34px; background: #ffffff; border: 1px solid rgba(21,34,78,.14);
    border-radius: 4px; cursor: pointer; color: rgba(21,34,78,.5);
    display: flex; align-items: center; justify-content: center;
    font-size: .7rem; flex-shrink: 0; transition: all .15s;
}
.tab-scroll-btn:hover { border-color: #15224e; color: #15224e; }

/* Records Content Area */
.content-area { padding: 0 1.5rem; }
.page-records .content-area { padding: 0; }
.card-table { background: #ffffff; border-radius: 8px; border: 1px solid rgba(21,34,78,.14); overflow: hidden; }
.page-records .card-table {
    border-radius: 0;
    border: 1px solid rgba(21,34,78,.14);
}
.page-records .topbar-search input,
.page-records .ns-add-btn,
.page-records .bulk-select,
.page-records .bulk-ttl-input,
.page-records .bulk-btn-execute,
.page-records .bulk-btn-add,
.page-records .type-chip {
    border-radius: 0 !important;
}
.table-responsive { overflow-x: auto; }
.page-records #recTable thead th {
    background: rgba(21,34,78,.06);
    color: #15224e;
    border-bottom: 1px solid rgba(21,34,78,.14);
}
.page-records #recTable td {
    border-bottom: 1px solid rgba(21,34,78,.06);
}
.page-records #recTable tbody tr:last-child td {
    border-bottom: none;
}
td.col-host    { font-family: 'Consolas','Fira Code',monospace; font-size: .8rem; color: #15224e; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
td.col-content { font-family: 'Consolas','Fira Code',monospace; font-size: .78rem; color: #15224e; max-width: 340px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
td.col-ttl     { color: #15224e; white-space: nowrap; }
td.col-updated { color: rgba(21,34,78,.55); font-size: .72rem; white-space: nowrap; }
td.col-actions { white-space: nowrap; text-align: right; }
.row-check { accent-color: #15224e; width: 14px; height: 14px; cursor: pointer; }

/* API-Banner (records) */
.api-banner { margin: 1rem 1.5rem 0; border-radius: 6px; padding: 7px 14px; font-size: .78rem; display: flex; align-items: center; gap: 8px; }
.api-banner.mock { background: rgba(255,249,0,.15); border: 1px solid rgba(255,249,0,.6); color: #15224e; }
.api-banner.live { background: rgba(25,135,84,.08); border: 1px solid rgba(25,135,84,.35); color: #198754; }

/* NS Cards (Nameserver-Auswahl Modal in records) */
.ns-group-title {
    font-size: .68rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .08em; color: rgba(21,34,78,.5); padding: 14px 0 8px;
    border-top: 1px solid rgba(21,34,78,.14);
}
.ns-group-title:first-child { border-top: none; padding-top: 4px; }
.ns-card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; margin-bottom: 4px; }
.ns-card {
    border: 1px solid rgba(21,34,78,.14); border-radius: 8px; padding: 12px 14px;
    background: rgba(21,34,78,.03); display: flex; flex-direction: column; gap: 4px;
}
.ns-card.ns-card-active { background: rgba(21,34,78,.1); border-color: #15224e; }
.ns-card-top { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.ns-flag { font-size: 1.15rem; line-height: 1; }
.ns-host { font-weight: 600; font-size: .81rem; color: #15224e; flex: 1; word-break: break-all; }
.ns-badge-in { font-size: .62rem; background: rgba(25,135,84,.12); color: #198754; padding: 2px 7px; border-radius: 10px; white-space: nowrap; }
.ns-detail { font-size: .72rem; color: rgba(21,34,78,.55); }
.ns-detail .ns-lbl { color: rgba(21,34,78,.45); font-weight: 600; margin-right: 3px; }
.ns-note { color: rgba(21,34,78,.45); font-style: italic; font-size: .7rem; }
.ns-add-btn {
    margin-top: 8px; width: 100%; padding: 5px 0;
    border: 1px solid #15224e; border-radius: 0; background: #ffffff;
    color: #15224e; font-size: .74rem; font-weight: 600; cursor: pointer; transition: all .15s;
}
.ns-add-btn:hover:not(:disabled) { background: #15224e; color: #ffffff; }
.ns-add-btn:disabled { border-color: rgba(21,34,78,.2); color: rgba(21,34,78,.3); cursor: default; background: rgba(21,34,78,.03); }

/* Bulk-Action Bar */
.bulk-bar {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding: 10px 1.5rem; background: rgba(21,34,78,.03);
    border-top: 1px solid rgba(21,34,78,.14); flex-wrap: wrap;
}
.bulk-bar-left  { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.bulk-bar-right { display: flex; align-items: center; gap: 8px; }
.bulk-select, .bulk-ttl-input {
    font-size: .8rem; padding: 5px 10px; border: 1px solid rgba(21,34,78,.14);
    border-radius: 0; background: #ffffff; color: #15224e; cursor: pointer; height: 32px;
}
.bulk-select:focus, .bulk-ttl-input:focus { outline: none; border-color: #15224e; }
.bulk-ttl-input { width: 110px; cursor: text; }
.bulk-label { font-size: .8rem; color: rgba(21,34,78,.5); white-space: nowrap; }
.bulk-btn-execute, .bulk-btn-add {
    background: #15224e; color: #ffffff; border: none; padding: 5px 16px;
    border-radius: 0; height: 32px; font-size: .8rem; font-weight: 700;
    cursor: pointer; display: flex; align-items: center; gap: 6px; transition: opacity .15s;
}
.bulk-btn-execute:hover, .bulk-btn-add:hover { opacity: .85; }
.bulk-btn-execute:disabled { opacity: .4; cursor: not-allowed; }

/* Records area: explicit 1px borders and left-aligned bulk controls */
.page-records .card-table {
    border: 1px solid #15224e !important;
}
.page-records .bulk-bar {
    justify-content: flex-start !important;
    border: 1px solid #15224e !important;
}
.page-records .bulk-label,
.page-records #bulkToLabel,
.page-records #bulkAction,
.page-records #bulkZoneSel,
.page-records #bulkTtlSel {
    color: #15224e !important;
}

/* Records upper area: explicit 1px #15224e borders + left aligned */
.page-records .quick-bar,
.page-records .zone-strip,
.page-records .type-tabs-wrap {
    border: 1px solid #15224e !important;
}
.page-records .quick-bar,
.page-records .zone-strip {
    justify-content: flex-start !important;
}
.page-records .page-topbar .breadcrumb-item,
.page-records .page-topbar .breadcrumb-item a,
.page-records .page-topbar .breadcrumb-item a:hover,
.page-records .page-topbar .breadcrumb-item.active {
    color: #15224e !important;
    opacity: 1 !important;
}
.page-records .page-topbar .breadcrumb-item + .breadcrumb-item::before {
    color: #15224e !important;
    opacity: 1 !important;
}
.page-records .zone-strip .btn-sm-outline,
.page-records .zone-strip .btn-sm-outline:hover,
.page-records .zone-strip .btn-sm-outline:focus,
.page-records .zone-strip .btn-sm-outline:active {
    border: 1px solid #15224e !important;
    background: #ffffff !important;
    color: #15224e !important;
    box-shadow: none !important;
}
.page-records .zone-strip #zoneCheckBtn.zone-valid-ok,
.page-records .zone-strip #zoneCheckBtn.zone-valid-ok:hover,
.page-records .zone-strip #zoneCheckBtn.zone-valid-ok:focus,
.page-records .zone-strip #zoneCheckBtn.zone-valid-ok:active {
    border: 1px solid #198754 !important;
    background: #198754 !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

/* DNS + Nameservers: match approved records top look */
.page-dns .page-topbar .breadcrumb-item,
.page-dns .page-topbar .breadcrumb-item a,
.page-dns .page-topbar .breadcrumb-item a:hover,
.page-dns .page-topbar .breadcrumb-item.active,
.page-nameservers .page-topbar .breadcrumb-item,
.page-nameservers .page-topbar .breadcrumb-item a,
.page-nameservers .page-topbar .breadcrumb-item a:hover,
.page-nameservers .page-topbar .breadcrumb-item.active {
    color: #15224e !important;
    opacity: 1 !important;
}
.page-dns .page-topbar .breadcrumb-item + .breadcrumb-item::before,
.page-nameservers .page-topbar .breadcrumb-item + .breadcrumb-item::before {
    color: #15224e !important;
    opacity: 1 !important;
}
.page-dns .page-topbar-actions .btn-brand,
.page-dns .page-topbar-actions .btn-brand:hover,
.page-dns .page-topbar-actions .btn-brand:focus,
.page-dns .page-topbar-actions .btn-brand:active,
.page-nameservers .page-topbar-actions .btn-brand,
.page-nameservers .page-topbar-actions .btn-brand:hover,
.page-nameservers .page-topbar-actions .btn-brand:focus,
.page-nameservers .page-topbar-actions .btn-brand:active {
    border: 1px solid #15224e !important;
    background: #ffffff !important;
    color: #15224e !important;
    box-shadow: none !important;
    opacity: 1 !important;
}

/* Record-Type Chip (Modal) */
.type-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 6px; margin-bottom: 12px; }
.type-chip {
    padding: 6px 4px; text-align: center; border-radius: 0;
    border: 1.5px solid rgba(21,34,78,.14); cursor: pointer;
    font-size: .68rem; font-weight: 700; color: rgba(21,34,78,.55); transition: all .15s;
}
.type-chip:hover { border-color: #15224e; color: #15224e; background: rgba(21,34,78,.06); }
.type-chip.selected { border-color: #15224e; background: #15224e; color: #ffffff; }

/* Misc records */
.prio-field { display: none; }
.hint-muted { font-size: .7rem; color: rgba(21,34,78,.5); margin-top: 2px; }

/* Drop-Zone (Import Modal) */
.drop-zone {
    border: 2px dashed rgba(21,34,78,.25); border-radius: 8px; padding: 28px 20px;
    text-align: center; color: rgba(21,34,78,.5); cursor: pointer;
    transition: all .2s; background: rgba(21,34,78,.03);
}
.drop-zone:hover, .drop-zone.drag-over { border-color: #15224e; background: rgba(21,34,78,.06); color: #15224e; }
.drop-zone i { font-size: 2rem; margin-bottom: 8px; display: block; }
.drop-zone .dz-hint { font-size: .78rem; }

/* ═══════════════════════════════════════════════════════════════════════
   DNS ZONES PAGE (dashboard/dns/dns.php)
   ═══════════════════════════════════════════════════════════════════════ */

/* Zone-Tab-Bar */
.zone-tab-bar {
    display: flex; flex-direction: row; align-items: center;
    border-bottom: 2px solid rgba(21,34,78,.10);
    margin-bottom: 0; padding: 0 4px; gap: 4px;
    justify-content: flex-start;
}
.tab-bar-right {
    display: flex; align-items: center; gap: 8px;
    margin-left: auto; padding-right: 4px;
}

/* Zone-Kategorie-Tabs */
.zone-cat-tab {
    background: none; border: none; cursor: pointer;
    padding: 8px 14px 6px; font-size: .78rem; font-weight: 600;
    color: #15224e; border-bottom: none;
    margin-bottom: 0; transition: color .15s;
    display: flex; align-items: center; gap: 5px;
}
.zone-cat-tab:hover { color: #15224e; opacity: .75; }
.zone-cat-tab.active { font-weight: 700; }
.zone-cat-badge {
    background: rgba(21,34,78,.12); color: #15224e;
    border-radius: 10px; font-size: .68rem; padding: 0 6px;
    font-weight: 700; min-width: 18px; text-align: center;
}
.zone-cat-tab.active .zone-cat-badge { background: #15224e; color: #ffffff; }

/* Zone-Toolbar Buttons */
.btn-create-zone {
    background: #15224e; color: #ffffff; border: none;
    padding: 5px 14px; border-radius: 4px;
    font-size: 0.75rem; font-weight: 700; cursor: pointer; transition: opacity .15s;
}
.btn-create-zone:hover { opacity: .85; }
.btn-toolbar-outline {
    background: #ffffff; color: #15224e;
    border: 1px solid rgba(21,34,78,.14);
    padding: 4px 12px; border-radius: 4px;
    font-size: 0.75rem; font-weight: 600; cursor: pointer; transition: border-color .15s;
}
.btn-toolbar-outline:hover { border-color: #15224e; }

/* Zone-Typ-Picker */
.zone-type-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.zone-type-card {
    border: 2px solid rgba(21,34,78,.14); border-radius: 8px;
    padding: 18px 12px; text-align: center; cursor: pointer;
    transition: all .15s; background: #ffffff;
}
.zone-type-card:hover { border-color: #15224e; background: rgba(21,34,78,.04); }
.zone-type-card i { font-size: 1.6rem; color: #15224e; margin-bottom: 8px; display: block; }
.zone-type-card .zt-title { font-weight: 800; font-size: .85rem; color: #15224e; }
.zone-type-card .zt-desc  { font-size: .7rem; color: #15224e; margin-top: 3px; }

/* NS-Grid / Zone-Optionen im Modal */
.ns-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; margin: 10px 0 6px; }
.ns-check-label { display: flex; align-items: center; gap: 7px; font-size: .8rem; font-family: monospace; cursor: pointer; padding: 3px 0; }
.ns-check-label input[type=checkbox] {
    appearance: none; -webkit-appearance: none;
    width: 15px; height: 15px; flex-shrink: 0;
    border: 1px solid #15224e; border-radius: 2px; background: #ffffff;
    display: inline-grid; place-content: center; cursor: pointer;
}
.ns-check-label input[type=checkbox]::before {
    content: "";
    width: 8px; height: 8px;
    transform: scale(0); transition: transform .08s ease-in-out;
    box-shadow: inset 1em 1em #15224e;
}
.ns-check-label input[type=checkbox]:checked::before { transform: scale(1); }
.zone-option { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; border-bottom: 1px solid #15224e; cursor: pointer; }
.zone-option:last-of-type { border-bottom: none; }
.zone-option input[type=radio],
.zone-option input[type=checkbox] {
    appearance: none; -webkit-appearance: none;
    width: 16px; height: 16px; margin-top: 2px; flex-shrink: 0;
    border: 1px solid #15224e; border-radius: 2px; background: #ffffff;
    display: inline-grid; place-content: center; cursor: pointer;
}
.zone-option input[type=radio]::before,
.zone-option input[type=checkbox]::before {
    content: "";
    width: 9px; height: 9px;
    transform: scale(0); transition: transform .08s ease-in-out;
    box-shadow: inset 1em 1em #15224e;
}
.zone-option input[type=radio]:checked::before,
.zone-option input[type=checkbox]:checked::before { transform: scale(1); }
.zone-option-body { flex: 1; }
.zone-option-title { font-weight: 700; font-size: .83rem; color: #15224e; }
.zone-option-sub { font-size: .72rem; color: #15224e; margin-top: 2px; }
.ns-section { padding: 8px 0 4px; }
.info-box { background: rgba(21,34,78,.05); border: 1px solid #15224e; border-radius: 6px; padding: 8px 12px; font-size: .77rem; color: #15224e; margin-top: 12px; }
.page-nameservers #glueResultBox {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.45;
    color: inherit;
}
.page-nameservers #glueResultBox i { margin-right: 8px; }
.page-nameservers .info-box.is-ok {
    background: #198754;
    border-color: #198754;
    color: #ffffff;
}
.page-nameservers .info-box.is-warning {
    background: #fff900;
    border-color: #fff900;
    color: #15224e;
}
.page-nameservers .info-box.is-error {
    background: #f70000;
    border-color: #f70000;
    color: #ffffff;
}
.page-nameservers .info-box.is-ok i,
.page-nameservers .info-box.is-ok a,
.page-nameservers .info-box.is-error i,
.page-nameservers .info-box.is-error a {
    color: #ffffff;
}
.page-nameservers .info-box.is-warning i,
.page-nameservers .info-box.is-warning a {
    color: #15224e;
}

/* ToFix readability: larger typography and high contrast without zoom */
.page-tofix .content-inner { color: #15224e; }
.page-tofix h1 { font-size: 2rem; color: #15224e; }
.page-tofix .breadcrumb,
.page-tofix .breadcrumb a,
.page-tofix .breadcrumb-item.active { font-size: 0.98rem; color: #15224e; }
.page-tofix .tofix-banner {
    font-size: 1rem;
    font-weight: 700;
    color: #15224e;
    border-color: #15224e;
}
.page-tofix .tofix-card {
    border: 1px solid #15224e;
}
.page-tofix .tofix-card .card-header-bar .title {
    font-size: 1.08rem;
    color: #15224e;
}
.page-tofix .tofix-body,
.page-tofix .tofix-line,
.page-tofix .tofix-issues li,
.page-tofix .tofix-todo li {
    font-size: 1rem;
    line-height: 1.55;
    color: #15224e;
}
.page-tofix .tofix-issues li,
.page-tofix .tofix-todo li { margin-bottom: 10px; }

/* NS-Liste Modal */
.ns-list-item { display: flex; align-items: center; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid #15224e; font-size: .82rem; }
.ns-list-item:last-child { border-bottom: none; }
.ns-badge { font-size: .62rem; font-weight: 700; padding: 2px 7px; border-radius: 10px; }
.ns-primary   { background: rgba(21,34,78,.12); color: #15224e; }
.ns-secondary { background: rgba(25,135,84,.12); color: #198754; }
.ns-pending   { background: rgba(255,249,0,.3);  color: #15224e; }
.btn-copy-ns {
    border: 1px solid #15224e; background: #ffffff; border-radius: 4px;
    padding: 3px 9px; font-size: .7rem; cursor: pointer; color: rgba(21,34,78,.55); transition: all .15s;
}
.btn-copy-ns:hover { border-color: #15224e; color: #15224e; }

/* DNS-Zonen-Tabelle */
.dns-table { width: 100%; border-collapse: collapse; }
.dns-table thead th {
    background: rgba(21,34,78,.06); color: #15224e;
    font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
    padding: 9px 14px; border-bottom: 1px solid rgba(21,34,78,.14); white-space: nowrap;
}
.dns-table td { padding: 10px 14px; border-bottom: 1px solid rgba(21,34,78,.06); vertical-align: middle; color: #15224e; }
.dns-table tbody tr:hover { background: rgba(21,34,78,.03); }
.dns-table tbody tr:last-child td { border-bottom: none; }
.zone-name { font-weight: 700; color: #15224e; font-size: .85rem; display: block; }
.zone-name:hover { opacity: .7; text-decoration: underline; }
.zone-meta { font-size: .67rem; color: #15224e; margin-top: 1px; }

/* DNSSEC-Badges */
.dnssec-badge { display: inline-flex; align-items: center; gap: 3px; font-size: .67rem; font-weight: 700; padding: 2px 7px; border-radius: 20px; }
.dnssec-on  { background: rgba(25,135,84,.12); color: #198754; }
.dnssec-off { background: rgba(247,0,0,.08);   color: #f70000; }

/* Aktion-Buttons (Zonen-Tabelle) — styles defined globally above in .btn-icon, .action-btn block */

/* ── Modal helpers (no inline styles) ───────────────────────────────────── */
.modal-w480 { max-width: 480px; }
.modal-w500 { max-width: 500px; }
.modal-w520 { max-width: 520px; }
.modal-body-pad     { padding: 1.5rem; }
.modal-body-compact { padding: 1rem 1.5rem 0.5rem; }
.modal-header-flush { border-bottom: none; padding-bottom: 0; }
.modal-footer-flush { border-top: none; padding-top: 0; }
.modal-title-strong { font-weight: 800; font-size: 1rem; color: #15224e; }
.modal-hint-text    { font-size: .8rem; color: #15224e; margin-bottom: 1rem; }
.modal-field-row    { margin-top: 14px; }
.modal-field-label  { font-size: .8rem; font-weight: 600; color: #15224e; display: block; margin-bottom: 4px; }
.modal-input-sm     { font-size: .85rem; }
.btn-modal-sec      { font-weight: 700; font-size: .8rem; letter-spacing: .03em; }
.btn-modal-primary  { background: var(--clr-brand); color: #ffffff; font-weight: 800; font-size: .8rem; letter-spacing: .03em; }
.text-brand         { color: var(--clr-brand); }
.muted-dash         { color: var(--clr-muted); }

/* NS check-label separator */
.ns-check-label-sep { margin-top: 6px; border-top: 1px solid rgba(21,34,78,.1); padding-top: 6px; }

/* Copy section / slaveIpRow — hidden by default */
.copy-section-hidden  { display: none; margin-top: 8px; }
.slave-ip-row-hidden  { display: none; margin-top: 10px; }

/* Last zone-option — no border-bottom */
.zone-option-last { border-bottom: none; }

/* Kind-picker icons — use brand colors only */
.icon-kind-primary   { color: #15224e; }
.icon-kind-secondary { color: #15224e; }
.icon-kind-native    { color: #198754; }

/* Record-Typ-Grid (Zone-Modal) */
.record-type-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 6px; margin-bottom: 1rem; }
.type-btn {
    padding: 6px; border: 1px solid rgba(21,34,78,.14); border-radius: 0;
    background: #ffffff; font-size: .72rem; font-weight: 700;
    cursor: pointer; text-align: center; transition: all .12s; color: rgba(21,34,78,.55);
}
.type-btn:hover, .type-btn.selected { background: #15224e; color: #ffffff; border-color: #15224e; }

/* ═══════════════════════════════════════════════════════════════
   LOGIN PAGE
   ═══════════════════════════════════════════════════════════════ */
.hero-section {
    min-height: 100vh;
    background: #15224e;
    display: flex;
    align-items: center;
    padding: 3rem 1rem;
}
.hero-icon {
    width: 90px; height: 90px;
    background: rgba(255,255,255,.12);
    border: 3px solid rgba(255,255,255,.25);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 2.2rem; color: #ffffff;
    backdrop-filter: blur(4px);
}
.hero-subtitle { color: #ffffff; font-size: .85rem; }
.login-card {
    background: #ffffff;
    border: 1px solid #15224e;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
    overflow: hidden;
}
.login-card .card-body      { padding: 2rem 2rem 1.5rem; }
.login-card .card-title     { font-weight: 800; font-size: 1.25rem; color: #15224e; margin-bottom: 1.5rem; }
.login-card .form-label     { font-size: .92rem; font-weight: 600; color: #15224e; margin-bottom: .25rem; }
.login-card .input-group-text {
    background: rgba(21,34,78,.05);
    border-color: #15224e;
    color: #15224e;
    width: 42px; justify-content: center;
}
.login-card .form-control   { border-color: #15224e; font-size: .95rem; color: #15224e; }
.login-card .form-control::placeholder {
    color: #15224e;
    opacity: 1;
    font-size: .95rem;
}
.login-card .form-control:focus {
    border-color: #15224e;
    box-shadow: 0 0 0 3px rgba(21,34,78,.12);
}
.login-card .form-control,
.login-card .input-group-text,
.login-card .btn-outline-secondary {
    border-width: 1px !important;
    border-style: solid !important;
    border-color: #15224e !important;
}
.login-card .input-group > :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
    border-left-color: #15224e !important;
}
.login-card .input-group > :not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating) {
    border-right-color: #15224e !important;
}
.login-card .input-group-text i {
    color: #15224e !important;
    opacity: 1 !important;
}
.login-card .btn-outline-secondary {
    border-color: #15224e;
    color: #15224e;
    background: transparent;
}
.login-card .btn-outline-secondary:hover,
.login-card .btn-outline-secondary:focus,
.login-card .btn-outline-secondary:active {
    background: rgba(21,34,78,.08);
    border-color: #15224e;
    color: #15224e;
    box-shadow: none;
}
.btn-login {
    background: #15224e; border: none; color: #ffffff;
    font-weight: 700; font-size: .9rem; padding: .65rem;
    border-radius: 6px; transition: background .15s; letter-spacing: .02em;
}
.btn-login:hover, .btn-login:focus { background: rgba(21,34,78,.8); color: #ffffff; }
#lockoutTimer  { font-weight: 700; }
.alert-login   { font-size: .82rem; }
.totp-hint     { color: #15224e; font-weight: 600; font-size: .9rem; }
.login-hr      { border-top: 1px solid #15224e !important; border-color: #15224e !important; opacity: 1; }
.login-card .form-text { color: #15224e !important; font-size: .9rem; font-weight: 500; }
.login-links   { font-size: .95rem; color: #15224e; }
.login-forgot-link          { color: #15224e; }
.login-forgot-link:hover    { color: rgba(21,34,78,.75); }
.login-register-prompt { color: #15224e; font-size: .95rem; font-weight: 500; }

/* Register page keeps same full-brand line/border rules as login */
.register-card,
.register-card .form-control,
.register-card .input-group-text,
.register-card .btn-outline-secondary,
.register-card .input-group > :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback),
.register-card .input-group > :not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating),
.register-card .login-hr {
    border-color: #15224e !important;
}
.register-card .form-control:hover,
.register-card .form-control:active,
.register-card .form-control:focus,
.register-card .form-control:valid,
.register-card .form-control:invalid {
    border-color: #15224e !important;
    box-shadow: none !important;
}
.register-card input.form-control:-webkit-autofill,
.register-card input.form-control:-webkit-autofill:hover,
.register-card input.form-control:-webkit-autofill:focus,
.register-card input.form-control:-webkit-autofill:active {
    border-color: #15224e !important;
    -webkit-text-fill-color: #15224e !important;
    -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
    box-shadow: 0 0 0 1000px #ffffff inset !important;
}
.register-card input.form-control:-moz-autofill {
    border-color: #15224e !important;
    -moz-text-fill-color: #15224e !important;
    box-shadow: 0 0 0 1000px #ffffff inset !important;
}
.auth-footer        { text-align: center; margin-top: 1.5rem; color: #ffffff; font-size: .72rem; }
.auth-footer a      { color: #ffffff; text-decoration: none; }
.auth-footer a:hover{ opacity: .75; color: #ffffff; text-decoration: none; }
.auth-register-page .hero-section {
    align-items: flex-start;
    padding-top: 1.6rem;
    padding-bottom: .7rem;
}
.auth-register-page .hero-section .text-center.mb-4 { margin-bottom: .85rem !important; }
.auth-register-page .login-card .card-body { padding-top: 1.5rem; padding-bottom: 1rem; }
.auth-register-page .auth-footer { margin-top: .8rem; }

/* ── Sidebar Footer ───────────────────────────────────────────────────────── */
.sidebar-footer-name { font-weight: 700; color: #15224e; }
.sidebar-footer-role { font-size: .72rem; color: #15224e; }

/* ── Dashboard — Schnellzugriff ───────────────────────────────────────────── */
.quick-access-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
}
.quick-access-card {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 8px; padding: 1.25rem 1rem;
    background: #ffffff; border: 1px solid rgba(21,34,78,.14); border-radius: 8px;
    color: #15224e; font-size: .8rem; font-weight: 600;
    text-decoration: none; transition: all .15s;
}
.quick-access-card i { font-size: 1.4rem; color: #15224e; }
.quick-access-card:hover { background: #15224e; color: #ffffff; border-color: #15224e; }
.quick-access-card:hover i { color: #ffffff; }

/* ── Dashboard — Server-Info ──────────────────────────────────────────────── */
.server-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
}
.server-info-item {
    background: #ffffff; border: 1px solid rgba(21,34,78,.14); border-radius: 8px;
    padding: .85rem 1rem;
}
.server-info-label { font-size: .7rem; font-weight: 700; color: #15224e; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 4px; }
.server-info-value { font-size: .85rem; font-weight: 700; color: #15224e; word-break: break-all; }

/* ── Header Dropdown ──────────────────────────────────────────────────────── */
.topbar-user-chevron        { font-size: .6rem; margin-left: 2px; }
.topbar-dd-menu             { font-size: .82rem; min-width: 160px; }
.dropdown-user-info         { font-size: .72rem; color: #15224e; }
.dd-icon                    { width: 14px; }
.dropdown-item-logout       { color: #f70000; }
.dropdown-item-logout:hover { color: #f70000; opacity: .8; }

/* ── Profile Page ─────────────────────────────────────────────────────────── */
/*
 * style-light.css
 * Updated: 2026-04-04 09:36:07 +0200 CEST Version 1.3 Profile page cards: profile-card, profile-form-card, badge-status — by MikeGeorg
 */
.profile-card {
    background: #ffffff;
    border: 1px solid var(--clr-border);
    border-radius: 10px;
    padding: 2rem 1.5rem;
    text-align: center;
}
.profile-avatar {
    width: 72px; height: 72px;
    border-radius: 50%;
    background: #15224e;
    color: #ffffff;
    font-size: 1.6rem; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1rem;
    text-transform: uppercase;
}
.profile-name {
    font-size: 1.1rem; font-weight: 700; color: #15224e; margin-bottom: .2rem;
}
.profile-role {
    font-size: .78rem; color: #15224e; margin-bottom: 1.2rem;
    text-transform: uppercase; letter-spacing: .06em;
}
.profile-meta { text-align: left; }
.profile-meta-item {
    display: flex; align-items: center; gap: 8px;
    font-size: .8rem; color: #15224e;
    padding: .45rem 0;
    border-top: 1px solid var(--clr-border);
}
.profile-meta-item i { width: 14px; text-align: center; color: #15224e; }
.badge-status {
    display: inline-block; padding: 2px 8px;
    border-radius: 20px; font-size: .7rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .04em;
}
.badge-status.active   { background: rgba(25,135,84,.12);  color: #198754; }
.badge-status.inactive { background: rgba(21,34,78,.08);   color: #15224e !important; }

.profile-form-card {
    background: #ffffff;
    border: 1px solid var(--clr-border);
    border-radius: 10px;
    padding: 1.5rem;
}

/*
 * style-light.css
 * Updated: 2026-04-04 10:56:14 +0200 CEST Version 1.4 Login: hero-logo (ctpf.png), login-lang-bar language switcher — by MikeGeorg
 * Updated: 2026-04-08 13:12:00 +0200 CEST Login/register language switcher moved to scalable dropdown with extensible language list — by MikeGeorg
 * Updated: 2026-04-08 13:20:00 +0200 CEST Add SVG flag icon support for auth language dropdown button/items — by MikeGeorg
 */

/* ── Login/Register — Language switcher dropdown ────────────────────────── */
.auth-top-switchers {
    display: inline-flex;
    align-items: flex-start;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: .8rem;
}
.auth-switch-box {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}
.auth-switch-label {
    color: #ffffff;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.login-lang-bar {
    display: inline-flex;
    align-items: center;
    margin-top: 0;
}
.login-lang-btn {
    font-size: .75rem;
    font-weight: 600;
    color: #15224e;
    letter-spacing: .02em;
    border: 1px solid #ffffff;
    border-radius: 4px;
    height: 30px;
    padding: 0 10px;
    line-height: 1;
    background: #ffffff;
    min-width: 120px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.login-lang-btn:hover,
.login-lang-btn:focus {
    color: #15224e;
    background: #ffffff;
    border-color: #ffffff;
}
.login-lang-menu {
    min-width: 160px;
    border: 1px solid rgba(21,34,78,.2);
    border-radius: 6px;
    font-size: .78rem;
}
.login-lang-menu .dropdown-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.login-lang-flag {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
    flex-shrink: 0;
}
.login-lang-menu .dropdown-item.active,
.login-lang-menu .dropdown-item:active {
    background: rgba(21,34,78,.08);
    color: #15224e;
}
.auth-skin-bar {
    gap: 6px;
}
.auth-skin-bar .header-sw-btn {
    min-width: 78px;
    height: 30px;
    padding: 0 10px;
    border: 1px solid #ffffff !important;
    color: #ffffff !important;
    background: transparent !important;
    gap: 6px;
    font-size: .78rem;
}
.auth-skin-bar .header-sw-btn:hover {
    border-color: #ffffff !important;
    background: rgba(255,255,255,.14) !important;
    color: #ffffff !important;
}
.auth-skin-bar .header-sw-btn.active {
    border-color: #ffffff !important;
    background: #ffffff !important;
    color: #15224e !important;
}
.auth-skin-bar .header-sw-btn.active:hover {
    background: rgba(255,255,255,.92) !important;
    color: #15224e !important;
}
.auth-skin-text {
    font-weight: 700;
    letter-spacing: .02em;
}

/* ── Login — Product logo (no circle, 1:1 original size) ────────────────── */
.hero-logo {
    margin: 0 auto 1.25rem;
    display: flex; align-items: center; justify-content: center;
}
.hero-logo-img {
    display: block;
}

/* ── NS-Tabelle Spalten ───────────────────────────────────────────────────── */
.ns-col-flag    { width: 52px; text-align: center; }
.ns-col-actions { width: 80px; text-align: center; }

/* ═══════════════════════════════════════════════════════════════════════════
   BOOTSTRAP OVERRIDES — enforce #15224e brand color on all BS components.
   Rule: ALL texts, borders, buttons and focus rings use #15224e on
         white (#ffffff) background. No Bootstrap blue anywhere.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Bootstrap CSS-variable overrides (highest priority, affects all components) */
:root {
    --bs-body-color:                #15224e;
    --bs-body-color-rgb:            21, 34, 78;
    --bs-border-color:              rgba(21,34,78,.2);
    --bs-border-color-translucent:  rgba(21,34,78,.15);
    --bs-link-color:                #15224e;
    --bs-link-color-rgb:            21, 34, 78;
    --bs-link-hover-color:          rgba(21,34,78,.75);
    --bs-link-hover-color-rgb:      21, 34, 78;
    --bs-focus-ring-color:          rgba(21,34,78,.2);
    --bs-primary-rgb:               21, 34, 78;
    --bs-primary:                   #15224e;
    --bs-btn-focus-shadow-rgb:      21, 34, 78;
    --bs-secondary-color:           rgba(21,34,78,.55);
    --bs-secondary-color-rgb:       21, 34, 78;
    --bs-tertiary-color:            rgba(21,34,78,.35);
    --bs-tertiary-color-rgb:        21, 34, 78;
    --bs-emphasis-color:            #15224e;
    --bs-emphasis-color-rgb:        21, 34, 78;
}

/* ── hr — divider lines → brand color ───────────────────────────────────── */
hr {
    border-color: rgba(21,34,78,.2) !important;
    opacity:      1                 !important;
}

/* ── input-group — connecting borders between elements ───────────────────── */
.input-group > :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
    border-left-color: rgba(21,34,78,.2) !important;
}
.input-group > :not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating) {
    border-right-color: rgba(21,34,78,.2) !important;
}

/* ── Modal — borders → brand ─────────────────────────────────────────────── */
.modal-content {
    border-color: rgba(21,34,78,.2);
}
.modal-header,
.modal-footer {
    border-color: rgba(21,34,78,.15);
}

/* ── Card (Bootstrap) — borders → brand ─────────────────────────────────── */
.card {
    border-color: rgba(21,34,78,.2);
    color:        #15224e;
}
.card-header,
.card-footer {
    border-color:     rgba(21,34,78,.15);
    background-color: rgba(21,34,78,.03);
    color:            #15224e;
}

/* ── Table — all borders → brand ─────────────────────────────────────────── */
.table {
    --bs-table-border-color: rgba(21,34,78,.12);
    color: #15224e;
}
.table > :not(caption) > * > * {
    color:        #15224e;
    border-color: rgba(21,34,78,.12);
}

/* ── Accordion — borders → brand ─────────────────────────────────────────── */
.accordion-item { border-color: rgba(21,34,78,.2); }
.accordion-button:not(.collapsed) {
    color:            #15224e;
    background-color: rgba(21,34,78,.06);
    box-shadow:       inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 rgba(21,34,78,.15);
}
.accordion-button:focus {
    box-shadow: 0 0 0 .2rem rgba(21,34,78,.2);
}
.accordion-button::after {
    filter: hue-rotate(200deg) saturate(0.5);
}

/* ── btn-primary ─────────────────────────────────────────────────────────── */
.btn-primary {
    background-color: #15224e;
    border-color:     #15224e;
    color:            #ffffff;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.show > .btn-primary.dropdown-toggle {
    background-color: rgba(21,34,78,.85);
    border-color:     #15224e;
    color:            #ffffff;
}
.btn-primary:focus,
.btn-primary:focus-visible {
    box-shadow: 0 0 0 .2rem rgba(21,34,78,.25);
}
.btn-check:checked + .btn-primary,
.btn-check:active + .btn-primary {
    background-color: #15224e;
    border-color:     #15224e;
    color:            #ffffff;
}

/* ── btn-outline-primary ─────────────────────────────────────────────────── */
.btn-outline-primary {
    color:        #15224e;
    border-color: #15224e;
    background:   transparent;
}
.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active,
.btn-outline-primary.active,
.show > .btn-outline-primary.dropdown-toggle {
    background-color: #15224e;
    border-color:     #15224e;
    color:            #ffffff;
}
.btn-outline-primary:focus,
.btn-outline-primary:focus-visible {
    box-shadow: 0 0 0 .2rem rgba(21,34,78,.25);
}

/* ── btn-check (radio/checkbox pill buttons) ─────────────────────────────── */
.btn-check:checked + .btn-outline-primary,
.btn-check:active + .btn-outline-primary {
    background-color: #15224e;
    border-color:     #15224e;
    color:            #ffffff;
}

/* ── Links ───────────────────────────────────────────────────────────────── */
a { color: #15224e; }
a:hover { color: rgba(21,34,78,.75); }

/* ── Form focus rings (global) ───────────────────────────────────────────── */
.form-control:focus,
.form-select:focus,
.form-check-input:focus {
    border-color: #15224e;
    box-shadow:   0 0 0 .2rem rgba(21,34,78,.15);
}

/* ── Checkboxes & Radios ─────────────────────────────────────────────────── */
.form-check-input:checked {
    background-color: #15224e;
    border-color:     #15224e;
}
input[type="checkbox"],
input[type="radio"] {
    accent-color: #15224e;
}

/* ── Pagination ──────────────────────────────────────────────────────────── */
.page-link { color: #15224e; }
.page-link:hover { color: #15224e; background: rgba(21,34,78,.06); border-color: rgba(21,34,78,.2); }
.page-item.active .page-link { background-color: #15224e; border-color: #15224e; color: #ffffff; }
.page-item.disabled .page-link { color: rgba(21,34,78,.35); }

/* ── Progress Bar ────────────────────────────────────────────────────────── */
.progress-bar { background-color: #15224e; }

/* ── Spinner ─────────────────────────────────────────────────────────────── */
.text-primary { color: #15224e !important; }
.spinner-border.text-primary,
.spinner-grow.text-primary { color: #15224e !important; }

/* ── Badge (Bootstrap) ───────────────────────────────────────────────────── */
.badge.bg-primary { background-color: #15224e !important; color: #ffffff; }

/* ── Alerts — info uses brand color ─────────────────────────────────────── */
.alert-info {
    background-color: rgba(21,34,78,.07);
    border-color:     rgba(21,34,78,.2);
    color:            #15224e;
}
.alert-info .alert-link { color: #15224e; font-weight: 700; }

/* ── Input-group-text ────────────────────────────────────────────────────── */
.input-group-text {
    background:   rgba(21,34,78,.05) !important;
    border-color: rgba(21,34,78,.2)  !important;
    color:        #15224e            !important;
}

/* ── Dropdown (Bootstrap) ────────────────────────────────────────────────── */
.dropdown-item:focus,
.dropdown-item:hover { background-color: rgba(21,34,78,.07); color: #15224e; }
.dropdown-item.active,
.dropdown-item:active { background-color: #15224e; color: #ffffff; }

/* ── List-group ──────────────────────────────────────────────────────────── */
.list-group-item.active { background-color: #15224e; border-color: #15224e; color: #ffffff; }
.list-group-item-action:hover { background-color: rgba(21,34,78,.06); color: #15224e; }

/* ── Breadcrumb divider ──────────────────────────────────────────────────── */
.breadcrumb-item + .breadcrumb-item::before { color: rgba(21,34,78,.35); }
.breadcrumb-item a { color: #15224e; opacity: .65; }
.breadcrumb-item a:hover { opacity: 1; color: #15224e; }
.breadcrumb-item.active { color: #15224e; }

/* ── Nav-tabs ────────────────────────────────────────────────────────────── */
.nav-tabs .nav-link { color: #15224e; border-color: transparent; }
.nav-tabs .nav-link:hover { border-color: rgba(21,34,78,.2); color: #15224e; }
.nav-tabs .nav-link.active {
    color: #15224e; font-weight: 700;
    border-color: rgba(21,34,78,.2) rgba(21,34,78,.2) #ffffff;
}

/* ── Table striped / bordered ────────────────────────────────────────────── */
.table-striped > tbody > tr:nth-of-type(odd) > * { background-color: rgba(21,34,78,.03); }
.table-bordered > :not(caption) > * > * { border-color: rgba(21,34,78,.12); }
.table-hover > tbody > tr:hover > * { background-color: rgba(21,34,78,.04); }

/* ── btn-outline-secondary → brand colors ────────────────────────────────── */
.btn-outline-secondary {
    color:            #15224e;
    border-color:     rgba(21,34,78,.3);
    background:       transparent;
}
.btn-outline-secondary:hover,
.btn-outline-secondary:focus,
.btn-outline-secondary:active,
.btn-outline-secondary.active,
.show > .btn-outline-secondary.dropdown-toggle {
    background-color: rgba(21,34,78,.08);
    border-color:     #15224e;
    color:            #15224e;
    box-shadow:       none;
}
.btn-outline-secondary:focus-visible {
    box-shadow: 0 0 0 .2rem rgba(21,34,78,.2);
}
.btn-check:checked + .btn-outline-secondary {
    background-color: #15224e;
    border-color:     #15224e;
    color:            #ffffff;
}

/* ── Page-specific brand borders and outline buttons (final overrides) ───── */
.page-dashboard .content-card,
.page-dashboard .stat-card,
.page-dashboard .quick-access-card,
.page-dashboard .server-info-item,
.page-dashboard .card-table,
.page-dashboard .table-responsive,
.page-dashboard .tbl-wrap table,
.page-dashboard .api-status-banner,
.page-dns .content-card,
.page-dns .stat-card,
.page-dns .api-status-banner,
.page-dns .card-toolbar,
.page-dns .zone-tab-bar,
.page-dns .dns-table thead th,
.page-dns .dns-table tbody tr,
.page-dns .table-responsive,
.page-dns .dropdown-divider,
.page-dns hr,
.page-nameservers .content-card,
.page-nameservers .api-status-banner,
.page-nameservers .card-header-bar,
.page-nameservers .ns-table th,
.page-nameservers .ns-table td,
.page-nameservers .dropdown-divider,
.page-nameservers hr {
    border-color: #15224e !important;
}
.page-dashboard .card-toolbar,
.page-dashboard .card-header-bar,
.page-dashboard .ns-group-title,
.page-dashboard .table-top-toolbar,
.page-dns .card-toolbar,
.page-dns .zone-tab-bar,
.page-nameservers .card-header-bar {
    border-bottom-color: #15224e !important;
}
.page-dashboard .page-topbar .btn-outline-secondary,
.page-dns .btn-outline-secondary,
.page-nameservers .btn-outline-secondary {
    border-color: #15224e !important;
    color: #15224e !important;
    background: #ffffff !important;
}
.page-dashboard .page-topbar .btn-outline-secondary:hover,
.page-dashboard .page-topbar .btn-outline-secondary:focus,
.page-dashboard .page-topbar .btn-outline-secondary:active,
.page-dns .btn-outline-secondary:hover,
.page-dns .btn-outline-secondary:focus,
.page-dns .btn-outline-secondary:active,
.page-nameservers .btn-outline-secondary:hover,
.page-nameservers .btn-outline-secondary:focus,
.page-nameservers .btn-outline-secondary:active {
    border-color: #15224e !important;
    background: #15224e !important;
    color: #ffffff !important;
}

/* DNS page: make Type badges rectangular like create button */
.page-dns .badge-kind {
    border-radius: 0 !important;
}

/* ── .text-muted override → brand color ─────────────────────────────────── */
.text-muted { color: #15224e !important; }

/* ── .form-text override → brand color ──────────────────────────────────── */
.form-text {
    color:       #15224e !important;
    font-size:   .75rem;
    margin-top:  .25rem;
}

/* ── Profile page — email display ────────────────────────────────────────── */
.profile-email {
    font-size:     .78rem;
    color:         #15224e;
    margin-top:    .25rem;
    margin-bottom: 1rem;
}

/* ── Profile page — session description paragraph ────────────────────────── */
.profile-session-desc {
    font-size: .875rem;
    color:     #15224e;
}

/* ── Profile page — password unavailable message ─────────────────────────── */
.profile-unavail-msg {
    font-size: .875rem;
    color:     rgba(21,34,78,.65);
}

/* ── Form inputs — placeholder color ─────────────────────────────────────── */
.form-control::placeholder,
.form-select::placeholder,
textarea::placeholder {
    color:   rgba(21,34,78,.35);
    opacity: 1;
}

/* ── Form inputs — text color + border override ──────────────────────────── */
.form-control,
.form-select {
    color:        #15224e !important;
    border-color: rgba(21,34,78,.2) !important;
}
.form-control:focus,
.form-select:focus {
    color:        #15224e !important;
    border-color: #15224e !important;
    box-shadow:   0 0 0 .2rem rgba(21,34,78,.15) !important;
}

/* ── Labels global ────────────────────────────────────────────────────────── */
label { color: #15224e; }

/* ── strong / b inside form areas ────────────────────────────────────────── */
.form-text strong,
.profile-form-card strong,
.profile-card strong { color: #15224e; }

/* ── Global modal palette (light) — text/lines/borders in #15224e ───────── */
.modal-content {
    color: #15224e !important;
    border: 1px solid #15224e !important;
}
.modal-title,
.modal-body,
.modal-footer,
.modal label,
.modal p,
.modal span,
.modal small,
.modal .text-muted,
.modal .form-text,
.modal .hint-muted {
    color: #15224e !important;
}
.modal-header,
.modal-header .modal-title,
.modal-header i,
.modal-header .btn-close,
.modal-header-danger,
.modal-header-danger .modal-title,
.modal-header-danger i,
.modal-header-danger .btn-close {
    color: #ffffff !important;
}
.modal-header,
.modal-footer,
.modal hr,
.modal .dropdown-divider,
.modal .table > :not(caption) > * > *,
.modal .table thead th,
.modal .table tbody td,
.modal .form-control,
.modal .form-select,
.modal .input-group-text,
.modal .btn-outline-secondary,
.modal .btn-light,
.modal .btn-toolbar-outline,
.modal .btn-sm-outline {
    border-color: #15224e !important;
}
.modal .form-control,
.modal .form-select,
.modal .input-group-text,
.modal .btn-outline-secondary,
.modal .btn-light {
    color: #15224e !important;
}
.modal .form-control::placeholder,
.modal textarea.form-control::placeholder,
.modal input::placeholder {
    color: rgba(21,34,78,.72) !important;
    opacity: 1 !important;
}

/* ── Nameserver page — enforce consistent text/number color ─────────────── */
.page-nameservers .card-header-count,
.page-nameservers .hint-muted,
.page-nameservers .form-hint,
.page-nameservers .ns-ip-empty,
.page-nameservers .empty-state,
.page-nameservers .empty-state i,
.page-nameservers .text-muted,
.page-nameservers .form-text,
.page-nameservers small,
.page-nameservers label,
.page-nameservers .ns-table td,
.page-nameservers .ns-table th,
.page-nameservers .ns-hostname,
.page-nameservers .ns-ip,
.page-nameservers .group-badge {
    color: #15224e !important;
}

/* Help page readability: keep hint text fully brand-contrast */
.page-help .hint-muted {
    color: #15224e !important;
}

/* ── Records modal: Available Nameservers cards -> full #15224e text ────── */
.modal .ns-group-title,
.modal .ns-card,
.modal .ns-card *,
.modal .ns-card-top,
.modal .ns-host,
.modal .ns-detail,
.modal .ns-detail .ns-lbl,
.modal .ns-note,
.modal .ns-badge-in,
.modal .ns-add-btn,
.modal .ns-add-btn:disabled,
.modal #nsListBody,
.modal #nsListBody * {
    color: #15224e !important;
}
.modal .ns-card,
.modal .ns-card.ns-card-active,
.modal .ns-badge-in,
.modal .ns-add-btn,
.modal .ns-add-btn:disabled {
    border-color: #15224e !important;
}
.modal .ns-card {
    background: #ffffff !important;
}
.modal .ns-card.ns-card-active {
    background: rgba(21,34,78,.06) !important;
}
.modal .ns-add-btn:hover:not(:disabled) {
    background: #15224e !important;
    color: #ffffff !important;
}

/* ── Global modal actions UX: cancel red, save green, no hover shift ─────── */
.modal .modal-footer .btn[data-bs-dismiss="modal"],
.modal .modal-footer .btn.btn-cancel-plain {
    background: #f70000 !important;
    border-color: #f70000 !important;
    color: #ffffff !important;
}
.modal .modal-footer .btn.btn-brand,
.modal .modal-footer .btn.btn-save-plain,
.modal .modal-footer .btn.btn-success {
    background: #198754 !important;
    border-color: #198754 !important;
    color: #ffffff !important;
}
.modal .modal-footer .btn[data-bs-dismiss="modal"]:hover,
.modal .modal-footer .btn[data-bs-dismiss="modal"]:focus,
.modal .modal-footer .btn[data-bs-dismiss="modal"]:active,
.modal .modal-footer .btn.btn-cancel-plain:hover,
.modal .modal-footer .btn.btn-cancel-plain:focus,
.modal .modal-footer .btn.btn-cancel-plain:active,
.modal .modal-footer .btn.btn-brand:hover,
.modal .modal-footer .btn.btn-brand:focus,
.modal .modal-footer .btn.btn-brand:active,
.modal .modal-footer .btn.btn-save-plain:hover,
.modal .modal-footer .btn.btn-save-plain:focus,
.modal .modal-footer .btn.btn-save-plain:active,
.modal .modal-footer .btn.btn-success:hover,
.modal .modal-footer .btn.btn-success:focus,
.modal .modal-footer .btn.btn-success:active {
    filter: none !important;
    box-shadow: none !important;
}

/* Record type picker text/borders always readable in light mode */
.modal .type-chip:not(.selected),
.modal .type-btn:not(.selected) {
    color: #15224e !important;
    border-color: #15224e !important;
}
.modal .type-chip.selected,
.modal .type-btn.selected {
    color: #15224e !important;
    background: #ffffff !important;
    border-color: #15224e !important;
}

/* RGBA-free policy overrides for visible auth/dashboard UI */
.page-dashboard .content-card,
.page-dashboard .stat-card,
.page-dashboard .quick-access-card,
.page-dashboard .server-info-item,
.page-dashboard .card-table,
.page-dashboard .table-responsive,
.page-dns .content-card,
.page-dns .stat-card,
.page-dns .api-status-banner,
.page-nameservers .content-card,
.page-nameservers .api-status-banner,
.page-nameservers .card-header-bar {
    border-color: #15224e !important;
}
.page-dashboard .card-toolbar,
.page-dns .card-toolbar,
.page-dns .zone-tab-bar,
.page-nameservers .card-header-bar,
.dropdown-divider {
    border-color: #15224e !important;
}
.text-muted,
.form-text,
.hint-muted,
small {
    color: #15224e !important;
}
.form-control:focus,
.form-select:focus,
.form-check-input:focus,
.btn-outline-secondary:focus-visible,
.btn-primary:focus,
.btn-primary:focus-visible {
    box-shadow: none !important;
}

/* Global straight UI: buttons + fields without rounding */
button,
.btn,
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
select,
textarea,
.form-control,
.form-select,
.input-group-text,
.btn-login,
.login-card {
    border-radius: 0 !important;
}

/* Absolute no-radius mode (project-wide) */
*,
*::before,
*::after {
    border-radius: 0 !important;
}
