﻿/* =========================================================
   FASADEO – EXTRA LIGHT THEME (modern, high-contrast)
   Replace your current LIGHT block with this one
========================================================= */

:root {
    color-scheme: light;
    /* ✅ Even brighter page */
    --fz-bg: #fbfdff; /* almost white */
    --fz-bg2: #f3f8ff; /* very light bluish */
    --fz-surface: #ffffff;
    --fz-surface2: #ffffff; /* keep inputs crisp = better text contrast */
    --fz-stroke: rgba(15, 23, 42, .10);
    /* Calm brand (still modern, not loud) */
    --fz-primary: #2f6f73; /* teal */
    --fz-primary-2: #255f63; /* ✅ missing in your CSS */
    --fz-accent: #2b7bbb; /* blue */
    --fz-soft: #f1faf9; /* softer teal tint */
    --fz-soft2: #f1f7ff; /* softer blue tint */
    /* ✅ Stronger text contrast */
    --fz-text: #0b1220;
    --fz-muted: #41556c; /* darker than before -> better readability */

    --fz-danger: #dc2626;
    --fz-success: #166534;
    /* Light shadows (airy) */
    --fz-shadow-lg: 0 14px 40px rgba(2, 6, 23, .10);
    --fz-shadow-md: 0 10px 26px rgba(2, 6, 23, .08);
    --fz-shadow-sm: 0 6px 16px rgba(2, 6, 23, .06);
    --fz-ring: 0 0 0 .20rem rgba(43, 123, 187, .18);
    --fz-r-xl: 22px;
    --fz-r-lg: 16px;
    --fz-r-md: 12px;
    --fz-font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial, "Helvetica Neue", sans-serif;
}

/* ✅ IMPORTANT: If you want it ALWAYS light, keep this.
   (Prevents OS dark-mode from making it darker.) */
@media (prefers-color-scheme: dark) {
    :root {
        color-scheme: light;
        --fz-bg: #fbfdff;
        --fz-bg2: #f3f8ff;
        --fz-surface: #ffffff;
        --fz-surface2: #ffffff;
        --fz-stroke: rgba(15, 23, 42, .10);
        --fz-text: #0b1220;
        --fz-muted: #475569;
    }
}

/* ---------- Page background: EXTRA light + subtle insulation pattern ---------- */
.wizard-page {
    font-family: var(--fz-font);
    color: var(--fz-text);
    min-height: 100vh;
    padding: clamp(14px, 2vw, 26px);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    /* ✅ brighter, less “ink” */
    background: radial-gradient(1200px 560px at 10% 6%, rgba(47,111,115,.06), transparent 62%), radial-gradient(1200px 560px at 90% 10%, rgba(43,123,187,.06), transparent 62%), linear-gradient(180deg, var(--fz-bg), var(--fz-bg2));
    position: relative;
    overflow-x: clip;
}

    /* ✅ Soften pattern (was too visible = dark feeling) */
    .wizard-page::before {
        content: "";
        position: absolute;
        inset: -2px;
        pointer-events: none;
        /* lower opacity -> lighter */
        opacity: .22;
        /* "insulation fibers" but very subtle */
        background: repeating-linear-gradient( 115deg, rgba(47,111,115,.055) 0px, rgba(47,111,115,.055) 1px, transparent 1px, transparent 18px );
        /* soften edge */
        mask-image: radial-gradient(circle at 18% 10%, black 0%, transparent 70%);
    }

/* small “house outline” watermark on desktop (lighter) */
@media (min-width: 820px) {
    .wizard-page::after {
        content: "";
        position: absolute;
        right: clamp(-30px, -2vw, -10px);
        top: clamp(40px, 6vw, 120px);
        width: 520px;
        height: 520px;
        pointer-events: none;
        /* ✅ make watermark less heavy */
        opacity: .10;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600' viewBox='0 0 600 600'%3E%3Cg fill='none' stroke='%232f6f73' stroke-width='10' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M120 280 L300 130 L480 280'/%3E%3Cpath d='M160 280 V470 H440 V280'/%3E%3Cpath d='M260 470 V360 H340 V470'/%3E%3Cpath d='M190 330 H250 V390 H190 Z'/%3E%3Cpath d='M350 330 H410 V390 H350 Z'/%3E%3Cpath d='M420 190 V250'/%3E%3Cpath d='M450 190 V260'/%3E%3Cpath d='M480 190 V275'/%3E%3C/g%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-size: contain;
        filter: saturate(1.0);
    }
}

/* Container */
.wizard-container {
    width: 100%;
    max-width: 720px;
    position: relative;
    z-index: 1;
}

/* Card (clean + bright) */
.wizard-card {
    background: var(--fz-surface);
    border: 1px solid var(--fz-stroke);
    border-radius: var(--fz-r-xl);
    box-shadow: var(--fz-shadow-lg);
    padding: clamp(18px, 2.2vw, 34px);
}

/* Hero header */
.wizard-hero {
    margin-bottom: 1.15rem;
}

.brandline {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: .75rem;
}

.brandmark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    /* still modern but not neon */
    background: linear-gradient(135deg, var(--fz-primary), var(--fz-accent));
    color: #fff;
    box-shadow: var(--fz-shadow-sm);
    font-size: 18px;
}

.brandname {
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.05;
}

.brandtag {
    color: var(--fz-muted);
    font-weight: 700;
    font-size: .92rem;
}

.wizard-title {
    margin: .2rem 0 .45rem 0;
    font-weight: 950;
    letter-spacing: -0.03em;
    line-height: 1.05;
    font-size: clamp(22px, 2.4vw, 34px);
}

.wizard-lead {
    margin: 0;
    color: var(--fz-muted);
    font-weight: 650;
    line-height: 1.55;
}

/* trust pills (lighter background, readable text) */
.wizard-trust {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: .85rem;
}

.trust-pill {
    display: inline-flex;
    align-items: center;
    padding: .35rem .6rem;
    border-radius: 999px;
    border: 1px solid color-mix(in oklab, var(--fz-primary) 18%, var(--fz-stroke));
    background: color-mix(in oklab, var(--fz-primary) 5%, white);
    color: var(--fz-text);
    font-weight: 800;
    font-size: .9rem;
}

/* Form grid */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}
.full-span {
    grid-column: 1 / -1;
}
.autocomplete-wrapper {
    position: relative;
    width: 100%;
}
@media (max-width: 680px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

/* Inputs – crisp */
.wizard-page .form-control,
.wizard-page .form-select,
.wizard-page textarea {
    border-radius: var(--fz-r-md) !important;
    border: 1px solid var(--fz-stroke) !important;
    background: var(--fz-surface2) !important;
    color: var(--fz-text) !important;
    box-shadow: none !important;
}

    .wizard-page .form-control::placeholder {
        color: rgba(71, 85, 105, .75) !important; /* readable placeholder */
    }

.wizard-page .form-control-lg,
.wizard-page .form-select-lg {
    padding: .85rem 1rem !important;
    font-size: 1rem !important;
}

.wizard-page .form-control:focus,
.wizard-page .form-select:focus,
.wizard-page textarea:focus {
    outline: none !important;
    border-color: color-mix(in oklab, var(--fz-accent) 60%, var(--fz-stroke)) !important;
    box-shadow: var(--fz-ring) !important;
}

/* Phone row responsive */
.wizard-page .form-group .d-flex.gap-2 {
    gap: .75rem !important;
}

@media (max-width: 520px) {
    .wizard-page .form-group .d-flex.gap-2 {
        flex-direction: column;
        align-items: stretch !important;
    }
}

/* Labels + messages */
.wizard-page .form-group label {
    font-weight: 850;
    margin-bottom: .35rem;
    color: var(--fz-text);
}


.wizard-page .validation-summary,
.auth-page .validation-summary {
    display: block;
    margin-top: .35rem;
    color: var(--fz-danger);
    font-weight: 750;
}

/* Validation summary */
.wizard-page .validation-message,
.auth-page .validation-message {
    border-radius: var(--fz-r-md);
    border: 1px solid rgba(220, 38, 38, .18);
    background: rgba(220, 38, 38, .05);
    padding: .8rem 1rem;
    margin-bottom: 1rem;
}

/* Consent */
.consent-label {
    display: flex;
    gap: .65rem;
    align-items: flex-start;
    user-select: none;
    line-height: 1.25;
    color: var(--fz-text);
}

.consent-check {
    width: 18px;
    height: 18px;
    margin-top: .1rem;
    accent-color: var(--fz-primary);
}

/* Buttons */
.wizard-page .btn {
    border-radius: var(--fz-r-lg) !important;
    font-weight: 900 !important;
    letter-spacing: -0.01em;
}

.wizard-page .btn-primary {
    background: linear-gradient(90deg, var(--fz-primary), var(--fz-accent)) !important;
    border: 0 !important;
    box-shadow: 0 10px 20px rgba(43, 123, 187, .10);
}

    .wizard-page .btn-primary:hover {
        filter: brightness(1.02);
        transform: translateY(-1px);
    }

.wizard-page .btn-success {
    background: linear-gradient(90deg, var(--fz-primary), var(--fz-primary-2)) !important;
    border: 0 !important;
    box-shadow: 0 10px 18px rgba(47, 111, 115, .10);
}

/* Article block */
.wizard-article {
    margin-top: 1rem !important;
    background: var(--fz-surface);
    border: 1px solid var(--fz-stroke);
    border-radius: var(--fz-r-xl);
    box-shadow: var(--fz-shadow-md);
    padding: clamp(16px, 2vw, 26px);
}

    .wizard-article h3 {
        margin: 0 0 .6rem 0;
        font-weight: 950;
        letter-spacing: -0.02em;
        color: var(--fz-text);
    }

    .wizard-article p {
        color: rgba(15, 23, 42, .88);
        line-height: 1.65;
        margin: .75rem 0;
    }

.benefits {
    margin: .75rem auto 0;
    padding-left: 1.1rem;
}

    .benefits li {
        margin: .55rem 0;
        line-height: 1.6;
        color: rgba(15, 23, 42, .90);
    }

/* Footer */
.footer {
    background: transparent !important;
    margin-top: 1rem;
}

.footer-text {
    margin: 0;
    color: var(--fz-muted);
    font-size: .9rem;
}



/* =========================================================
   FASADEO – WIZARD UI (matches EXTRA LIGHT theme)
   Paste at END of site.css (after your light theme block)
========================================================= */

.wizard-progress {
    background: var(--fz-surface);
    border: 1px solid var(--fz-stroke);
    border-radius: var(--fz-r-xl);
    box-shadow: var(--fz-shadow-md);
    padding: 14px 16px;
    margin-bottom: 12px;
}

.wizard-progress-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-end;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.wizard-progress-meta {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.meta-strong {
    font-weight: 950;
    color: var(--fz-text);
}

.meta-muted {
    color: var(--fz-muted);
    font-weight: 750;
}

.code-pill {
    display: inline-block;
    padding: .22rem .5rem;
    border-radius: 999px;
    border: 1px solid var(--fz-stroke);
    background: color-mix(in oklab, var(--fz-soft2) 55%, white);
    color: var(--fz-text);
    font-weight: 900;
    letter-spacing: .02em;
}

    .code-pill.big {
        padding: .35rem .7rem;
        font-size: 1.05rem;
    }

.wizard-progress-track {
    height: 12px;
    border-radius: 999px;
    background: color-mix(in oklab, var(--fz-stroke) 70%, transparent);
    overflow: hidden;
    border: 1px solid var(--fz-stroke);
}

.wizard-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--fz-primary), var(--fz-accent));
    width: 0%;
    transition: width .35s ease;
}

/* Question block */
.wizard-head {
    margin-bottom: 12px;
}

.wizard-question {
    margin: 0 0 10px 0;
    font-weight: 950;
    letter-spacing: -0.02em;
    line-height: 1.15;
    font-size: clamp(18px, 1.5vw, 22px);
    color: var(--fz-text);
}

/* Section label (already exists, but ensure it looks modern) */
.wizard-section {
    display: inline-flex;
    align-items: center;
    padding: .3rem .6rem;
    border-radius: 999px;
    background: color-mix(in oklab, var(--fz-soft) 65%, white);
    border: 1px solid color-mix(in oklab, var(--fz-primary) 18%, var(--fz-stroke));
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 12px;
    color: color-mix(in oklab, var(--fz-text) 88%, transparent);
    margin-bottom: 10px;
}

/* Info box */
.wizard-info {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 12px 12px;
    border-radius: var(--fz-r-lg);
    border: 1px solid color-mix(in oklab, var(--fz-accent) 18%, var(--fz-stroke));
    background: color-mix(in oklab, var(--fz-soft2) 65%, white);
    color: var(--fz-text);
}

.info-ico {
    margin-top: 1px;
}

.info-text {
    line-height: 1.5;
    font-weight: 650;
}

/* Answer area spacing */
.wizard-answer {
    margin-top: 10px;
}

/* ✅ Options stacked nicely */
.option-stack {
    display: grid;
    gap: 10px;
}

.option-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 14px;
    border-radius: var(--fz-r-lg);
    border: 1px solid var(--fz-stroke);
    background: var(--fz-surface);
    box-shadow: var(--fz-shadow-sm);
    cursor: pointer;
    transition: transform .12s ease, box-shadow .16s ease, border-color .16s ease;
    user-select: none;
}

    .option-card:hover {
        transform: translateY(-1px);
        box-shadow: var(--fz-shadow-md);
        border-color: color-mix(in oklab, var(--fz-accent) 30%, var(--fz-stroke));
    }

    .option-card input[type="radio"] {
        width: 18px;
        height: 18px;
        accent-color: var(--fz-primary);
    }

    .option-card:has(input[type="radio"]:checked) {
        border-color: color-mix(in oklab, var(--fz-primary) 45%, var(--fz-stroke));
        background: color-mix(in oklab, var(--fz-soft) 75%, white);
    }

.option-text {
    font-weight: 900;
    color: var(--fz-text);
}

/* ✅ Yes/No buttons stacked */
.choice-stack {
    display: grid;
    gap: 10px;
}

.choice-btn {
    width: 100%;
    text-align: left;
    padding: 14px 14px;
    border-radius: var(--fz-r-lg);
    border: 1px solid var(--fz-stroke);
    background: var(--fz-surface);
    box-shadow: var(--fz-shadow-sm);
    font-weight: 900;
    color: var(--fz-text);
    transition: transform .12s ease, box-shadow .16s ease, border-color .16s ease;
}

    .choice-btn:hover {
        transform: translateY(-1px);
        box-shadow: var(--fz-shadow-md);
        border-color: color-mix(in oklab, var(--fz-accent) 30%, var(--fz-stroke));
    }

    .choice-btn.selected {
        border-color: color-mix(in oklab, var(--fz-primary) 45%, var(--fz-stroke));
        background: color-mix(in oklab, var(--fz-soft) 75%, white);
    }

/* Field blocks */
.field-block {
    margin-top: 4px;
}

.hint {
    margin-top: 8px;
    font-weight: 650;
}

/* Required/optional + actions */
.wizard-foot {
    margin-top: 12px;
}

.wizard-required-note {
    font-weight: 950;
    color: var(--fz-danger);
    margin-top: 6px;
}

.wizard-optional-note {
    font-weight: 800;
    margin-top: 6px;
}

.wizard-actions {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    margin-top: 14px;
}

@media (max-width: 520px) {
    .wizard-actions {
        flex-direction: column;
    }

        .wizard-actions .btn {
            width: 100%;
        }
}

/* Documents */
.wizard-documents .doc-label {
    font-weight: 900;
    margin: 10px 0 6px;
    display: block;
}

.dropzone {
    margin-top: 10px;
    padding: 14px;
    border-radius: var(--fz-r-lg);
    border: 1px dashed color-mix(in oklab, var(--fz-accent) 30%, var(--fz-stroke));
    background: color-mix(in oklab, var(--fz-soft2) 70%, white);
}

.dropzone-head {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    align-items: flex-start;
}

.dropzone-title {
    font-weight: 950;
    color: var(--fz-text);
}

.dropzone-pill {
    font-weight: 900;
    padding: .22rem .5rem;
    border-radius: 999px;
    border: 1px solid var(--fz-stroke);
    background: white;
    color: var(--fz-muted);
}

.file-input {
    width: 100%;
    margin-top: 10px;
}

.doc-list {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
    display: grid;
    gap: 8px;
}

.doc-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--fz-r-md);
    border: 1px solid var(--fz-stroke);
    background: white;
}

.doc-name {
    font-weight: 850;
    color: var(--fz-text);
}

/* Success */
.wizard-success {
    background: var(--fz-surface);
    border: 1px solid var(--fz-stroke);
    border-radius: var(--fz-r-xl);
    box-shadow: var(--fz-shadow-lg);
    padding: 26px;
    text-align: center;
}

    .wizard-success h3 {
        font-weight: 950;
        margin: 0 0 10px 0;
    }

    .wizard-success p {
        margin: 0;
    }

/* Loading */
.wizard-loading {
    display: flex;
    gap: 12px;
    align-items: center;
}

.spinner {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 3px solid rgba(71,85,105,.15);
    border-top-color: color-mix(in oklab, var(--fz-accent) 70%, white);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.skeleton {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.sk-line {
    height: 12px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(71,85,105,.08), rgba(71,85,105,.12), rgba(71,85,105,.08));
    background-size: 200% 100%;
    animation: shimmer 1.1s ease-in-out infinite;
}

@keyframes shimmer {
    0% {
        background-position: 0%
    }

    100% {
        background-position: 200%
    }
}

.w-40 {
    width: 40%;
}

.w-70 {
    width: 70%;
}

.w-80 {
    width: 80%;
}

.w-95 {
    width: 95%;
}

.loading-title {
    font-weight: 950;
}



/* =========================================================
   FASADEO – ADMIN / OVERVIEW (matches wizard concept)
   Paste at END of wwwroot/css/site.css
========================================================= */

.admin-page {
    padding: clamp(10px, 4vw, 10px);
}

.admin-container {
    max-width: 95%;
    margin: 0 auto;
}

/* Topbar */
.admin-topbar {
    background: var(--fz-surface);
    border: 1px solid var(--fz-stroke);
    border-radius: var(--fz-r-xl);
    box-shadow: var(--fz-shadow-md);
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.admin-brand {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.admin-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--fz-primary), var(--fz-accent));
    color: #fff;
    box-shadow: var(--fz-shadow-sm);
    font-size: 18px;
}

.admin-subtitle {
    color: var(--fz-muted);
    font-weight: 750;
    margin-top: 2px;
}

.admin-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Cards */
.admin-card {
    background: var(--fz-surface);
    border: 1px solid var(--fz-stroke);
    border-radius: var(--fz-r-xl);
    box-shadow: var(--fz-shadow-md);

}

.admin-card-body {
    padding: 14px 16px;
}

.admin-card-title {
    font-weight: 950;
    letter-spacing: -0.01em;
    margin-bottom: 10px;
    color: var(--fz-text);
}

.admin-center {
    padding: 22px;
    text-align: center;
}

.admin-muted {
    color: var(--fz-muted) !important;
    font-weight: 650;
}

/* KPI */
.admin-kpi {
    background: var(--fz-surface);
    border: 1px solid var(--fz-stroke);
    border-radius: var(--fz-r-xl);
    box-shadow: var(--fz-shadow-sm);
    padding: 14px 16px;
    display: flex;
    gap: 12px;
    align-items: center;
    height: 100%;
}

.kpi-ico {
    width: 44px;
    height: 44px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: color-mix(in oklab, var(--fz-soft2) 60%, white);
    border: 1px solid color-mix(in oklab, var(--fz-stroke) 60%, transparent);
    font-size: 18px;
}

.kpi-ico-soft {
    background: color-mix(in oklab, var(--fz-soft) 60%, white);
}

.kpi-body {
    line-height: 1.05;
}

.kpi-value {
    font-weight: 980;
    font-size: 28px;
    letter-spacing: -0.02em;
    color: var(--fz-text);
}

.kpi-label {
    margin-top: 4px;
    color: var(--fz-muted);
    font-weight: 750;
}

.kpi-trend {
    margin-top: 6px;
    font-weight: 900;
    font-size: .92rem;
}

    .kpi-trend.up {
        color: #166534;
    }

    .kpi-trend.down {
        color: #b91c1c;
    }

/* Filters */
.admin-label {
    font-weight: 900;
    color: var(--fz-text);
}

.admin-input {
    border-radius: var(--fz-r-md) !important;
    border: 1px solid var(--fz-stroke) !important;
    background: var(--fz-surface2) !important;
    color: var(--fz-text) !important;
    box-shadow: none !important;
}

    .admin-input:focus {
        border-color: color-mix(in oklab, var(--fz-accent) 60%, var(--fz-stroke)) !important;
        box-shadow: var(--fz-ring) !important;
    }

.admin-count {
    text-align: right;
}

.admin-count-value {
    font-weight: 950;
    font-size: 18px;
    color: var(--fz-text);
}

/* List “chart” */
.admin-list .list-group-item {
    border: 1px solid var(--fz-stroke);
    border-radius: var(--fz-r-md);
    margin-bottom: 8px;
    background: var(--fz-surface);
}

.admin-badge-pill {
    background: linear-gradient(90deg, var(--fz-primary), var(--fz-accent));
}

/* Progress (status) */
.admin-progress {
    height: 8px;
    border-radius: 999px;
    background: color-mix(in oklab, var(--fz-stroke) 70%, transparent);
    overflow: hidden;
}

/* Table */
.admin-table-head {
    padding: 14px 16px;
    border-bottom: 1px solid var(--fz-stroke);
}

.admin-table {
    margin: 0;
}

    .admin-table thead th {
        position: sticky;
        top: 0;
        background: color-mix(in oklab, var(--fz-soft2) 50%, white);
        border-bottom: 1px solid var(--fz-stroke);
        font-weight: 900;
        color: var(--fz-text);
        z-index: 1;
    }

    .admin-table tbody td {
        border-color: color-mix(in oklab, var(--fz-stroke) 75%, transparent);
    }

    .admin-table tbody tr:hover {
        background: color-mix(in oklab, var(--fz-soft) 45%, white);
    }

.admin-badge {
    border-radius: 999px !important;
    padding: .35rem .6rem !important;
    font-weight: 900 !important;
}

.admin-ellipsis {
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-mono {
    font-variant-numeric: tabular-nums;
}

/* Buttons slightly align to your concept */
.admin-page .btn {
    border-radius: var(--fz-r-lg) !important;
    font-weight: 900 !important;
}



/* =========================================================
   FASADEO – ADMIN DETAIL (overview/detailcal) styling
   Paste at END of site.css
========================================================= */

.admin-detail .detail-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    align-items: flex-start;
    margin-bottom: 12px;
}

.admin-detail .detail-status {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.admin-detail .detail-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 10px;
}

@media (max-width: 992px) {
    .admin-detail .detail-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .admin-detail .detail-grid {
        grid-template-columns: 1fr;
    }
}

.admin-detail .detail-item {
    border: 1px solid var(--fz-stroke);
    background: color-mix(in oklab, var(--fz-surface2) 70%, white);
    border-radius: var(--fz-r-lg);
    padding: 10px 12px;
}

    .admin-detail .detail-item.detail-wide {
        grid-column: span 2;
    }

@media (max-width: 992px) {
    .admin-detail .detail-item.detail-wide {
        grid-column: span 2;
    }
}

@media (max-width: 520px) {
    .admin-detail .detail-item.detail-wide {
        grid-column: span 1;
    }
}

.admin-detail .detail-k {
    font-size: .85rem;
    font-weight: 900;
    color: var(--fz-muted);
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.admin-detail .detail-v {
    font-weight: 750;
    color: var(--fz-text);
    word-break: break-word;
}

/* Documents */
.admin-detail .detail-section-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: baseline;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.admin-detail .docs-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

@media (max-width: 1100px) {
    .admin-detail .docs-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .admin-detail .docs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .admin-detail .docs-grid {
        grid-template-columns: 1fr;
    }
}

.admin-detail .doc-tile {
    border: 1px solid var(--fz-stroke);
    background: var(--fz-surface);
    border-radius: var(--fz-r-xl);
    box-shadow: var(--fz-shadow-sm);
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform .12s ease, box-shadow .16s ease, border-color .16s ease;
}

    .admin-detail .doc-tile:hover {
        transform: translateY(-1px);
        box-shadow: var(--fz-shadow-md);
        border-color: color-mix(in oklab, var(--fz-accent) 25%, var(--fz-stroke));
    }

.admin-detail .doc-top {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.admin-detail .doc-icon {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: color-mix(in oklab, var(--fz-soft2) 55%, white);
    border: 1px solid var(--fz-stroke);
    font-size: 16px;
}

.admin-detail .doc-name {
    font-weight: 950;
    color: var(--fz-text);
    line-height: 1.2;
    max-height: 2.4em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.admin-detail .doc-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* Q/A table tuning */
.admin-table-qa .qa-section {
    font-weight: 900;
    color: var(--fz-muted);
    white-space: nowrap;
}

.admin-table-qa .qa-question {
    font-weight: 900;
    color: var(--fz-text);
}

.admin-table-qa .qa-answer {
    color: color-mix(in oklab, var(--fz-text) 88%, transparent);
    font-weight: 700;
}




/* =========================================================
   FASADEO – AUTH (Login) styling (matches wizard/admin)
   Paste at END of wwwroot/css/site.css
========================================================= */

.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(14px, 2vw, 26px);
    /* jemně jako wizard pozadí, ale ještě čistší */
    background: radial-gradient(1100px 520px at 12% 10%, rgba(47,111,115,.06), transparent 62%), radial-gradient(1100px 520px at 88% 12%, rgba(43,123,187,.06), transparent 62%), linear-gradient(180deg, var(--fz-bg, #fbfdff), var(--fz-bg2, #f3f8ff));
}

.auth-card {
    width: 100%;
    max-width: 420px;
    background: var(--fz-surface, #fff);
    border: 1px solid var(--fz-stroke, rgba(15,23,42,.10));
    border-radius: var(--fz-r-xl, 22px);
    box-shadow: var(--fz-shadow-lg, 0 14px 40px rgba(2,6,23,.10));
    padding: 22px 22px;
}

.auth-head {
    margin-bottom: 12px;
}

.auth-brand {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 10px;
}

.auth-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--fz-primary, #2f6f73), var(--fz-accent, #2b7bbb));
    color: #fff;
    box-shadow: var(--fz-shadow-sm, 0 6px 16px rgba(2,6,23,.06));
    font-size: 18px;
}

.auth-name {
    font-weight: 950;
    letter-spacing: -0.02em;
    line-height: 1.05;
    color: var(--fz-text, #0b1220);
}

.auth-sub {
    color: var(--fz-muted, #475569);
    font-weight: 750;
    font-size: .92rem;
}

.auth-title {
    margin: 6px 0 6px 0;
    font-weight: 980;
    letter-spacing: -0.03em;
    line-height: 1.05;
    font-size: 1.55rem;
    color: var(--fz-text, #0b1220);
}

.auth-lead {
    margin: 0;
    color: var(--fz-muted, #475569);
    font-weight: 650;
    line-height: 1.55;
}

.auth-form {
    margin-top: 14px;
}

.auth-label {
    font-weight: 900;
    color: var(--fz-text, #0b1220);
}

.auth-input {
    border-radius: var(--fz-r-md, 12px) !important;
    border: 1px solid var(--fz-stroke, rgba(15,23,42,.10)) !important;
    background: var(--fz-surface2, #fff) !important;
    color: var(--fz-text, #0b1220) !important;
    box-shadow: none !important;
}

    .auth-input:focus {
        border-color: color-mix(in oklab, var(--fz-accent, #2b7bbb) 60%, var(--fz-stroke, rgba(15,23,42,.10))) !important;
        box-shadow: var(--fz-ring, 0 0 0 .20rem rgba(43,123,187,.18)) !important;
        outline: none !important;
    }

/* password row with "show" button */
.auth-passrow {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.auth-eye {
    border-radius: var(--fz-r-md, 12px) !important;
    font-weight: 900 !important;
    white-space: nowrap;
}

@media (max-width: 420px) {
    .auth-passrow {
        flex-direction: column;
    }

    .auth-eye {
        width: 100%;
    }
}

.validation-summary {
    border-radius: var(--fz-r-md, 12px);
    border: 1px solid rgba(220, 38, 38, .18);
    background: rgba(220, 38, 38, .05);
    padding: .8rem 1rem;
    margin-bottom: 1rem;
}

.validation-message {
    display: block;
    margin-top: .35rem;
    color: var(--fz-danger, #dc2626);
    font-weight: 750;
}

.auth-foot {
    margin-top: 14px;
    color: var(--fz-muted, #475569);
    font-weight: 650;
    font-size: .9rem;
    text-align: center;
}

/* Popis = textarea, bez horizontálního scrollu, auto-výška */
.popis-input {
    min-height: 38px; /* jako běžný input */
    max-height: 220px;
    resize: vertical; /* může si zvětšit ručně */
    overflow: hidden; /* auto-grow skript se postará o výšku */
    line-height: 1.35;
    white-space: pre-wrap;
}

/* buňky s částkami zarovnat doprava */
.text-end input.money-mask {
    text-align: right;
}

/* ať tabulka používá automatický layout (výchozí) a Popis získá zbytek místa */
.admin-table {
    table-layout: auto !important;
    
}

    /* buňka Popis má zabrat všechno volné – nastavíme min. šířku, ať není nikdy úzká */
    .admin-table .col-popis {
        width: auto;
        min-width: 360px;
    }

        /* textarea uvnitř Popisu vyplní buňku do šířky */
        .admin-table .col-popis textarea.popis-input {
            width: 100%;
        }


.unsaved-bar {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: 18px;
    z-index: 9999;
    background: var(--fz-surface, #fff);
    border: 1px solid var(--fz-stroke, rgba(15,23,42,.10));
    border-radius: 16px;
    padding: 10px 14px;
    display: flex;
    gap: 12px;
    align-items: center;
    box-shadow: var(--fz-shadow-md, 0 10px 26px rgba(2,6,23,.08));
}

.unsaved-msg {
    font-weight: 900;
    color: var(--fz-text, #0b1220);
}

.unsaved-actions {
    display: flex;
    gap: 10px;
}


/* =========================================================
   FASADEO – OFFERS PAGE (premium UI upgrade)
   Applies only to: .offers-page and children
========================================================= */

/* Layout */
.offers-page {
    padding-top: 24px;
    padding-bottom: 80px; /* leave space for sticky total bar */
}

.offers-container {
    max-width: 1200px;
    margin: auto;
}

/* ---------------------------------------------
   TOP BAR
---------------------------------------------- */
.offers-topbar {
    background: var(--fz-surface);
    border: 1px solid var(--fz-stroke);
    border-radius: var(--fz-r-xl);
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--fz-shadow-md);
    margin-bottom: 22px;
}

.offers-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.offers-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--fz-primary), var(--fz-accent));
    color: white;
    font-size: 20px;
    box-shadow: var(--fz-shadow-sm);
}

.brand-title {
    font-weight: 950;
    margin: 0;
}

.brand-sub {
    font-weight: 700;
    color: var(--fz-muted);
    margin-top: -2px;
}

/* ---------------------------------------------
   VERSION SELECTOR (tabs)
---------------------------------------------- */
.section-label {
    font-weight: 900;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    color: var(--fz-text);
}

.offers-tabs {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 6px;
}

.offers-tab {
    min-width: 220px;
    padding: 18px 18px;
    background: white;
    border: 1px solid var(--fz-stroke);
    border-radius: 18px;
    cursor: pointer;
    transition: .2s ease;
    box-shadow: var(--fz-shadow-sm);
}

    .offers-tab:hover {
        transform: translateY(-2px);
        box-shadow: var(--fz-shadow-md);
    }

    .offers-tab.active {
        border-color: var(--fz-primary);
        background: var(--fz-soft);
        box-shadow: var(--fz-shadow-md);
    }

    .offers-tab.recommended {
        border: 2px solid var(--fz-success);
    }

.offers-tab-badge-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}


.code {
    font-weight: 900;
    font-size: 1rem;
}

.rec-pill {
    padding: 2px 8px;
    border-radius: 999px;
    background: #16a34a22;
    color: #166534;
    font-weight: 800;
    font-size: .8rem;
}

.offers-tab-title {
    font-weight: 800;
    font-size: 1rem;
    color: var(--fz-text);
}

.offers-tab-price {
    margin-top: 8px;
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--fz-primary);
}

/* ---------------------------------------------
   SELECTED VERSION SUMMARY
---------------------------------------------- */
.offers-summary-card {
    margin-top: 18px;
    margin-bottom: 24px;
    padding: 18px 22px;
    background: var(--fz-surface);
    border: 1px solid var(--fz-stroke);
    border-radius: 20px;
    box-shadow: var(--fz-shadow-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sum-label {
    font-size: .85rem;
    font-weight: 800;
    color: var(--fz-muted);
}

.sum-code {
    font-size: 1.4rem;
    font-weight: 950;
}

.sum-price {
    font-size: 1.4rem;
    font-weight: 950;
    color: var(--fz-primary);
}

/* ---------------------------------------------
   SECTION ACCORDION
---------------------------------------------- */
.offers-section {
    background: var(--fz-surface);
    border: 1px solid var(--fz-stroke);
    border-radius: 20px;
    box-shadow: var(--fz-shadow-sm);
    margin-bottom: 20px;
}

.section-head {
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    font-weight: 900;
    border-bottom: 1px solid var(--fz-stroke);
}

    .section-head:hover {
        background: var(--fz-soft);
    }

.section-title {
    font-size: 1.05rem;
}

.toggle-icon {
    font-size: 1.3rem;
    line-height: 1;
}

/* content block inside section */
.section-block {
    padding: 16px 20px;
}

/* ---------------------------------------------
   TABLE
---------------------------------------------- */
.offers-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .96rem;
}

    .offers-table thead th {
        font-weight: 900;
        padding: 10px 8px;
        border-bottom: 1px solid var(--fz-stroke);
        background: color-mix(in oklab, var(--fz-soft2) 70%, white);
    }

    .offers-table tbody tr {
        transition: background .15s;
    }

        .offers-table tbody tr:nth-child(even) {
            background: #f9fafb;
        }

        .offers-table tbody tr:hover {
            background: #eef6ff;
        }

    .offers-table td {
        padding: 10px 8px;
        border-bottom: 1px solid color-mix(in oklab, var(--fz-stroke) 75%, transparent);
    }

        .offers-table td.price {
            font-weight: 900;
            color: var(--fz-primary);
        }

/* ---------------------------------------------
   LOADING
---------------------------------------------- */
.offers-loading {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 0;
    font-weight: 800;
}

/* ---------------------------------------------
   TOTAL BAR (sticky bottom)
---------------------------------------------- */
.offers-total-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--fz-surface);
    border-top: 1px solid var(--fz-stroke);
    box-shadow: 0 -8px 20px rgba(0,0,0,.05);
    padding: 18px 28px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    font-size: 1.4rem;
    z-index: 100;
}
/* ----- karta varianty ----- */
.offers-tab {
    position: relative;
    background: white;
    border: 1px solid var(--fz-stroke);
    border-radius: 18px;
    padding: 18px;
    min-width: 230px;
    max-width: 330px;
    cursor: pointer;
    transition: 0.25s ease;
    box-shadow: var(--fz-shadow-sm);
    overflow: hidden;
    /* ✅ fix: karta má VŽDY oddělené horní + dolní části */
    display: flex;
    flex-direction: column;
    gap: 12px;
}

    /* pozadí */
    .offers-tab::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 0;
        background: linear-gradient(135deg, color-mix(in srgb, var(--tab-color) 25%, white), white 70% );
        opacity: 0.45;
    }

    .offers-tab > * {
        position: relative;
        z-index: 1;
    }

/* ----- LOGO BOX ----- */
.offers-tab-image {
    width: 100%;

    border-radius: 14px;
    overflow: hidden;
    background: white;
    border: 1px solid var(--fz-stroke);
    box-shadow: var(--fz-shadow-sm);
    /* ✅ logo drží nahoře, nikdy nesjede do textu */
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px; /* prostor kolem loga */
}

    /* ----- LOGO ----- */
    .offers-tab-image img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain; /* ✅ logo je celé */
        object-position: center;
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }

.loading-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(3px);
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity .25s ease;
}

    .loading-overlay.hidden {
        opacity: 0;
        pointer-events: none;
    }

.autoComplete_wrapper {
    width: 100% !important;
    display: block !important;
}

#autoComplete {
    width: 100% !important;
    display: block;
}


/* Otazky editor */

.section-card {
    border: 1px solid #ddd;
    padding: 10px;
    margin-bottom: 15px;
    background: #fafafa;
}

.section-header {
    display: flex;
    gap: 10px;
    align-items: center;
}

.question-card {
    border: 1px solid #ccc;
    padding: 10px;
    margin-bottom: 10px;
    background: white;
}

.question-header {
    display: grid;
    grid-template-columns: 40px 150px 1fr 150px 120px 60px;
    gap: 10px;
    align-items: center;
}

.question-detail {
    margin-top: 10px;
}

.grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
}

.answer-row {
    display: flex;
    gap: 5px;
    margin-top: 5px;
}

.drag-section,
.drag-question,
.drag-answer {
    cursor: grab;
}



.admin-table td input,
.admin-table td select {
    max-width: 100%; /* nikdy nepřeteče */
}

.admin-table tbody td textarea {
    font-size: 0.95rem; /* lehce větší */
    line-height: 1.35;
}


/* =========================================================
   FASADEO – USER ADMIN (users management)
   Fully integrated with --fz-* design system
========================================================= */

.admin-users {
    margin-top: 16px;
}

    /* Title */
    .admin-users .page-title {
        font-size: 1.4rem;
        font-weight: 950;
        letter-spacing: -0.02em;
        color: var(--fz-text);
        margin-bottom: 14px;
    }

    /* Grid */
    .admin-users .user-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
        gap: 18px;
    }

    /* Card */
    .admin-users .user-card {
        background: var(--fz-surface);
        border: 1px solid var(--fz-stroke);
        border-radius: var(--fz-r-xl);
        padding: 16px 18px;
        box-shadow: var(--fz-shadow-md);
        transition: transform .16s ease, box-shadow .2s ease, border-color .2s ease;
    }

        .admin-users .user-card:hover {
            transform: translateY(-2px);
            box-shadow: var(--fz-shadow-lg);
            border-color: color-mix(in oklab, var(--fz-accent) 22%, var(--fz-stroke));
        }

    /* Layout */
    .admin-users .user-top {
        display: flex;
        justify-content: space-between;
        gap: 16px;
    }

    /* Email */
    .admin-users .email {
        font-weight: 950;
        color: var(--fz-text);
        word-break: break-all;
    }

    /* Roles */
    .admin-users .roles {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        margin-top: 8px;
    }

    .admin-users .role-chip {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 3px 10px;
        border-radius: 999px;
        font-size: .72rem;
        font-weight: 900;
        background: color-mix(in oklab, var(--fz-soft2) 65%, white);
        border: 1px solid var(--fz-stroke);
        color: var(--fz-text);
    }

        .admin-users .role-chip button {
            border: none;
            background: color-mix(in oklab, var(--fz-accent) 18%, transparent);
            color: var(--fz-text);
            border-radius: 999px;
            font-size: 11px;
            width: 16px;
            height: 16px;
            cursor: pointer;
        }

            .admin-users .role-chip button:hover {
                background: color-mix(in oklab, var(--fz-accent) 32%, transparent);
            }

    /* Role select */
    .admin-users .role-select {
        margin-top: 8px;
        font-size: .7rem;
        font-weight: 850;
        border-radius: 999px;
        padding: 6px 10px;
        border: 1px solid var(--fz-stroke);
        background: var(--fz-surface2);
    }

    /* Actions */
    .admin-users .actions {
        display: flex;
        flex-direction: column;
        gap: 10px;
        align-items: flex-end;
    }

    /* Switch */
    .admin-users .switch {
        position: relative;
        width: 44px;
        height: 22px;
    }

        .admin-users .switch input {
            display: none;
        }

        .admin-users .switch span {
            position: absolute;
            inset: 0;
            border-radius: 999px;
            background: color-mix(in oklab, var(--fz-stroke) 70%, transparent);
        }

            .admin-users .switch span::before {
                content: "";
                position: absolute;
                width: 18px;
                height: 18px;
                top: 2px;
                left: 2px;
                background: white;
                border-radius: 50%;
                transition: .2s ease;
                box-shadow: var(--fz-shadow-sm);
            }

        .admin-users .switch input:checked + span {
            background: linear-gradient(90deg, var(--fz-primary), var(--fz-accent));
        }

            .admin-users .switch input:checked + span::before {
                transform: translateX(22px);
            }

    /* Buttons */
    .admin-users .btn {
        font-size: .7rem;
        font-weight: 900;
        border-radius: 999px;
        padding: 6px 12px;
    }

    .admin-users .btn-warning {
        background: #f59e0b;
        border: none;
        color: white;
    }

    .admin-users .btn-danger {
        background: #ef4444;
        border: none;
        color: white;
    }

    /* ===== MODAL ===== */

    .admin-users .modal-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(15,23,42,.55);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1000;
    }

    .admin-users .modal-card {
        width: 380px;
        background: var(--fz-surface);
        border-radius: var(--fz-r-xl);
        border: 1px solid var(--fz-stroke);
        box-shadow: var(--fz-shadow-lg);
        padding: 22px;
        animation: adminModalIn .2s ease;
    }

@keyframes adminModalIn {
    from {
        opacity: 0;
        transform: translateY(10px) scale(.98);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.admin-users .form-group label {
    font-weight: 900;
    font-size: .75rem;
    color: var(--fz-text);
}

.admin-users .form-control {
    border-radius: var(--fz-r-md);
    border: 1px solid var(--fz-stroke);
}

.admin-users .error {
    color: var(--fz-danger);
    font-weight: 800;
    font-size: .8rem;
}

.admin-users .modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 14px;
}

.password-row {
    display: flex;
    gap: 8px;
    align-items: center;
}

.eye-btn {
    border: 1px solid var(--fz-stroke);
    background: var(--fz-surface);
    border-radius: var(--fz-r-md);
    padding: 6px 10px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
}

    .eye-btn:hover {
        background: color-mix(in oklab, var(--fz-soft2) 60%, white);
    }

.role-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.role-check {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 800;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--fz-soft2);
    border: 1px solid var(--fz-stroke);
}

    .role-check.role-admin.checked {
        background: rgba(220, 38, 38, 0.10);
        border-color: rgba(220, 38, 38, 0.35);
    }

        .role-check.role-admin.checked span {
            color: #991b1b;
            font-weight: 900;
        }



.admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

/* LEFT */
.admin-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

    .admin-left h2 {
        font-weight: 950;
    }

/* CENTER */
.admin-center {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* RIGHT */
.admin-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* USER */
.admin-user {
    margin-left: 8px;
    font-weight: 900;
    color: var(--fz-text);
    white-space: nowrap;
}
