/* _content/Spectrometre/Components/Layout/AuthenticatedLayout.razor.rz.scp.css */
/* Authenticated Layout Styles - Sidebar Layout */

.authenticated-layout[b-hq6wnu6u3w] {
    display: flex;
    min-height: 100vh;
    background: var(--background);
}

/* Sidebar */
.sidebar-auth[b-hq6wnu6u3w] {
    width: 280px;
    background: linear-gradient(180deg, hsl(18, 80%, 40%) 0%, var(--bs-primary) 100%);
    color: white;
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 20px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: width 0.3s ease;
}

    /* Sidebar fermé par défaut */
    .sidebar-auth.collapsed[b-hq6wnu6u3w] {
        width: 80px;
    }

/* Ouvrir le sidebar au survol (desktop uniquement) */
@media (min-width: 768px) {
    .sidebar-auth.collapsed:hover[b-hq6wnu6u3w] {
        width: 280px;
    }

        .sidebar-auth.collapsed:hover .logo-text[b-hq6wnu6u3w],
        .sidebar-auth.collapsed:hover .user-info[b-hq6wnu6u3w],
        .sidebar-auth.collapsed:hover .nav-section-title[b-hq6wnu6u3w],
        .sidebar-auth.collapsed:hover .nav-item-auth span:not(.nav-icon)[b-hq6wnu6u3w],
        .sidebar-auth.collapsed:hover .progress-sidebar[b-hq6wnu6u3w],
        .sidebar-auth.collapsed:hover .logout-button span:not(.nav-icon)[b-hq6wnu6u3w] {
            display: block;
        }

        .sidebar-auth.collapsed:hover .nav-item-auth[b-hq6wnu6u3w],
        .sidebar-auth.collapsed:hover .logout-button[b-hq6wnu6u3w] {
            justify-content: flex-start;
        }

        .sidebar-auth.collapsed:hover .sidebar-logo[b-hq6wnu6u3w] {
            justify-content: flex-start;
        }

        /* Réafficher les éléments cachés au survol (mais PAS les sous-menus) */
        .sidebar-auth.collapsed:hover .nav-group-caret[b-hq6wnu6u3w] {
            display: block;
        }

        /* Les sous-menus restent fermés par défaut, même quand le sidebar s'ouvre */
        .sidebar-auth.collapsed:hover .nav-submenu[b-hq6wnu6u3w] {
            display: block; /* Permet l'affichage mais reste fermé (max-height: 0) */
        }

        /* Les sous-menus s'ouvrent uniquement au survol d'un nav-group spécifique */
        .sidebar-auth.collapsed:hover .nav-group:hover .nav-submenu[b-hq6wnu6u3w] {
            max-height: 500px;
            opacity: 1;
        }
}

.sidebar-auth.collapsed .logo-text[b-hq6wnu6u3w],
.sidebar-auth.collapsed .user-info[b-hq6wnu6u3w],
.sidebar-auth.collapsed .nav-section-title[b-hq6wnu6u3w],
.sidebar-auth.collapsed .nav-item-auth span:not(.nav-icon)[b-hq6wnu6u3w],
.sidebar-auth.collapsed .progress-sidebar[b-hq6wnu6u3w],
.sidebar-auth.collapsed .logout-button span:not(.nav-icon)[b-hq6wnu6u3w] {
    display: none;
}

.sidebar-auth.collapsed .nav-item-auth[b-hq6wnu6u3w],
.sidebar-auth.collapsed .logout-button[b-hq6wnu6u3w] {
    justify-content: center;
}

.sidebar-auth.collapsed .sidebar-logo[b-hq6wnu6u3w] {
    justify-content: center;
}

.sidebar-header[b-hq6wnu6u3w] {
    padding: 2rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sidebar-logo[b-hq6wnu6u3w] {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.logo-icon[b-hq6wnu6u3w] {
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bs-primary);
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-text[b-hq6wnu6u3w] {
    font-size: 1.5rem;
    font-weight: 700;
}

.user-info[b-hq6wnu6u3w] {
    font-size: 0.875rem;
    opacity: 0.9;
}

.sidebar-nav[b-hq6wnu6u3w] {
    flex: 1;
    padding: 1.5rem 0;
    overflow-y: auto;
}

.nav-section[b-hq6wnu6u3w] {
    margin-bottom: 2rem;
}

.nav-section-title[b-hq6wnu6u3w] {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
    padding: 0 1.5rem;
    margin-bottom: 0.75rem;
}

.nav-item-auth[b-hq6wnu6u3w] {
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    text-decoration: none;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

    .nav-item-auth:hover[b-hq6wnu6u3w] {
        background: rgba(255,255,255,0.1);
        border-left-color: white;
        color: white;
    }

    .nav-item-auth.active[b-hq6wnu6u3w] {
        background: rgba(255,255,255,0.15);
        border-left-color: white;
        font-weight: 600;
    }

.nav-icon[b-hq6wnu6u3w] {
    width: 20px;
    text-align: center;
}

/* Nav icon accent colors */
.nav-icon-primary[b-hq6wnu6u3w] {
    color: #fffbeb;
}

.nav-icon-teal[b-hq6wnu6u3w] {
    color: var(--gscv-teal);
}

.nav-icon-green[b-hq6wnu6u3w] {
    color: var(--gscv-green);
}

.nav-icon-orange[b-hq6wnu6u3w] {
    color: hsl(18, 80%, 90%);
}

.nav-icon-gold[b-hq6wnu6u3w] {
    color: #facc15;
}

.nav-icon-muted[b-hq6wnu6u3w] {
    color: rgba(255,255,255,0.85);
}

/* Nav groups & submenus (hover to expand) */
.nav-group[b-hq6wnu6u3w] {
    position: relative;
}

.nav-group-header[b-hq6wnu6u3w] {
    cursor: default;
}

.nav-group-caret[b-hq6wnu6u3w] {
    margin-left: auto;
    font-size: 0.75rem;
    opacity: 0.8;
}

.nav-submenu[b-hq6wnu6u3w] {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.25s ease, opacity 0.2s ease;
}

.nav-sub-item[b-hq6wnu6u3w] {
    padding-left: 2.75rem;
    font-size: 0.9rem;
    background: rgba(0, 0, 0, 0.02);
}

/* Les sous-menus s'ouvrent uniquement au survol d'un nav-group */
.nav-group:hover .nav-submenu[b-hq6wnu6u3w] {
    max-height: 500px;
    opacity: 1;
}

/* Ouverture au clic (mobile / touch) */
.nav-group.open .nav-submenu[b-hq6wnu6u3w] {
    max-height: 500px;
    opacity: 1;
}

.nav-group.open .nav-group-caret i[b-hq6wnu6u3w] {
    transform: rotate(90deg);
    display: inline-block;
    transition: transform 0.2s ease;
}

/* Quand le sidebar est collapsed, les sous-menus sont cachés */
.sidebar-auth.collapsed .nav-submenu[b-hq6wnu6u3w] {
    display: none;
}

/* Quand le sidebar collapsed s'ouvre au survol, permettre l'affichage des sous-menus mais les garder fermés */
@media (min-width: 768px) {
    .sidebar-auth.collapsed:hover .nav-submenu[b-hq6wnu6u3w] {
        display: block;
        /* Reste fermé par défaut (max-height: 0, opacity: 0) */
    }

    /* Seul le nav-group survolé ouvre son sous-menu */
    .sidebar-auth.collapsed:hover .nav-group:hover .nav-submenu[b-hq6wnu6u3w] {
        max-height: 500px;
        opacity: 1;
    }
}

/* Logout Section */
.logout-section[b-hq6wnu6u3w] {
    padding: 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: auto;
}

.logout-form[b-hq6wnu6u3w] {
    margin: 0;
    width: 100%;
}

.logout-button[b-hq6wnu6u3w] {
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    text-decoration: none;
    transition: all 0.2s;
    border-left: 3px solid transparent;
    font-size: inherit;
    font-family: inherit;
}

    .logout-button:hover[b-hq6wnu6u3w] {
        background: rgba(255,255,255,0.1);
        border-left-color: white;
        color: white;
    }

    .logout-button:active[b-hq6wnu6u3w] {
        background: rgba(255,255,255,0.15);
    }

.sidebar-auth.collapsed .logout-section[b-hq6wnu6u3w] {
    border-top: none;
    padding: 0;
}

.sidebar-auth.collapsed .logout-button[b-hq6wnu6u3w] {
    justify-content: center;
    padding: 0.75rem;
    width: 100%;
}

    .sidebar-auth.collapsed .logout-button span:not(.nav-icon)[b-hq6wnu6u3w] {
        display: none;
    }

.sidebar-auth.collapsed .logout-section[b-hq6wnu6u3w] {
    padding: 0;
}

.progress-sidebar[b-hq6wnu6u3w] {
    padding: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.progress-label[b-hq6wnu6u3w] {
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.progress-bar-sidebar[b-hq6wnu6u3w] {
    height: 8px;
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill-sidebar[b-hq6wnu6u3w] {
    height: 100%;
    background: white;
    border-radius: 10px;
    transition: width 0.5s ease;
}

.progress-text[b-hq6wnu6u3w] {
    font-size: 1.25rem;
    font-weight: 700;
}

/* Toggle Button */
.sidebar-toggle[b-hq6wnu6u3w] {
    position: absolute;
    top: 1.5rem;
    right: -15px;
    width: 30px;
    height: 30px;
    background: white;
    border: 2px solid var(--bs-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bs-primary);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    z-index: 1001;
}

    .sidebar-toggle:hover[b-hq6wnu6u3w] {
        transform: scale(1.1);
        box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    }

.sidebar-auth.collapsed .sidebar-toggle i[b-hq6wnu6u3w] {
    transform: rotate(180deg);
}

/* Main Content */
.main-content-auth[b-hq6wnu6u3w] {
    margin-left: 280px;
    flex: 1;
    padding: 0rem;
    min-height: 100vh;
    transition: margin-left 0.3s ease;
    background: #f8fafc;
}

    .main-content-auth.sidebar-collapsed[b-hq6wnu6u3w],
    .sidebar-auth.collapsed ~ .main-content-auth[b-hq6wnu6u3w] {
        margin-left: 80px;
    }

/* Ajuster le contenu principal au survol du sidebar (desktop uniquement) */
@media (min-width: 768px) {
    .sidebar-auth.collapsed:hover ~ .main-content-auth[b-hq6wnu6u3w] {
        margin-left: 280px;
    }
}

/* Top bar (notifications + avatar) */
.topbar-auth[b-hq6wnu6u3w] {
    position: sticky;
    top: 1rem;
    z-index: 10;
    padding-bottom: 0.5rem;
}

.btn-icon-notification[b-hq6wnu6u3w] {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: none;
    background: white;
    box-shadow: 0 2px 8px rgba(148, 163, 184, 0.4);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #0f172a;
    position: relative;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

    .btn-icon-notification:hover[b-hq6wnu6u3w] {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(148, 163, 184, 0.5);
        background: #f8fafc;
    }

.notification-badge[b-hq6wnu6u3w] {
    position: absolute;
    top: -3px;
    right: -3px;
    min-width: 18px;
    height: 18px;
    border-radius: 999px;
    background: #ef4444;
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    box-shadow: 0 0 0 2px white;
}

.topbar-user[b-hq6wnu6u3w] {
    position: relative;
}

.topbar-user-btn[b-hq6wnu6u3w] {
    border: none;
    background: white;
    border-radius: 999px;
    padding: 4px 10px 4px 4px;
    box-shadow: 0 2px 8px rgba(148, 163, 184, 0.4);
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

    .topbar-user-btn:hover[b-hq6wnu6u3w] {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(148, 163, 184, 0.5);
        background: #f8fafc;
    }

.topbar-avatar[b-hq6wnu6u3w] {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: linear-gradient(135deg, hsl(18, 80%, 40%) 0%, var(--bs-primary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}

.topbar-username[b-hq6wnu6u3w] {
    font-size: 0.85rem;
    font-weight: 600;
    color: #0f172a;
}

.topbar-user-role[b-hq6wnu6u3w] {
    font-size: 0.75rem;
    color: #6b7280;
}

.topbar-user-menu[b-hq6wnu6u3w] {
    position: absolute;
    top: 110%;
    right: 0;
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.25);
    padding: 0.5rem;
    min-width: 180px;
    display: none;
    z-index: 600;
}

.topbar-user.is-open .topbar-user-menu[b-hq6wnu6u3w] {
    display: block;
}

.topbar-user:hover .topbar-user-menu[b-hq6wnu6u3w] {
    display: block;
}

/* Mobile/tablette: menu en toggle (pas en hover) + doit passer au-dessus des pages (ex: timeline sticky) */
@media (max-width: 786px) {
    .topbar-auth[b-hq6wnu6u3w] {
        z-index: 150; /* Augmenté de 550 à 150 pour être au-dessus de la timeline (z-index: 50) */
    }

    .topbar-user[b-hq6wnu6u3w] {
        z-index: 151;
    }

    .topbar-user-menu[b-hq6wnu6u3w] {
        z-index: 152; /* Menu au-dessus de tout */
    }

    /* Désactiver le hover sur mobile */
    .topbar-user:hover .topbar-user-menu[b-hq6wnu6u3w] {
        display: none;
    }

    /* Mais activer le toggle avec is-open */
    .topbar-user.is-open .topbar-user-menu[b-hq6wnu6u3w] {
        display: block !important;
    }
}

.topbar-user-menu-item[b-hq6wnu6u3w] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    color: #0f172a;
    text-decoration: none;
    font-size: 0.875rem;
    transition: background 0.15s ease, color 0.15s ease;
}

    .topbar-user-menu-item i[b-hq6wnu6u3w] {
        width: 18px;
        text-align: center;
        color: #64748b;
    }

    .topbar-user-menu-item:hover[b-hq6wnu6u3w] {
        background: #f8fafc;
    }

    .topbar-user-menu-item.logout-inline-form[b-hq6wnu6u3w] {
        margin: 0;
    }

        .topbar-user-menu-item.logout-inline-form button[b-hq6wnu6u3w] {
            border: none;
            background: transparent;
            padding: 0;
            margin: 0;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            width: 100%;
            text-align: left;
            font-size: 0.875rem;
            color: #b91c1c;
            cursor: pointer;
        }

            .topbar-user-menu-item.logout-inline-form button i[b-hq6wnu6u3w] {
                color: #b91c1c;
            }

/* Profile Banner */
.profile-banner[b-hq6wnu6u3w] {
    background: linear-gradient(135deg, hsl(18, 80%, 40%) 0%, var(--bs-primary) 100%);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 2rem;
    box-shadow: 0 4px 12px rgba(234, 119, 61, 0.2);
}

.avatar-large[b-hq6wnu6u3w] {
    width: 96px;
    height: 96px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bs-primary);
    font-size: 2.5rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    flex-shrink: 0;
}

.profile-info-banner[b-hq6wnu6u3w] {
    flex: 1;
}

.profile-name-large[b-hq6wnu6u3w] {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.profile-id[b-hq6wnu6u3w] {
    font-size: 0.875rem;
    opacity: 0.9;
}

.progress-box-banner[b-hq6wnu6u3w] {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1.25rem;
    min-width: 200px;
}

.progress-label-banner[b-hq6wnu6u3w] {
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.progress-bar-banner[b-hq6wnu6u3w] {
    height: 8px;
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill-banner[b-hq6wnu6u3w] {
    height: 100%;
    background: white;
    border-radius: 10px;
    transition: width 0.5s ease;
}

.progress-value-banner[b-hq6wnu6u3w] {
    font-size: 1.5rem;
    font-weight: 700;
}

/* Content Card */
.content-card[b-hq6wnu6u3w] {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.1);
    border: 1px solid #e2e8f0;
}

.card-header-custom[b-hq6wnu6u3w] {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f1f5f9;
}

.card-icon[b-hq6wnu6u3w] {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, hsl(18, 80%, 40%) 0%, var(--bs-primary) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.125rem;
}

.card-title[b-hq6wnu6u3w] {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
}

/* Form Elements */
.form-label-auth[b-hq6wnu6u3w] {
    font-size: 0.875rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 0.5rem;
}

.input-modern[b-hq6wnu6u3w],
.select-modern[b-hq6wnu6u3w] {
    border: 2px solid #e2e8f0;
    background: white;
    padding: 0.625rem 0.875rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #334155;
    transition: all 0.2s;
    width: 100%;
}

    .input-modern:focus[b-hq6wnu6u3w],
    .select-modern:focus[b-hq6wnu6u3w] {
        border-color: var(--bs-primary);
        box-shadow: 0 0 0 3px rgba(234, 119, 61, 0.1);
        outline: none;
    }

.input-group-modern[b-hq6wnu6u3w] {
    display: flex;
}

.input-group-text-modern[b-hq6wnu6u3w] {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 2px solid #e2e8f0;
    border-right: none;
    padding: 0.625rem 0.875rem;
    border-radius: 8px 0 0 8px;
    color: #64748b;
}

.input-group-modern .input-modern[b-hq6wnu6u3w] {
    border-left: none;
    border-radius: 0 8px 8px 0;
}

/* Action Cards */
.action-cards-grid[b-hq6wnu6u3w] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.action-card[b-hq6wnu6u3w] {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
}

    .action-card:hover[b-hq6wnu6u3w] {
        border-color: var(--bs-primary);
        background: white;
        transform: translateY(-4px);
        box-shadow: 0 8px 16px rgba(0,0,0,0.08);
    }

.action-icon[b-hq6wnu6u3w] {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, hsl(18, 80%, 40%) 0%, hsl(18, 80%, 54%) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.75rem;
    box-shadow: 0 4px 12px rgba(234, 119, 61, 0.3);
}

.action-title[b-hq6wnu6u3w] {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.action-description[b-hq6wnu6u3w] {
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 1rem;
}

.btn-action[b-hq6wnu6u3w] {
    width: 100%;
    background: white;
    border: 2px solid #e2e8f0;
    color: #475569;
    font-weight: 600;
    padding: 0.625rem;
    border-radius: 8px;
    font-size: 0.875rem;
    transition: all 0.2s;
}

    .btn-action:hover[b-hq6wnu6u3w] {
        border-color: var(--bs-primary);
        color: var(--bs-primary);
    }

/* Table */
.table-modern[b-hq6wnu6u3w] {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

    .table-modern table[b-hq6wnu6u3w] {
        margin: 0;
        width: 100%;
    }

    .table-modern thead[b-hq6wnu6u3w] {
        background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    }

        .table-modern thead th[b-hq6wnu6u3w] {
            border: none;
            border-bottom: 2px solid #e2e8f0;
            padding: 1rem;
            font-size: 0.875rem;
            font-weight: 600;
            color: #475569;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

    .table-modern tbody td[b-hq6wnu6u3w] {
        border: none;
        border-bottom: 1px solid #f1f5f9;
        padding: 1rem;
        vertical-align: middle;
    }

    .table-modern tbody tr:last-child td[b-hq6wnu6u3w] {
        border-bottom: none;
    }

    .table-modern tbody tr:hover[b-hq6wnu6u3w] {
        background: #f8fafc;
    }

.badge-modern[b-hq6wnu6u3w] {
    background: linear-gradient(135deg, hsl(18, 80%, 40%) 0%, var(--bs-primary) 100%);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

.row-number[b-hq6wnu6u3w] {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #475569 0%, #64748b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.875rem;
}

/* Action Bar */
.action-bar[b-hq6wnu6u3w] {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.1);
    border: 1px solid #e2e8f0;
    margin-top: 2rem;
}

.btn-modern[b-hq6wnu6u3w] {
    padding: 0.75rem 1.75rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.875rem;
    border: none;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary-modern[b-hq6wnu6u3w] {
    background: linear-gradient(135deg, hsl(18, 80%, 40%) 0%, var(--bs-primary) 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(234, 119, 61, 0.3);
}

    .btn-primary-modern:hover[b-hq6wnu6u3w] {
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(234, 119, 61, 0.4);
        color: white;
    }

.btn-secondary-modern[b-hq6wnu6u3w] {
    background: white;
    color: #475569;
    border: 2px solid #e2e8f0;
}

    .btn-secondary-modern:hover[b-hq6wnu6u3w] {
        border-color: #cbd5e1;
        background: #f8fafc;
    }

.btn-add-modern[b-hq6wnu6u3w] {
    background: linear-gradient(135deg, var(--gscv-teal) 0%, hsl(178, 45%, 45%) 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(178, 45%, 40%, 0.3);
}

    .btn-add-modern:hover[b-hq6wnu6u3w] {
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(178, 45%, 40%, 0.4);
        color: white;
    }

@media (max-width: 768px) {
    .sidebar-auth[b-hq6wnu6u3w] {
        transform: translateX(-100%);
    }

        .sidebar-auth.mobile-open[b-hq6wnu6u3w] {
            transform: translateX(0);
        }

            /* Sur mobile, quand le menu est ouvert, on force l’affichage complet
       même si la sidebar a la classe .collapsed (width: 80px). */
            .sidebar-auth.mobile-open[b-hq6wnu6u3w],
            .sidebar-auth.mobile-open.collapsed[b-hq6wnu6u3w] {
                width: 280px !important;
            }

                /* Ré-afficher textes/sections quand mobile-open */
                .sidebar-auth.mobile-open .logo-text[b-hq6wnu6u3w],
                .sidebar-auth.mobile-open .user-info[b-hq6wnu6u3w],
                .sidebar-auth.mobile-open .nav-section-title[b-hq6wnu6u3w],
                .sidebar-auth.mobile-open .nav-item-auth span:not(.nav-icon)[b-hq6wnu6u3w],
                .sidebar-auth.mobile-open .progress-sidebar[b-hq6wnu6u3w],
                .sidebar-auth.mobile-open .logout-button span:not(.nav-icon)[b-hq6wnu6u3w] {
                    display: block !important;
                }

                .sidebar-auth.mobile-open .nav-item-auth[b-hq6wnu6u3w],
                .sidebar-auth.mobile-open .logout-button[b-hq6wnu6u3w],
                .sidebar-auth.mobile-open .sidebar-logo[b-hq6wnu6u3w] {
                    justify-content: flex-start;
                }

                /* Sur mobile: les groupes doivent être cliquables (pas uniquement hover) */
                .sidebar-auth.mobile-open .nav-group-header[b-hq6wnu6u3w] {
                    cursor: pointer;
                    user-select: none;
                }

                /* Sur mobile: garantir que les sous-menus peuvent s'afficher */
                .sidebar-auth.mobile-open .nav-submenu[b-hq6wnu6u3w] {
                    display: block;
                }

    .main-content-auth[b-hq6wnu6u3w] {
        margin-left: 0;
    }

    .sidebar-auth.collapsed ~ .main-content-auth[b-hq6wnu6u3w] {
        margin-left: 0;
    }

    .mobile-menu-btn[b-hq6wnu6u3w] {
        display: block !important;
        position: fixed;
        top: 1rem;
        left: 1rem;
        z-index: 999;
        width: 48px;
        height: 48px;
        background: linear-gradient(135deg, hsl(18, 80%, 40%) 0%, var(--bs-primary) 100%);
        border: none;
        border-radius: 12px;
        color: white;
        font-size: 1.25rem;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        cursor: pointer;
    }

    .mobile-overlay[b-hq6wnu6u3w] {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: 999;
    }

        .mobile-overlay.active[b-hq6wnu6u3w] {
            display: block !important;
        }

    .profile-banner[b-hq6wnu6u3w] {
        flex-direction: column;
        text-align: center;
    }

    .progress-box-banner[b-hq6wnu6u3w] {
        width: 100%;
    }

    .action-cards-grid[b-hq6wnu6u3w] {
        grid-template-columns: 1fr;
    }

    .action-bar[b-hq6wnu6u3w] {
        flex-direction: column;
    }
}

.mobile-menu-btn[b-hq6wnu6u3w] {
    display: none;
}
/* _content/Spectrometre/Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-ki40zfv8tb] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-ki40zfv8tb] {
    flex: 1;
}

.sidebar[b-ki40zfv8tb] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-ki40zfv8tb] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-ki40zfv8tb]  a, .top-row[b-ki40zfv8tb]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-ki40zfv8tb]  a:hover, .top-row[b-ki40zfv8tb]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-ki40zfv8tb]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-ki40zfv8tb] {
        justify-content: space-between;
    }

    .top-row[b-ki40zfv8tb]  a, .top-row[b-ki40zfv8tb]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-ki40zfv8tb] {
        flex-direction: row;
    }

    .sidebar[b-ki40zfv8tb] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-ki40zfv8tb] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-ki40zfv8tb]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-ki40zfv8tb], article[b-ki40zfv8tb] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-ki40zfv8tb] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-ki40zfv8tb] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* _content/Spectrometre/Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-0yfj7q7ox3] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-0yfj7q7ox3] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-0yfj7q7ox3] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-0yfj7q7ox3] {
    font-size: 1.1rem;
}

.bi[b-0yfj7q7ox3] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-0yfj7q7ox3] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-0yfj7q7ox3] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-0yfj7q7ox3] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.bi-lock-nav-menu[b-0yfj7q7ox3] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath d='M8 1a2 2 0 0 1 2 2v4H6V3a2 2 0 0 1 2-2zm3 6V3a3 3 0 0 0-6 0v4a2 2 0 0 0-2 2v5a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2zM5 8h6a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1z'/%3E%3C/svg%3E");
}

.bi-person-nav-menu[b-0yfj7q7ox3] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person' viewBox='0 0 16 16'%3E%3Cpath d='M8 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6Zm2-3a2 2 0 1 1-4 0 2 2 0 0 1 4 0Zm4 8c0 1-1 1-1 1H3s-1 0-1-1 1-4 6-4 6 3 6 4Zm-1-.004c-.001-.246-.154-.986-.832-1.664C11.516 10.68 10.289 10 8 10c-2.29 0-3.516.68-4.168 1.332-.678.678-.83 1.418-.832 1.664h10Z'/%3E%3C/svg%3E");
}

.bi-person-badge-nav-menu[b-0yfj7q7ox3] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person-badge' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 2a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1h-3zM11 8a3 3 0 1 1-6 0 3 3 0 0 1 6 0z'/%3E%3Cpath d='M4.5 0A2.5 2.5 0 0 0 2 2.5V14a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2.5A2.5 2.5 0 0 0 11.5 0h-7zM3 2.5A1.5 1.5 0 0 1 4.5 1h7A1.5 1.5 0 0 1 13 2.5v10.795a4.2 4.2 0 0 0-.776-.492C11.392 12.387 10.063 12 8 12s-3.392.387-4.224.803a4.2 4.2 0 0 0-.776.492V2.5z'/%3E%3C/svg%3E");
}

.bi-person-fill-nav-menu[b-0yfj7q7ox3] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person-fill' viewBox='0 0 16 16'%3E%3Cpath d='M3 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H3Zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z'/%3E%3C/svg%3E");
}

.bi-arrow-bar-left-nav-menu[b-0yfj7q7ox3] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-arrow-bar-left' viewBox='0 0 16 16'%3E%3Cpath d='M12.5 15a.5.5 0 0 1-.5-.5v-13a.5.5 0 0 1 1 0v13a.5.5 0 0 1-.5.5ZM10 8a.5.5 0 0 1-.5.5H3.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L3.707 7.5H9.5a.5.5 0 0 1 .5.5Z'/%3E%3C/svg%3E");
}

.nav-item[b-0yfj7q7ox3] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-0yfj7q7ox3] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-0yfj7q7ox3] {
        padding-bottom: 1rem;
    }

    .nav-item[b-0yfj7q7ox3]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-0yfj7q7ox3]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-0yfj7q7ox3]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-0yfj7q7ox3] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-0yfj7q7ox3] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-0yfj7q7ox3] {
        display: none;
    }

    .nav-scrollable[b-0yfj7q7ox3] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* _content/Spectrometre/Components/Pages/Evaluations/Profil.razor.rz.scp.css */
/* Profile Page Styles */
.profile-page-wrap[b-r5y35y8afq] {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.header-section-profile[b-r5y35y8afq] {
    background: white;
    border: none;
    border-radius: 12px;
    padding: 1.5rem 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.page-title-profile[b-r5y35y8afq] {
    font-size: 2rem;
    font-weight: 700;
    color: var(--foreground);
    margin: 0;
}

/* Timeline Navigation - Sticky */
.timeline-navigation[b-r5y35y8afq] {
    position: sticky;
    top: 0;
    z-index: 100;
    background: white;
    border: none;
    border-radius: 16px;
    padding: 1rem 0.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.timeline-container[b-r5y35y8afq] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: none;
    margin: 0;
    padding: 0 0.75rem;
    gap: 0.5rem;
}

.timeline-item[b-r5y35y8afq] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    cursor: default;
    transition: all 0.3s ease;
}

    .timeline-item.clickable[b-r5y35y8afq] {
        cursor: pointer;
    }

        .timeline-item.clickable:hover[b-r5y35y8afq] {
            transform: translateY(-2px);
        }

    .timeline-item:not(.clickable)[b-r5y35y8afq] {
        cursor: not-allowed;
        opacity: 0.5;
    }

    .timeline-item.active .timeline-marker[b-r5y35y8afq] {
        background: linear-gradient(135deg, var(--bs-primary) 0%, hsl(18, 80%, 54%) 100%);
        color: white;
        transform: scale(1.1);
        box-shadow: 0 4px 12px rgba(234, 119, 61, 0.3);
    }

    .timeline-item.completed .timeline-marker[b-r5y35y8afq] {
        background: #10b981;
        color: white;
    }

    .timeline-item:not(.active):not(.completed) .timeline-marker[b-r5y35y8afq] {
        background: #f1f5f9;
        color: #94a3b8;
        border: 2px solid #e2e8f0;
    }

.timeline-marker[b-r5y35y8afq] {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.timeline-number[b-r5y35y8afq] {
    font-size: 1.125rem;
    font-weight: 700;
}

.timeline-label[b-r5y35y8afq] {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--muted-foreground);
    text-align: center;
    max-width: 100px;
}

.timeline-item.active .timeline-label[b-r5y35y8afq] {
    color: var(--bs-primary);
    font-weight: 600;
}

.timeline-item.completed .timeline-label[b-r5y35y8afq] {
    color: #10b981;
}

.timeline-connector[b-r5y35y8afq] {
    position: absolute;
    top: 24px;
    left: calc(50% + 24px);
    width: calc(100% - 48px);
    height: 2px;
    background: #e2e8f0;
    z-index: -1;
}

.timeline-item.completed .timeline-connector[b-r5y35y8afq] {
    background: #10b981;
}

.timeline-item:last-child .timeline-connector[b-r5y35y8afq] {
    display: none;
}

/* Section Navigation Buttons */
.section-navigation[b-r5y35y8afq] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
    gap: 1rem;
}

.btn-next-section[b-r5y35y8afq],
.btn-prev-section[b-r5y35y8afq] {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    font-size: 0.875rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-next-section[b-r5y35y8afq] {
    background: linear-gradient(135deg, var(--bs-primary) 0%, hsl(18, 80%, 54%) 100%);
    border: none;
    color: white;
    margin-left: auto;
}

    .btn-next-section:hover[b-r5y35y8afq] {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(234, 119, 61, 0.3);
    }

.btn-prev-section[b-r5y35y8afq] {
    background: white;
    border: 1px solid #e2e8f0;
    color: var(--foreground);
}

    .btn-prev-section:hover[b-r5y35y8afq] {
        border-color: var(--bs-primary);
        color: var(--bs-primary);
        background: #f8fafc;
    }

.profile-section[b-r5y35y8afq] {
    animation: fadeIn-b-r5y35y8afq 0.3s ease;
}

@keyframes fadeIn-b-r5y35y8afq {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.profile-card-profile[b-r5y35y8afq] {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.avatar-profile[b-r5y35y8afq] {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--bs-primary) 0%, hsl(18, 80%, 54%) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: 600;
    flex-shrink: 0;
}

.profile-info-profile[b-r5y35y8afq] {
    flex: 1;
}

.profile-name-profile[b-r5y35y8afq] {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

.profile-id-profile[b-r5y35y8afq] {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.progress-wrapper-profile[b-r5y35y8afq] {
    flex-shrink: 0;
    width: 200px;
}

.progress-label-profile[b-r5y35y8afq] {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--muted-foreground);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.progress-bar-clean-profile[b-r5y35y8afq] {
    height: 6px;
    background: #f1f5f9;
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill-profile[b-r5y35y8afq] {
    height: 100%;
    background: linear-gradient(90deg, var(--bs-primary) 0%, hsl(18, 80%, 54%) 100%);
    border-radius: 3px;
    transition: width 0.5s ease;
}

.progress-value-profile[b-r5y35y8afq] {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--foreground);
    margin-top: 0.5rem;
}

.section-card-profile[b-r5y35y8afq] {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.section-header-profile[b-r5y35y8afq] {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f1f5f9;
}

.section-icon-profile[b-r5y35y8afq] {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--bs-primary) 0%, hsl(18, 80%, 54%) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}

.section-title-profile[b-r5y35y8afq] {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--foreground);
    margin: 0;
}

.form-label-profile[b-r5y35y8afq] {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--muted-foreground);
    margin-bottom: 0.5rem;
}

.form-control-clean-profile[b-r5y35y8afq],
.form-select-clean-profile[b-r5y35y8afq] {
    border: 1px solid #e2e8f0;
    background: white;
    font-size: 0.875rem;
    font-weight: 400;
    padding: 0.625rem 0.75rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

    .form-control-clean-profile:focus[b-r5y35y8afq],
    .form-select-clean-profile:focus[b-r5y35y8afq] {
        border-color: var(--bs-primary);
        box-shadow: 0 0 0 3px rgba(52, 95, 109, 0.1);
        outline: none;
    }

.input-group-profile[b-r5y35y8afq] {
    display: flex;
}

.input-group-text-profile[b-r5y35y8afq] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-right: none;
    color: var(--muted-foreground);
    padding: 0.625rem 0.75rem;
    border-radius: 8px 0 0 8px;
    display: flex;
    align-items: center;
}

.input-group-profile .form-control-clean-profile[b-r5y35y8afq] {
    border-left: none;
    border-radius: 0 8px 8px 0;
}

.table-container-profile[b-r5y35y8afq] {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
}

.table-clean-profile[b-r5y35y8afq] {
    margin: 0;
    width: 100%;
}

    .table-clean-profile thead[b-r5y35y8afq] {
        background: #f8fafc;
    }

        .table-clean-profile thead th[b-r5y35y8afq] {
            border: none;
            border-bottom: 1px solid #e2e8f0;
            font-weight: 600;
            color: var(--muted-foreground);
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            padding: 0.75rem 1rem;
        }

    .table-clean-profile tbody td[b-r5y35y8afq] {
        border: none;
        border-bottom: 1px solid #f1f5f9;
        padding: 1rem;
        vertical-align: middle;
    }

    .table-clean-profile tbody tr:last-child td[b-r5y35y8afq] {
        border-bottom: none;
    }

    .table-clean-profile tbody tr:hover[b-r5y35y8afq] {
        background: #f8fafc;
    }

.row-number-profile[b-r5y35y8afq] {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--bs-primary) 0%, hsl(18, 80%, 54%) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
}

.badge-clean-profile[b-r5y35y8afq] {
    background: var(--bs-primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
}

.action-card-profile[b-r5y35y8afq] {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.2s ease;
    cursor: pointer;
    height: 100%;
}

    .action-card-profile:hover[b-r5y35y8afq] {
        border-color: var(--bs-primary);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    }

.action-icon-profile[b-r5y35y8afq] {
    width: 48px;
    height: 48px;
    background: #f8fafc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    color: var(--bs-primary);
}

.action-title-profile[b-r5y35y8afq] {
    font-size: 1rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

.action-description-profile[b-r5y35y8afq] {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}

.btn-primary-clean-profile[b-r5y35y8afq] {
    background: linear-gradient(135deg, var(--bs-primary) 0%, hsl(18, 80%, 54%) 100%);
    border: none;
    color: white;
    font-weight: 500;
    padding: 0.625rem 1.5rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 0.875rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

    .btn-primary-clean-profile:hover[b-r5y35y8afq] {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(234, 119, 61, 0.3);
        color: white;
    }

.btn-secondary-clean-profile[b-r5y35y8afq] {
    background: white;
    border: 1px solid #e2e8f0;
    color: var(--foreground);
    font-weight: 500;
    padding: 0.625rem 1.5rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 0.875rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

    .btn-secondary-clean-profile:hover[b-r5y35y8afq] {
        border-color: var(--bs-primary);
        color: var(--bs-primary);
    }

.btn-action-profile[b-r5y35y8afq] {
    width: 100%;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: var(--foreground);
    font-weight: 500;
    padding: 0.625rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 0.875rem;
    text-decoration: none;
    display: block;
    text-align: center;
}

    .btn-action-profile:hover[b-r5y35y8afq] {
        border-color: var(--bs-primary);
        background: white;
        color: var(--bs-primary);
    }

.actions-bar-profile[b-r5y35y8afq] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

/* Avatar Selection Styles */
.avatar-selection-section[b-r5y35y8afq] {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.avatar-selection-header[b-r5y35y8afq] {
    margin-bottom: 2rem;
    text-align: center;
}

.avatar-selection-title[b-r5y35y8afq] {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.avatar-selection-subtitle[b-r5y35y8afq] {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.avatar-options-grid[b-r5y35y8afq] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.avatar-option-card[b-r5y35y8afq] {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: white;
    transition: all 0.2s ease;
    overflow: hidden;
}

    .avatar-option-card:hover[b-r5y35y8afq] {
        border-color: var(--bs-primary);
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    }

    .avatar-option-card.selected[b-r5y35y8afq] {
        border-color: var(--bs-primary);
        background: rgba(52, 95, 109, 0.05);
        box-shadow: 0 4px 12px rgba(52, 95, 109, 0.15);
    }

.avatar-option-header[b-r5y35y8afq] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    cursor: pointer;
    position: relative;
}

.avatar-chevron[b-r5y35y8afq] {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
    transition: transform 0.3s ease;
}

    .avatar-chevron.expanded[b-r5y35y8afq] {
        transform: rotate(180deg);
        color: var(--bs-primary);
    }

.avatar-option-header.no-chevron .avatar-chevron[b-r5y35y8afq] {
    display: none !important;
}

.avatar-preview[b-r5y35y8afq] {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 600;
    color: white;
    flex-shrink: 0;
    overflow: hidden;
}

.avatar-preview-img[b-r5y35y8afq] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-emoji-large[b-r5y35y8afq] {
    font-size: 2.5rem;
    line-height: 1;
}

.initials-avatar[b-r5y35y8afq] {
    background: linear-gradient(135deg, var(--bs-primary) 0%, hsl(18, 80%, 54%) 100%);
}

.icon-avatar[b-r5y35y8afq] {
    background: linear-gradient(135deg, var(--gscv-teal) 0%, hsl(178, 45%, 45%) 100%);
    font-size: 2rem;
}

.upload-avatar[b-r5y35y8afq] {
    background: linear-gradient(135deg, var(--gscv-green) 0%, hsl(90, 42%, 55%) 100%);
    font-size: 2rem;
}

/* Panneau de choix d'avatars */
.avatar-choices-panel[b-r5y35y8afq] {
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease, opacity 0.3s ease;
    padding: 0;
    opacity: 0;
    display: none;
}

    .avatar-choices-panel.expanded[b-r5y35y8afq] {
        display: block;
        max-height: 500px;
        padding: 1rem;
        opacity: 1;
        overflow-y: auto;
    }

    .avatar-choices-panel.collapsed[b-r5y35y8afq] {
        display: none;
        max-height: 0;
        padding: 0;
        opacity: 0;
    }

.no-chevron .avatar-chevron[b-r5y35y8afq] {
    display: none !important;
}

.avatar-choices-grid[b-r5y35y8afq] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    gap: 0.75rem;
    max-height: 300px;
    overflow-y: auto;
    padding: 0.5rem;
}

    .avatar-choices-grid.emoji-grid[b-r5y35y8afq] {
        grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
    }

.avatar-choice[b-r5y35y8afq] {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: white;
}

    .avatar-choice:hover[b-r5y35y8afq] {
        border-color: var(--bs-primary);
        transform: scale(1.1);
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }

    .avatar-choice.choice-selected[b-r5y35y8afq] {
        border-color: var(--bs-primary);
        border-width: 3px;
        box-shadow: 0 0 0 3px rgba(52, 95, 109, 0.2);
    }

    .avatar-choice img[b-r5y35y8afq] {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .avatar-choice.emoji-choice[b-r5y35y8afq] {
        font-size: 2rem;
        background: #f8fafc;
    }

.avatar-emoji[b-r5y35y8afq] {
    font-size: 2rem;
    line-height: 1;
}

.avatar-option-label[b-r5y35y8afq] {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
    text-align: center;
}

.avatar-upload-section[b-r5y35y8afq] {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
    text-align: center;
}

.file-input-hidden[b-r5y35y8afq] {
    display: none !important;
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
}

.btn-upload-avatar[b-r5y35y8afq] {
    background: linear-gradient(135deg, var(--bs-primary) 0%, hsl(18, 80%, 54%) 100%);
    border: none;
    color: white;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 0.875rem;
    cursor: pointer;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .btn-upload-avatar:hover[b-r5y35y8afq] {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(234, 119, 61, 0.3);
    }

    .btn-upload-avatar:active[b-r5y35y8afq] {
        transform: translateY(0);
    }

.uploaded-avatar-preview[b-r5y35y8afq] {
    margin-top: 1rem;
    position: relative;
    display: inline-block;
}

    .uploaded-avatar-preview img[b-r5y35y8afq] {
        width: 120px;
        height: 120px;
        border-radius: 50%;
        object-fit: cover;
        border: 3px solid var(--bs-primary);
    }

.btn-remove-avatar[b-r5y35y8afq] {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 32px;
    height: 32px;
    background: #ef4444;
    border: none;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.25rem;
    transition: all 0.2s ease;
}

    .btn-remove-avatar:hover[b-r5y35y8afq] {
        background: #dc2626;
        transform: scale(1.1);
    }

.avatar-preview-section[b-r5y35y8afq] {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
    text-align: center;
}

.avatar-preview-label[b-r5y35y8afq] {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--muted-foreground);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.avatar-large[b-r5y35y8afq] {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.initials-avatar-large[b-r5y35y8afq] {
    background: linear-gradient(135deg, var(--bs-primary) 0%, hsl(18, 80%, 54%) 100%);
    color: white;
    font-size: 3rem;
    font-weight: 600;
}

.icon-avatar-large[b-r5y35y8afq] {
    background: linear-gradient(135deg, var(--gscv-teal) 0%, hsl(178, 45%, 45%) 100%);
    color: white;
    font-size: 3.5rem;
}

.emoji-avatar-large[b-r5y35y8afq] {
    background: #f8fafc;
    border: 3px solid var(--bs-primary);
}

.avatar-emoji-preview[b-r5y35y8afq] {
    font-size: 4rem;
    line-height: 1;
}

.image-avatar-large[b-r5y35y8afq] {
    object-fit: cover;
    border: 3px solid var(--bs-primary);
}


@media (max-width: 768px) {
    .profile-page-wrap[b-r5y35y8afq] {
        padding: 1.25rem;
    }

    /* Headers */
    .header-section-profile[b-r5y35y8afq] {
        padding: 1.25rem;
        margin-bottom: 1rem;
        max-width: 100%;
    }

    .page-title-profile[b-r5y35y8afq] {
        font-size: 1.5rem;
    }
    /* Timeline Navigation */
    .timeline-navigation[b-r5y35y8afq] {
        padding: 1rem !important;
        border-radius: 12px !important;
        /* Taille écran */
        width: calc(100vw - 2rem) !important;
        max-width: none !important;
        box-sizing: border-box !important;
        /* ⭐ STICKY */
        position: sticky !important;
        top: 0 !important; /* Colle en haut à 0px du scroll */
        z-index: 100 !important; /* Passe au-dessus du contenu */
        /* Centre */
        margin-left: auto !important;
        margin-right: auto !important;
        /* ⭐ BONUS: Backdrop pour effet iOS */
        backdrop-filter: blur(10px) !important;
        background: rgba(255, 255, 255, 0.95) !important;
        /* Shadow apparaît au scroll */
        transition: box-shadow 0.3s ease !important;
    }

    .timeline-container[b-r5y35y8afq] {
        overflow-x: auto;
        justify-content: flex-start;
        gap: 1rem;
        -webkit-overflow-scrolling: touch;
        padding: 0.25rem 0.75rem 0.75rem;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: 50%;
    }

    .timeline-item[b-r5y35y8afq] {
        flex: 0 0 auto;
        min-width: 110px;
        scroll-snap-align: center;
    }

    .timeline-connector[b-r5y35y8afq] {
        display: none;
    }

    .timeline-marker[b-r5y35y8afq] {
        width: 40px;
        height: 40px;
    }

    .timeline-label[b-r5y35y8afq] {
        max-width: 120px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    /* Cards */
    .section-card-profile[b-r5y35y8afq] {
        padding: 1.25rem;
    }
    /* Navigation */
    .section-navigation[b-r5y35y8afq] {
        flex-direction: column;
        align-items: center;
    }

    .btn-next-section[b-r5y35y8afq],
    .btn-prev-section[b-r5y35y8afq] {
        width: 100%;
        justify-content: center;
        max-width: 360px;
    }
    /* Profile Card */
    .profile-card-profile[b-r5y35y8afq] {
        flex-direction: column;
        align-items: flex-start;
    }

    .progress-wrapper-profile[b-r5y35y8afq] {
        width: 100%;
    }
    /* Tables */
    .table-container-profile[b-r5y35y8afq] {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .table-clean-profile[b-r5y35y8afq] {
        min-width: 680px;
    }
    /* Section Headers */
    .section-header-profile[b-r5y35y8afq] {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .section-icon-profile[b-r5y35y8afq] {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }

    .section-title-profile[b-r5y35y8afq] {
        font-size: 1.05rem;
    }
    /* Avatar Options */
    .avatar-options-grid[b-r5y35y8afq] {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        justify-items: center;
        max-width: 420px;
        margin: 0 auto;
    }

    .avatar-option-card[b-r5y35y8afq] {
        width: 100%;
    }

    .avatar-option-header[b-r5y35y8afq] {
        justify-content: center;
        text-align: center;
    }

    .avatar-option-header[b-r5y35y8afq] {
        padding: 0.85rem;
        gap: 0.5rem;
    }

    .avatar-option-label[b-r5y35y8afq] {
        font-size: 0.85rem;
    }

    .avatar-preview[b-r5y35y8afq] {
        width: 60px;
        height: 60px;
        font-size: 1.25rem;
    }

    .avatar-large[b-r5y35y8afq] {
        width: 100px;
        height: 100px;
    }

    .initials-avatar-large[b-r5y35y8afq] {
        font-size: 2.5rem;
    }

    .icon-avatar-large[b-r5y35y8afq] {
        font-size: 3rem;
    }

    .avatar-preview-section[b-r5y35y8afq] {
        padding: 1rem;
    }

    /* Section 2: champs centrés (mobile) */
    .profile-section .row.g-3[b-r5y35y8afq] {
        justify-content: center;
    }

        .profile-section .row.g-3 > [class*="col-"][b-r5y35y8afq] {
            width: 100%;
            max-width: 520px;
            margin-left: 0;
            margin-right: auto;
        }

    /* S'assurer que les contrôles ne débordent jamais */
    .profile-section .form-control-clean-profile[b-r5y35y8afq],
    .profile-section .form-select-clean-profile[b-r5y35y8afq],
    .profile-section .input-group-profile[b-r5y35y8afq] {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .profile-section .input-group-profile[b-r5y35y8afq] {
        flex-wrap: nowrap;
        overflow: hidden;
    }

    .profile-section .input-group-text-profile[b-r5y35y8afq] {
        flex: 0 0 auto;
    }

    .profile-section .input-group-profile .form-control-clean-profile[b-r5y35y8afq] {
        min-width: 0; /* évite overflow horizontal sur iOS */
    }
}

/* Responsive: Carrousel pour petits écrans */
@media (max-width: 768px) {
    .timeline-navigation[b-r5y35y8afq] {
        padding: 0.75rem 0;
    }

    .timeline-container[b-r5y35y8afq] {
        justify-content: flex-start;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        padding: 0.5rem 1rem;
        gap: 1rem;
        /* Masquer la scrollbar tout en gardant la fonctionnalité */
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE/Edge */
    }

        .timeline-container[b-r5y35y8afq]::-webkit-scrollbar {
            display: none; /* Chrome, Safari, Opera */
        }

    .timeline-item[b-r5y35y8afq] {
        flex: 0 0 auto;
        min-width: 80px;
    }

    .timeline-marker[b-r5y35y8afq] {
        width: 44px;
        height: 44px;
        font-size: 0.9rem;
    }

    .timeline-label[b-r5y35y8afq] {
        font-size: 0.7rem;
        max-width: 80px;
    }

    .timeline-connector[b-r5y35y8afq] {
        display: none; /* Masquer les connecteurs sur mobile */
    }
}

@media (max-width: 600px) {
    /* Container principal avec padding réduit */

    .profile-page-wrap[b-r5y35y8afq] {
        padding: 0.75rem !important;
    }

    /* Section 2: garder le formulaire centré et entièrement visible */
    .profile-section .row.g-3[b-r5y35y8afq] {
        margin-left: 0 !important;
        margin-right: auto !important;
        justify-content: center !important;
    }

        .profile-section .row.g-3 > [class*="col-"][b-r5y35y8afq] {
            width: 100% !important;
            max-width: 400px !important;
            margin-left: 0 !important;
            margin-right: auto !important;
            padding-left: 0 !important;
            padding-right: 0 !important;
        }
    /* Cards avec padding réduit */
    .section-card-profile[b-r5y35y8afq],
    .avatar-selection-section[b-r5y35y8afq] {
        padding: 1rem !important;
        border-radius: 12px !important;
        margin-bottom: 0.75rem !important;
        max-width:100vw;
    }

    /* Centrer les boutons Précédent / Suivant */
    .section-navigation[b-r5y35y8afq] {
        align-items: center !important;
        justify-content: center !important;
    }


    .btn-next-section[b-r5y35y8afq],
    .btn-prev-section[b-r5y35y8afq] {
        margin-left: 0 !important;
        margin-right: auto !important;
    }

    /* Section 1: forcer l’empilement des cartes avatar */
    .avatar-options-grid[b-r5y35y8afq] {
        grid-template-columns: 1fr !important;
        justify-items: center !important;
        max-width: 380px !important;
        margin: 0 !important;
    }

    .avatar-option-card[b-r5y35y8afq] {
        width: 100% !important;
    }

    /* Centrer l’aperçu de l’avatar sur l’écran */
    .avatar-preview-section[b-r5y35y8afq] {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .avatar-preview-label[b-r5y35y8afq] {
        width: 100%;
        text-align: center;
    }

    .avatar-large[b-r5y35y8afq] {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* Section 6 (Rendez-vous) : layout mobile en cartes */
    #section-6 .section-header-profile[b-r5y35y8afq] {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    #section-6 .btn-rdv-new[b-r5y35y8afq] {
        width: 100%;
        justify-content: center;
    }

    #section-6 .table-container-profile[b-r5y35y8afq] {
        background: transparent;
        border: none;
        overflow: visible !important;
    }

    #section-6 .table-clean-profile[b-r5y35y8afq] {
        min-width: 0 !important;
        width: 100%;
    }

        #section-6 .table-clean-profile thead[b-r5y35y8afq] {
            display: none;
        }

        #section-6 .table-clean-profile tbody[b-r5y35y8afq],
        #section-6 .table-clean-profile tr[b-r5y35y8afq],
        #section-6 .table-clean-profile td[b-r5y35y8afq] {
            display: block;
            width: 100%;
        }

            #section-6 .table-clean-profile tbody tr[b-r5y35y8afq] {
                background: white;
                border: 1px solid #e2e8f0;
                border-radius: 14px;
                padding: 0.75rem 0.75rem;
                margin-bottom: 0.75rem;
                box-shadow: 0 2px 8px rgba(0,0,0,0.04);
            }

            #section-6 .table-clean-profile tbody td[b-r5y35y8afq] {
                border: none !important;
                padding: 0.5rem 0 !important;
                display: flex;
                align-items: center;
                justify-content: space-between;
                gap: 0.75rem;
                text-align: left;
                white-space: normal;
            }

                #section-6 .table-clean-profile tbody td[b-r5y35y8afq]::before {
                    content: attr(data-label);
                    font-size: 0.75rem;
                    font-weight: 700;
                    color: var(--muted-foreground);
                    text-transform: uppercase;
                    letter-spacing: 0.5px;
                    flex: 0 0 auto;
                    min-width: 110px;
                }

    #section-6 .row-number-profile[b-r5y35y8afq] {
        margin: 0;
    }

    /* Empty state */
    #section-6 .table-clean-profile tbody tr.rdv-empty-row[b-r5y35y8afq] {
        text-align: center;
        padding: 1rem;
    }

        #section-6 .table-clean-profile tbody tr.rdv-empty-row td[b-r5y35y8afq] {
            display: block;
            padding: 0 !important;
            text-align: center;
        }

            #section-6 .table-clean-profile tbody tr.rdv-empty-row td[b-r5y35y8afq]::before {
                content: "";
                display: none;
            }
    /* Timeline sticky avec padding réduit */
    .timeline-navigation[b-r5y35y8afq] {
        position: sticky;
        top: 0;
        z-index: 90;
        background: white;
        border-bottom: 2px solid #e2e8f0;
        padding: 0.5rem 0 !important;
        margin-bottom: 0.75rem !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
        overflow: hidden; /* évite un scroll horizontal global sur mobile */
    }
    /* Timeline scrollable horizontalement */
    .timeline-container[b-r5y35y8afq] {
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        gap: 0.75rem !important;
        padding: 0.75rem 1rem !important;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        scrollbar-width: none;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: 50%;
    }

        .timeline-container[b-r5y35y8afq]::-webkit-scrollbar {
            display: none;
        }
    /* Carousel: afficher 3 points visibles */
    .timeline-item[b-r5y35y8afq] {
        flex: 0 0 auto !important;
        flex-shrink: 0 !important;
        flex-grow: 0 !important;
        width: calc((100% - (0.75rem * 2)) / 3) !important;
        min-width: calc((100% - (0.75rem * 2)) / 3) !important;
        max-width: calc((100% - (0.75rem * 2)) / 3) !important;
        text-align: center;
        padding: 0.75rem 0.5rem !important;
        border-radius: 8px;
        transition: all 0.3s ease;
        scroll-snap-align: center;
    }

        .timeline-item:active[b-r5y35y8afq] {
            background: rgba(20, 184, 166, 0.05);
        }
    /* Marker TOUCH-FRIENDLY (44x44px minimum Apple/Google) */
    .timeline-marker[b-r5y35y8afq] {
        width: 44px !important;
        height: 44px !important;
        margin: 0 auto 0.5rem !important;
        font-size: 1rem !important;
        box-shadow: 0 2px 6px rgba(0,0,0,0.1) !important;
    }
    /* Label LISIBLE - 2 lignes maximum */
    .timeline-label[b-r5y35y8afq] {
        font-size: 0.75rem !important;
        line-height: 1.3 !important;
        font-weight: 600 !important;
        max-width: 110px !important;
        white-space: normal !important;
        overflow: hidden !important;
        height: 2.6em !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        margin: 0 auto;
    }
    /* Connectors cachés sur mobile */
    .timeline-connector[b-r5y35y8afq] {
        display: none !important;
    }
    /* Headers compacts */
    .header-section-profile[b-r5y35y8afq] {
        padding: 0.75rem 1rem !important;
        margin-bottom: 0.75rem !important;
    }

    .page-title-profile[b-r5y35y8afq] {
        font-size: 1.25rem !important;
        line-height: 1.3 !important;
        text-align: center;
        padding: 0;
        margin: 0;
        max-width: 28ch;
        word-break: break-word;
    }

    .section-header-profile[b-r5y35y8afq] {
        flex-direction: row !important;
        gap: 0.75rem !important;
        margin-bottom: 1rem !important;
    }

    .section-icon-profile[b-r5y35y8afq] {
        width: 32px !important;
        height: 32px !important;
        flex-shrink: 0;
    }

    .section-title-profile[b-r5y35y8afq] {
        font-size: 1rem !important;
        line-height: 1.3 !important;
    }

    .section-subtitle-profile[b-r5y35y8afq] {
        font-size: 0.8rem !important;
        line-height: 1.4 !important;
    }
    /* Gradient pour indiquer qu'on peut scroller la timeline */
    .timeline-navigation[b-r5y35y8afq]::after {
        content: '';
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        width: 28px;
        background: linear-gradient(to left, white 30%, transparent);
        pointer-events: none;
        z-index: 2;
    }

    .timeline-navigation[b-r5y35y8afq]::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 28px;
        background: linear-gradient(to right, white 30%, transparent);
        pointer-events: none;
        z-index: 2;
    }
    /* Support des zones sûres pour iPhone */
    .timeline-navigation[b-r5y35y8afq] {
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
    }

    .section-card-profile[b-r5y35y8afq],
    .avatar-selection-section[b-r5y35y8afq] {
        margin-left: max(0.5rem, env(safe-area-inset-left));
        margin-right: max(0.5rem, env(safe-area-inset-right));
        max-width: 100vw;
    }

    .modal-overlay-upload[b-r5y35y8afq],
    .modal-overlay-avatar[b-r5y35y8afq] {
        padding-bottom: env(safe-area-inset-bottom);
    }
    /* Accessibilité */
    .timeline-item:focus-visible[b-r5y35y8afq],
    button:focus-visible[b-r5y35y8afq],
    .form-control-profile:focus-visible[b-r5y35y8afq] {
        outline: 3px solid #14b8a6 !important;
        outline-offset: 2px !important;
    }

    .timeline-item:active[b-r5y35y8afq],
    button:active[b-r5y35y8afq] {
        transform: scale(0.97);
    }
    /* Réduire les animations pour perfs */
    *[b-r5y35y8afq] {
        animation-duration: 0.2s !important;
        transition-duration: 0.2s !important;
    }

    .btn-next-section[b-r5y35y8afq],
    .btn-prev-section[b-r5y35y8afq] {
        width: 100%;
        justify-content: center;
        max-width: 400px;
    }
    /* Hover désactivé sur touch devices */
    @media (hover: none) {
        .avatar-option-card:hover[b-r5y35y8afq], .timeline-item:hover[b-r5y35y8afq], button:hover[b-r5y35y8afq] {
            transform: none !important;
        }
    }
}

@media (max-width: 480px) {
    /* Avatar en 1 colonne */
    .avatar-options-grid[b-r5y35y8afq] {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .avatar-selection-section[b-r5y35y8afq] {
        padding: 1.25rem;
    }
    /* Modal plein écran */
    .modal-overlay-upload[b-r5y35y8afq],
    .modal-overlay-avatar[b-r5y35y8afq] {
        padding: 0 !important;
        align-items: flex-end !important;
    }

    .modal-content-upload[b-r5y35y8afq],
    .modal-content-avatar[b-r5y35y8afq] {
        max-width: 100% !important;
        max-height: 95vh !important;
        border-radius: 16px 16px 0 0 !important;
        margin: 0 !important;
    }

    .modal-header-upload[b-r5y35y8afq],
    .modal-header-avatar[b-r5y35y8afq] {
        padding: 1.25rem !important;
    }

    .modal-title-upload[b-r5y35y8afq],
    .modal-title-avatar[b-r5y35y8afq] {
        font-size: 1.1rem !important;
    }

    .modal-body-upload[b-r5y35y8afq],
    .modal-body-avatar[b-r5y35y8afq] {
        padding: 1.25rem !important;
    }

    .modal-footer-upload[b-r5y35y8afq],
    .modal-footer-avatar[b-r5y35y8afq] {
        padding: 1rem 1.25rem !important;
        flex-direction: column-reverse !important;
    }

    .btn-secondary-modal[b-r5y35y8afq],
    .btn-primary-modal[b-r5y35y8afq] {
        width: 100% !important;
        justify-content: center !important;
        min-height: 44px !important;
    }
    /* Upload zone compact */
    .drop-zone[b-r5y35y8afq],
    .upload-zone[b-r5y35y8afq] {
        padding: 2rem 1rem !important;
        min-height: 180px !important;
    }

    .drop-icon[b-r5y35y8afq] {
        font-size: 2.5rem !important;
    }

    .drop-zone-content h4[b-r5y35y8afq] {
        font-size: 1rem !important;
    }

    .drop-zone-content p[b-r5y35y8afq] {
        font-size: 0.85rem !important;
    }

    .btn-upload[b-r5y35y8afq] {
        padding: 0.625rem 1.25rem !important;
        font-size: 0.9rem !important;
    }

    .uploaded-preview-modal img[b-r5y35y8afq] {
        width: 150px !important;
        height: 150px !important;
    }

    .btn-remove-preview[b-r5y35y8afq] {
        width: 32px !important;
        height: 32px !important;
        font-size: 1rem !important;
        right: calc(50% - 83px) !important;
    }
    /* Cards et sections */
    .section-card-profile[b-r5y35y8afq] {
        padding: 1rem;
        border-radius: 14px;
    }
    /* Tables */
    .table-clean-profile[b-r5y35y8afq] {
        min-width: 620px;
    }
}

@media (max-width: 414px) {
    /* Headers */
    .header-section-profile[b-r5y35y8afq] {
        padding: 0.75rem 0;
    }

    .page-title-profile[b-r5y35y8afq] {
        font-size: 1.35rem;
    }
    /* Timeline */
    .timeline-navigation[b-r5y35y8afq] {
        padding: 0.5rem 0;
    }

    .timeline-container[b-r5y35y8afq] {
        padding: 0 0.75rem 0.5rem;
        gap: 0.75rem;
    }

    .timeline-marker[b-r5y35y8afq] {
        width: 34px;
        height: 34px;
    }

    .timeline-number[b-r5y35y8afq] {
        font-size: 0.95rem;
    }

    .timeline-label[b-r5y35y8afq] {
        font-size: 0.68rem;
        max-width: 100px;
    }
    /* Avatar Section */
    .avatar-selection-section[b-r5y35y8afq] {
        padding: 1rem;
        border-radius: 14px;
    }

    .avatar-selection-title[b-r5y35y8afq] {
        font-size: 1.25rem;
    }

    .avatar-selection-subtitle[b-r5y35y8afq] {
        font-size: 0.82rem;
    }
    /* Avatar Grid - 1 colonne */
    .avatar-options-grid[b-r5y35y8afq] {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
    }

    .avatar-option-card[b-r5y35y8afq] {
        border-radius: 12px !important;
    }

    .avatar-option-header[b-r5y35y8afq] {
        padding: 0.875rem !important;
        gap: 0.75rem !important;
    }
    /* Avatar Preview */
    .avatar-preview[b-r5y35y8afq] {
        width: 56px !important;
        height: 56px !important;
        font-size: 1.2rem !important;
        flex-shrink: 0;
    }

    .avatar-emoji-large[b-r5y35y8afq] {
        font-size: 2rem !important;
    }

    .avatar-option-label[b-r5y35y8afq] {
        font-size: 0.9rem !important;
        font-weight: 600;
    }
    /* Avatar Large Preview */
    .avatar-preview-section[b-r5y35y8afq] {
        margin-top: 1.25rem;
        padding: 1rem !important;
    }

    .avatar-large[b-r5y35y8afq] {
        width: 100px !important;
        height: 100px !important;
    }

    .initials-avatar-large[b-r5y35y8afq] {
        font-size: 2.5rem !important;
    }

    .icon-avatar-large[b-r5y35y8afq] {
        font-size: 2.8rem !important;
    }

    .emoji-avatar-large[b-r5y35y8afq] {
        font-size: 3.5rem !important;
    }

    .avatar-emoji-preview[b-r5y35y8afq] {
        font-size: 3rem;
    }
    /* Avatar Choices */
    .avatar-choices-grid[b-r5y35y8afq] {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 0.5rem !important;
        padding: 0.75rem 0 !important;
    }

    .avatar-choice[b-r5y35y8afq] {
        width: 48px !important;
        height: 48px !important;
    }

    .emoji-choice[b-r5y35y8afq] {
        font-size: 1.5rem !important;
    }
    /* Forms - Colonne unique */
    .form-row-profile[b-r5y35y8afq] {
        grid-template-columns: 1fr !important;
        gap: 0.875rem !important;
    }

    .form-group-profile[b-r5y35y8afq] {
        margin-bottom: 0 !important;
    }

        .form-group-profile label[b-r5y35y8afq] {
            font-size: 0.875rem !important;
            margin-bottom: 0.4rem !important;
        }

    .form-control-profile[b-r5y35y8afq],
    .form-select-profile[b-r5y35y8afq] {
        padding: 0.75rem !important;
        font-size: 0.95rem !important;
        min-height: 44px !important;
    }

    textarea.form-control-profile[b-r5y35y8afq] {
        min-height: 100px !important;
    }
    /* Buttons Touch-Friendly */
    .btn-next-section[b-r5y35y8afq],
    .btn-prev-section[b-r5y35y8afq],
    .btn-save-profile[b-r5y35y8afq] {
        min-height: 44px !important;
        padding: 0.75rem 1.25rem !important;
        font-size: 0.95rem !important;
    }
    /* Navigation Full Width */
    .section-navigation[b-r5y35y8afq] {
        flex-direction: column !important;
        gap: 0.75rem !important;
        padding: 1rem !important;
        margin-top: 1.5rem !important;
    }

        .section-navigation .btn-prev-section[b-r5y35y8afq],
        .section-navigation .btn-next-section[b-r5y35y8afq] {
            width: 100% !important;
            justify-content: center !important;
            /* Override desktop rule `.btn-next-section { margin-left: auto; }` */
            margin-left: 0 !important;
            margin-right: 0 !important;
        }
    /* Cards */
    .section-card-profile[b-r5y35y8afq] {
        padding: 0.95rem;
    }
    /* Tables */
    .table-container-profile[b-r5y35y8afq] {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        margin: 0 -1rem !important;
        padding: 0 1rem !important;
    }

    .table-clean-profile[b-r5y35y8afq] {
        min-width: 600px !important;
        font-size: 0.85rem !important;
    }

        .table-clean-profile th[b-r5y35y8afq],
        .table-clean-profile td[b-r5y35y8afq] {
            padding: 0.625rem !important;
        }
    /* Progress */
    .progress-wrapper-profile[b-r5y35y8afq] {
        height: 6px !important;
    }

    .progress-text-profile[b-r5y35y8afq] {
        font-size: 0.8rem !important;
    }
    /* Text Sizes */
    body[b-r5y35y8afq] {
        font-size: 14px !important;
        line-height: 1.5 !important;
    }

    h1[b-r5y35y8afq] {
        font-size: 1.5rem !important;
    }

    h2[b-r5y35y8afq] {
        font-size: 1.25rem !important;
    }

    h3[b-r5y35y8afq] {
        font-size: 1.1rem !important;
    }

    p[b-r5y35y8afq], span[b-r5y35y8afq], label[b-r5y35y8afq], input[b-r5y35y8afq], select[b-r5y35y8afq], textarea[b-r5y35y8afq] {
        font-size: 0.9rem !important;
    }

    small[b-r5y35y8afq] {
        font-size: 0.8rem !important;
    }
}

@media (max-width: 375px) {
    /* Container ultra-compact */
    .profile-container[b-r5y35y8afq] {
        padding: 0.25rem !important;
    }

    .section-card-profile[b-r5y35y8afq],
    .avatar-selection-section[b-r5y35y8afq] {
        padding: 0.875rem !important;
        margin-bottom: 0.5rem !important;
    }
    /* Timeline encore plus compact */
    .timeline-item[b-r5y35y8afq] {
        min-width: 110px !important;
        max-width: 110px !important;
        width: 110px !important;
        padding: 0.5rem 0.25rem !important;
    }

    .timeline-marker[b-r5y35y8afq] {
        width: 40px !important;
        height: 40px !important;
        margin-bottom: 0.4rem !important;
        font-size: 0.9rem !important;
    }

    .timeline-label[b-r5y35y8afq] {
        font-size: 0.7rem !important;
        max-width: 100px !important;
    }
    /* Titles plus petits */
    .page-title-profile[b-r5y35y8afq] {
        font-size: 1.15rem !important;
    }

    .section-title-profile[b-r5y35y8afq] {
        font-size: 0.95rem !important;
    }

    .section-subtitle-profile[b-r5y35y8afq] {
        font-size: 0.75rem !important;
    }
    /* Avatar compacts */
    .avatar-preview[b-r5y35y8afq] {
        width: 52px !important;
        height: 52px !important;
        font-size: 1.1rem !important;
    }

    .avatar-option-label[b-r5y35y8afq] {
        font-size: 0.85rem !important;
    }

    .avatar-large[b-r5y35y8afq] {
        width: 90px !important;
        height: 90px !important;
    }
    /* Form ultra-compact */
    .form-control-profile[b-r5y35y8afq],
    .form-select-profile[b-r5y35y8afq] {
        padding: 0.625rem !important;
        font-size: 0.9rem !important;
    }
    /* Table encore plus responsive */
    .table-clean-profile[b-r5y35y8afq] {
        min-width: 550px !important;
        font-size: 0.8rem !important;
    }
}

@media (max-width: 360px) {
    .timeline-item[b-r5y35y8afq] {
        min-width: 95px;
    }

    .timeline-label[b-r5y35y8afq] {
        font-size: 0.7rem;
    }
}

@media (max-width: 896px) and (orientation: landscape) {
    /* Timeline plus compact en paysage */
    .timeline-navigation[b-r5y35y8afq] {
        padding: 0.4rem 0 !important;
    }

    .timeline-marker[b-r5y35y8afq] {
        width: 32px !important;
        height: 32px !important;
    }

    .timeline-label[b-r5y35y8afq] {
        font-size: 0.7rem !important;
    }
    /* Modal adapté en landscape */
    .modal-content-upload[b-r5y35y8afq],
    .modal-content-avatar[b-r5y35y8afq] {
        max-height: 85vh !important;
    }

    .drop-zone[b-r5y35y8afq],
    .upload-zone[b-r5y35y8afq] {
        min-height: 140px !important;
        padding: 1.5rem 1rem !important;
    }
}

@media print {
    .timeline-navigation[b-r5y35y8afq],
    .section-navigation[b-r5y35y8afq],
    button[b-r5y35y8afq] {
        display: none !important;
    }

    .section-card-profile[b-r5y35y8afq] {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}

/* Modal Upload Avatar */
.modal-overlay-avatar[b-r5y35y8afq],
.modal-overlay-upload[b-r5y35y8afq] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
    padding: 1rem;
    animation: fadeIn-b-r5y35y8afq 0.2s ease;
}

.modal-content-avatar[b-r5y35y8afq],
.modal-content-upload[b-r5y35y8afq] {
    background: white;
    border-radius: 16px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp-b-r5y35y8afq 0.3s ease;
}

@keyframes fadeIn-b-r5y35y8afq {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp-b-r5y35y8afq {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header-avatar[b-r5y35y8afq],
.modal-header-upload[b-r5y35y8afq] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.modal-title-avatar[b-r5y35y8afq],
.modal-title-upload[b-r5y35y8afq] {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
    margin: 0;
}

.btn-close-modal[b-r5y35y8afq] {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--muted-foreground);
    cursor: pointer;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s ease;
}

    .btn-close-modal:hover[b-r5y35y8afq] {
        background: #f1f5f9;
        color: var(--foreground);
    }

.modal-body-avatar[b-r5y35y8afq],
.modal-body-upload[b-r5y35y8afq] {
    padding: 1.5rem;
    flex: 1;
    overflow-y: auto;
}

.modal-footer-avatar[b-r5y35y8afq],
.modal-footer-upload[b-r5y35y8afq] {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.btn-secondary-modal[b-r5y35y8afq] {
    background: white;
    border: 1px solid #e2e8f0;
    color: var(--foreground);
    font-weight: 500;
    padding: 0.625rem 1.5rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 0.875rem;
    cursor: pointer;
}

    .btn-secondary-modal:hover[b-r5y35y8afq] {
        border-color: var(--bs-primary);
        color: var(--bs-primary);
    }

.btn-primary-modal[b-r5y35y8afq] {
    background: linear-gradient(135deg, var(--bs-primary) 0%, hsl(18, 80%, 54%) 100%);
    border: none;
    color: white;
    font-weight: 500;
    padding: 0.625rem 1.5rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 0.875rem;
    cursor: pointer;
}

    .btn-primary-modal:hover:not(:disabled)[b-r5y35y8afq] {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(234, 119, 61, 0.3);
    }

    .btn-primary-modal:disabled[b-r5y35y8afq] {
        opacity: 0.5;
        cursor: not-allowed;
    }

.uploaded-preview-modal[b-r5y35y8afq] {
    margin-top: 1.5rem;
    position: relative;
    display: inline-block;
    width: 100%;
    text-align: center;
}

    .uploaded-preview-modal img[b-r5y35y8afq] {
        width: 200px;
        height: 200px;
        border-radius: 50%;
        object-fit: cover;
        border: 3px solid var(--bs-primary);
    }

.btn-remove-preview[b-r5y35y8afq] {
    position: absolute;
    top: -8px;
    right: calc(50% - 108px);
    width: 36px;
    height: 36px;
    background: #ef4444;
    border: none;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.25rem;
    transition: all 0.2s ease;
}

    .btn-remove-preview:hover[b-r5y35y8afq] {
        background: #dc2626;
        transform: scale(1.1);
    }

.no-chevron .avatar-chevron[b-r5y35y8afq] {
    display: none;
}

.drop-zone[b-r5y35y8afq],
.upload-zone[b-r5y35y8afq] {
    border: 2px dashed #e2e8f0;
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f8fafc;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .upload-zone:hover[b-r5y35y8afq] {
        border-color: var(--bs-primary);
        background: rgba(52, 95, 109, 0.05);
    }

    .upload-zone.dragging[b-r5y35y8afq] {
        border-color: #14b8a6;
        background: rgba(20, 184, 166, 0.05);
        transform: scale(1.02);
    }

.drop-zone-content[b-r5y35y8afq],
.upload-zone-content[b-r5y35y8afq] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.drop-icon[b-r5y35y8afq] {
    font-size: 3rem;
    color: var(--bs-primary);
    margin-bottom: 1rem;
}

.drop-zone-content h4[b-r5y35y8afq] {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--foreground);
    margin: 0.5rem 0;
}

.drop-zone-content p[b-r5y35y8afq] {
    color: var(--muted-foreground);
    margin: 0.25rem 0;
}

.btn-upload[b-r5y35y8afq] {
    background: linear-gradient(135deg, var(--bs-primary) 0%, hsl(18, 80%, 54%) 100%);
    border: none;
    color: white;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 0.875rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.5rem 0;
}

    .btn-upload:hover[b-r5y35y8afq] {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(234, 119, 61, 0.3);
    }

.preview-container[b-r5y35y8afq] {
    position: relative;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

.preview-image[b-r5y35y8afq] {
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 2px solid var(--bs-primary);
}

.btn-cancel[b-r5y35y8afq] {
    background: white;
    border: 1px solid #e2e8f0;
    color: var(--foreground);
    font-weight: 500;
    padding: 0.625rem 1.5rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 0.875rem;
    cursor: pointer;
}

    .btn-cancel:hover[b-r5y35y8afq] {
        border-color: var(--bs-primary);
        color: var(--bs-primary);
    }

.btn-confirm[b-r5y35y8afq] {
    background: linear-gradient(135deg, var(--bs-primary) 0%, hsl(18, 80%, 54%) 100%);
    border: none;
    color: white;
    font-weight: 500;
    padding: 0.625rem 1.5rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 0.875rem;
    cursor: pointer;
}

    .btn-confirm:hover:not(:disabled)[b-r5y35y8afq] {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(234, 119, 61, 0.3);
    }

    .btn-confirm:disabled[b-r5y35y8afq] {
        opacity: 0.5;
        cursor: not-allowed;
    }

.upload-icon[b-r5y35y8afq] {
    font-size: 3rem;
    color: var(--bs-primary);
}

.upload-text[b-r5y35y8afq] {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--foreground);
    margin: 0;
}

.upload-subtext[b-r5y35y8afq] {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin: 0;
}

.upload-hint[b-r5y35y8afq] {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    margin: 0;
    margin-top: 0.5rem;
}

.upload-preview[b-r5y35y8afq] {
    position: relative;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

.upload-preview-img[b-r5y35y8afq] {
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 2px solid var(--bs-primary);
}

.btn-remove-preview[b-r5y35y8afq] {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 36px;
    height: 36px;
    background: #ef4444;
    border: none;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.25rem;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

    .btn-remove-preview:hover[b-r5y35y8afq] {
        background: #dc2626;
        transform: scale(1.1);
    }

.modal-footer-upload[b-r5y35y8afq] {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.btn-secondary-modal[b-r5y35y8afq] {
    background: white;
    border: 1px solid #e2e8f0;
    color: var(--foreground);
    font-weight: 500;
    padding: 0.625rem 1.5rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 0.875rem;
    cursor: pointer;
}

    .btn-secondary-modal:hover[b-r5y35y8afq] {
        border-color: var(--bs-primary);
        color: var(--bs-primary);
    }

.btn-primary-modal[b-r5y35y8afq] {
    background: linear-gradient(135deg, var(--bs-primary) 0%, hsl(18, 80%, 54%) 100%);
    border: none;
    color: white;
    font-weight: 500;
    padding: 0.625rem 1.5rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 0.875rem;
    cursor: pointer;
}

    .btn-primary-modal:hover:not(:disabled)[b-r5y35y8afq] {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(234, 119, 61, 0.3);
    }

    .btn-primary-modal:disabled[b-r5y35y8afq] {
        opacity: 0.5;
        cursor: not-allowed;
    }

/* ========================================
   RESPONSIVE: CARROUSEL MOBILE
   ======================================== */
@media (max-width: 768px) {
    .timeline-navigation[b-r5y35y8afq] {
        padding: 0.75rem 0;
        margin-bottom: 1rem;
    }

    .timeline-container[b-r5y35y8afq] {
        justify-content: flex-start;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        padding: 0.5rem 1rem;
        gap: 1.5rem;
        /* Masquer la scrollbar */
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE/Edge */
    }

        .timeline-container[b-r5y35y8afq]::-webkit-scrollbar {
            display: none; /* Chrome, Safari, Opera */
        }

    .timeline-item[b-r5y35y8afq] {
        flex: 0 0 auto;
        min-width: 80px;
        max-width: 80px;
    }

    .timeline-marker[b-r5y35y8afq] {
        width: 44px;
        height: 44px;
        font-size: 0.9rem;
    }

    .timeline-number[b-r5y35y8afq] {
        font-size: 1rem;
    }

    .timeline-label[b-r5y35y8afq] {
        font-size: 0.7rem;
        max-width: 80px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .timeline-connector[b-r5y35y8afq] {
        display: none;
    }
}
/* _content/Spectrometre/Components/Pages/Evaluations/PsychoSocialPreliminaire.razor.rz.scp.css */
/* Wrapper */
.psycho-page[b-id0mcamswh] {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Header */
.psycho-header[b-id0mcamswh] {
    background: linear-gradient(135deg, var(--bs-primary) 0%, var(--gscv-orange) 100%);
    color: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
    margin-bottom: 1rem;
}

.psycho-header-row[b-id0mcamswh] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.psycho-header-icon[b-id0mcamswh] {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: rgba(255,255,255,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    font-size: 1.1rem;
}

.psycho-title[b-id0mcamswh] {
    margin: 0;
    font-weight: 800;
    font-size: 1.75rem;
    line-height: 1.15;
}

.psycho-subtitle[b-id0mcamswh] {
    margin-top: 0.25rem;
    opacity: 0.92;
    font-size: 0.95rem;
    font-style: italic;
}

.psycho-instruction[b-id0mcamswh] {
    margin-top: 1rem;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 12px;
    padding: 0.9rem 1rem;
    backdrop-filter: blur(10px);
    font-size: 0.95rem;
}

.psycho-progress[b-id0mcamswh] {
    margin-top: 1rem;
}

.psycho-progress-bar[b-id0mcamswh] {
    height: 8px;
    background: rgba(255,255,255,0.25);
    border-radius: 999px;
    overflow: hidden;
}

.psycho-progress-fill[b-id0mcamswh] {
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.65) 100%);
    border-radius: 999px;
    transition: width 0.35s ease;
}

.psycho-progress-text[b-id0mcamswh] {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    opacity: 0.92;
    font-weight: 600;
}

/* Timeline (repris du style app) */
.timeline-navigation[b-id0mcamswh] {
    position: sticky;
    top: 0;
    z-index: 90;
    background: white;
    border-radius: 16px;
    padding: 1rem 0.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.timeline-container[b-id0mcamswh] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0.75rem;
    gap: 0.5rem;
}

.timeline-item[b-id0mcamswh] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.timeline-item:hover[b-id0mcamswh] {
    transform: translateY(-2px);
}

.timeline-marker[b-id0mcamswh] {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: #f1f5f9;
    color: #94a3b8;
    border: 2px solid #e2e8f0;
    transition: all 0.2s ease;
}

.timeline-item.active .timeline-marker[b-id0mcamswh] {
    background: linear-gradient(135deg, var(--bs-primary) 0%, var(--gscv-orange) 100%);
    color: white;
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(234, 119, 61, 0.25);
}

.timeline-item.completed .timeline-marker[b-id0mcamswh] {
    background: #10b981;
    border-color: #10b981;
    color: white;
}

.timeline-number[b-id0mcamswh] {
    font-size: 1.05rem;
}

.timeline-label[b-id0mcamswh] {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--muted-foreground);
    text-align: center;
    max-width: 140px;
}

.timeline-item.active .timeline-label[b-id0mcamswh] {
    color: var(--bs-primary);
}

.timeline-item.completed .timeline-label[b-id0mcamswh] {
    color: #10b981;
}

.timeline-connector[b-id0mcamswh] {
    position: absolute;
    top: 22px;
    left: calc(50% + 22px);
    width: calc(100% - 44px);
    height: 2px;
    background: #e2e8f0;
    z-index: -1;
}

.timeline-item.completed .timeline-connector[b-id0mcamswh] {
    background: #10b981;
}

.timeline-item:last-child .timeline-connector[b-id0mcamswh] {
    display: none;
}

/* Section card */
.psycho-section[b-id0mcamswh] {
    animation: fadeIn-b-id0mcamswh 0.25s ease;
}

@keyframes fadeIn-b-id0mcamswh {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.section-card[b-id0mcamswh] {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    overflow: hidden;
}

.section-card-header[b-id0mcamswh] {
    background: linear-gradient(90deg, rgba(52, 95, 109, 0.06) 0%, rgba(234, 119, 61, 0.05) 100%);
    border-bottom: 1px solid #eef2f5;
    padding: 1.25rem 1.25rem;
}

.section-card-header-left[b-id0mcamswh] {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.section-badge[b-id0mcamswh] {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--bs-primary) 0%, var(--gscv-orange) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    box-shadow: 0 4px 12px rgba(52, 95, 109, 0.18);
    flex: 0 0 auto;
}

.section-card-title[b-id0mcamswh] {
    font-weight: 800;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.section-card-count[b-id0mcamswh] {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--muted-foreground);
    background: rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(15, 23, 42, 0.06);
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
}

.section-card-body[b-id0mcamswh] {
    padding: 1.25rem;
}

/* Items */
.item-card[b-id0mcamswh] {
    border: 1px solid #eef2f5;
    border-radius: 14px;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(248, 250, 251, 0.55) 0%, rgba(255, 255, 255, 0.95) 100%);
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
    margin-bottom: 0.9rem;
}

.item-card:hover[b-id0mcamswh] {
    border-color: #dce4eb;
    background: white;
    box-shadow: 0 4px 12px rgba(52, 95, 109, 0.06);
    transform: translateY(-1px);
}

.item-label[b-id0mcamswh] {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    color: var(--foreground);
}

.item-grid[b-id0mcamswh] {
    display: grid;
    grid-template-columns: 1fr 24px 1fr;
    gap: 1rem;
    align-items: end;
}

.item-col[b-id0mcamswh] {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.item-divider[b-id0mcamswh] {
    width: 2px;
    height: 44px;
    background: linear-gradient(to bottom, transparent 0%, #dce4eb 20%, #dce4eb 80%, transparent 100%);
    border-radius: 1px;
}

.item-field-label[b-id0mcamswh] {
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.item-field-label.current[b-id0mcamswh] {
    color: var(--bs-primary);
}

.item-field-label.wanted[b-id0mcamswh] {
    color: var(--gscv-orange);
}

.dot[b-id0mcamswh] {
    width: 8px;
    height: 8px;
    border-radius: 999px;
}

.dot.current[b-id0mcamswh] { background: var(--bs-primary); }
.dot.wanted[b-id0mcamswh] { background: var(--gscv-orange); }

.psycho-select[b-id0mcamswh] {
    border: 2px solid #dce4eb;
    border-radius: 10px;
    padding: 0.6rem 0.9rem;
    font-weight: 600;
    font-size: 0.95rem;
}

.psycho-select:focus[b-id0mcamswh] {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 3px rgba(52, 95, 109, 0.12);
}

/* Footer actions inside last section */
.actions-inline[b-id0mcamswh] {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.btn-submit[b-id0mcamswh] {
    background: linear-gradient(135deg, var(--bs-primary) 0%, var(--gscv-orange) 100%);
    border: none;
}

/* Navigation buttons */
.section-navigation[b-id0mcamswh] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-top: 1px solid #eef2f5;
    background: white;
}

.btn-next-section[b-id0mcamswh] {
    background: linear-gradient(135deg, var(--bs-primary) 0%, var(--gscv-orange) 100%);
    border: none;
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .psycho-page[b-id0mcamswh] { padding: 1rem; }
    .psycho-header[b-id0mcamswh] { padding: 1rem; }
    .psycho-title[b-id0mcamswh] { font-size: 1.35rem; }
    /* Section card */
    .psycho-section[b-id0mcamswh] {
        max-width:100vw;
    }

    .timeline-navigation[b-id0mcamswh] { padding: 0.75rem 0.25rem; }
    .timeline-container[b-id0mcamswh] {
        overflow-x: auto;
        justify-content: flex-start;
        gap: 0.75rem;
        padding: 0.25rem 0.75rem 0.75rem;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: 50%;
    }
    .timeline-item[b-id0mcamswh] {
        flex: 0 0 auto;
        min-width: 125px;
        scroll-snap-align: center;
    }
    .timeline-connector[b-id0mcamswh] { display: none; }

    .section-card-header[b-id0mcamswh] { padding: 1rem; }
    .section-card-body[b-id0mcamswh] { padding: 1rem; }

    .item-grid[b-id0mcamswh] {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    .item-divider[b-id0mcamswh] { display: none; }

    .section-navigation[b-id0mcamswh] {
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
    }

    .section-navigation .btn[b-id0mcamswh] {
        width: 100%;
        justify-content: center;
    }

    .actions-inline[b-id0mcamswh] {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }
}

/* Mobile compact (mêmes principes que Profil.razor.css) */
@media (max-width: 600px) {
    /* Container principal avec padding réduit */
    .psycho-page[b-id0mcamswh] {
        padding: 0.75rem !important;
    }

    /* Header compact */
    .psycho-header[b-id0mcamswh] {
        padding: 1rem !important;
        border-radius: 12px !important;
        max-width:100vw;
    }

    .psycho-title[b-id0mcamswh] {
        font-size: 1.25rem !important;
        line-height: 1.25 !important;
    }

    /* Cartes avec padding réduit + largeur maîtrisée */
    .section-card[b-id0mcamswh] {
        border-radius: 12px !important;
        margin-bottom: 0.75rem !important;
    }

    .section-card-header[b-id0mcamswh],
    .section-card-body[b-id0mcamswh] {
        padding: 1rem !important;
    }

    /* Éviter les débordements */
    .psycho-select[b-id0mcamswh] {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Timeline sticky compacte (même esprit que Profil) */
    .timeline-navigation[b-id0mcamswh] {
        padding: 1rem !important;
        border-radius: 12px !important;
        /* Taille écran */
        width: calc(100vw - 2rem) !important;
        max-width: none !important;
        box-sizing: border-box !important;
        /* ⭐ STICKY */
        position: sticky !important;
        top: 0 !important; /* Colle en haut à 0px du scroll */
        z-index: 100 !important; /* Passe au-dessus du contenu */
        /* Centre */
        margin-left: auto !important;
        margin-right: auto !important;
        /* ⭐ BONUS: Backdrop pour effet iOS */
        backdrop-filter: blur(10px) !important;
        background: rgba(255, 255, 255, 0.95) !important;
        /* Shadow apparaît au scroll */
        transition: box-shadow 0.3s ease !important;
    }

    .timeline-container[b-id0mcamswh] {
        padding: 0.75rem 1rem !important;
        gap: 0.75rem !important;
        scrollbar-width: none;
        scroll-behavior: smooth;
    }

    .timeline-container[b-id0mcamswh]::-webkit-scrollbar {
        display: none;
    }

    /* Boutons full width */
    .section-navigation[b-id0mcamswh] {
        align-items: center !important;
        justify-content: center !important;
        padding: 1rem !important;
    }

    .section-navigation .btn[b-id0mcamswh] {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100%;
        justify-content: center;
    }
}

/* _content/Spectrometre/Components/Pages/Evaluations/SocioPro.razor.rz.scp.css */
/* Page wrapper */
.socio-pro-page[b-4b4g96ra0s] {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Header */
.header-socio-pro[b-4b4g96ra0s] {
    /* Couleurs app: primary -> orange */
    background: linear-gradient(135deg, var(--bs-primary) 0%, var(--gscv-orange) 100%);
    border-radius: 16px;
    padding: 1.5rem;
    color: white;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
    margin-bottom: 1.25rem;
}

.header-title-row[b-4b4g96ra0s] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-icon[b-4b4g96ra0s] {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.header-title[b-4b4g96ra0s] {
    margin: 0;
    font-weight: 800;
    font-size: 1.75rem;
    line-height: 1.15;
}

.header-subtitle[b-4b4g96ra0s] {
    margin-top: 0.25rem;
    opacity: 0.9;
    font-size: 0.95rem;
}

/* Timeline Navigation (repris de /evaluations/profil, simplifié) */
.timeline-navigation[b-4b4g96ra0s] {
    position: sticky;
    top: 0;
    z-index: 90;
    background: white;
    border-radius: 16px;
    padding: 1rem 0.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.timeline-container[b-4b4g96ra0s] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    padding: 0 0.75rem;
    gap: 0.5rem;
}

.timeline-item[b-4b4g96ra0s] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .timeline-item:hover[b-4b4g96ra0s] {
        transform: translateY(-2px);
    }

.timeline-marker[b-4b4g96ra0s] {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 0.5rem;
    transition: all 0.2s ease;
    background: #f1f5f9;
    color: #94a3b8;
    border: 2px solid #e2e8f0;
}

.timeline-item.active .timeline-marker[b-4b4g96ra0s] {
    background: linear-gradient(135deg, var(--bs-primary) 0%, hsl(18, 80%, 54%) 100%);
    color: white;
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(234, 119, 61, 0.25);
}

.timeline-item.completed .timeline-marker[b-4b4g96ra0s] {
    background: #10b981;
    border-color: #10b981;
    color: white;
}

.timeline-number[b-4b4g96ra0s] {
    font-size: 1.05rem;
}

.timeline-label[b-4b4g96ra0s] {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--muted-foreground);
    text-align: center;
    max-width: 120px;
}

.timeline-item.active .timeline-label[b-4b4g96ra0s] {
    color: var(--bs-primary);
}

.timeline-item.completed .timeline-label[b-4b4g96ra0s] {
    color: #10b981;
}

.timeline-connector[b-4b4g96ra0s] {
    position: absolute;
    top: 24px;
    left: calc(50% + 24px);
    width: calc(100% - 48px);
    height: 2px;
    background: #e2e8f0;
    z-index: -1;
}

.timeline-item.completed .timeline-connector[b-4b4g96ra0s] {
    background: #10b981;
}

.timeline-item:last-child .timeline-connector[b-4b4g96ra0s] {
    display: none;
}

/* Sections */
.socio-section[b-4b4g96ra0s] {
    animation: fadeIn-b-4b4g96ra0s 0.25s ease;
}

@keyframes fadeIn-b-4b4g96ra0s {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.instruction-card[b-4b4g96ra0s] {
    background: linear-gradient(135deg, rgba(52, 95, 109, 0.10) 0%, rgba(234, 119, 61, 0.10) 100%);
    border: 2px solid rgba(234, 119, 61, 0.35);
    border-radius: 16px;
    padding: 1.25rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.instruction-title[b-4b4g96ra0s] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.instruction-text[b-4b4g96ra0s] {
    margin: 0;
    color: rgba(15, 23, 42, 0.85);
}

.pill[b-4b4g96ra0s] {
    display: inline-block;
    background: rgba(255,255,255,0.9);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 999px;
    padding: 0.15rem 0.6rem;
    margin-left: 0.25rem;
    font-weight: 700;
}

.section-card[b-4b4g96ra0s] {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.section-header[b-4b4g96ra0s] {
    padding: 1.1rem 1.25rem;
    color: white;
}

.section-header-row[b-4b4g96ra0s] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

    .section-header-row h2[b-4b4g96ra0s] {
        margin: 0;
        font-size: 1.15rem;
        font-weight: 800;
    }

.gradient-a[b-4b4g96ra0s] {
    background: linear-gradient(90deg, var(--bs-primary) 0%, var(--gscv-orange) 100%);
}

.gradient-b[b-4b4g96ra0s] {
    background: linear-gradient(90deg, var(--gscv-teal) 0%, var(--bs-primary) 100%);
}

.section-body[b-4b4g96ra0s] {
    padding: 1.25rem;
}

.subsection[b-4b4g96ra0s] {
    margin-bottom: 1rem;
}

.subsection-title[b-4b4g96ra0s] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.badge-section[b-4b4g96ra0s] {
    width: 42px;
    height: 28px;
    border-radius: 10px;
    background: rgba(52, 95, 109, 0.10);
    color: var(--bs-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.badge-pink[b-4b4g96ra0s] {
    background: rgba(234, 119, 61, 0.12);
    color: var(--gscv-orange);
}

.badge-blue[b-4b4g96ra0s] {
    background: rgba(20, 184, 166, 0.12);
    color: var(--gscv-teal);
}

.subsection-muted[b-4b4g96ra0s] {
    background: rgba(234, 119, 61, 0.06);
    border: 1px solid rgba(234, 119, 61, 0.20);
    border-radius: 14px;
    padding: 1rem;
}

.subsection-note[b-4b4g96ra0s] {
    background: rgba(52, 95, 109, 0.06);
    border: 1px solid rgba(52, 95, 109, 0.20);
    border-radius: 14px;
    padding: 1rem;
}

.note-text[b-4b4g96ra0s] {
    color: var(--muted-foreground);
    font-style: italic;
    font-size: 0.9rem;
}

.context-card[b-4b4g96ra0s] {
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    padding: 1rem;
}

.context-current[b-4b4g96ra0s] {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.10) 0%, rgba(52, 95, 109, 0.06) 100%);
    border-color: rgba(20, 184, 166, 0.25);
}

.context-wanted[b-4b4g96ra0s] {
    background: linear-gradient(135deg, rgba(90, 42, 48, 0.10) 0%, rgba(20, 184, 166, 0.08) 100%);
    border-color: rgba(90, 42, 48, 0.25);
}

.context-title[b-4b4g96ra0s] {
    font-weight: 800;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Progress */
.progress-card[b-4b4g96ra0s] {
    background: linear-gradient(135deg, rgba(52, 95, 109, 0.10) 0%, rgba(234, 119, 61, 0.10) 100%);
    border: 2px solid rgba(52, 95, 109, 0.25);
    border-radius: 16px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.progress-title[b-4b4g96ra0s] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 900;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.stat-card[b-4b4g96ra0s] {
    background: white;
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    padding: 1rem;
}

.stat-label[b-4b4g96ra0s] {
    font-weight: 800;
    color: rgba(15, 23, 42, 0.75);
}

.stat-value[b-4b4g96ra0s] {
    font-weight: 900;
    font-size: 1.75rem;
    color: var(--bs-primary);
}

/* Actions */
.actions-row[b-4b4g96ra0s] {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.btn-validate[b-4b4g96ra0s] {
    background: linear-gradient(135deg, var(--bs-primary) 0%, hsl(18, 80%, 54%) 100%);
    border: none;
}

/* Navigation buttons (repris de Profil) */
.section-navigation[b-4b4g96ra0s] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.25rem;
    padding: 1rem;
    border-top: 1px solid #e2e8f0;
    gap: 1rem;
}

.btn-next-section[b-4b4g96ra0s],
.btn-prev-section[b-4b4g96ra0s] {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-next-section[b-4b4g96ra0s] {
    background: linear-gradient(135deg, var(--bs-primary) 0%, hsl(18, 80%, 54%) 100%);
    border: none;
    color: white;
    margin-left: auto;
}

/* Responsive */
@media (max-width: 768px) {
    .socio-pro-page[b-4b4g96ra0s] {
        padding: 1rem;
    }

    .header-socio-pro[b-4b4g96ra0s] {
        padding: 1rem;
        max-width:100vw;
    }

    .header-title[b-4b4g96ra0s] {
        font-size: 1.35rem;
    }

    .timeline-navigation[b-4b4g96ra0s] {
        padding: 0.75rem 0.25rem;
    }

    .timeline-container[b-4b4g96ra0s] {
        overflow-x: auto;
        justify-content: flex-start;
        gap: 0.75rem;
        padding: 0.25rem 0.75rem 0.75rem;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: 50%;
    }

    .timeline-item[b-4b4g96ra0s] {
        flex: 0 0 auto;
        min-width: 110px;
        scroll-snap-align: center;
    }

    .timeline-connector[b-4b4g96ra0s] {
        display: none;
    }

    .section-body[b-4b4g96ra0s] {
        padding: 1rem;
    }

    .section-navigation[b-4b4g96ra0s] {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-next-section[b-4b4g96ra0s],
    .btn-prev-section[b-4b4g96ra0s] {
        width: 100%;
        justify-content: center;
        margin-left: 0;
    }

    .actions-row[b-4b4g96ra0s] {
        flex-direction: column;
        align-items: stretch;
    }

        .actions-row .btn[b-4b4g96ra0s] {
            width: 100%;
        }
}

/* Mobile compact (mêmes principes que Profil.razor.css) */
@media (max-width: 600px) {
    .socio-pro-page[b-4b4g96ra0s] {
        padding: 0.75rem !important;
    }

    .header-socio-pro[b-4b4g96ra0s] {
        padding: 1rem !important;
        border-radius: 12px !important;
        margin-bottom: 0.75rem !important;
        max-width: 100vw;
    }

    .section-card[b-4b4g96ra0s],
    .instruction-card[b-4b4g96ra0s],
    .progress-card[b-4b4g96ra0s] {
        border-radius: 12px !important;
        margin-bottom: 0.75rem !important;
        max-width: 100vw;
    }

    .section-body[b-4b4g96ra0s] {
        padding: 1rem !important;
    }

    .timeline-navigation[b-4b4g96ra0s] {
        padding: 1rem !important;
        border-radius: 12px !important;
        /* Taille écran */
        width: calc(100vw - 2rem) !important;
        max-width: none !important;
        box-sizing: border-box !important;
        /* ⭐ STICKY */
        position: sticky !important;
        top: 0 !important; /* Colle en haut à 0px du scroll */
        z-index: 100 !important; /* Passe au-dessus du contenu */
        /* Centre */
        margin-left: auto !important;
        margin-right: auto !important;
        /* ⭐ BONUS: Backdrop pour effet iOS */
        backdrop-filter: blur(10px) !important;
        background: rgba(255, 255, 255, 0.95) !important;
        /* Shadow apparaît au scroll */
        transition: box-shadow 0.3s ease !important;
    }

    .timeline-container[b-4b4g96ra0s] {
        padding: 0.75rem 1rem !important;
        gap: 0.75rem !important;
        scrollbar-width: none;
        scroll-behavior: smooth;
    }

        .timeline-container[b-4b4g96ra0s]::-webkit-scrollbar {
            display: none;
        }

    .section-navigation[b-4b4g96ra0s] {
        align-items: center !important;
        justify-content: center !important;
        margin-top: 2.25rem;
        padding-top: 1rem;
    }

    .btn-next-section[b-4b4g96ra0s],
    .btn-prev-section[b-4b4g96ra0s] {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100%;
        justify-content: center;
    }
}
