/* ==========================================================================
   Surcharges du dashboard admin par-dessus Bootstrap 5.3.
   La mise en page, les cartes, boutons, badges, formulaires et tableaux
   viennent maintenant de Bootstrap — ce fichier ne garde que : l'identité de
   marque (couleurs, police), le popup de notification centrée, la nav
   mobile fixe, et quelques petits utilitaires réutilisés par nos pages
   (icônes SVG inline, spinner de bouton).
   ========================================================================== */

:root {
    /* Rebranding des couleurs Bootstrap : indigo-500 (marque) + turquoise (accent) —
       mêmes teintes exactes que le modèle de référence (Tailwind indigo/teal). */
    --bs-primary: #6366f1;
    --bs-primary-rgb: 99, 102, 241;
    --bs-primary-text-emphasis: #4338ca;
    --bs-primary-bg-subtle: #e0e7ff;
    --bs-primary-border-subtle: #c7d2fe;
    --bs-link-color: #6366f1;
    --bs-link-color-rgb: 99, 102, 241;
    --bs-link-hover-color: #4f46e5;
    --bs-link-hover-color-rgb: 79, 70, 229;

    --bs-info: #0d9488;
    --bs-info-rgb: 13, 148, 136;
    --bs-info-text-emphasis: #0f766e;
    --bs-info-bg-subtle: #ccfbf1;
    --bs-info-border-subtle: #99f6e4;

    --bs-body-font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

[data-bs-theme="dark"] {
    --bs-primary-bg-subtle: #1e1b4b;
    --bs-info-bg-subtle: #042f2e;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    /* Fond légèrement grisé (jamais blanc pur) pour que les cartes/éléments
       blancs se détachent visuellement au lieu de se fondre dans la page —
       la "distinction entre les formes et les éléments". */
    background-color: #eef0f7;
}
[data-bs-theme="dark"] body { background-color: #0b1120; }

/* Conteneur centré avec marges (comme max-w-7xl mx-auto px-4 sm:px-6 du
   modèle de référence) — remplace container-fluid, qui collait tout au bord
   de l'écran sur les grands écrans. */
.ep-shell { max-width: 1280px; margin-inline: auto; padding-inline: 1rem; }
@media (min-width: 576px) { .ep-shell { padding-inline: 1.5rem; } }

.card {
    border-radius: 1rem;
    border-color: rgba(15, 23, 42, .07);
    box-shadow: 0 2px 6px rgba(15, 23, 42, .05), 0 1px 3px rgba(15, 23, 42, .04);
    transition: box-shadow .2s ease, transform .2s ease;
}
[data-bs-theme="dark"] .card { background-color: #141d30; border-color: #223049; box-shadow: none; }
.card.h-100:hover, a.card:hover { box-shadow: 0 8px 20px rgba(15, 23, 42, .1); }
a.card:hover { transform: translateY(-2px); }

/* En-tête de carte teinté : donne à chaque "section" empilée sur une page
   (réglages, tableau, etc.) une identité visuelle propre au lieu d'un bloc
   blanc de plus — voir aussi le retrait de "bg-transparent" sur les
   card-header existants pour laisser apparaître cette teinte. */
.card-header {
    background: linear-gradient(180deg, rgba(99, 102, 241, .07), rgba(99, 102, 241, .015));
    border-bottom: 1px solid rgba(99, 102, 241, .12);
    font-weight: 700;
    padding-block: .85rem;
}
[data-bs-theme="dark"] .card-header { background: rgba(99, 102, 241, .1); border-bottom-color: #223049; }
.ep-card-header-danger { background: linear-gradient(180deg, rgba(220, 38, 38, .08), rgba(220, 38, 38, .015)); border-bottom-color: rgba(220, 38, 38, .15); }
[data-bs-theme="dark"] .ep-card-header-danger { background: rgba(220, 38, 38, .12); border-bottom-color: rgba(220, 38, 38, .3); }

.modal-content { border-radius: 1.25rem; }
.form-label { font-weight: 600; font-size: .85rem; }

/* ---------- Champs de formulaire : fond légèrement grisé au repos, halo de
   marque (indigo) au focus au lieu du bleu Bootstrap par défaut ---------- */
.form-control, .form-select {
    background-color: #f8fafc;
    border-color: rgba(15, 23, 42, .13);
    transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.form-control:focus, .form-select:focus {
    background-color: #fff;
    border-color: #a5b4fc;
    box-shadow: 0 0 0 .25rem rgba(99, 102, 241, .18);
}
.form-check-input:focus { border-color: #a5b4fc; box-shadow: 0 0 0 .25rem rgba(99, 102, 241, .18); }
.form-check-input:checked { background-color: var(--bs-primary); border-color: var(--bs-primary); }
[data-bs-theme="dark"] .form-control, [data-bs-theme="dark"] .form-select {
    background-color: #0f172a; border-color: #2d3e5b; color: #e2e8f0;
}
[data-bs-theme="dark"] .form-control:focus, [data-bs-theme="dark"] .form-select:focus { background-color: #111c30; }

/* ---------- Boutons : jamais le style Bootstrap natif tel quel — légère
   teinte au repos (même pour les "outline", pour éviter l'aspect invisible
   tant qu'on ne survole pas), et un vrai retour visuel au survol (ombre +
   léger soulèvement), pas seulement un changement de couleur. ---------- */
.btn {
    border-radius: .65rem;
    font-weight: 600;
    transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease, filter .15s ease;
}
.btn.rounded-pill { border-radius: 999px !important; }
.btn:hover:not(:disabled) { transform: translateY(-1px); }
.btn:active:not(:disabled) { transform: translateY(0) scale(.97); }

.btn-primary, .btn-danger, .btn-success, .btn-warning, .btn-info, .btn-dark {
    border: none;
    box-shadow: 0 2px 6px rgba(15, 23, 42, .12);
}
.btn-primary:hover { background-color: #4f46e5; box-shadow: 0 10px 22px -4px rgba(79, 70, 229, .45); }
.btn-success:hover { box-shadow: 0 10px 22px -4px rgba(22, 163, 74, .4); }
.btn-danger:hover { box-shadow: 0 10px 22px -4px rgba(220, 38, 38, .4); }
.btn-warning:hover { box-shadow: 0 10px 22px -4px rgba(217, 119, 6, .35); }
.btn-info:hover { box-shadow: 0 10px 22px -4px rgba(13, 148, 136, .4); }
.btn-dark:hover { box-shadow: 0 10px 22px -4px rgba(15, 23, 42, .5); }

.btn-outline-secondary { background: rgba(100, 116, 139, .07); border-color: rgba(100, 116, 139, .35); color: #475569; }
.btn-outline-secondary:hover { background: #475569; border-color: #475569; color: #fff; box-shadow: 0 8px 18px -4px rgba(71, 85, 105, .35); }
.btn-outline-primary { background: rgba(99, 102, 241, .07); }
.btn-outline-primary:hover { box-shadow: 0 8px 18px -4px rgba(99, 102, 241, .4); }
.btn-outline-danger { background: rgba(220, 38, 38, .06); }
.btn-outline-danger:hover { box-shadow: 0 8px 18px -4px rgba(220, 38, 38, .35); }
.btn-outline-success { background: rgba(22, 163, 74, .06); }
.btn-outline-success:hover { box-shadow: 0 8px 18px -4px rgba(22, 163, 74, .35); }
.btn-outline-warning { background: rgba(217, 119, 6, .08); }
.btn-outline-warning:hover { box-shadow: 0 8px 18px -4px rgba(217, 119, 6, .3); }
.btn-outline-dark { background: rgba(15, 23, 42, .05); }
.btn-light { border: 1px solid rgba(15, 23, 42, .09); box-shadow: 0 1px 3px rgba(15, 23, 42, .06); }
.btn-light:hover { box-shadow: 0 8px 18px -4px rgba(15, 23, 42, .18); }

[data-bs-theme="dark"] .btn-outline-secondary { background: rgba(148, 163, 184, .08); border-color: rgba(148, 163, 184, .35); color: #cbd5e1; }
[data-bs-theme="dark"] .btn-outline-secondary:hover { background: #334155; border-color: #334155; }
[data-bs-theme="dark"] .btn-light { background: #1e2c42; border-color: #2d3e5b; color: #e2e8f0; }

/* Lignes de tableau : survol teinté à la couleur de marque plutôt qu'un gris neutre. */
.table-hover > tbody > tr { transition: background-color .12s ease; }
.table-hover > tbody > tr:hover > * { background-color: rgba(99, 102, 241, .06); }
[data-bs-theme="dark"] .table-hover > tbody > tr:hover > * { background-color: rgba(99, 102, 241, .12); }

/* ---------- Micro-interactions (l'équivalent PHP/CSS des utilitaires
   Tailwind animate-in / animate-ping / animate-pulse du modèle React) ---------- */

/* Menus déroulants Bootstrap : fondu + léger zoom à l'ouverture, au lieu de
   l'apparition instantanée par défaut. */
.dropdown-menu {
    animation: ep-dropdown-in .16s ease-out;
    transform-origin: top left;
}
.dropdown-menu-end { transform-origin: top right; }
@keyframes ep-dropdown-in {
    from { opacity: 0; transform: scale(.96) translateY(-4px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

/* Pastille "en direct" (événement actif, scanner) avec halo qui pulse,
   équivalent de animate-ping. */
.ep-live-dot { position: relative; display: inline-block; }
.ep-live-dot::after {
    content: "";
    position: absolute; inset: 0;
    border-radius: 50%;
    background: inherit;
    animation: ep-ping 1.8s cubic-bezier(0,0,.2,1) infinite;
}
@keyframes ep-ping {
    0% { transform: scale(1); opacity: .7; }
    75%, 100% { transform: scale(2.2); opacity: 0; }
}

/* Chiffre d'alerte (ex. "tables surchargées") qui respire doucement,
   équivalent de animate-pulse. */
.ep-pulse { animation: ep-pulse 1.6s ease-in-out infinite; }
@keyframes ep-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .55; }
}

/* Liens de navigation : transition douce du soulignement actif. */
.nav-link { transition: color .15s ease; }
.navbar-nav .nav-link { position: relative; }
.navbar-nav .nav-link.active::after {
    content: "";
    position: absolute; left: .9rem; right: .9rem; bottom: -1px;
    height: 2px; background: var(--bs-primary); border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .dropdown-menu, .ep-live-dot::after, .ep-pulse { animation: none !important; }
}

/* ---------- Palette exacte du modèle de référence (slate/indigo/purple/emerald/rose/amber) ---------- */
.ep-hero {
    background: linear-gradient(90deg, #0f172a, #3b0764 55%, #0f172a);
    border: 1px solid #1e293b;
    border-radius: 1.5rem;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.ep-hero::before {
    content: "";
    position: absolute;
    top: -60px; right: -60px;
    width: 320px; height: 320px;
    background: radial-gradient(circle, rgba(168,85,247,.35), transparent 70%);
    filter: blur(10px);
    pointer-events: none;
}
.ep-hero::after {
    content: "";
    position: absolute;
    bottom: -80px; left: 10%;
    width: 260px; height: 260px;
    background: radial-gradient(circle, rgba(99,102,241,.25), transparent 70%);
    filter: blur(10px);
    pointer-events: none;
}
.ep-hero > * { position: relative; z-index: 1; }
.ep-hero .ep-pill { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; padding: .25rem .7rem; border-radius: 999px; }
.ep-hero .ep-pill-purple { background: rgba(168,85,247,.2); color: #d8b4fe; border: 1px solid rgba(168,85,247,.3); }
.ep-hero .ep-pill-emerald { background: rgba(6,78,59,.6); color: #6ee7b7; border: 1px solid rgba(6,95,70,.5); text-transform: none; letter-spacing: 0; }
.ep-hero p { color: #cbd5e1; }
.ep-btn-purple { background: #9333ea; color: #fff; border: none; font-weight: 700; }
.ep-btn-purple:hover { background: #a855f7; color: #fff; }
.ep-btn-slate { background: rgba(30,41,59,.8); color: #e2e8f0; border: 1px solid #334155; font-weight: 600; }
.ep-btn-slate:hover { background: #334155; color: #fff; }

.ep-alert-danger {
    background: #fff1f2;
    border: 2px solid #fda4af;
    border-radius: 1rem;
}
[data-bs-theme="dark"] .ep-alert-danger { background: rgba(76,5,25,.4); border-color: rgba(159,18,57,.6); }
.ep-alert-danger h4 { color: #881337; }
.ep-alert-danger p { color: #be123c; }
[data-bs-theme="dark"] .ep-alert-danger h4 { color: #fecdd3; }
[data-bs-theme="dark"] .ep-alert-danger p { color: #fda4af; }

.ep-icon-sq { width: 40px; height: 40px; border-radius: .8rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: #fff; box-shadow: 0 3px 10px rgba(0,0,0,.12); }
.ep-icon-sq.rose { background: linear-gradient(135deg, #e11d48, #fb7185); }
.ep-icon-sq.blue { background: linear-gradient(135deg, #2563eb, #60a5fa); }
.ep-icon-sq.emerald { background: linear-gradient(135deg, #059669, #34d399); }
.ep-icon-sq.purple { background: linear-gradient(135deg, #7c3aed, #c084fc); }
.ep-icon-sq.amber { background: linear-gradient(135deg, #d97706, #fbbf24); }
.ep-icon-sq.indigo { background: linear-gradient(135deg, #4f46e5, #818cf8); }
.ep-icon-sq.cyan { background: linear-gradient(135deg, #0891b2, #67e8f9); }
.ep-icon-sq.sm { width: 32px; height: 32px; border-radius: .65rem; font-size: .85rem; }

/* Cartes de sélection de modèle de billet (customize_event.php) : label
   entière cliquable, radio réellement masqué (visually-hidden) mais actif
   nativement puisqu'il reste dans le <label>. */
.ep-model-card { border: 2px solid var(--bs-border-color); transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.ep-model-card:hover { transform: translateY(-2px); border-color: #94a3b8; }
.ep-model-card .ep-model-check { width: 20px; height: 20px; border-radius: 50%; color: #fff; display: flex; align-items: center; justify-content: center; font-size: .65rem; opacity: 0; transform: scale(.6); transition: opacity .15s ease, transform .15s ease; }
.ep-model-card.selected .ep-model-check { opacity: 1; transform: scale(1); }
.ep-model-card.ep-model-slate.selected { border-color: #64748b; box-shadow: 0 6px 18px rgba(100,116,139,.18); }
.ep-model-card.ep-model-emerald.selected { border-color: #059669; box-shadow: 0 6px 18px rgba(5,150,105,.18); }
.ep-model-card.ep-model-amber.selected { border-color: #d97706; background: linear-gradient(160deg, rgba(217,119,6,.06), rgba(124,58,237,.05)); box-shadow: 0 8px 22px rgba(217,119,6,.2); }
.ep-model-ribbon { position: absolute; top: 0; right: 0; background: linear-gradient(90deg, #fbbf24, #d97706); color: #1e1b1b; font-size: .58rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; padding: .2rem .6rem; border-radius: 0 .65rem 0 .65rem; }

.ep-kpi-label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #64748b; }
.ep-avatar { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .85rem; flex-shrink: 0; background: linear-gradient(135deg, #059669, #34d399); color: #fff; box-shadow: 0 2px 6px rgba(5,150,105,.35); }
.ep-avatar.blue { background: linear-gradient(135deg, #2563eb, #60a5fa); box-shadow: 0 2px 6px rgba(37,99,235,.35); }
.ep-avatar.sm { width: 30px; height: 30px; font-size: .75rem; }

.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-hover-color: #fff;
    --bs-btn-active-color: #fff;
}

.icon { width: 18px; height: 18px; flex-shrink: 0; vertical-align: -3px; }
.hidden { display: none !important; }

.spinner {
    display: inline-block;
    width: 14px; height: 14px;
    border: 2px solid rgba(255, 255, 255, .4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: ndolo-spin .7s linear infinite;
    flex-shrink: 0;
}
.btn-outline-primary .spinner, .btn-outline-secondary .spinner { border-color: rgba(79, 70, 229, .25); border-top-color: var(--bs-primary); }
@keyframes ndolo-spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   Menu latéral (sidebar) — coloré, avec icônes dégradées par section.
   ========================================================================== */
.ep-app { display: flex; min-height: 100vh; width: 100%; }

.ep-sidebar {
    width: 272px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    background: linear-gradient(200deg, #1e1b4b 0%, #14103a 45%, #0b0f24 100%);
    color: #cbd5e1;
    position: fixed;
    top: 0; bottom: 0; left: 0;
    z-index: 1035;
    overflow-y: auto;
    transition: transform .25s ease;
    box-shadow: 4px 0 24px rgba(15, 23, 42, .12);
}

.ep-sidebar-brand { display: flex; align-items: center; gap: .7rem; padding: 1.35rem 1.25rem 1rem; }
.ep-brand-mark {
    width: 38px; height: 38px; border-radius: .85rem; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center; font-size: 1.05rem;
    background: linear-gradient(135deg, #818cf8, #34d399);
    color: #fff;
    box-shadow: 0 4px 14px rgba(99, 102, 241, .4);
}
.ep-sidebar-brand strong { color: #fff; font-size: 1.05rem; }
.text-gradient { background: linear-gradient(135deg, #a5b4fc, #6ee7b7); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ep-sidebar-tagline { font-size: .68rem; color: #818cf8; text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }

.ep-event-switcher {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
    color: #e2e8f0;
    padding: .5rem .75rem;
    border-radius: .75rem;
}
.ep-event-switcher:hover { background: rgba(255, 255, 255, .1); color: #fff; }

.ep-sidebar-nav { flex: 1; padding: .5rem .75rem; display: flex; flex-direction: column; gap: .2rem; }

.ep-side-link {
    display: flex; align-items: center; gap: .8rem;
    padding: .6rem .75rem;
    border-radius: .8rem;
    color: #cbd5e1;
    text-decoration: none;
    font-size: .85rem;
    font-weight: 600;
    transition: background-color .15s ease, color .15s ease, transform .15s ease;
}
.ep-side-link:hover { background: rgba(255, 255, 255, .07); color: #fff; text-decoration: none; transform: translateX(3px); }
.ep-side-link.active {
    background: linear-gradient(90deg, rgba(129, 140, 248, .28), rgba(129, 140, 248, .04));
    color: #fff;
    box-shadow: inset 3px 0 0 0 #a5b4fc;
}

.ep-side-icon {
    width: 32px; height: 32px; border-radius: .65rem; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: .82rem; color: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .25);
}
.ep-side-icon.indigo  { background: linear-gradient(135deg, #6366f1, #818cf8); }
.ep-side-icon.blue    { background: linear-gradient(135deg, #2563eb, #60a5fa); }
.ep-side-icon.purple  { background: linear-gradient(135deg, #7c3aed, #c084fc); }
.ep-side-icon.emerald { background: linear-gradient(135deg, #059669, #34d399); }
.ep-side-icon.teal    { background: linear-gradient(135deg, #0d9488, #2dd4bf); }
.ep-side-icon.amber   { background: linear-gradient(135deg, #d97706, #fbbf24); }
.ep-side-icon.rose    { background: linear-gradient(135deg, #e11d48, #fb7185); }
.ep-side-icon.slate   { background: linear-gradient(135deg, #475569, #94a3b8); }

.ep-sidebar-foot { padding: .85rem .9rem 1.1rem; border-top: 1px solid rgba(255, 255, 255, .08); }
.ep-scanner-btn {
    background: linear-gradient(135deg, #6366f1, #0d9488);
    box-shadow: 0 4px 14px rgba(99, 102, 241, .35);
}
.ep-scanner-btn:hover { filter: brightness(1.08); color: #fff; }

.ep-user-chip { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: #e2e8f0; padding: .4rem .5rem; border-radius: .75rem; }
.ep-user-chip:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.ep-user-avatar { width: 26px; height: 26px; font-size: .72rem; flex-shrink: 0; background: linear-gradient(135deg, #6366f1, #818cf8); }

.ep-sidebar-backdrop { display: none; position: fixed; inset: 0; background: rgba(15, 23, 42, .5); z-index: 1030; }

.ep-main { flex: 1; min-width: 0; margin-left: 272px; display: flex; flex-direction: column; }

.ep-topbar {
    display: flex; align-items: center; justify-content: space-between;
    padding: .75rem 1rem;
    background: var(--bs-body-bg);
    border-bottom: 1px solid rgba(15, 23, 42, .08);
    position: sticky; top: 0; z-index: 1020;
}

@media (max-width: 991.98px) {
    .ep-sidebar { transform: translateX(-100%); }
    .ep-sidebar.open { transform: translateX(0); }
    .ep-main { margin-left: 0; }
    .ep-sidebar-backdrop.open { display: block; }
}

/* ---------- Popup de notification centrée (succès / échec / chargement) ---------- */
.ndolo-popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 3000;
    background: rgba(15, 23, 42, .55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
}
.ndolo-popup-overlay.is-visible { opacity: 1; pointer-events: auto; }

.ndolo-popup {
    --ndolo-popup-color: #64748b;
    background: var(--bs-body-bg);
    color: var(--bs-body-color);
    border-radius: 1rem;
    max-width: 420px;
    width: 100%;
    padding: 28px 26px 24px;
    text-align: center;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, .35);
    transform: scale(.92) translateY(10px);
    transition: transform .25s ease;
    border-top: 5px solid var(--ndolo-popup-color);
}
.ndolo-popup-overlay.is-visible .ndolo-popup { transform: scale(1) translateY(0); }

.ndolo-popup[data-type="success"] { --ndolo-popup-color: #16a34a; }
.ndolo-popup[data-type="error"] { --ndolo-popup-color: #dc2626; }
.ndolo-popup[data-type="warning"] { --ndolo-popup-color: #d97706; }
.ndolo-popup[data-type="info"] { --ndolo-popup-color: var(--bs-info); }
.ndolo-popup[data-type="loading"] { --ndolo-popup-color: #ea580c; }

.ndolo-popup-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    background: var(--ndolo-popup-color);
}

.ndolo-popup-spinner {
    width: 22px;
    height: 22px;
    border: 3px solid rgba(255, 255, 255, .4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: ndolo-spin .7s linear infinite;
}

.ndolo-popup-message { font-size: 15.5px; font-weight: 700; margin-bottom: 4px; line-height: 1.4; }
.ndolo-popup-sub { font-size: 13px; color: #64748b; margin-bottom: 14px; }

.ndolo-popup-progress-track {
    height: 8px;
    border-radius: 999px;
    background: #fed7aa;
    overflow: hidden;
    margin: 14px 0 12px;
}
.ndolo-popup-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #f97316, #ea580c);
    border-radius: 999px;
    transition: width .4s ease;
}

.ndolo-popup-steps { text-align: left; font-size: 13px; color: #64748b; margin-top: 4px; }
.ndolo-popup-step { display: flex; align-items: center; gap: 8px; padding: 4px 0; opacity: .5; transition: opacity .2s ease; }
.ndolo-popup-step.is-active { opacity: 1; font-weight: 700; color: #c2410c; }
.ndolo-popup-step.is-done { opacity: .85; color: #16a34a; }
.ndolo-popup-step .dot { width: 8px; height: 8px; border-radius: 50%; background: #e2e8f0; flex-shrink: 0; }
.ndolo-popup-step.is-active .dot { background: #ea580c; }
.ndolo-popup-step.is-done .dot { background: #16a34a; }

.ndolo-popup-close {
    margin-top: 10px;
    border: none;
    background: #f1f5f9;
    color: #1e293b;
    padding: 8px 20px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}
[data-bs-theme="dark"] .ndolo-popup-close { background: #253248; color: #e2e8f0; }
.ndolo-popup-close:hover { filter: brightness(.95); }
