/* ============================================
   HYPHEN TEMPLATE - CSS POUR ELEMENTOR
   Cible spécifiquement .main-content-column
   ============================================ */

/* ============================================
   LAYOUT DE BASE (STRUCTURE SIDEBAR + MAIN)
   ============================================ */
.ib-page-wrapper {
    display: flex !important;
    min-height: 100vh !important;
    background: #F6ECE2 !important;
}

.ib-sidebar-container {
    position: fixed !important;
    left: 0 !important;
    top: 0 !important;
    height: 100vh !important;
    width: 280px !important;
    z-index: 1000 !important;
    background: none !important;
    overflow-y: auto !important;
}

body.sidebar-collapsed .ib-sidebar-container {
    width: 70px !important;
}

.ib-main-content {
    flex: 1 !important;
    margin-left: 280px !important;
    min-height: 100vh !important;
}

body.sidebar-collapsed .ib-main-content {
    margin-left: 70px !important;
}

/* ============================================
   CONTAINER PRINCIPAL HYPHEN
   ============================================ */
.ib-hyphen-inner {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding-top: 60px !important;
    padding-right: 40px !important;
    padding-left: 40px !important;
    padding-bottom: 60px !important;
    overflow: visible !important;
}

/* ============================================
   TYPOGRAPHIE - FONT SYSTÈME (ELEMENTOR CONTENT)
   ULTRA SPÉCIFIQUE POUR ÉCRASER INLINE STYLES
   ============================================ */
.ib-hyphen-inner .main-content-column,
.ib-hyphen-inner .main-content-column *,
.ib-hyphen-inner .elementor-text-editor,
.ib-hyphen-inner .elementor-text-editor *,
.ib-hyphen-inner .elementor-widget-text-editor,
.ib-hyphen-inner .elementor-widget-text-editor *,
.ib-hyphen-inner .elementor-element,
.ib-hyphen-inner .elementor-element *,
.ib-hyphen-inner [data-id],
.ib-hyphen-inner [data-id] *,
.ib-hyphen-inner .elementor-widget,
.ib-hyphen-inner .elementor-widget * {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', sans-serif !important;
}

/* ============================================
   TITRES (DANS ELEMENTOR)
   ============================================ */
.ib-hyphen-inner .main-content-column h1,
.ib-hyphen-inner .elementor-text-editor h1,
.ib-hyphen-inner h1 {
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    margin: 0 0 16px 0 !important;
    line-height: 1.2 !important;
    text-align: center !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', sans-serif !important;
}

.ib-hyphen-inner .main-content-column h2,
.ib-hyphen-inner .elementor-text-editor h2,
.ib-hyphen-inner h2 {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    margin: 32px 0 16px 0 !important;
    line-height: 1.3 !important;
    text-align: left !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', sans-serif !important;
}

.ib-hyphen-inner .main-content-column h3,
.ib-hyphen-inner .elementor-text-editor h3,
.ib-hyphen-inner h3 {
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    color: #2d3748 !important;
    margin: 24px 0 12px 0 !important;
    line-height: 1.4 !important;
    text-align: left !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', sans-serif !important;
}

.ib-hyphen-inner .main-content-column h4,
.ib-hyphen-inner .elementor-text-editor h4,
.ib-hyphen-inner h4 {
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    color: #374151 !important;
    margin: 20px 0 10px 0 !important;
    line-height: 1.4 !important;
    text-align: left !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', sans-serif !important;
}

.ib-hyphen-inner .main-content-column h5,
.ib-hyphen-inner .elementor-text-editor h5,
.ib-hyphen-inner h5 {
    font-size: 1.125rem !important;
    font-weight: 600 !important;
    color: #4a5568 !important;
    margin: 16px 0 8px 0 !important;
    line-height: 1.5 !important;
    text-align: left !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', sans-serif !important;
}

.ib-hyphen-inner .main-content-column h6,
.ib-hyphen-inner .elementor-text-editor h6,
.ib-hyphen-inner h6 {
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: #4a5568 !important;
    margin: 14px 0 6px 0 !important;
    line-height: 1.5 !important;
    text-align: left !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', sans-serif !important;
}

/* ============================================
   PARAGRAPHES - ESPACEMENT AMÉLIORÉ
   CIBLE SPÉCIFIQUEMENT LES WIDGETS ELEMENTOR
   ============================================ */
.ib-hyphen-inner .main-content-column p,
.ib-hyphen-inner .elementor-text-editor p,
.ib-hyphen-inner p,
.ib-hyphen-inner .elementor-widget-text-editor p,
.ib-hyphen-inner .elementor-element p,
.ib-hyphen-inner [data-id] p,
.elementor-element.elementor-widget-text-editor p {
    font-size: 1rem !important;
    color: #4a5568 !important;
    line-height: 1.8 !important;
    margin-bottom: 14px !important;
    text-align: left !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', sans-serif !important;
}

.ib-hyphen-inner .main-content-column p:last-child,
.ib-hyphen-inner .elementor-text-editor p:last-child {
    margin-bottom: 0 !important;
}

/* ============================================
   LISTES - INDENTATION CORRECTE (ULTRA FORCÉ)
   ============================================ */

/* UL - Listes non ordonnées */
.ib-hyphen-inner .main-content-column ul,
.ib-hyphen-inner .elementor-text-editor ul,
.ib-hyphen-inner ul {
    margin: 16px 0 !important;
    padding-left: 40px !important;
    list-style-type: disc !important;
    list-style-position: outside !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', sans-serif !important;
}

/* OL - Listes ordonnées */
.ib-hyphen-inner .main-content-column ol,
.ib-hyphen-inner .elementor-text-editor ol,
.ib-hyphen-inner ol {
    margin: 16px 0 !important;
    padding-left: 40px !important;
    list-style-type: decimal !important;
    list-style-position: outside !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', sans-serif !important;
}

/* Items de liste UL */
.ib-hyphen-inner .main-content-column ul li,
.ib-hyphen-inner .elementor-text-editor ul li,
.ib-hyphen-inner ul li {
    font-size: 1rem !important;
    color: #4a5568 !important;
    line-height: 1.8 !important;
    margin-bottom: 8px !important;
    padding-left: 8px !important;
    display: list-item !important;
    list-style-type: disc !important;
    list-style-position: outside !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', sans-serif !important;
}

/* Items de liste OL */
.ib-hyphen-inner .main-content-column ol li,
.ib-hyphen-inner .elementor-text-editor ol li,
.ib-hyphen-inner ol li {
    font-size: 1rem !important;
    color: #4a5568 !important;
    line-height: 1.8 !important;
    margin-bottom: 8px !important;
    padding-left: 8px !important;
    display: list-item !important;
    list-style-type: decimal !important;
    list-style-position: outside !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', sans-serif !important;
}

.ib-hyphen-inner .main-content-column ul li:last-child,
.ib-hyphen-inner .main-content-column ol li:last-child,
.ib-hyphen-inner .elementor-text-editor ul li:last-child,
.ib-hyphen-inner .elementor-text-editor ol li:last-child {
    margin-bottom: 0 !important;
}

/* Listes imbriquées */
.ib-hyphen-inner .main-content-column ul ul,
.ib-hyphen-inner .main-content-column ol ol,
.ib-hyphen-inner .main-content-column ul ol,
.ib-hyphen-inner .main-content-column ol ul,
.ib-hyphen-inner .elementor-text-editor ul ul,
.ib-hyphen-inner .elementor-text-editor ol ol,
.ib-hyphen-inner .elementor-text-editor ul ol,
.ib-hyphen-inner .elementor-text-editor ol ul {
    margin-top: 12px !important;
    margin-bottom: 12px !important;
    padding-left: 32px !important;
}

.ib-hyphen-inner .main-content-column ul ul,
.ib-hyphen-inner .elementor-text-editor ul ul {
    list-style-type: circle !important;
}

.ib-hyphen-inner .main-content-column ul ul ul,
.ib-hyphen-inner .elementor-text-editor ul ul ul {
    list-style-type: square !important;
}

/* ============================================
   LIENS
   ============================================ */
.ib-hyphen-inner .main-content-column a,
.ib-hyphen-inner .elementor-text-editor a {
    color: #0047FF !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    transition: color 0.2s ease !important;
}

.ib-hyphen-inner .main-content-column a:hover,
.ib-hyphen-inner .elementor-text-editor a:hover {
    color: #3182ce !important;
    text-decoration: underline !important;
}

/* ============================================
   STRONG & EM
   ============================================ */
.ib-hyphen-inner .main-content-column strong,
.ib-hyphen-inner .elementor-text-editor strong {
    color: #1a1a1a !important;
    font-weight: 700 !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', sans-serif !important;
}

.ib-hyphen-inner .main-content-column em,
.ib-hyphen-inner .elementor-text-editor em {
    font-style: italic !important;
    color: #2d3748 !important;
}

/* ============================================
   CODE & PRE
   ============================================ */
.ib-hyphen-inner .main-content-column code,
.ib-hyphen-inner .elementor-text-editor code {
    background: #f7fafc !important;
    color: #e53e3e !important;
    padding: 3px 8px !important;
    border-radius: 4px !important;
    font-size: 0.9em !important;
    font-family: 'Courier New', monospace !important;
}

.ib-hyphen-inner .main-content-column pre,
.ib-hyphen-inner .elementor-text-editor pre {
    background: #f7fafc !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 8px !important;
    padding: 16px !important;
    overflow-x: auto !important;
    margin: 24px 0 !important;
}

.ib-hyphen-inner .main-content-column pre code,
.ib-hyphen-inner .elementor-text-editor pre code {
    background: transparent !important;
    padding: 0 !important;
    color: #1a1a1a !important;
}

/* ============================================
   BLOCKQUOTE
   ============================================ */
.ib-hyphen-inner .main-content-column blockquote,
.ib-hyphen-inner .elementor-text-editor blockquote {
    border-left: 4px solid #4299e1 !important;
    padding-left: 20px !important;
    margin: 28px 0 !important;
    color: #4a5568 !important;
    font-style: italic !important;
    font-size: 1.0625rem !important;
    line-height: 1.7 !important;
}

/* ============================================
   SÉPARATEURS HR
   ============================================ */
.ib-hyphen-inner .main-content-column hr,
.ib-hyphen-inner .elementor-text-editor hr,
.ib-hyphen-inner hr {
    border: none !important;
    border-top: 1px solid #e5e7eb !important;
    margin: 40px 0 !important;
}

/* ============================================
   TABLEAUX
   ============================================ */
.ib-hyphen-inner .main-content-column table,
.ib-hyphen-inner .elementor-text-editor table,
.ib-hyphen-inner table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 32px 0 !important;
    background: transparent !important;
    border: none !important;
}

.ib-hyphen-inner .main-content-column table thead th,
.ib-hyphen-inner .elementor-text-editor table thead th {
    padding: 16px 20px !important;
    text-align: left !important;
    font-size: 0.9375rem !important;
    font-weight: 600 !important;
    color: #6B7280 !important;
    background: transparent !important;
    border: none !important;
    border-bottom: 2px solid #E5E7EB !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', sans-serif !important;
}

.ib-hyphen-inner .main-content-column table tbody tr,
.ib-hyphen-inner .elementor-text-editor table tbody tr {
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid #f3f4f6 !important;
    transition: background 0.2s ease !important;
}

.ib-hyphen-inner .main-content-column table tbody tr:nth-child(odd),
.ib-hyphen-inner .elementor-text-editor table tbody tr:nth-child(odd) {
    background: #F9FAFB !important;
}

.ib-hyphen-inner .main-content-column table tbody tr:hover,
.ib-hyphen-inner .elementor-text-editor table tbody tr:hover {
    background: #F6ECE2 !important;
}

.ib-hyphen-inner .main-content-column table tbody tr:last-child,
.ib-hyphen-inner .elementor-text-editor table tbody tr:last-child {
    border-bottom: none !important;
}

.ib-hyphen-inner .main-content-column table tbody td,
.ib-hyphen-inner .elementor-text-editor table tbody td {
    padding: 16px 20px !important;
    vertical-align: middle !important;
    background: transparent !important;
    border: none !important;
    font-size: 0.9375rem !important;
    color: #374151 !important;
    line-height: 1.6 !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', sans-serif !important;
}

.ib-hyphen-inner .main-content-column table tbody td:first-child,
.ib-hyphen-inner .elementor-text-editor table tbody td:first-child {
    font-weight: 600 !important;
    color: #1a202c !important;
}

/* ============================================
   IMAGES
   ============================================ */
.ib-hyphen-inner .main-content-column img,
.ib-hyphen-inner .elementor-text-editor img,
.ib-hyphen-inner img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 0px !important;
    margin: 24px 0 !important;
}

/* ============================================
   PRELOAD - DÉSACTIVE TRANSITIONS
   ============================================ */
.preload * {
    transition: none !important;
}

/* ============================================
   RESPONSIVE - STRUCTURE DE BASE
   ============================================ */
@media (max-width: 1024px) {
    .ib-main-content {
        margin-left: 0 !important;
    }
    
    .ib-sidebar-container {
        transform: translateX(-100%) !important;
    }
    
    .ib-hyphen-inner {
        max-width: 100% !important;
        padding-right: 32px !important;
        padding-left: 32px !important;
        padding-top: 60px !important;
    }
    
    .ib-hyphen-inner .main-content-column h1,
    .ib-hyphen-inner h1 {
        font-size: 2rem !important;
    }
    
    .ib-hyphen-inner .main-content-column h2,
    .ib-hyphen-inner h2 {
        font-size: 1.5rem !important;
    }
    
    .ib-hyphen-inner .main-content-column h3,
    .ib-hyphen-inner h3 {
        font-size: 1.375rem !important;
    }
}

/* ============================================
   RESPONSIVE - MOBILE
   ============================================ */
@media (max-width: 768px) {
    .ib-hyphen-inner {
        padding-right: 20px !important;
        padding-left: 20px !important;
        padding-top: 84px !important;
        padding-bottom: 40px !important;
    }
    
    .ib-hyphen-inner .main-content-column h1,
    .ib-hyphen-inner h1 {
        font-size: 1.75rem !important;
        margin-bottom: 20px !important;
    }
    
    .ib-hyphen-inner .main-content-column h2,
    .ib-hyphen-inner h2 {
        font-size: 1.5rem !important;
        margin-top: 36px !important;
    }
    
    .ib-hyphen-inner .main-content-column h3,
    .ib-hyphen-inner h3 {
        font-size: 1.25rem !important;
        margin-top: 28px !important;
    }
    
    .ib-hyphen-inner .main-content-column p,
    .ib-hyphen-inner p {
        font-size: 0.9375rem !important;
        margin-bottom: 16px !important;
    }
    
    /* Listes avec moins d'indentation sur mobile */
    .ib-hyphen-inner .main-content-column ul,
    .ib-hyphen-inner .main-content-column ol,
    .ib-hyphen-inner .elementor-text-editor ul,
    .ib-hyphen-inner .elementor-text-editor ol {
        padding-left: 28px !important;
        margin: 20px 0 !important;
    }
    
    .ib-hyphen-inner .main-content-column ul li,
    .ib-hyphen-inner .main-content-column ol li,
    .ib-hyphen-inner .elementor-text-editor ul li,
    .ib-hyphen-inner .elementor-text-editor ol li {
        font-size: 0.9375rem !important;
        margin-bottom: 10px !important;
    }
    
    /* Tableaux responsives */
    .ib-hyphen-inner .main-content-column table thead,
    .ib-hyphen-inner .elementor-text-editor table thead {
        display: none !important;
    }
    
    .ib-hyphen-inner .main-content-column table,
    .ib-hyphen-inner .main-content-column table tbody,
    .ib-hyphen-inner .main-content-column table tr,
    .ib-hyphen-inner .elementor-text-editor table,
    .ib-hyphen-inner .elementor-text-editor table tbody,
    .ib-hyphen-inner .elementor-text-editor table tr {
        display: block !important;
    }
    
    .ib-hyphen-inner .main-content-column table tbody tr,
    .ib-hyphen-inner .elementor-text-editor table tbody tr {
        margin-bottom: 16px !important;
        padding: 16px !important;
        border: 1px solid #e5e7eb !important;
        border-radius: 8px !important;
        background: white !important;
    }
    
    .ib-hyphen-inner .main-content-column table tbody td,
    .ib-hyphen-inner .elementor-text-editor table tbody td {
        display: block !important;
        padding: 8px 0 !important;
        text-align: left !important;
        width: 100% !important;
        border: none !important;
    }
}

@media (max-width: 480px) {
    .ib-hyphen-inner {
        padding-right: 16px !important;
        padding-left: 16px !important;
        padding-top: 80px !important;
    }
    
    .ib-hyphen-inner .main-content-column h1,
    .ib-hyphen-inner h1 {
        font-size: 1.5rem !important;
    }
    
    .ib-hyphen-inner .main-content-column h2,
    .ib-hyphen-inner h2 {
        font-size: 1.375rem !important;
    }
    
    .ib-hyphen-inner .main-content-column h3,
    .ib-hyphen-inner h3 {
        font-size: 1.125rem !important;
    }
    
    .ib-hyphen-inner .main-content-column ul,
    .ib-hyphen-inner .main-content-column ol,
    .ib-hyphen-inner .elementor-text-editor ul,
    .ib-hyphen-inner .elementor-text-editor ol {
        padding-left: 24px !important;
    }
}




/* Forcer le padding et margin du widget Elementor */
.elementor-widget-heading.center-element,
.elementor-element.center-element {
    padding-top: 0 !important;
    margin-top: 6px !important;
}

/* Et le H2 à l'intérieur */
.elementor-widget-heading.center-element h2,
.elementor-element.center-element h2 {
    margin-top: 6px !important;
}
/* ============================================
   MAC RETINA - RÉDUCTION GLOBALE
   ============================================ */
@media only screen 
  and (min-width: 1024px) 
  and (-webkit-min-device-pixel-ratio: 2),
  only screen 
  and (min-width: 1024px) 
  and (min-resolution: 192dpi) {
    
    .ib-hyphen-inner {
        max-width: 1100px !important;
        padding-top: 40px !important;
    }
    
    .ib-hyphen-inner .main-content-column h1,
    .ib-hyphen-inner h1 {
        font-size: 2.25rem !important;
        margin-bottom: 20px !important;
    }
    
 /* FORCE center-element sur Mac - doit être en DERNIER */
    body .ib-hyphen-inner .elementor-widget-heading.center-element,
    body .ib-hyphen-inner .elementor-element.center-element,
    body .elementor-widget-heading.center-element,
    body .elementor-element.center-element {
        padding-top: 0 !important;
        margin-top: 6px !important;
    }
    
    body .ib-hyphen-inner .elementor-widget-heading.center-element h2,
    body .ib-hyphen-inner .elementor-element.center-element h2,
    body .elementor-widget-heading.center-element h2,
    body .elementor-element.center-element h2 {
        margin-top: 6px !important;
    }
	  
    .ib-hyphen-inner .main-content-column h2,
    .ib-hyphen-inner h2 {
        font-size: 1.5rem !important;
        margin-top: 40px !important;
        margin-bottom: 18px !important;
    }
    
    .ib-hyphen-inner .main-content-column h3,
    .ib-hyphen-inner h3 {
        font-size: 1.375rem !important;
        margin-top: 32px !important;
        margin-bottom: 14px !important;
    }
    
    .ib-hyphen-inner .main-content-column h4,
    .ib-hyphen-inner h4 {
        font-size: 1.125rem !important;
        margin-top: 24px !important;
        margin-bottom: 12px !important;
    }
    
    .ib-hyphen-inner .main-content-column h5,
    .ib-hyphen-inner h5 {
        font-size: 1rem !important;
    }
    
    .ib-hyphen-inner .main-content-column h6,
    .ib-hyphen-inner h6 {
        font-size: 0.9375rem !important;
    }
    
    .ib-hyphen-inner .main-content-column p,
    .ib-hyphen-inner p {
        font-size: 0.9375rem !important;
        line-height: 1.7 !important;
        margin-bottom: 18px !important;
    }
    
    .ib-hyphen-inner .main-content-column ul,
    .ib-hyphen-inner .main-content-column ol,
    .ib-hyphen-inner .elementor-text-editor ul,
    .ib-hyphen-inner .elementor-text-editor ol {
        margin: 20px 0 !important;
        padding-left: 36px !important;
    }
    
    .ib-hyphen-inner .main-content-column ul li,
    .ib-hyphen-inner .main-content-column ol li,
    .ib-hyphen-inner .elementor-text-editor ul li,
    .ib-hyphen-inner .elementor-text-editor ol li {
        font-size: 0.9375rem !important;
        margin-bottom: 10px !important;
    }
    
    .ib-hyphen-inner .main-content-column table,
    .ib-hyphen-inner .elementor-text-editor table {
        margin: 28px 0 !important;
    }
    
    .ib-hyphen-inner .main-content-column table thead th,
    .ib-hyphen-inner .elementor-text-editor table thead th {
        padding: 14px 18px !important;
        font-size: 0.875rem !important;
    }
    
    .ib-hyphen-inner .main-content-column table tbody td,
    .ib-hyphen-inner .elementor-text-editor table tbody td {
        padding: 14px 18px !important;
        font-size: 0.875rem !important;
    }
    
    .ib-hyphen-inner hr {
        margin: 36px 0 !important;
    }
    
    .ib-hyphen-inner .main-content-column blockquote,
    .ib-hyphen-inner .elementor-text-editor blockquote {
        font-size: 1rem !important;
        margin: 24px 0 !important;
    }
}

/* ============================================
   CLASSES UTILITAIRES - CENTRAGE MANUEL
   ============================================ */
/* Pour centrer un élément spécifique, ajoute la classe "center-element" dans Elementor */
.ib-hyphen-inner .center-element,
.ib-hyphen-inner .center-element p,
.ib-hyphen-inner .center-element h2 {
    text-align: center !important;
    max-width: 900px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* ============================================
   LANGUAGE SELECTOR - MÊME STYLE QUE PROVIDERS
   ============================================ */
.language-selector-container {
    margin-bottom: 30px !important;
    display: flex !important;
    justify-content: center !important;
}

.language-selector-dropdown {
    width: 100% !important;
    max-width: 500px !important;
    position: relative !important;
}

/* Bouton principal du dropdown */
.language-selector-dropdown-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding: 14px 20px !important;
    background: #F6ECE2 !important;
    border: 1px solid #dedfe1 !important;
    border-radius: 12px !important;
    color: #1a202c !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

.language-selector-dropdown-btn:hover {
    border-color: #D1D5DB !important;
    background: #e8ecf3 !important;
}

/* Icône chevron */
.language-selector-dropdown-btn::after {
    content: '' !important;
    width: 16px !important;
    height: 16px !important;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23374151' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center !important;
    background-size: contain !important;
    transition: transform 0.3s ease !important;
}

.language-selector-dropdown-btn.active::after {
    transform: rotate(180deg) !important;
}

/* Liste déroulante - EXACTEMENT COMME PROVIDERS */
.language-selector-dropdown-list {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    left: 0 !important;
    right: 0 !important;
    background: #fff !important;
    border: 1px solid #E5E7EB !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
    max-height: 320px !important;
    overflow-y: auto !important;
    z-index: 100 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-10px) !important;
    transition: all 0.3s ease !important;
    padding: 8px !important;
}

.language-selector-dropdown-list.active {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}


/* ============================================
   LANGUAGE SELECTOR - LIENS COMME BOUTONS
   ============================================ */

/* FORCER LE STYLE DE BASE - ÉCRASER TOUS LES STYLES DE LIENS */
.language-selector-dropdown-list a.language-selector-item,
.language-selector-dropdown-list a.language-selector-item:link,
.language-selector-dropdown-list a.language-selector-item:visited {
    display: block !important;
    width: 100% !important;
    padding: 12px 16px !important;
    background: transparent !important;
    border: none !important;
    color: #6B7280 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    text-align: left !important;
    transition: all 0.2s ease !important;
    margin-bottom: 2px !important;
    text-decoration: none !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

/* HOVER */
.language-selector-dropdown-list a.language-selector-item:hover {
    background: #F6ECE2 !important;
    color: #374151 !important;
    text-decoration: none !important;
}

/* ACTIVE / FOCUS */
.language-selector-dropdown-list a.language-selector-item:active,
.language-selector-dropdown-list a.language-selector-item:focus {
    color: #6B7280 !important;
    text-decoration: none !important;
    outline: none !important;
}

/* ITEM ACTIF (avec classe .active) */
.language-selector-dropdown-list a.language-selector-item.active {
    background: #F6ECE2 !important;
    color: #1a202c !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}



.language-selector-dropdown-list::-webkit-scrollbar {
    width: 4px !important;
}

.language-selector-dropdown-list::-webkit-scrollbar-track {
    background: transparent !important;
}

.language-selector-dropdown-list::-webkit-scrollbar-thumb {
    background: #D1D5DB !important;
    border-radius: 10px !important;
}

.language-selector-dropdown-list::-webkit-scrollbar-thumb:hover {
    background: #9CA3AF !important;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .language-selector-container {
        margin-bottom: 20px !important;
    }
    
    .language-selector-dropdown {
        max-width: 100% !important;
    }
}
