/* ========================================
   SÉLECTEUR DE COULEURS - FIXE DANS LE MENU PRINCIPAL
   ======================================== */

.color-switcher {
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: center;
    margin-left: auto;
    padding-left: 20px;
}

/* Boutons de couleur - PETITS */
.color-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
   /* border: 2px solid #e0e0e0;*/
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.color-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
    border-color: #999;
}

.color-btn.active {
    border-color: #333;
    box-shadow: 0 0 0 3px rgba(74, 93, 199, 0.2);
    transform: scale(1.1);
}

/* Check mark pour le bouton actif */
.color-btn.active::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Les 5 couleurs */
.color-btn[data-color="blue"] {
    background: linear-gradient(135deg, #4a5dc7 0%, #3a4db7 100%);
}

.color-btn[data-color="green"] {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.color-btn[data-color="orange"] {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.color-btn[data-color="red"] {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.color-btn[data-color="black"] {
    background: linear-gradient(135deg, #1f2937 0%, #6b7893 100%);
	border: 2px solid #474c55;
}

.color-btn[data-color="purple"] {
    background: linear-gradient(135deg, #9b42bf 0%, #7e22a0 100%);
}

/* Responsive - Sur mobile */
@media (max-width: 992px) {
    .color-switcher {
        padding-left: 15px;
        gap: 6px;
        margin-left: 0;
        padding-right: 10px;
    }
    
    .color-btn {
        width: 24px;
        height: 24px;
        border-width: 2px;
    }
    
    .color-btn.active::after {
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .color-switcher {
        gap: 5px;
        padding-left: 10px;
    }
    
    .color-btn {
        width: 22px;
        height: 22px;
    }
}

/* ========================================
   THÈMES DE COULEURS - LOGO BAR
   ======================================== */

/* Bleu (défaut) */
body[data-theme="blue"] .logo-bar {
    background: linear-gradient(135deg, #4a5dc7 0%, #6366c3 100%);
}

body[data-theme="blue"] .main-navigation ul.mod-menu > li > a:hover,
body[data-theme="blue"] .main-navigation ul.mod-menu > li.active > a {
    color: #4a5dc7;
}

/* Style pour le menu sélectionné - Bleu */
body[data-theme="blue"] .main-navigation ul.mod-menu > li.selected.active > a,
body[data-theme="blue"] .main-navigation ul.mod-menu > li.selected.current > a,
body[data-theme="blue"] .main-navigation ul.mod-menu > li.selected > a {
    color: #4a5dc7 !important;
}

body[data-theme="blue"] .main-navigation ul.mod-menu > li > a::before {
    background: #4a5dc7;
}

/* Ligne du menu sélectionné - Bleu */
body[data-theme="blue"] .main-navigation ul.mod-menu > li.selected.active > a::before,
body[data-theme="blue"] .main-navigation ul.mod-menu > li.selected.current > a::before,
body[data-theme="blue"] .main-navigation ul.mod-menu > li.selected > a::before {
    background: #4a5dc7 !important;
}

body[data-theme="blue"] .main-navigation ul.mod-menu ul {
    border-top: 3px solid #4a5dc7;
}

body[data-theme="blue"] .main-navigation ul.mod-menu ul li a:hover {
    border-left-color: #4a5dc7;
    color: #4a5dc7;
}

body[data-theme="blue"] .back-to-top-link {
    background: #4a5dc7;
}

body[data-theme="blue"] .social-icons a:hover {
    color: #4a5dc7;
}

body[data-theme="blue"] .search-toggle:hover {
    background: #4a5dc7;
}

/* Vert */
body[data-theme="green"] .logo-bar {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

body[data-theme="green"] .main-navigation ul.mod-menu > li > a:hover,
body[data-theme="green"] .main-navigation ul.mod-menu > li.active > a {
    color: #10b981;
}

/* Style pour le menu sélectionné - Vert */
body[data-theme="green"] .main-navigation ul.mod-menu > li.selected.active > a,
body[data-theme="green"] .main-navigation ul.mod-menu > li.selected.current > a,
body[data-theme="green"] .main-navigation ul.mod-menu > li.selected > a {
    color: #10b981 !important;
}

body[data-theme="green"] .main-navigation ul.mod-menu > li > a::before {
    background: #10b981;
}

/* Ligne du menu sélectionné - Vert */
body[data-theme="green"] .main-navigation ul.mod-menu > li.selected.active > a::before,
body[data-theme="green"] .main-navigation ul.mod-menu > li.selected.current > a::before,
body[data-theme="green"] .main-navigation ul.mod-menu > li.selected > a::before {
    background: #10b981 !important;
}

body[data-theme="green"] .main-navigation ul.mod-menu ul {
    border-top: 3px solid #10b981;
}

body[data-theme="green"] .main-navigation ul.mod-menu ul li a:hover {
    border-left-color: #10b981;
    color: #10b981;
}

body[data-theme="green"] .back-to-top-link {
    background: #10b981;
}

body[data-theme="green"] .social-icons a:hover {
    color: #10b981;
}

body[data-theme="green"] .search-toggle:hover {
    background: #10b981;
}

/* Orange */
body[data-theme="orange"] .logo-bar {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

body[data-theme="orange"] .main-navigation ul.mod-menu > li > a:hover,
body[data-theme="orange"] .main-navigation ul.mod-menu > li.active > a {
    color: #f59e0b;
}

/* Style pour le menu sélectionné - Orange */
body[data-theme="orange"] .main-navigation ul.mod-menu > li.selected.active > a,
body[data-theme="orange"] .main-navigation ul.mod-menu > li.selected.current > a,
body[data-theme="orange"] .main-navigation ul.mod-menu > li.selected > a {
    color: #f59e0b !important;
}

body[data-theme="orange"] .main-navigation ul.mod-menu > li > a::before {
    background: #f59e0b;
}

/* Ligne du menu sélectionné - Orange */
body[data-theme="orange"] .main-navigation ul.mod-menu > li.selected.active > a::before,
body[data-theme="orange"] .main-navigation ul.mod-menu > li.selected.current > a::before,
body[data-theme="orange"] .main-navigation ul.mod-menu > li.selected > a::before {
    background: #f59e0b !important;
}

body[data-theme="orange"] .main-navigation ul.mod-menu ul {
    border-top: 3px solid #f59e0b;
}

body[data-theme="orange"] .main-navigation ul.mod-menu ul li a:hover {
    border-left-color: #f59e0b;
    color: #f59e0b;
}

body[data-theme="orange"] .back-to-top-link {
    background: #f59e0b;
}

body[data-theme="orange"] .social-icons a:hover {
    color: #f59e0b;
}

body[data-theme="orange"] .search-toggle:hover {
    background: #f59e0b;
}

/* Rouge */
body[data-theme="red"] .logo-bar {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

body[data-theme="red"] .main-navigation ul.mod-menu > li > a:hover,
body[data-theme="red"] .main-navigation ul.mod-menu > li.active > a {
    color: #ef4444;
}

/* Style pour le menu sélectionné - Rouge */
body[data-theme="red"] .main-navigation ul.mod-menu > li.selected.active > a,
body[data-theme="red"] .main-navigation ul.mod-menu > li.selected.current > a,
body[data-theme="red"] .main-navigation ul.mod-menu > li.selected > a {
    color: #ef4444 !important;
}

body[data-theme="red"] .main-navigation ul.mod-menu > li > a::before {
    background: #ef4444;
}

/* Ligne du menu sélectionné - Rouge */
body[data-theme="red"] .main-navigation ul.mod-menu > li.selected.active > a::before,
body[data-theme="red"] .main-navigation ul.mod-menu > li.selected.current > a::before,
body[data-theme="red"] .main-navigation ul.mod-menu > li.selected > a::before {
    background: #ef4444 !important;
}

body[data-theme="red"] .main-navigation ul.mod-menu ul {
    border-top: 3px solid #ef4444;
}

body[data-theme="red"] .main-navigation ul.mod-menu ul li a:hover {
    border-left-color: #ef4444;
    color: #ef4444;
}

body[data-theme="red"] .back-to-top-link {
    background: #ef4444;
}

body[data-theme="red"] .social-icons a:hover {
    color: #ef4444;
}

body[data-theme="red"] .search-toggle:hover {
    background: #ef4444;
}

/* Noir */
body[data-theme="black"] .logo-bar {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
}

body[data-theme="black"] .main-navigation ul.mod-menu > li > a:hover,
body[data-theme="black"] .main-navigation ul.mod-menu > li.active > a {
    color: #1f2937;
}

/* Style pour le menu sélectionné - Noir */
body[data-theme="black"] .main-navigation ul.mod-menu > li.selected.active > a,
body[data-theme="black"] .main-navigation ul.mod-menu > li.selected.current > a,
body[data-theme="black"] .main-navigation ul.mod-menu > li.selected > a {
    color: #1f2937 !important;
}

body[data-theme="black"] .main-navigation ul.mod-menu > li > a::before {
    background: #1f2937;
}

/* Ligne du menu sélectionné - Noir */
body[data-theme="black"] .main-navigation ul.mod-menu > li.selected.active > a::before,
body[data-theme="black"] .main-navigation ul.mod-menu > li.selected.current > a::before,
body[data-theme="black"] .main-navigation ul.mod-menu > li.selected > a::before {
    background: #1f2937 !important;
}

body[data-theme="black"] .main-navigation ul.mod-menu ul {
    border-top: 3px solid #1f2937;
}

body[data-theme="black"] .main-navigation ul.mod-menu ul li a:hover {
    border-left-color: #1f2937;
    color: #1f2937;
}

body[data-theme="black"] .back-to-top-link {
    background: #1f2937;
}

body[data-theme="black"] .social-icons a:hover {
    color: #1f2937;
}

body[data-theme="black"] .search-toggle:hover {
    background: #1f2937;
}

/* Violet */
body[data-theme="purple"] .logo-bar {
    background: linear-gradient(135deg, #9b42bf 0%, #7e22a0 100%);
}

body[data-theme="purple"] .main-navigation ul.mod-menu > li > a:hover,
body[data-theme="purple"] .main-navigation ul.mod-menu > li.active > a {
    color: #9b42bf;
}

/* Style pour le menu sélectionné - Violet */
body[data-theme="purple"] .main-navigation ul.mod-menu > li.selected.active > a,
body[data-theme="purple"] .main-navigation ul.mod-menu > li.selected.current > a,
body[data-theme="purple"] .main-navigation ul.mod-menu > li.selected > a {
    color: #9b42bf !important;
}

body[data-theme="purple"] .main-navigation ul.mod-menu > li > a::before {
    background: #9b42bf;
}

/* Ligne du menu sélectionné - Violet */
body[data-theme="purple"] .main-navigation ul.mod-menu > li.selected.active > a::before,
body[data-theme="purple"] .main-navigation ul.mod-menu > li.selected.current > a::before,
body[data-theme="purple"] .main-navigation ul.mod-menu > li.selected > a::before {
    background: #9b42bf !important;
}

body[data-theme="purple"] .main-navigation ul.mod-menu ul {
    border-top: 3px solid #9b42bf;
}

body[data-theme="purple"] .main-navigation ul.mod-menu ul li a:hover {
    border-left-color: #9b42bf;
    color: #9b42bf;
}

body[data-theme="purple"] .back-to-top-link {
    background: #9b42bf;
}

body[data-theme="purple"] .social-icons a:hover {
    color: #9b42bf;
}

body[data-theme="purple"] .search-toggle:hover {
    background: #9b42bf;
}
/* connexion/////////////////*/
.icon-plain {
    color: var(--jabs);
    font-size: 24px;
    text-decoration: none;
    transition: opacity .2s;
	margin:5px;
}
.icon-plain:hover { opacity: 0.7; }

