/* switcher.css - corrigé */
.style-switcher {
    position: fixed;
    right: 0;
    top: 60px;
    padding: 15px;
    width: 200px;
    border: 1px solid var(--bg-black-50);
    background: var(--bg-black-100);
    z-index: 101;
    border-radius: 5px;
    transition: transform 0.35s ease, opacity 0.25s ease;
    transform: translateX(100%);
    opacity: 0;
    pointer-events: none;
}

/* quand on ajoute la classe "open" sur .style-switcher */
.style-switcher.open {
    transform: translateX(-25px); /* laisse le rond du toggler visible */
    opacity: 1;
    pointer-events: auto;
}

/* icônes / boutons */
.style-switcher .s-icon {
    position: absolute;
    height: 40px;
    width: 40px;
    text-align: center;
    font-size: 20px;
    background: var(--bg-black-100);
    color: var(--text-black-900);
    right: 100%;
    border: 1px solid var(--bg-black-50);
    margin-right: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50%;
}
.style-switcher .s-icon i {
    line-height: 40px;
}

/* positions spécifiques */
.style-switcher-toggler {
    top: 0;
}
.style-switcher .day-night {
    top: 55px;
}

/* titres et couleurs */
.style-switcher h4 {
    margin: 0 0 10px;
    color: var(--text-black-700);
    font-size: 16px;
    font-weight: 600;
    text-transform: capitalize;
}
.style-switcher .colors {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 6px;
}
.style-switcher .colors span {
    display: inline-block;
    height: 30px;
    width: 30px;
    border-radius: 50%;
    border: 0.5px solid rgba(0,0,0,0.12);
    cursor: pointer;
    transition: transform 0.18s ease;
}
.style-switcher .colors span:active,
.style-switcher .colors span:focus {
    transform: scale(0.95);
}

/* couleurs visuelles (gardez ou adaptez selon vos fichiers color-*.css) */
.style-switcher .color-1 { background: rgb(180, 11, 11); }
.style-switcher .color-2 { background: #fa5b0f; }
.style-switcher .color-3 { background: #37b182; }
.style-switcher .color-4 { background: #1854b4; }
.style-switcher .color-5 { background: #f021b2; }
