/* theme.css - Gestion du thème clair/sombre OPTIMISÉ */

/* ========================================
   LIGHT THEME (par défaut)
======================================== */
html.light {
    background: linear-gradient(135deg, #e0e7ff 0%, #f3e8ff 50%, #fce7f3 100%);
}

/* ========================================
   DARK THEME
======================================== */
html.dark {
    background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%);
}

html.dark .orb {
    opacity: 0.12;
    filter: blur(140px);
}

/* SVG & Info panel */
html.dark .svg-container {
    background: rgba(15, 23, 42, 0.75);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 16px 60px rgba(0, 0, 0, 0.4);
}

html.dark .info-panel {
    background: rgba(30, 41, 59, 0.42);
    border-color: rgba(255, 255, 255, 0.14);
}

html.light .svg-container {
    background: rgba(255, 255, 255, 0.45);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 16px 60px rgba(0, 0, 0, 0.1);
}

html.light .info-panel {
    background: rgba(255, 255, 255, 0.28);
    border-color: rgba(255, 255, 255, 0.35);
}
