/* ============================================================
   PLONGEE-SUIVI — Feuille de style centralisée
   Pour changer le thème couleur, modifiez uniquement les
   variables dans :root ci-dessous.
   ============================================================ */

:root {
    /* Palette marine principale */
    --navy:           #0c3a5e;
    --navy-dark:      #0a2e4a;
    --navy-mid:       #0c3a5e;
    --navy-light:     #e6f1fb;
    --navy-lighter:   #f7fafd;
    --ocean:          #185fa5;
    --ocean-light:    #378add;
    --ocean-muted:    #85b7eb;
    --ocean-pale:     #b5d4f4;

    /* Teal (validé / succès) */
    --teal:           #1d9e75;
    --teal-dark:      #0f6e56;
    --teal-light:     #eaf3de;
    --teal-text:      #27500a;
    --teal-border:    #639922;

    /* Amber (prévalidé / attention) */
    --amber:          #ef9f27;
    --amber-dark:     #854f0b;
    --amber-light:    #faeeda;
    --amber-text:     #633806;

    /* Rouge (danger / invalide) */
    --red:            #e24b4a;
    --red-dark:       #a32d2d;
    --red-light:      #fcebeb;
    --red-border:     #f7c1c1;

    /* Gris neutre */
    --gray:           #888780;
    --gray-light:     #f1efe8;
    --gray-text:      #5f5e5a;

    /* Violet (admin) */
    --purple:         #534ab7;
    --purple-light:   #eeedfe;

    /* Fond & texte */
    --sand:           #f0f4f8;
    --white:          #fff;
    --text-main:      #1a1a2e;
    --text-muted:     #888780;
    --border:         #b5d4f4;
    --border-light:   #e6f1fb;

    /* Rayons */
    --radius-sm:      8px;
    --radius-md:      10px;
    --radius-lg:      12px;
    --radius-xl:      14px;
    --radius-2xl:     16px;
    --radius-full:    9999px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

body {
    background: var(--sand);
    color: var(--text-main);
    font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
    padding-bottom: 60px;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.page-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 1.5rem 1rem;
}

.page-footer {
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    padding: 16px;
    border-top: 0.5px solid var(--border);
    background: var(--white);
}

/* ============================================================
   FLASH MESSAGES
   ============================================================ */
.flash-success {
    background: var(--teal-light);
    color: var(--teal-text);
    border: 0.5px solid var(--teal-border);
    border-radius: var(--radius-md);
    padding: 10px 16px;
    margin: 12px 0;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.flash-error {
    background: var(--red-light);
    color: var(--red-dark);
    border: 0.5px solid var(--red);
    border-radius: var(--radius-md);
    padding: 10px 16px;
    margin: 12px 0;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.flash-close {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: inherit;
    opacity: .6;
    flex-shrink: 0;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav-bar {
    background: var(--navy);
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 52px;
    position: sticky;
    top: 0;
    z-index: 100;
}
.nav-brand {
    display: flex; align-items: center; gap: 8px;
    text-decoration: none; color: var(--white);
    font-size: 15px; font-weight: 500; white-space: nowrap;
}
.nav-brand-icon {
    width: 28px; height: 28px;
    background: var(--ocean-light);
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    font-size: 14px;
}
.nav-brand:hover { color: var(--ocean-muted); }
.nav-right { display: flex; align-items: center; gap: 4px; }
.nav-icon-btn {
    background: transparent; border: none;
    color: var(--ocean-muted);
    width: 40px; height: 40px;
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; cursor: pointer; text-decoration: none;
    transition: background .15s, color .15s;
}
.nav-icon-btn:hover { background: rgba(255,255,255,.1); color: var(--white); }
.nav-hamburger {
    display: flex; flex-direction: column; gap: 4px;
    padding: 10px; cursor: pointer;
    background: transparent; border: none; border-radius: var(--radius-md);
}
.nav-hamburger span {
    display: block; width: 20px; height: 2px;
    background: var(--ocean-muted); border-radius: 2px; transition: background .15s;
}
.nav-hamburger:hover span { background: var(--white); }
.nav-drawer {
    display: none; position: fixed;
    top: 52px; left: 0; right: 0; bottom: 0; z-index: 99;
}
.nav-drawer.open { display: block; }
.nav-drawer-overlay {
    position: absolute; inset: 0;
    background: rgba(10,46,74,.6);
}
.nav-drawer-panel {
    position: absolute; top: 0; right: 0;
    width: 280px; bottom: 0;
    background: var(--white);
    display: flex; flex-direction: column; overflow-y: auto;
}
.nav-drawer-user {
    background: var(--navy); padding: 16px 20px;
    display: flex; align-items: center; gap: 12px;
}
.nav-drawer-avatar {
    width: 38px; height: 38px; border-radius: 50%;
    background: var(--navy-light);
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 500; color: var(--ocean); flex-shrink: 0;
}
.nav-drawer-username { font-size: 14px; font-weight: 500; color: var(--white); }
.nav-drawer-role { font-size: 12px; color: var(--ocean-muted); }
.nav-drawer-section {
    padding: 8px 12px 4px;
    font-size: 11px; font-weight: 500; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: .05em;
}
.nav-drawer-link {
    display: flex; align-items: center; gap: 12px;
    padding: 11px 20px; font-size: 14px;
    color: var(--text-main); text-decoration: none;
    transition: background .1s;
}
.nav-drawer-link:hover { background: var(--navy-light); color: var(--ocean); }
.nav-drawer-link i { font-size: 16px; color: var(--ocean-pale); width: 20px; text-align: center; }
.nav-drawer-link:hover i { color: var(--ocean); }
.nav-drawer-sep { height: 0.5px; background: var(--border); margin: 6px 20px; }
.nav-drawer-logout {
    display: flex; align-items: center; gap: 12px;
    padding: 11px 20px; font-size: 14px; color: var(--red-dark);
    cursor: pointer; background: transparent; border: none;
    width: 100%; text-align: left; transition: background .1s;
}
.nav-drawer-logout:hover { background: var(--red-light); }
.nav-drawer-logout i { font-size: 16px; width: 20px; text-align: center; }
.nav-drawer-footer { margin-top: auto; }

/* ============================================================
   COMPOSANTS COMMUNS
   ============================================================ */

/* En-tête de page */
.page-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.page-title { font-size: 22px; font-weight: 500; color: var(--navy); margin: 0; }
.page-subtitle { font-size: 13px; color: var(--text-muted); margin-top: 2px; }
.section-label {
    font-size: 11px; font-weight: 500; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: .05em; margin: 20px 0 8px 4px;
}
.section-label:first-child { margin-top: 0; }

/* Bouton ajouter */
.btn-add {
    background: var(--navy); color: var(--white); border: none;
    border-radius: var(--radius-md); padding: 9px 16px;
    font-size: 13px; font-weight: 500; text-decoration: none;
    display: inline-flex; align-items: center; gap: 6px;
}
.btn-add:hover { background: var(--ocean); color: var(--white); }

/* Boutons actions */
.btn-edit {
    background: var(--navy-light); color: var(--ocean); border: none;
    border-radius: var(--radius-sm); padding: 6px 12px;
    font-size: 12px; font-weight: 500; text-decoration: none;
}
.btn-edit:hover { background: var(--ocean-pale); color: var(--navy); }
.btn-del {
    background: var(--red-light); color: var(--red-dark); border: none;
    border-radius: var(--radius-sm); padding: 6px 10px; font-size: 12px; cursor: pointer;
}
.btn-del:hover { background: var(--red-border); }
.btn-teal {
    background: var(--teal); color: var(--white); border: none;
    border-radius: var(--radius-sm); padding: 9px 16px;
    font-size: 13px; font-weight: 500; cursor: pointer;
}
.btn-teal:hover { background: var(--teal-dark); }
.btn-xs {
    border: 0.5px solid currentColor; background: transparent;
    border-radius: 6px; padding: 3px 8px; font-size: 11px; cursor: pointer; line-height: 1.4;
}
.btn-xs-blue { color: var(--ocean); }
.btn-xs-blue:hover { background: var(--navy-light); }
.btn-xs-red { color: var(--red-dark); }
.btn-xs-red:hover { background: var(--red-light); }
.btn-xs-amber { color: var(--amber-dark); }
.btn-xs-amber:hover { background: var(--amber-light); }

/* Avatar */
.avatar {
    border-radius: 50%; background: var(--navy-light);
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 500; color: var(--ocean); flex-shrink: 0;
}
.avatar-sm { width: 36px; height: 36px; }
.avatar-md { width: 38px; height: 38px; }
.avatar-lg { width: 64px; height: 64px; font-size: 22px; }

/* Cards de liste */
.list-card {
    background: var(--white); border: 0.5px solid var(--border);
    border-radius: var(--radius-lg); padding: 12px 16px;
    margin-bottom: 8px; display: flex; align-items: center; gap: 12px;
}
.list-card-link {
    background: var(--white); border: 0.5px solid var(--border);
    border-radius: var(--radius-lg); padding: 12px 16px;
    margin-bottom: 8px; display: flex; align-items: center; gap: 12px;
    text-decoration: none; transition: border-color .15s;
}
.list-card-link:hover { border-color: var(--ocean-light); background: var(--navy-lighter); }

/* Badges de statut */
.s-badge { font-size: 11px; font-weight: 500; padding: 3px 10px; border-radius: var(--radius-full); white-space: nowrap; }
.s-validated   { background: var(--teal-light);  color: var(--teal-text); }
.s-prevalidated{ background: var(--navy-light);   color: var(--navy); }
.s-tried       { background: var(--amber-light);  color: var(--amber-text); }
.s-none        { background: var(--gray-light);   color: var(--gray-text); }
.s-active      { background: var(--teal-light);   color: var(--teal-text); }
.s-inactive    { background: var(--gray-light);   color: var(--gray-text); }

/* Formulaires */
.form-card { background: var(--white); border: 0.5px solid var(--border); border-radius: var(--radius-2xl); overflow: hidden; }
.form-card-header {
    background: var(--navy); padding: 16px 20px;
    display: flex; align-items: center; gap: 10px;
}
.form-card-title { font-size: 16px; font-weight: 500; color: var(--white); margin: 0; }
.form-card-subtitle { font-size: 12px; color: var(--ocean-muted); margin: 2px 0 0; }
.form-card-body { padding: 20px; }
.form-section-title {
    font-size: 11px; font-weight: 500; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: .05em;
    margin: 20px 0 12px; padding-top: 16px; border-top: 0.5px solid var(--border-light);
}
.form-section-title:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media(max-width:480px){ .form-row { grid-template-columns: 1fr; } }
.form-field { margin-bottom: 14px; }
.form-label { display: block; font-size: 12px; color: var(--text-muted); margin-bottom: 5px; }
.form-label-required { color: var(--red); margin-left: 2px; }
.form-input {
    width: 100%; padding: 10px 14px;
    border: 0.5px solid var(--border); border-radius: var(--radius-md);
    font-size: 14px; background: var(--navy-lighter); color: var(--text-main);
}
.form-input:focus { outline: none; border-color: var(--ocean-light); background: var(--white); }
.form-input.is-invalid { border-color: var(--red); }
.form-error { font-size: 12px; color: var(--red-dark); margin-top: 4px; }
.form-hint { font-size: 11px; color: var(--text-muted); margin-top: 4px; }
.form-actions {
    display: flex; gap: 10px;
    margin-top: 24px; padding-top: 16px; border-top: 0.5px solid var(--border-light);
}
.btn-submit {
    flex: 1; background: var(--navy); color: var(--white); border: none;
    border-radius: var(--radius-2xl); padding: 13px;
    font-size: 14px; font-weight: 500; cursor: pointer;
}
.btn-submit:hover { background: var(--ocean); }
.btn-cancel {
    background: transparent; border: 0.5px solid var(--border); color: var(--text-muted);
    border-radius: var(--radius-2xl); padding: 13px 20px;
    font-size: 14px; text-decoration: none; white-space: nowrap;
}
.btn-cancel:hover { background: var(--navy-lighter); }

/* Checkboxes visuelles */
.checkbox-group { display: flex; flex-direction: column; gap: 8px; }
.checkbox-item {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 14px; border: 0.5px solid var(--border);
    border-radius: var(--radius-md); background: var(--navy-lighter); cursor: pointer;
    transition: border-color .15s, background .15s;
}
.checkbox-item:hover { background: var(--navy-light); border-color: var(--ocean-light); }
.checkbox-item input { width: 16px; height: 16px; accent-color: var(--ocean); cursor: pointer; flex-shrink: 0; }
.checkbox-item-label { font-size: 13px; color: var(--text-main); cursor: pointer; }
.checkbox-item-sub { font-size: 11px; color: var(--text-muted); }

/* Toggle actif/inactif */
.toggle-wrap {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 14px; border: 0.5px solid var(--border);
    border-radius: var(--radius-md); background: var(--navy-lighter); cursor: pointer;
}
.toggle-wrap input { width: 16px; height: 16px; accent-color: var(--ocean); cursor: pointer; }
.toggle-label { font-size: 13px; color: var(--text-main); cursor: pointer; }

/* Statut dot */
.dot-active   { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); margin-right: 4px; }
.dot-inactive { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ocean-pale); margin-right: 4px; }

/* Empty state */
.empty-state { text-align: center; padding: 40px 20px; color: var(--text-muted); }
.empty-icon { font-size: 40px; color: var(--ocean-pale); margin-bottom: 12px; }

/* Stats cards (dashboard) */
.stat-card {
    background: var(--white); border: 0.5px solid var(--border);
    border-radius: var(--radius-lg); padding: 14px 16px;
}
.stat-label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 4px; }
.stat-value { font-size: 24px; font-weight: 500; color: var(--navy); line-height: 1; }
.stat-sub { font-size: 11px; color: var(--ocean-light); margin-top: 3px; }

/* Action cards (dashboard) */
.action-card {
    background: var(--white); border: 0.5px solid var(--border);
    border-radius: var(--radius-xl); padding: 16px; text-decoration: none;
    display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
    transition: border-color .15s, background .15s;
}
.action-card:hover { background: var(--navy-light); border-color: var(--ocean-light); }
.action-card.disabled { opacity: .5; pointer-events: none; }
.action-icon {
    width: 38px; height: 38px; border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.action-icon.blue   { background: var(--navy-light);   color: var(--ocean); }
.action-icon.teal   { background: var(--teal-light);   color: var(--teal); }
.action-icon.amber  { background: var(--amber-light);  color: var(--amber-dark); }
.action-icon.purple { background: var(--purple-light); color: var(--purple); }
.action-icon.gray   { background: var(--gray-light);   color: var(--gray-text); }
.action-name { font-size: 13px; font-weight: 500; color: var(--navy); line-height: 1.3; }
.action-desc { font-size: 11px; color: var(--text-muted); }
.wip-badge {
    font-size: 10px; background: var(--amber-light); color: var(--amber-dark);
    border-radius: var(--radius-full); padding: 1px 8px;
}

/* Entête marine (tracking, levelskills) */
.marine-header {
    background: var(--navy);
    margin: -1.5rem -1rem 0;
    padding: 1rem 1rem 0;
}
.marine-header-back { font-size: 13px; color: var(--ocean-muted); text-decoration: none; display: inline-flex; align-items: center; gap: 4px; margin-bottom: 8px; }
.marine-header-back:hover { color: var(--white); }
.marine-header-title { font-size: 20px; font-weight: 500; color: var(--white); margin: 0 0 2px; }
.marine-header-sub { font-size: 13px; color: var(--ocean-muted); margin: 0; }
.marine-progress-bar { background: var(--navy-dark); padding: 14px 1rem; display: flex; align-items: center; gap: 12px; }
.marine-progress-track { flex: 1; height: 8px; background: var(--navy); border-radius: 4px; overflow: hidden; }
.marine-progress-fill { height: 100%; background: var(--teal); border-radius: 4px; }
.marine-progress-label { font-size: 13px; color: var(--ocean-muted); white-space: nowrap; }

@media(min-width:768px){
    .marine-header { margin: -1.5rem -12px 0; }
}

/* ============================================================
   AUTH (login, forgot-password, reset-password)
   ============================================================ */
.auth-wrap { min-height: calc(100vh - 120px); display: flex; align-items: center; justify-content: center; padding: 2rem 0; }
.auth-card { width: 100%; max-width: 400px; background: var(--white); border: 0.5px solid var(--border); border-radius: 20px; overflow: hidden; }
.auth-header { background: var(--navy); padding: 24px; text-align: center; }
.auth-logo { width: 48px; height: 48px; background: var(--ocean); border-radius: 14px; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; font-size: 22px; color: var(--white); }
.auth-club { font-size: 16px; font-weight: 500; color: var(--white); margin: 0 0 2px; }
.auth-sub { font-size: 12px; color: var(--ocean-muted); margin: 0; }
.auth-body { padding: 24px; }
.auth-title { font-size: 15px; font-weight: 500; color: var(--navy); margin: 0 0 8px; }
.auth-desc { font-size: 13px; color: var(--text-muted); margin: 0 0 20px; line-height: 1.5; }
.auth-status { background: var(--teal-light); color: var(--teal-text); border: 0.5px solid var(--teal-border); border-radius: 10px; padding: 10px 14px; font-size: 13px; margin-bottom: 16px; }
.auth-back { display: block; text-align: center; font-size: 13px; color: var(--ocean-light); text-decoration: none; margin-top: 16px; }
.auth-back:hover { color: var(--navy); }

/* Login spécifique */
.login-wrap { min-height: calc(100vh - 120px); display: flex; align-items: center; justify-content: center; padding: 2rem 0; }
.login-card { width: 100%; max-width: 400px; background: var(--white); border: 0.5px solid var(--border); border-radius: 20px; overflow: hidden; }
.login-header { background: var(--navy); padding: 28px 24px 24px; text-align: center; }
.login-logo { width: 52px; height: 52px; background: var(--ocean); border-radius: 16px; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; font-size: 24px; color: var(--white); }
.login-club-name { font-size: 17px; font-weight: 500; color: var(--white); margin: 0 0 3px; }
.login-club-sub { font-size: 12px; color: var(--ocean-muted); margin: 0; }
.login-body { padding: 24px; }
.login-title { font-size: 16px; font-weight: 500; color: var(--navy); margin: 0 0 20px; text-align: center; }
.login-field { margin-bottom: 14px; }
.login-label { display: block; font-size: 12px; color: var(--text-muted); margin-bottom: 5px; }
.login-input { width: 100%; padding: 11px 14px; border: 0.5px solid var(--border); border-radius: 10px; font-size: 14px; background: var(--navy-lighter); color: var(--text-main); transition: border-color .15s; }
.login-input:focus { outline: none; border-color: var(--ocean-light); background: var(--white); }
.login-input.is-invalid { border-color: var(--red); background: var(--red-light); }
.login-error { font-size: 12px; color: var(--red-dark); margin-top: 4px; }
.login-remember { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted); margin-bottom: 20px; cursor: pointer; }
.login-remember input { width: 16px; height: 16px; accent-color: var(--ocean); cursor: pointer; }
.login-submit { width: 100%; background: var(--navy); color: var(--white); border: none; border-radius: 12px; padding: 13px; font-size: 15px; font-weight: 500; cursor: pointer; transition: background .15s; }
.login-submit:hover { background: var(--ocean); }
.login-forgot { display: block; text-align: center; font-size: 13px; color: var(--ocean-light); text-decoration: none; margin-top: 14px; }
.login-forgot:hover { color: var(--navy); }
.login-status { background: var(--teal-light); color: var(--teal-text); border: 0.5px solid var(--teal-border); border-radius: 10px; padding: 10px 14px; font-size: 13px; margin-bottom: 16px; }

/* Guest layout */
.guest-card { width: 100%; max-width: 400px; background: var(--white); border-radius: 20px; overflow: hidden; }
.guest-header { background: var(--navy); padding: 24px; text-align: center; }
.guest-logo { width: 48px; height: 48px; background: var(--ocean); border-radius: 14px; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; font-size: 22px; color: var(--white); }
.guest-title { font-size: 16px; font-weight: 500; color: var(--white); margin: 0 0 2px; }
.guest-sub { font-size: 12px; color: var(--ocean-muted); margin: 0; }
.guest-body { padding: 24px; }
.guest-link { display: block; text-align: center; font-size: 13px; color: var(--ocean-light); text-decoration: none; margin-top: 14px; }
.guest-link:hover { color: var(--navy); }
.error-msg { font-size: 12px; color: var(--red-dark); margin: -10px 0 10px; }
.status-msg { background: var(--teal-light); color: var(--teal-text); border: 0.5px solid var(--teal-border); border-radius: 10px; padding: 10px 14px; font-size: 13px; margin-bottom: 16px; }
.btn-primary-full { width: 100%; background: var(--navy); color: var(--white); border: none; border-radius: 12px; padding: 13px; font-size: 15px; font-weight: 500; cursor: pointer; margin-top: 4px; }
.btn-primary-full:hover { background: var(--ocean); }

/* ============================================================
   DASHBOARDS
   ============================================================ */
.db-greeting { font-size: 13px; color: var(--text-muted); margin-bottom: 4px; }
.db-title { font-size: 22px; font-weight: 500; color: var(--navy); margin: 0 0 16px; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 20px; }
@media(min-width:480px){ .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.action-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media(min-width:480px){ .action-grid { grid-template-columns: repeat(3, 1fr); } }

/* Dashboard élève */
.enroll-card { background: var(--white); border: 0.5px solid var(--border); border-radius: 14px; overflow: hidden; margin-bottom: 12px; text-decoration: none; display: block; transition: border-color .15s; }
.enroll-card:hover { border-color: var(--ocean-light); }
.enroll-top { padding: 14px 16px 10px; }
.enroll-level { font-size: 16px; font-weight: 500; color: var(--navy); margin: 0 0 2px; }
.enroll-section { font-size: 12px; color: var(--text-muted); }
.enroll-bottom { padding: 10px 16px 14px; border-top: 0.5px solid var(--navy-light); display: flex; align-items: center; gap: 12px; }
.enroll-bar-wrap { flex: 1; }
.enroll-bar-track { height: 7px; background: var(--navy-light); border-radius: 4px; overflow: hidden; }
.enroll-bar-fill { height: 100%; border-radius: 4px; }
.enroll-bar-label { font-size: 11px; color: var(--text-muted); margin-top: 4px; }
.enroll-status { font-size: 11px; padding: 3px 10px; border-radius: 20px; flex-shrink: 0; }
.enroll-active   { background: var(--teal-light); color: var(--teal-text); }
.enroll-inactive { background: var(--gray-light); color: var(--gray-text); }

/* Dashboard moniteur */
.search-bar { display: flex; gap: 8px; margin-bottom: 20px; }
.search-bar input { flex: 1; padding: 10px 14px; border: 0.5px solid var(--border); border-radius: 10px; font-size: 14px; background: var(--white); color: var(--text-main); }
.search-bar input:focus { outline: none; border-color: var(--ocean-light); }
.search-bar button { background: var(--navy); color: var(--white); border: none; border-radius: 10px; padding: 10px 18px; font-size: 14px; cursor: pointer; white-space: nowrap; }
.search-bar button:hover { background: var(--ocean); }
.level-block { background: var(--white); border: 0.5px solid var(--border); border-radius: 14px; overflow: hidden; margin-bottom: 12px; }
.level-header { background: var(--navy); padding: 12px 16px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
.level-header-title { font-size: 14px; font-weight: 500; color: var(--white); }
.level-header-right { display: flex; align-items: center; gap: 8px; }
.level-count { font-size: 12px; color: var(--ocean-muted); }
.level-chevron { font-size: 12px; color: var(--ocean-muted); transition: transform .2s; display: inline-block; }
.level-chevron.open { transform: rotate(180deg); }
.level-body { display: none; }
.level-body.open { display: block; }
.eleve-row { padding: 12px 16px; display: flex; align-items: center; gap: 12px; border-bottom: 0.5px solid var(--navy-light); }
.eleve-row:last-child { border-bottom: none; }
.eleve-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--navy-light); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 500; color: var(--ocean); flex-shrink: 0; }
.eleve-info { flex: 1; min-width: 0; }
.eleve-name { font-size: 13px; font-weight: 500; color: var(--text-main); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.eleve-meta { font-size: 11px; color: var(--text-muted); margin-top: 1px; display: flex; gap: 8px; flex-wrap: wrap; }
.eleve-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.prog-ring { position: relative; width: 40px; height: 40px; }
.prog-ring svg { transform: rotate(-90deg); }
.prog-ring-label { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 500; color: var(--navy); }
.btn-voir { background: var(--navy-light); color: var(--ocean); border: none; border-radius: 8px; padding: 6px 12px; font-size: 12px; font-weight: 500; cursor: pointer; text-decoration: none; white-space: nowrap; }
.btn-voir:hover { background: var(--border); color: var(--navy); }
.empty-level { padding: 14px 16px; font-size: 13px; color: var(--text-muted); font-style: italic; }
.results-title { font-size: 13px; font-weight: 500; color: var(--navy); margin: 20px 0 10px; }
.mini-badge { font-size: 10px; padding: 1px 7px; border-radius: 20px; }
.mb-prev { background: var(--navy-light); color: var(--navy); }
.mb-tried { background: var(--amber-light); color: var(--amber-text); }

/* ============================================================
   TRACKING
   ============================================================ */
.enroll-count { font-size: 13px; color: var(--text-muted); margin-top: 2px; }
.enroll-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--navy-light); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 500; color: var(--ocean); flex-shrink: 0; }
.enroll-info { flex: 1; min-width: 0; }
.enroll-name { font-size: 14px; font-weight: 500; color: var(--text-main); }
.enroll-meta { font-size: 12px; color: var(--text-muted); margin-top: 1px; display: flex; gap: 8px; flex-wrap: wrap; }
.enroll-right { flex-shrink: 0; }
.status-badge { font-size: 11px; padding: 3px 10px; border-radius: 20px; }
.status-active   { background: var(--teal-light); color: var(--teal-text); }
.status-inactive { background: var(--gray-light); color: var(--gray-text); }

/* Fiche de suivi */
.trk-header { background: var(--navy); margin: -1.5rem -1rem 0; padding: 1rem 1rem 0; }
.trk-back { font-size: 13px; color: var(--ocean-muted); text-decoration: none; display: inline-flex; align-items: center; gap: 4px; margin-bottom: 8px; }
.trk-back:hover { color: var(--white); }
.trk-name { font-size: 20px; font-weight: 500; color: var(--white); margin: 0; }
.trk-level { font-size: 13px; color: var(--ocean-muted); margin: 2px 0 0; }
.trk-progress-bar { background: var(--navy-dark); padding: 14px 1rem; display: flex; align-items: center; gap: 12px; }
.trk-progress-track { flex: 1; height: 8px; background: var(--navy); border-radius: 4px; overflow: hidden; }
.trk-progress-fill { height: 100%; background: var(--teal); border-radius: 4px; }
.trk-progress-label { font-size: 13px; color: var(--ocean-muted); white-space: nowrap; }
.trk-body { padding: 1rem 0; }
.qualif-block { margin-bottom: 12px; border: 0.5px solid var(--border); border-radius: 14px; overflow: hidden; background: var(--white); }
.qualif-toggle { width: 100%; background: var(--navy-light); border: none; padding: 12px 16px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; text-align: left; }
.qualif-toggle-title { font-size: 14px; font-weight: 500; color: var(--navy); }
.qualif-toggle-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.qualif-badge { font-size: 11px; font-weight: 500; background: var(--navy); color: var(--navy-light); border-radius: 20px; padding: 2px 10px; }
.qualif-badge.done { background: var(--teal-dark); color: var(--teal-light); }
.qualif-chevron { font-size: 12px; color: var(--ocean-light); transition: transform .2s; display: inline-block; }
.qualif-chevron.open { transform: rotate(180deg); }
.qualif-body { display: none; }
.qualif-body.open { display: block; }
.theme-block { border-top: 0.5px solid var(--border); }
.theme-toggle { width: 100%; background: var(--navy-lighter); border: none; padding: 10px 16px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; text-align: left; }
.theme-toggle-left { display: flex; flex-direction: column; gap: 2px; }
.theme-title { font-size: 13px; font-weight: 500; color: var(--ocean); }
.theme-criteria { font-size: 11px; color: var(--text-muted); font-style: italic; }
.theme-toggle-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.theme-mini-track { width: 50px; height: 5px; background: var(--border); border-radius: 3px; overflow: hidden; }
.theme-mini-fill { height: 100%; border-radius: 3px; }
.theme-mini-label { font-size: 11px; }
.theme-chevron { font-size: 11px; color: var(--ocean-light); transition: transform .2s; display: inline-block; }
.theme-chevron.open { transform: rotate(180deg); }
.theme-body { display: none; }
.theme-body.open { display: block; }
.skill-item { border-top: 0.5px solid var(--navy-light); }
.skill-header { padding: 10px 16px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; gap: 8px; }
.skill-header:active { background: var(--navy-light); }
.skill-left { flex: 1; min-width: 0; }
.skill-name { font-size: 13px; color: var(--text-main); font-weight: 500; }
.skill-desc { font-size: 11px; color: var(--text-muted); margin-top: 1px; }
.skill-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.skill-chevron { font-size: 11px; color: var(--border); transition: transform .2s; display: inline-block; }
.skill-chevron.open { transform: rotate(180deg); }
.cat-badge { font-size: 10px; padding: 1px 7px; border-radius: 20px; background: var(--navy-light); color: var(--navy); margin-left: 4px; }
.skill-detail { display: none; background: var(--navy-lighter); border-top: 0.5px solid var(--navy-light); padding: 10px 16px; }
.skill-detail.open { display: block; }
.hist-entry { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 6px 0; border-bottom: 0.5px solid var(--navy-light); font-size: 12px; color: var(--text-main); }
.hist-entry:last-of-type { border-bottom: none; }
.hist-date { font-weight: 500; color: var(--ocean); }
.hist-meta { color: var(--text-muted); }
.hist-actions { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; width: 100%; }
.trk-btn { border: 0.5px solid currentColor; background: transparent; border-radius: 8px; padding: 4px 12px; font-size: 12px; cursor: pointer; line-height: 1.4; }
.trk-btn-validate { color: var(--teal-text); border-color: var(--teal-border); }
.trk-btn-validate:hover { background: var(--teal-light); }
.trk-btn-invalidate { color: var(--red-dark); border-color: var(--red); }
.trk-btn-invalidate:hover { background: var(--red-light); }
.trk-btn-edit { color: var(--ocean); border-color: var(--ocean-light); }
.trk-btn-edit:hover { background: var(--navy-light); }
.trk-btn-delete { color: var(--red-dark); border-color: var(--red); }
.trk-btn-delete:hover { background: var(--red-light); }
.add-form { display: none; margin-top: 10px; padding: 12px; background: var(--white); border: 0.5px solid var(--border); border-radius: 10px; }
.add-form.open { display: block; }
.add-form-title { font-size: 12px; font-weight: 500; color: var(--ocean); margin-bottom: 8px; }
.add-form .field { margin-bottom: 8px; }
.add-form label { font-size: 11px; color: var(--text-muted); display: block; margin-bottom: 3px; }
.add-form input[type=date], .add-form input[type=text] { width: 100%; padding: 8px 10px; border: 0.5px solid var(--border); border-radius: 8px; font-size: 13px; background: var(--navy-lighter); color: var(--text-main); }
.add-form-check { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ocean); margin-bottom: 10px; }
.add-form-actions { display: flex; gap: 8px; }
.btn-add-try { flex: 1; background: var(--navy); color: var(--white); border: none; border-radius: 10px; padding: 10px; font-size: 13px; font-weight: 500; cursor: pointer; }
.btn-add-try:active { opacity: .85; }
.btn-cancel-try { background: transparent; border: 0.5px solid var(--border); color: var(--text-muted); border-radius: 10px; padding: 10px 14px; font-size: 13px; cursor: pointer; }
.add-toggle-btn { width: 100%; background: transparent; border: 0.5px dashed var(--ocean-light); border-radius: 10px; color: var(--ocean); font-size: 12px; padding: 8px; margin-top: 8px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 4px; }
.add-toggle-btn:hover { background: var(--navy-light); }
.trk-no-try { font-size: 12px; color: var(--text-muted); font-style: italic; padding: 4px 0 8px; }
@media(min-width:768px) {
    .trk-header { margin: -1.5rem -12px 0; }
    .add-form-row { display: flex; gap: 8px; }
    .add-form-row .field { flex: 1; margin-bottom: 0; }
}

/* ============================================================
   LEVELSKILLS
   ============================================================ */
.level-card { background: var(--white); border: 0.5px solid var(--border); border-radius: 12px; padding: 12px 16px; margin-bottom: 8px; display: flex; align-items: center; gap: 12px; }
.level-icon { width: 38px; height: 38px; background: var(--navy-light); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 16px; color: var(--ocean); flex-shrink: 0; font-weight: 500; }
.level-info { flex: 1; min-width: 0; }
.level-name { font-size: 14px; font-weight: 500; color: var(--text-main); }
.level-meta { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.level-code { display: inline-block; font-size: 10px; background: var(--navy-light); color: var(--navy); border-radius: 6px; padding: 1px 7px; margin-right: 6px; }
.level-actions { display: flex; gap: 6px; flex-shrink: 0; }
.btn-skills { background: var(--teal-light); color: var(--teal-text); border: none; border-radius: 8px; padding: 6px 12px; font-size: 12px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.btn-skills:hover { background: var(--teal-light); color: var(--teal-dark); }

/* Skills page */
.sk-header { background: var(--navy); margin: -1.5rem -1rem 0; padding: 16px 1rem 12px; }
.sk-back { font-size: 13px; color: var(--ocean-muted); text-decoration: none; display: inline-flex; align-items: center; gap: 4px; margin-bottom: 8px; }
.sk-back:hover { color: var(--white); }
.sk-title { font-size: 20px; font-weight: 500; color: var(--white); margin: 0 0 2px; }
.sk-subtitle { font-size: 13px; color: var(--ocean-muted); margin: 0; }
.sk-body { padding: 1rem 0; }
.resp-block { background: var(--white); border: 0.5px solid var(--border); border-radius: 12px; padding: 14px 16px; margin-bottom: 12px; }
.resp-list { display: flex; flex-direction: column; gap: 6px; margin-bottom: 10px; }
.resp-row { display: flex; align-items: center; gap: 10px; }
.resp-name { flex: 1; font-size: 13px; color: var(--text-main); }
.resp-email { font-size: 11px; color: var(--text-muted); }
.btn-sm-del { background: var(--red-light); color: var(--red-dark); border: none; border-radius: 6px; padding: 4px 10px; font-size: 11px; cursor: pointer; }
.btn-sm-del:hover { background: var(--red-border); }
.resp-add-form { display: flex; gap: 8px; margin-top: 8px; }
.resp-add-form select { flex: 1; padding: 8px 12px; border: 0.5px solid var(--border); border-radius: 8px; font-size: 13px; background: var(--navy-lighter); color: var(--text-main); }
.resp-add-form button { background: var(--navy); color: var(--white); border: none; border-radius: 8px; padding: 8px 14px; font-size: 13px; cursor: pointer; white-space: nowrap; }
.resp-add-form button:hover { background: var(--ocean); }
.add-theme-block { background: var(--white); border: 0.5px solid var(--border); border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
.add-theme-toggle { width: 100%; background: transparent; border: none; padding: 12px 16px; display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 13px; color: var(--ocean); }
.add-theme-toggle:hover { background: var(--navy-lighter); }
.add-theme-form { display: none; padding: 0 16px 16px; border-top: 0.5px solid var(--navy-light); }
.add-theme-form.open { display: block; }
.ft-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
@media(max-width:480px){ .ft-row { grid-template-columns: 1fr; } }
.ft-input { width: 100%; padding: 9px 12px; border: 0.5px solid var(--border); border-radius: 8px; font-size: 13px; background: var(--navy-lighter); color: var(--text-main); }
.ft-input:focus { outline: none; border-color: var(--ocean-light); background: var(--white); }
.ft-label { font-size: 11px; color: var(--text-muted); display: block; margin-bottom: 4px; }
.qualif-header { background: var(--navy-light); padding: 10px 16px; display: flex; justify-content: space-between; align-items: center; }
.qualif-name { font-size: 13px; font-weight: 500; color: var(--navy); }
.qualif-count { font-size: 11px; color: var(--ocean-light); }
.theme-edit-form { padding: 12px 16px; background: var(--navy-lighter); border-top: 0.5px solid var(--border); display: none; }
.theme-edit-form.open { display: block; }
.te-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
@media(max-width:480px){ .te-row { grid-template-columns: 1fr; } }
.skill-row { padding: 9px 16px; display: flex; align-items: center; gap: 10px; border-top: 0.5px solid var(--navy-light); }
.skill-info { flex: 1; min-width: 0; }
.skill-cat { font-size: 10px; background: var(--navy-light); color: var(--navy); border-radius: 20px; padding: 1px 7px; margin-left: 6px; }
.skill-inactive { font-size: 10px; background: var(--gray-light); color: var(--gray-text); border-radius: 20px; padding: 1px 7px; margin-left: 4px; }
.skill-actions { display: flex; gap: 6px; flex-shrink: 0; }
.add-skill-toggle { width: calc(100% - 32px); background: transparent; border: 0.5px dashed var(--ocean-light); border-radius: 8px; color: var(--ocean); font-size: 12px; padding: 8px; margin: 10px 16px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 4px; }
.add-skill-toggle:hover { background: var(--navy-light); }
.add-skill-form { display: none; padding: 12px 16px; background: var(--navy-lighter); border-top: 0.5px solid var(--navy-light); }
.add-skill-form.open { display: block; }
.as-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
@media(max-width:480px){ .as-row { grid-template-columns: 1fr; } }
@media(min-width:768px){ .sk-header { margin: -1.5rem -12px 0; } }

/* ============================================================
   USERS & USERMANAGEMENT
   ============================================================ */
.user-card { background: var(--white); border: 0.5px solid var(--border); border-radius: 12px; padding: 12px 16px; margin-bottom: 8px; display: flex; align-items: center; gap: 12px; }
.user-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--navy-light); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 500; color: var(--ocean); flex-shrink: 0; }
.user-info { flex: 1; min-width: 0; }
.user-name { font-size: 14px; font-weight: 500; color: var(--text-main); }
.user-email { font-size: 12px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-login { font-size: 11px; color: var(--border); margin-top: 1px; }
.user-roles { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.role-badge { font-size: 10px; padding: 2px 8px; border-radius: 20px; background: var(--navy-light); color: var(--navy); }
.role-section { margin-bottom: 16px; }
.role-label { font-size: 11px; font-weight: 500; color: var(--text-muted); text-transform: uppercase; letter-spacing: .05em; padding: 0 4px; margin-bottom: 8px; }
.user-actions { display: flex; gap: 6px; flex-shrink: 0; }
.rbadge { font-size: 10px; padding: 2px 8px; border-radius: 20px; margin-right: 4px; }
.rb-admin { background: var(--purple-light); color: var(--purple); }
.rb-rt    { background: var(--navy-light); color: var(--navy); }
.rb-mr    { background: var(--teal-light); color: var(--teal-text); }
.rb-mo    { background: var(--teal-light); color: var(--teal-dark); }
.rb-el    { background: var(--amber-light); color: var(--amber-text); }
.rb-def   { background: var(--gray-light); color: var(--gray-text); }
.role-item { border: 0.5px solid var(--border); border-radius: 10px; padding: 10px 14px; margin-bottom: 8px; background: var(--navy-lighter); }
.role-item-top { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.role-item-top input { width: 16px; height: 16px; accent-color: var(--ocean); cursor: pointer; flex-shrink: 0; }
.role-item-label { font-size: 13px; color: var(--text-main); cursor: pointer; flex: 1; }
.role-section-select { margin-top: 10px; padding-top: 10px; border-top: 0.5px solid var(--navy-light); display: none; }
.role-section-select.visible { display: block; }
.role-section-select label { font-size: 11px; color: var(--text-muted); margin-bottom: 4px; display: block; }
.form-select { width: 100%; padding: 8px 12px; border: 0.5px solid var(--border); border-radius: 8px; font-size: 13px; background: var(--white); color: var(--text-main); }
.form-select:focus { outline: none; border-color: var(--ocean-light); }

/* ============================================================
   SECTIONS
   ============================================================ */
.section-card { background: var(--white); border: 0.5px solid var(--border); border-radius: 12px; padding: 12px 16px; margin-bottom: 8px; display: flex; align-items: center; gap: 12px; }
.section-icon { width: 36px; height: 36px; background: var(--navy-light); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--ocean); font-size: 16px; flex-shrink: 0; }
.section-name { flex: 1; font-size: 14px; font-weight: 500; color: var(--text-main); }
.section-actions { display: flex; gap: 6px; }

/* ============================================================
   PROFIL
   ============================================================ */
.profile-avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--navy-light); display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 500; color: var(--ocean); margin: 0 auto 12px; }
.profile-name { font-size: 18px; font-weight: 500; color: var(--navy); text-align: center; margin: 0 0 4px; }
.profile-roles { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-bottom: 24px; }
.danger-zone { background: var(--white); border: 0.5px solid var(--red-border); border-radius: 16px; overflow: hidden; margin-top: 24px; }
.danger-header { background: var(--red-light); padding: 14px 20px; }
.danger-title { font-size: 14px; font-weight: 500; color: var(--red-dark); margin: 0 0 2px; }
.danger-desc { font-size: 12px; color: var(--red-dark); opacity: .8; margin: 0; }
.danger-body { padding: 20px; }
.btn-danger { width: 100%; background: transparent; border: 0.5px solid var(--red); color: var(--red-dark); border-radius: 12px; padding: 13px; font-size: 14px; font-weight: 500; cursor: pointer; }
.btn-danger:hover { background: var(--red-light); }
.confirm-overlay { display: none; position: fixed; inset: 0; background: rgba(10,46,74,.5); z-index: 200; align-items: center; justify-content: center; padding: 1rem; }
.confirm-overlay.open { display: flex; }
.confirm-card { background: var(--white); border-radius: 16px; padding: 24px; width: 100%; max-width: 380px; }
.confirm-title { font-size: 16px; font-weight: 500; color: var(--red-dark); margin: 0 0 8px; }
.confirm-desc { font-size: 13px; color: var(--text-muted); margin: 0 0 16px; }
.confirm-actions { display: flex; gap: 10px; }
.btn-confirm-del { flex: 1; background: var(--red-dark); color: var(--white); border: none; border-radius: 10px; padding: 12px; font-size: 14px; font-weight: 500; cursor: pointer; }
.btn-confirm-del:hover { background: var(--red-dark); }
.btn-confirm-cancel { flex: 1; background: transparent; border: 0.5px solid var(--border); color: var(--text-muted); border-radius: 10px; padding: 12px; font-size: 14px; cursor: pointer; }
.btn-confirm-cancel:hover { background: var(--navy-lighter); }

/* ============================================================
   FILIGRANE LOGO CLUB
   ============================================================ */
.dashboard-wrap {
    position: relative;
}
.dashboard-wrap::before {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    height: 320px;
    background-image: url('/images/logo-club.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
}

/* ============================================================
   AIDE MONITEUR
   ============================================================ */
.aide-header { margin-bottom: 28px; }
.aide-title { font-size: 22px; font-weight: 500; color: var(--navy); margin: 0 0 4px; }
.aide-intro { font-size: 14px; color: var(--text-muted); margin: 0; }
.aide-section { margin-bottom: 32px; }
.aide-section-title {
    font-size: 13px; font-weight: 500; color: var(--white);
    background: var(--navy); border-radius: 10px 10px 0 0;
    padding: 10px 16px; margin: 0;
    display: flex; align-items: center; gap: 8px;
}
.aide-section-title i { font-size: 15px; color: var(--ocean-muted); }
.aide-card {
    background: var(--white); border: 0.5px solid var(--border);
    border-top: none; border-radius: 0 0 10px 10px; padding: 16px;
}
.aide-step { display: flex; gap: 14px; margin-bottom: 16px; align-items: flex-start; }
.aide-step:last-child { margin-bottom: 0; }
.aide-step-num {
    width: 26px; height: 26px; border-radius: 50%;
    background: var(--navy-light); color: var(--ocean);
    font-size: 12px; font-weight: 500;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    margin-top: 1px;
}
.aide-step-body { flex: 1; }
.aide-step-title { font-size: 14px; font-weight: 500; color: var(--text-main); margin: 0 0 4px; }
.aide-step-desc { font-size: 13px; color: var(--text-muted); margin: 0; line-height: 1.5; }
.aide-tip { display: flex; gap: 10px; align-items: flex-start; background: var(--teal-light); border-radius: 8px; padding: 10px 14px; margin-top: 12px; }
.aide-tip i { color: var(--teal); font-size: 14px; flex-shrink: 0; margin-top: 1px; }
.aide-tip p { font-size: 13px; color: var(--teal-text); margin: 0; line-height: 1.5; }
.aide-warn { display: flex; gap: 10px; align-items: flex-start; background: var(--amber-light); border-radius: 8px; padding: 10px 14px; margin-top: 12px; }
.aide-warn i { color: var(--amber-dark); font-size: 14px; flex-shrink: 0; margin-top: 1px; }
.aide-warn p { font-size: 13px; color: var(--amber-text); margin: 0; line-height: 1.5; }
.aide-badge-demo { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 500; padding: 2px 10px; border-radius: 20px; vertical-align: middle; }
.aide-badge-validated  { background: var(--teal-light);  color: var(--teal-text); }
.aide-badge-prev       { background: var(--navy-light);  color: var(--navy); }
.aide-badge-tried      { background: var(--amber-light); color: var(--amber-text); }
.aide-badge-none       { background: var(--gray-light);  color: var(--gray-text); }
.aide-legend { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.aide-divider { height: 0.5px; background: var(--border); margin: 10px 0; }
