/* =============================================================================
   Painel Admin NETNIC — tema premium (skin CoreUI)
   Inspiração de densidade/clareza tipo Tabler; sem trocar o framework.
   Rollback: backups/ds-pre-premium/app.css  |  branch chg/20260808-ds-painel-premium
   ============================================================================= */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
    /* Marca */
    --brand-primary: #3b82f6;
    --brand-primary-hover: #2563eb;
    --brand-primary-dim: rgba(59, 130, 246, 0.16);
    --brand-primary-border: rgba(59, 130, 246, 0.35);
    --brand-accent: #22d3ee;

    /* Superfícies (slate frio) */
    --surf-0: #070b14;
    --surf-1: #0b1220;
    --surf-2: #111827;
    --surf-3: #1a2332;
    --surf-border: rgba(148, 163, 184, 0.12);
    --surf-border-strong: rgba(148, 163, 184, 0.22);
    --text-1: #f1f5f9;
    --text-2: #94a3b8;
    --text-3: #64748b;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.35);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.45);

    --cui-sidebar-width: 16.5rem;
    --font-sans: 'IBM Plex Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-mono: 'IBM Plex Mono', ui-monospace, 'Cascadia Code', Consolas, monospace;

    /* CoreUI / Bootstrap bridge */
    --cui-body-bg: var(--surf-0);
    --cui-body-color: var(--text-1);
    --cui-secondary-color: var(--text-2);
    --cui-border-color: var(--surf-border);
    --cui-tertiary-bg: var(--surf-2);
    --cui-secondary-bg: var(--surf-2);
    --bs-body-bg: var(--surf-0);
    --bs-body-color: var(--text-1);
    --bs-border-color: var(--surf-border);
    --bs-primary: var(--brand-primary);
    --bs-link-color: #60a5fa;
}

/* ── Base ──────────────────────────────────────────────── */
html, body {
    font-family: var(--font-sans);
    background: var(--surf-0);
    color: var(--text-1);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.sidebar-lg-show {
    background:
        radial-gradient(1200px 600px at 0% -10%, rgba(59, 130, 246, 0.08), transparent 55%),
        radial-gradient(900px 500px at 100% 0%, rgba(34, 211, 238, 0.04), transparent 50%),
        var(--surf-0);
}

h1, h2, h3, h4, h5, h6,
.fs-1, .fs-2, .fs-3, .fs-4 {
    letter-spacing: -0.02em;
    font-weight: 600;
}

.text-muted, .text-body-secondary {
    color: var(--text-2) !important;
}

code, pre, .font-monospace {
    font-family: var(--font-mono);
}

/* ── Layout: sidebar fixa ──────────────────────────────── */
.sidebar.sidebar-fixed {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: var(--cui-sidebar-width);
    z-index: 1030;
    overflow-y: auto;
}

@media (min-width: 768px) {
    .wrapper {
        margin-left: var(--cui-sidebar-width);
    }
}

@media (max-width: 767.98px) {
    .sidebar.sidebar-fixed {
        transform: translateX(-100%);
        transition: transform .28s ease;
    }
    .sidebar-show .sidebar.sidebar-fixed {
        transform: translateX(0);
    }
}

/* ── Sidebar ───────────────────────────────────────────── */
.sidebar {
    --cui-sidebar-bg: linear-gradient(180deg, #0c1424 0%, #0a101c 100%);
    --cui-sidebar-nav-link-color: rgba(226, 232, 240, 0.78);
    --cui-sidebar-nav-link-active-bg: var(--brand-primary-dim);
    --cui-sidebar-nav-link-active-color: #fff;
    --cui-sidebar-nav-link-hover-bg: rgba(255, 255, 255, 0.05);
    --cui-sidebar-nav-link-icon-color: rgba(148, 163, 184, 0.75);
    --cui-sidebar-nav-link-active-icon-color: #93c5fd;
    --cui-sidebar-nav-title-color: rgba(148, 163, 184, 0.45);
    background: linear-gradient(180deg, #0c1424 0%, #0a101c 100%) !important;
    border-right: 1px solid var(--surf-border) !important;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.25);
}

.sidebar-brand {
    background: rgba(0, 0, 0, 0.22);
    border-bottom: 1px solid var(--surf-border);
    padding: 1rem 1.15rem;
    min-height: 60px;
    display: flex;
    align-items: center;
}

.sidebar-logo {
    width: 34px;
    height: 34px;
    object-fit: contain;
    border-radius: 10px;
    background: linear-gradient(145deg, rgba(59, 130, 246, 0.25), rgba(255, 255, 255, 0.04));
    border: 1px solid var(--brand-primary-border);
    padding: 5px;
    flex-shrink: 0;
}

.sidebar-brand-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-1);
    letter-spacing: 0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar .nav-title {
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    margin-top: 1.1rem !important;
    padding: 0.4rem 1.15rem !important;
}

.sidebar .nav-link {
    border-radius: 8px;
    margin: 1px 0.55rem;
    padding: 0.55rem 0.75rem !important;
    font-size: 13.5px;
    font-weight: 500;
    transition: background .15s ease, color .15s ease, box-shadow .15s ease;
}

.nav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.35rem;
    font-size: 15px;
    flex-shrink: 0;
    margin-right: 0.35rem;
}

.sidebar .nav-link.active {
    box-shadow: inset 3px 0 0 var(--brand-primary);
    background: var(--brand-primary-dim) !important;
    color: #fff !important;
}

/* ── Header / topbar ───────────────────────────────────── */
.header {
    --cui-header-bg: rgba(11, 18, 32, 0.82);
    --cui-header-border-color: var(--surf-border);
    backdrop-filter: blur(14px) saturate(1.2);
    -webkit-backdrop-filter: blur(14px) saturate(1.2);
    box-shadow: 0 1px 0 var(--surf-border);
}

.header .container-fluid {
    min-height: 60px !important;
}

.header-toggler {
    border-radius: var(--radius-sm);
    border: 1px solid var(--surf-border);
    padding: 0.35rem 0.5rem;
}

/* ── Main content ──────────────────────────────────────── */
.main {
    padding-top: 1.25rem !important;
}

.body {
    background: transparent;
}

/* ── Cards ─────────────────────────────────────────────── */
.card {
    background: linear-gradient(180deg, rgba(26, 35, 50, 0.92), rgba(17, 24, 39, 0.96));
    border-radius: var(--radius-md);
    border: 1px solid var(--surf-border);
    box-shadow: var(--shadow-sm);
    color: var(--text-1);
}

.card-header {
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--surf-border);
    font-weight: 600;
    font-size: 0.92rem;
    letter-spacing: -0.01em;
    padding: 0.85rem 1.15rem;
}

.card-body {
    padding: 1.15rem;
}

.card-footer {
    border-top: 1px solid var(--surf-border);
    background: transparent;
}

.card.border-0,
.card.shadow-none {
    box-shadow: var(--shadow-sm);
}

/* ── Botões ────────────────────────────────────────────── */
.btn {
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.875rem;
    letter-spacing: 0.01em;
    transition: transform .12s ease, box-shadow .12s ease, background .12s ease, border-color .12s ease;
}

.btn:active {
    transform: translateY(1px);
}

.btn-primary {
    --bs-btn-bg: var(--brand-primary);
    --bs-btn-border-color: var(--brand-primary);
    --bs-btn-hover-bg: var(--brand-primary-hover);
    --bs-btn-hover-border-color: var(--brand-primary-hover);
    --bs-btn-active-bg: var(--brand-primary-hover);
    --bs-btn-active-border-color: var(--brand-primary-hover);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset, 0 6px 16px rgba(37, 99, 235, 0.28);
}

.btn-outline-primary {
    --bs-btn-color: #93c5fd;
    --bs-btn-border-color: var(--brand-primary-border);
    --bs-btn-hover-bg: var(--brand-primary-dim);
    --bs-btn-hover-border-color: var(--brand-primary);
    --bs-btn-hover-color: #fff;
}

.btn-outline-secondary {
    --bs-btn-color: var(--text-2);
    --bs-btn-border-color: var(--surf-border-strong);
    --bs-btn-hover-bg: rgba(255, 255, 255, 0.05);
    --bs-btn-hover-color: var(--text-1);
}

.btn-outline-danger {
    --bs-btn-border-color: rgba(248, 113, 113, 0.35);
}

.btn-sm {
    border-radius: 7px;
}

/* ── Forms ─────────────────────────────────────────────── */
.form-control,
.form-select {
    border-radius: var(--radius-sm);
    background-color: rgba(7, 11, 20, 0.55);
    border-color: var(--surf-border-strong);
    color: var(--text-1);
    min-height: 2.4rem;
}

.form-control:focus,
.form-select:focus {
    background-color: rgba(7, 11, 20, 0.75);
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 0.2rem var(--brand-primary-dim);
    color: var(--text-1);
}

.form-control::placeholder {
    color: var(--text-3);
}

.form-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-2);
    margin-bottom: 0.35rem;
}

.form-text {
    color: var(--text-3);
}

.form-check-input:checked {
    background-color: var(--brand-primary);
    border-color: var(--brand-primary);
}

/* ── Tables ────────────────────────────────────────────── */
.table {
    --bs-table-bg: transparent;
    --bs-table-color: var(--text-1);
    --bs-table-border-color: var(--surf-border);
    --bs-table-striped-bg: rgba(255, 255, 255, 0.02);
    --bs-table-hover-bg: rgba(59, 130, 246, 0.06);
    --bs-table-striped-color: var(--text-1);
    --bs-table-hover-color: var(--text-1);
    font-size: 0.875rem;
}

.table thead th {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-3);
    border-bottom-color: var(--surf-border-strong) !important;
    white-space: nowrap;
    background: rgba(0, 0, 0, 0.18);
}

.table > :not(caption) > * > * {
    padding: 0.7rem 0.85rem;
    vertical-align: middle;
}

.table-responsive {
    border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.card .table {
    margin-bottom: 0;
}

/* ── Badges / nav-tabs / alerts ────────────────────────── */
.badge {
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: 6px;
}

.nav-tabs {
    border-bottom-color: var(--surf-border);
}

.nav-tabs .nav-link {
    color: var(--text-2);
    border: none;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    font-weight: 600;
    font-size: 0.875rem;
}

.nav-tabs .nav-link:hover {
    color: var(--text-1);
    border-bottom-color: var(--surf-border-strong);
}

.nav-tabs .nav-link.active {
    color: #93c5fd;
    background: transparent;
    border-bottom-color: var(--brand-primary);
}

.alert {
    border-radius: var(--radius-sm);
    border-width: 1px;
}

/* ── Status badges (legado dashboard/jobs) ─────────────── */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    white-space: nowrap;
}
.badge-ok {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.28);
}
.badge-running {
    background: rgba(234, 179, 8, 0.15);
    color: #facc15;
    border: 1px solid rgba(234, 179, 8, 0.28);
}
.badge-queued {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.28);
}
.badge-failed {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.28);
}
.badge-cancelled {
    background: rgba(148, 163, 184, 0.10);
    color: rgba(148, 163, 184, 0.75);
    border: 1px solid rgba(148, 163, 184, 0.18);
}

/* ── Stat cards ────────────────────────────────────────── */
.stat-card {
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
    cursor: pointer;
    border-color: var(--surf-border) !important;
}
.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--brand-primary-border) !important;
}
.stat-icon {
    font-size: 22px;
    margin-bottom: 6px;
    color: #93c5fd;
}
.stat-value {
    font-size: 1.85rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
}
.stat-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-3);
    margin-top: 4px;
}

/* ── Info rows / logs ──────────────────────────────────── */
.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 0;
    border-bottom: 1px solid var(--surf-border);
    gap: 12px;
    font-size: 13px;
}
.info-row:last-child { border-bottom: none; }
.info-row > span:first-child,
.info-row > .text-muted { min-width: 100px; }

.log-view {
    white-space: pre-wrap;
    font-family: var(--font-mono);
    font-size: 12px;
    line-height: 1.6;
    border-radius: var(--radius-sm);
    padding: 14px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--surf-border);
}
.log-view.log-view-lg { min-height: 280px; }

.card-alert-warning { border-color: rgba(234, 179, 8, 0.35) !important; }
.card-alert-warning .card-header { background: rgba(234, 179, 8, 0.06); }
.border-warning-subtle { border-color: rgba(234, 179, 8, 0.28) !important; }
.border-danger-subtle  { border-color: rgba(239, 68, 68, 0.28) !important; }

/* ── Breadcrumb / toast / accordion / pagination ───────── */
.breadcrumb-nav {
    padding: 8px 0 2px;
    margin-bottom: 12px;
}
.breadcrumb {
    font-size: 13px;
    background: transparent;
    padding: 0;
    margin: 0;
}

.toast {
    min-width: 290px;
    max-width: 400px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.accordion-button:not(.collapsed) {
    box-shadow: inset 0 -1px 0 var(--surf-border);
}

.pagination .page-link {
    border-radius: 6px !important;
    margin: 0 2px;
    background: var(--surf-2);
    border-color: var(--surf-border);
    color: var(--text-2);
}
.pagination .page-item.active .page-link {
    background-color: var(--brand-primary);
    border-color: var(--brand-primary);
    color: #fff;
}

/* ── Modals (CoreUI) ───────────────────────────────────── */
.modal-content {
    background: var(--surf-2);
    border: 1px solid var(--surf-border-strong);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    color: var(--text-1);
}
.modal-header,
.modal-footer {
    border-color: var(--surf-border);
}

/* ── Auth / login (split panel — NETNIC, não Propósito) ── */
.auth-page {
    min-height: 100vh;
    font-family: var(--font-sans);
    background: #05080f;
    color: var(--text-1);
}

.login-stage {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1rem;
    overflow: hidden;
}

.login-ambient {
    pointer-events: none;
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 55% at 50% -10%, rgba(59, 130, 246, 0.16), transparent 60%),
        radial-gradient(circle at 12% 70%, rgba(34, 211, 238, 0.07), transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(59, 130, 246, 0.08), transparent 42%),
        #05080f;
}

.login-panel {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 960px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.03) inset,
        0 28px 80px rgba(0, 0, 0, 0.55);
    background: var(--surf-2);
}

.login-panel--narrow {
    max-width: 440px;
    grid-template-columns: 1fr;
}

.login-form-pane--solo {
    min-height: 420px;
}

.login-brand {
    position: relative;
    min-height: 520px;
    padding: 2.25rem 2rem;
    background:
        linear-gradient(160deg, #0b1730 0%, #0a1224 48%, #07101f 100%);
    border-right: 1px solid rgba(148, 163, 184, 0.12);
    display: flex;
}

.login-brand-glow {
    pointer-events: none;
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 20%, rgba(59, 130, 246, 0.28), transparent 42%),
        radial-gradient(circle at 80% 90%, rgba(34, 211, 238, 0.12), transparent 45%),
        linear-gradient(110deg, transparent 40%, rgba(59, 130, 246, 0.08) 50%, transparent 60%);
    opacity: 1;
}

.login-brand-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    gap: 1.75rem;
}

.login-brand-logo-wrap {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 1.25rem;
}

.login-brand-logo {
    height: 56px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(59, 130, 246, 0.35);
    padding: 8px 12px;
    box-shadow: 0 8px 28px rgba(37, 99, 235, 0.2);
}

.login-brand-title {
    font-size: 1.85rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin: 0 0 0.35rem;
    color: #fff;
}

.login-brand-kicker {
    margin: 0 0 0.85rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #7dd3fc;
    letter-spacing: 0.01em;
}

.login-brand-lead {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.55;
    color: rgba(226, 232, 240, 0.62);
    max-width: 34ch;
}

.login-features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.login-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: rgba(226, 232, 240, 0.78);
}

.login-feature-icon {
    flex-shrink: 0;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.14);
    color: #93c5fd;
    border: 1px solid rgba(59, 130, 246, 0.28);
    font-size: 1rem;
}

.login-brand-foot {
    margin: 0;
    font-size: 0.72rem;
    color: rgba(148, 163, 184, 0.45);
}

.login-form-pane {
    padding: 2.35rem 2.15rem;
    background: linear-gradient(180deg, #121a27 0%, #0d1420 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-form-head h2 {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #fff;
}

.login-form-head p {
    margin: 0.35rem 0 0;
    font-size: 0.875rem;
    color: var(--text-2);
}

.login-alert {
    margin-top: 1.25rem;
    margin-bottom: 0;
    font-size: 0.875rem;
}

.login-form {
    margin-top: 1.5rem;
}

.login-form-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin: 0 0 1.25rem;
    flex-wrap: wrap;
}

.login-remember {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    font-size: 0.875rem;
    color: rgba(226, 232, 240, 0.78);
    cursor: pointer;
    user-select: none;
}

.login-remember input {
    width: 1.05rem;
    height: 1.05rem;
    margin: 0;
    accent-color: var(--brand-primary);
    cursor: pointer;
}

.login-forgot {
    font-size: 0.875rem;
    font-weight: 600;
    color: #7dd3fc;
    text-decoration: none;
}

.login-forgot:hover {
    color: #bae6fd;
    text-decoration: underline;
}

.login-input {
    position: relative;
}

.login-input > i {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-3);
    font-size: 1rem;
    pointer-events: none;
    z-index: 2;
}

.login-input .form-control {
    padding-left: 2.55rem;
    min-height: 2.75rem;
    background: rgba(5, 8, 15, 0.55);
    border-color: rgba(148, 163, 184, 0.22);
}

.login-input .form-control:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.2);
}

.login-submit {
    min-height: 2.85rem;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    border-radius: 10px !important;
    box-shadow: 0 10px 28px rgba(37, 99, 235, 0.35);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.login-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 32px rgba(37, 99, 235, 0.42);
}
.login-submit:active {
    transform: translateY(0);
}

.login-form-foot {
    margin: 1.35rem 0 0;
    font-size: 0.75rem;
    line-height: 1.45;
    color: var(--text-3);
}

/* Fallback legado (setup etc.) */
.auth-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
}
.auth-shell-inner { width: 100%; max-width: 440px; }
.auth-card {
    border-radius: var(--radius-lg);
    border: 1px solid var(--surf-border-strong);
    background: linear-gradient(180deg, rgba(26, 35, 50, 0.95), rgba(11, 18, 32, 0.98));
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}
.auth-logo {
    width: 72px;
    height: 72px;
    object-fit: contain;
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(59, 130, 246, 0.2), rgba(255, 255, 255, 0.04));
    border: 1px solid var(--brand-primary-border);
    padding: 10px;
}
.auth-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-1);
    letter-spacing: -0.02em;
}
.auth-subtitle { font-size: 0.875rem; color: var(--text-2); }

@media (max-width: 900px) {
    .login-panel {
        grid-template-columns: 1fr;
        max-width: 440px;
    }
    .login-brand {
        min-height: auto;
        border-right: none;
        border-bottom: 1px solid rgba(148, 163, 184, 0.12);
        padding: 1.75rem 1.5rem 1.5rem;
    }
    .login-brand-logo-wrap { justify-content: center; }
    .login-brand-title,
    .login-brand-kicker,
    .login-brand-lead { text-align: center; }
    .login-brand-lead { max-width: none; }
    .login-brand-foot { display: none; }
    .login-form-pane { padding: 1.75rem 1.5rem 2rem; }
}

/* ── Utilidades leves (sem mudar markup) ───────────────── */
.container-fluid h1 {
    font-size: 1.55rem;
}

pre.bg-dark {
    border: 1px solid var(--surf-border);
    border-radius: var(--radius-sm);
}

/* Gateway flow boxes (FAQ) — herdam tokens */
.gw-flow-box {
    border-color: var(--surf-border-strong) !important;
    background: rgba(255, 255, 255, 0.03) !important;
}
.gw-flow-box-main {
    border-color: var(--brand-primary) !important;
}

/* ── Responsivo ────────────────────────────────────────── */
@media (max-width: 767.98px) {
    .main { padding: 1rem !important; }
    .container-fluid h1 { font-size: 1.35rem; }
}
