/* assets/css/theme_switcher.css */

.theme-panel {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-end;
    font-family: sans-serif;
}

/* Le bouton rond principal */
.theme-toggle {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.3s;
}

.theme-toggle:hover {
    transform: rotate(45deg);
}

/* Le panneau d'options (caché par défaut) */
.theme-options {
    background: white;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    margin-bottom: 15px;
    text-align: center;
    width: 180px;
    
    /* Animation d'apparition */
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: all 0.3s ease;
}

/* Quand le panneau est ouvert */
.theme-panel.open .theme-options {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.theme-options h4 {
    margin: 0 0 10px 0;
    font-size: 0.9rem;
    color: #333;
}

/* Les bulles de couleur */
.theme-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid #eee;
    margin: 0 5px;
    cursor: pointer;
    transition: transform 0.2s, border-color 0.2s;
    display: inline-block;
}

.theme-btn:hover {
    transform: scale(1.1);
}

.theme-btn.active {
    border-color: #333;
    transform: scale(1.2);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}