/* Custom Styles for Cyber Club */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Mobile: hide staff detail panel */
@media (max-width: 768px) {
    #staff-detail { display: none !important; }
    /* Center staff photos within cards */
    #staff .staff-item .rounded-2xl > .text-center {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    #staff .staff-item .relative {
        margin-left: auto;
        margin-right: auto;
    }
    #staff .staff-item img {
        display: block;
        margin: 0 auto;
        object-position: center center;
    }

    /* Staff section: horizontal scroll on mobile - UN SEUL à la fois */
    section#staff div.grid {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        gap: 1rem !important;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 1rem;
        grid-template-columns: none !important;
        scroll-behavior: smooth;
    }
    
    section#staff div.grid > div.staff-item {
        flex: 0 0 calc(100vw - 3rem) !important;
        min-width: calc(100vw - 3rem) !important;
        max-width: calc(100vw - 3rem) !important;
        scroll-snap-align: center;
    }
    
    /* Indicateur de swipe pour le staff */
    section#staff > div::after {
        content: "← Swipez pour voir les autres membres →";
        display: block;
        text-align: center;
        margin-top: 1rem;
        font-size: 0.875rem;
        color: #94a3b8;
        font-weight: 600;
        animation: pulse 2s ease-in-out infinite;
    }
    
    @keyframes pulse {
        0%, 100% { opacity: 0.6; }
        50% { opacity: 1; }
    }

    /* Galerie: afficher seulement 4 photos sur mobile */
    section#galerie div.grid > div:nth-child(n+5) {
        display: none !important;
    }
    
    section#galerie div.grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Événements à venir: format compact sur 1 ligne SANS scroll */
    section#evenements > div > div.grid.gap-4 {
        display: flex !important;
        flex-direction: row !important;
        overflow: hidden !important;
        gap: 0.5rem !important;
        scroll-snap-type: none;
        padding-bottom: 0;
        grid-template-columns: none !important;
        justify-content: space-between;
    }
    
    section#evenements > div > div.grid.gap-4 > div {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        max-width: none !important;
        padding: 0.75rem 0.5rem !important;
        scroll-snap-align: none;
    }
    
    section#evenements > div > div.grid.gap-4 > div .text-3xl {
        font-size: 1rem !important;
        margin-bottom: 0.25rem !important;
    }
    
    section#evenements > div > div.grid.gap-4 > div .text-xl {
        font-size: 0.75rem !important;
    }
    
    section#evenements > div > div.grid.gap-4 > div .text-sm {
        font-size: 0.7rem !important;
    }

    /* Modal d'inscription: taille réduite et empêcher scroll */
    #eventRegisterModal .max-w-lg {
        max-width: 95vw !important;
        max-height: 90vh !important;
    }
    
    #eventRegisterModal .max-h-\[75vh\] {
        max-height: calc(90vh - 120px) !important;
        overflow-y: auto !important;
    }
    
    /* Réduire tous les éléments du modal */
    #eventRegisterModal h2 {
        font-size: 1.25rem !important;
        margin-bottom: 0.25rem !important;
    }
    
    #eventRegisterModal p {
        font-size: 0.75rem !important;
        margin-top: 0.25rem !important;
    }
    
    #eventRegisterModal .p-6 {
        padding: 0.75rem !important;
    }
    
    #eventRegisterModal .pb-4 {
        padding-bottom: 0.5rem !important;
    }
    
    #eventRegisterModal .pt-2 {
        padding-top: 0.25rem !important;
    }
    
    #eventRegisterModal .mb-4 {
        margin-bottom: 0.5rem !important;
    }
    
    #eventRegisterModal .mb-3 {
        margin-bottom: 0.375rem !important;
    }
    
    #eventRegisterModal .gap-3,
    #eventRegisterModal .gap-4 {
        gap: 0.5rem !important;
    }
    
    #eventRegisterModal .text-2xl {
        font-size: 1.5rem !important;
    }
    
    #eventRegisterModal .text-lg {
        font-size: 0.875rem !important;
    }
    
    #eventRegisterModal .text-sm {
        font-size: 0.7rem !important;
    }
    
    #eventRegisterModal .text-xs {
        font-size: 0.65rem !important;
    }
    
    #eventRegisterModal .py-4 {
        padding-top: 0.75rem !important;
        padding-bottom: 0.75rem !important;
    }
    
    #eventRegisterModal .p-3,
    #eventRegisterModal .p-4 {
        padding: 0.5rem !important;
    }
    
    #eventRegisterModal .space-y-2 > * + * {
        margin-top: 0.25rem !important;
    }
    
    #eventRegisterModal .rounded-xl {
        border-radius: 0.5rem !important;
    }
    
    /* Masquer les sections moins importantes sur mobile */
    #eventRegisterModal .grid.md\\:grid-cols-2 {
        display: none !important;
    }
    
    /* Réduire les emojis */
    #eventRegisterModal .text-2xl:first-child {
        font-size: 1.25rem !important;
        margin-bottom: 0.25rem !important;
    }
    
    /* Compacter les grilles */
    #eventRegisterModal .grid.grid-cols-2 {
        gap: 0.375rem !important;
    }
    
    #eventRegisterModal .grid.grid-cols-2 > div {
        padding: 0.5rem !important;
    }
    
    /* Réduire le header */
    #eventRegisterModal .relative.p-6 {
        padding: 1rem !important;
    }
    
    /* Bouton plus compact */
    #eventRegisterModal button[onclick] {
        padding: 0.75rem !important;
        font-size: 0.875rem !important;
    }
    
    /* Réduire les marges des listes */
    #eventRegisterModal .space-y-2 {
        margin-top: 0.25rem !important;
    }
    
    #eventRegisterModal .mt-3 {
        margin-top: 0.5rem !important;
    }
    
    #eventRegisterModal .mt-1 {
        margin-top: 0.125rem !important;
    }
    
    /* Empêcher le scroll du body quand modal ouvert */
    body.modal-open {
        overflow: hidden !important;
        position: fixed !important;
        width: 100% !important;
        height: 100% !important;
        left: 0 !important;
    }
    
    /* S'assurer que le modal est au-dessus */
    #eventRegisterModal,
    #eventInfoModal {
        position: fixed !important;
        z-index: 9999 !important;
    }

    /* FAQ: s'assurer que les boutons sont cliquables sur iPhone */
    .faq-accordion-btn {
        cursor: pointer !important;
        -webkit-tap-highlight-color: rgba(0,0,0,0);
        -webkit-user-select: none;
        user-select: none;
        touch-action: manipulation !important;
        position: relative;
        z-index: 10;
        pointer-events: auto !important;
    }
    
    .faq-accordion-btn * {
        pointer-events: none !important;
    }
    
    .faq-accordion {
        position: relative;
        z-index: 1;
        pointer-events: auto !important;
    }
    
    section#faq {
        pointer-events: auto !important;
    }
}


body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    overflow-x: hidden;
    font-size: 17px; /* base un peu plus grande qu’un 16px classique */
}

/* Titres avec police gaming (et tailles explicites, +1 cran environ) */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    letter-spacing: 0.5px;
}

h1 { font-size: 2.6rem; line-height: 1.1; }
h2 { font-size: 2.1rem; line-height: 1.15; }
h3 { font-size: 1.7rem; line-height: 1.2; }
h4 { font-size: 1.4rem; line-height: 1.25; }
h5 { font-size: 1.2rem; line-height: 1.3; }
h6 { font-size: 1.05rem; line-height: 1.35; }

/* Override des tailles Tailwind les plus fréquentes (+1 cran global) */
.text-xs { font-size: 0.8rem !important; }
.text-sm { font-size: 0.95rem !important; }
.text-base { font-size: 1.05rem !important; }
.text-lg { font-size: 1.2rem !important; }
.text-xl { font-size: 1.4rem !important; }
.text-2xl { font-size: 1.7rem !important; }
.text-3xl { font-size: 2.1rem !important; }
.text-4xl { font-size: 2.6rem !important; }
.text-5xl { font-size: 3rem !important; }

/* Charte typographique globale */
.heading-page {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 2.3rem;
    line-height: 1.1;
}

.heading-section {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1.9rem;
    line-height: 1.15;
}

.heading-block {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
}

.text-body {
    font-size: 1.05rem;
}

.text-muted {
    font-size: 0.95rem;
    color: #64748b;
}

.label-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: #0f172a;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* =============================================================================
   SECTION AVIS
   ============================================================================= */

/* Styles pour les étoiles */
.star-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    color: #d1d5db;
    transition: all 0.2s ease;
}

.star-btn:hover {
    transform: scale(1.1);
}

.star-btn:focus {
    outline: none;
}

/* Animation des cartes d'avis */
#reviewsList > div {
    animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive pour la section avis */
@media (max-width: 768px) {
    #avis .text-4xl {
        font-size: 2rem !important;
    }
    
    #avis .text-5xl {
        font-size: 2.5rem !important;
    }
    
    #avgRatingNumber {
        font-size: 2.5rem !important;
    }
    
    #avgRatingStars {
        font-size: 1.5rem !important;
    }
    
    #reviewsList {
        grid-template-columns: 1fr !important;
    }
}

/* Section Spacing */
section {
    scroll-margin-top: 80px;
}

/* Navigation Links with glow effect */
.nav-link {
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #0f172a;
    transition: width 0.3s ease;
    transform: translateX(-50%);
    box-shadow: 0 0 10px rgba(15, 23, 42, 0.3);
}

.nav-link:hover::before {
    width: 80%;
}

.nav-link:hover {
    color: #0f172a;
    text-shadow: none;
}

.nav-link.active {
    color: #0f172a;
}

.nav-link.active::before {
    width: 80%;
}

/* Mobile Menu Animation */
#mobileMenu {
    animation: slideDown 0.3s ease-out;
}

/* Style cohérent pour tous les boutons du site */
/* Reset minimal : pas de style global intrusif sur tous les boutons */
button, .btn, [class*="button"] {
    /* styles spécifiques définis par classes dédiées (btn-primary, btn-secondary, etc.) */
}

/* Boutons primaires : contour noir, fond jaune léger, texte noir */
.btn-primary,
.auth-button,
.event-button,
button[type="submit"] {
	background-color: rgba(252, 230, 138, 0.15); /* jaune très léger */
	color: #0f172a; /* texte noir profond */
	border: 2px solid #000000; /* contour noir */
	cursor: pointer;
	box-shadow: none !important;
	outline: none !important;
	transition: none !important;
}

/* Désactiver toute ombre/glow éventuelle héritée sur le contenu du bouton */
.btn-primary *,
.auth-button *,
.event-button *,
button[type="submit"] * {
	box-shadow: none !important;
	text-shadow: none !important;
}

.btn-primary:hover,
.auth-button:hover,
.event-button:hover,
button[type="submit"]:hover {
	background-color: #fde68a; /* jaune plein */
	color: #0f172a;
	border-color: #000000;
	box-shadow: none !important;
	transform: none !important;
}

/* Boutons secondaires (transparent avec bordure bleu nuit) */
.btn-secondary {
    background-color: transparent;
    color: #0f172a;
    border: 2px solid #0f172a;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btn-secondary::before {
    display: none !important;
}

.btn-secondary:hover {
    background-color: #0f172a;
    color: #fde68a;
    border-color: #0f172a;
}

/* Boutons de filtre (galerie) */
.filter-btn {
    background-color: #f3f4f6;
    color: #6b7280;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background-color: #e5e7eb;
    color: #0f172a;
}

.filter-btn.active {
    background-color: #fde68a;
    color: #0f172a;
    border-color: #0f172a;
}

/* Boutons de retour */
.back-btn {
    background-color: #ffffff;
    color: #0f172a;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background-color: #0f172a;
    color: #fde68a;
    border-color: #0f172a;
}

/* Menu items (mon-compte) */
.menu-item {
    background-color: transparent;
    color: #6b7280;
    transition: all 0.3s ease;
}

.menu-item:hover {
    background-color: #f9fafb;
    color: #0f172a;
}

.menu-item.active {
    background-color: #fde68a;
    color: #0f172a;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom Scrollbar */
/* Pour Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #0f172a #f3f4f6;
}

/* Pour Chrome, Edge, Safari */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f3f4f6;
}

::-webkit-scrollbar-thumb {
    background: #0f172a;
    border-radius: 5px;
    border: 2px solid #f3f4f6;
}

::-webkit-scrollbar-thumb:hover {
    background: #1e293b;
}


/* Responsive Typography */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
}

/* Gallery Lightbox Styles */
#gallery-lightbox {
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#gallery-lightbox.hidden {
    display: none !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Scrollbar pour les miniatures de la galerie */
#gallery-thumbnails::-webkit-scrollbar {
    height: 6px;
}

#gallery-thumbnails::-webkit-scrollbar-track {
    background: rgba(253, 230, 138, 0.1);
    border-radius: 3px;
}

#gallery-thumbnails::-webkit-scrollbar-thumb {
    background: #fde68a;
    border-radius: 3px;
}

#gallery-thumbnails::-webkit-scrollbar-thumb:hover {
    background: #fcd34d;
}

/* Animation pour les boutons de navigation */
#gallery-prev:hover,
#gallery-next:hover {
    background-color: rgba(253, 230, 138, 0.3);
    box-shadow: 0 0 20px rgba(253, 230, 138, 0.4);
}

#gallery-prev:active,
#gallery-next:active {
    transform: translateY(-50%) scale(0.95);
}

/* Style pour l'image de la lightbox */
#gallery-lightbox-image {
    transition: opacity 0.3s ease;
    transform: none !important;
    pointer-events: none;
}

/* Lightbox header elements */
#gallery-counter {
    background-color: rgba(253, 230, 138, 0.15);
    color: #fde68a;
}

#gallery-lightbox-close {
    color: #0f172a;
    background-color: #fde68a;
}

/* Base styles for lightbox navigation buttons */
#gallery-prev,
#gallery-next {
    color: #ffffff; /* ensure arrows (currentColor) are visible */
    border: none;
    background-color: rgba(0, 0, 0, 0.35);
    outline: none;
    -webkit-tap-highlight-color: transparent;
    box-shadow: none;
}

/* Ensure arrow icons are white and crisp */
#gallery-prev svg,
#gallery-next svg {
    stroke: #ffffff !important;
    fill: none !important;
}

/* Desktop-only focus styles for accessibility */
@media (hover: hover) and (pointer: fine) {
    #gallery-lightbox-close:focus-visible,
    #gallery-prev:focus-visible,
    #gallery-next:focus-visible {
        outline: 3px solid #fde68a;
        outline-offset: 3px;
        box-shadow: 0 0 0 4px rgba(253, 230, 138, 0.35);
    }
}


/* Responsive pour la lightbox */
@media (max-width: 768px) {
    /* Move buttons below the photo */
    #gallery-prev,
    #gallery-next {
        padding: 0.875rem; /* bigger touch target */
        top: auto !important;
        bottom: calc(env(safe-area-inset-bottom, 0) + 2rem) !important; /* a bit higher */
        transform: none !important;
        background-color: #fde68a !important; /* yellow button */
        border-radius: 9999px;
        z-index: 20;
        color: #0f172a !important; /* black arrows */
        box-shadow: 0 8px 24px rgba(0,0,0,0.25) !important;
    }
    /* Position: roughly quarter left/right under the image */
    #gallery-prev { left: 25% !important; right: auto !important; }
    #gallery-next { right: 25% !important; left: auto !important; }
    
    #gallery-prev svg,
    #gallery-next svg {
        width: 1.75rem;
        height: 1.75rem;
        stroke: #0f172a !important; /* black stroke on mobile */
    }
    
    #gallery-thumbnails {
        display: none; /* Masquer les miniatures sur mobile */
    }
    
    #gallery-lightbox .px-20 {
        padding-left: 3rem;
        padding-right: 3rem;
    }
    
    #gallery-lightbox-image {
        border: none !important;
        box-shadow: none !important;
    }

    /* Mobile: keep buttons centered, just ensure no borders/highlights */
    #gallery-prev,
    #gallery-next {
        border: none !important;
        -webkit-tap-highlight-color: transparent;
        outline: none;
        color: #ffffff !important;
        display: inline-flex !important; /* keep arrows visible */
        align-items: center;
        justify-content: center;
        width: auto;
        height: auto;
        box-shadow: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    /* Remove tap highlight and outlines across lightbox on mobile */
    #gallery-lightbox,
    #gallery-lightbox * {
        -webkit-tap-highlight-color: transparent;
    }
    #gallery-lightbox:focus,
    #gallery-lightbox *:focus {
        outline: none !important;
    }
}

@media (max-width: 640px) {
    #gallery-lightbox .px-20 {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Footer Links Hover */
.footer-link:hover {
    color: #fde68a !important;
}

/* Staff Cards Hover Effect */
.staff-item .rounded-2xl:hover:not(.selected-card) {
    border-color: #fde68a !important;
    background-color: #fffbeb !important;
}

.staff-item .rounded-2xl {
    transition: all 0.3s ease !important;
}

/* Selected Card Style */
.staff-item .rounded-2xl.selected-card {
    background-color: #fde68a !important;
    border-color: #000000 !important;
}

/* Parallax Background Effect - Fixed */
.parallax-bg {
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* ========================================
   NAVIGATION TRANSITIONS MODERNES 2026
   ======================================== */

/* View Transitions API Support */
@view-transition {
    navigation: auto;
}

/* Transition de page fluide */
::view-transition-old(root),
::view-transition-new(root) {
    animation-duration: 0.4s;
    animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

::view-transition-old(root) {
    animation-name: fade-out-scale;
}

::view-transition-new(root) {
    animation-name: fade-in-scale;
}

@keyframes fade-out-scale {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0.98);
    }
}

@keyframes fade-in-scale {
    from {
        opacity: 0;
        transform: scale(1.02);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Bouton retour moderne avec effet magnétique */
.back-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.back-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #323B4A;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.back-btn:hover::before {
    opacity: 1;
}

.back-btn:hover {
    color: #fde68a !important;
    border-color: #323B4A !important;
    box-shadow: 0 10px 25px rgba(50, 59, 74, 0.3);
}

.back-btn svg {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.back-btn:hover svg {
    transform: translateX(-3px);
}

.back-btn span,
.back-btn svg {
    position: relative;
    z-index: 1;
}

/* Boutons de filtre avec hover bleu */
.filter-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: #e5e7eb;
    color: #0f172a;
}

.filter-btn.active {
    background-color: #0f172a;
    color: #fde68a;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.2);
}

.filter-btn:hover {
    background-color: #323B4A;
    color: #fde68a;
    box-shadow: 0 4px 12px rgba(50, 59, 74, 0.3);
}

.filter-btn:hover * {
    color: #fde68a;
}

/* Effet de chargement pour les transitions */
.page-transition-loading {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #fde68a 50%, 
        transparent 100%);
    background-size: 200% 100%;
    animation: loading-bar 1s ease-in-out infinite;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
}

.page-transition-loading.active {
    opacity: 1;
}

/* Masquer la barre de chargement quand la lightbox est ouverte */
#gallery-lightbox:not(.hidden) ~ .page-transition-loading {
    display: none;
}

@keyframes loading-bar {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Hover prononcé pour les items du dropdown utilisateur */
.dropdown-item {
    display: flex !important;
}

.dropdown-item:hover {
    background-color: #fde68a !important;
    color: #0f172a !important;
    padding-left: 1.25rem !important;
}

.dropdown-item:first-child {
    border-radius: 0.5rem 0.5rem 0 0;
}

.dropdown-item-logout {
    display: flex !important;
    text-align: left !important;
    border-radius: 0 0 0.5rem 0.5rem;
}

.dropdown-item-logout:hover {
    background-color: rgba(220, 38, 38, 0.15) !important;
    color: #dc2626 !important;
    padding-left: 1.25rem !important;
}

/* Hover jaune pour le bouton utilisateur */
#userMenuBtn:hover {
    background-color: #fde68a !important;
    color: #0f172a !important;
}

/* Animation d'entrée pour les éléments de galerie */
@keyframes gallery-item-enter {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.gallery-item-animated {
    animation: gallery-item-enter 0.5s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

.gallery-item-animated:nth-child(1) { animation-delay: 0.05s; }
.gallery-item-animated:nth-child(2) { animation-delay: 0.1s; }
.gallery-item-animated:nth-child(3) { animation-delay: 0.15s; }
.gallery-item-animated:nth-child(4) { animation-delay: 0.2s; }
.gallery-item-animated:nth-child(5) { animation-delay: 0.25s; }
.gallery-item-animated:nth-child(6) { animation-delay: 0.3s; }
.gallery-item-animated:nth-child(7) { animation-delay: 0.35s; }
.gallery-item-animated:nth-child(8) { animation-delay: 0.4s; }

/* ========================================
   STYLES PAGE MON COMPTE
   ======================================== */

/* Menu items de la sidebar */
.menu-item {
    color: #64748b;
    background-color: transparent;
}

.menu-item.active {
    background-color: #fde68a;
    color: #0f172a;
}

.menu-item:hover:not(.active) {
    background-color: #f1f5f9;
    color: #0f172a;
}

/* Sections de contenu */
.content-section {
    animation: fadeInUp 0.4s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Inputs avec focus jaune */
input:focus,
textarea:focus,
select:focus {
    border-color: #fde68a !important;
    box-shadow: 0 0 0 3px rgba(253, 230, 138, 0.2) !important;
}

/* Boutons de la page compte - géré par .btn-primary */

/* Avatar avec initiales */
#userInitials {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

