/* 
 * fluXive OS: Solar Protocol (v1.0)
 * Mandatory Celestial Sync & Theme Standards
 */

:root {
    /* DEFAULT: DARK MODE (LUNAR) */
    --fx-bg: #030308;
    --fx-bg-alt: #0a0a14;
    --fx-text: #ffffff;
    --fx-text-dim: rgba(255, 255, 255, 0.6);
    --fx-glass: rgba(10, 10, 20, 0.6);
    --fx-border: rgba(255, 255, 255, 0.08);
    --fx-border-bright: rgba(255, 255, 255, 0.15);

    /* CORE ACCENTS */
    --neon-cyan: #00f3ff;
    --neon-blue: #0066ff;
    --neon-purple: #8b5cf6;

    --transition-speed: 0.5s;
}

[data-theme="light"] {
    --fx-bg: #f8fafc;
    --fx-bg-alt: #f1f5f9;
    --fx-text: #0f172a;
    --fx-text-dim: rgba(15, 23, 42, 0.7);
    --fx-glass: rgba(255, 255, 255, 0.8);
    --fx-border: rgba(0, 0, 0, 0.08);
    --fx-border-bright: rgba(0, 0, 0, 0.12);
}

/* CELESTIAL TOGGLE STYLES */
.solar-toggle-fab {
    position: fixed;
    top: 15px;
    right: 200px;
    /* Adjust to stay clear of other header items */
    z-index: 1001;
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--fx-glass);
    border: 1px solid var(--fx-border);
    backdrop-filter: blur(8px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.solar-toggle-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px var(--neon-blue);
    border-color: var(--neon-blue);
}

.solar-toggle-fab svg {
    width: 20px;
    height: 20px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* REFRACTIVE GLASS WAVE TRANSITION */
.theme-wave {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    background: radial-gradient(circle at center, var(--neon-blue) 0%, transparent 70%);
    opacity: 0;
}

@keyframes wave-expand {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        opacity: 0.3;
    }

    100% {
        transform: scale(4);
        opacity: 0;
    }
}

.theme-wave.active {
    animation: wave-expand 0.8s ease-out;
}

/* THEME SPECIFIC OVERRIDES */
body {
    background-color: var(--fx-bg);
    color: var(--fx-text);
    transition: background-color var(--transition-speed), color var(--transition-speed);
}

.glass-panel {
    background: var(--fx-glass) !important;
    border: 1px solid var(--fx-border) !important;
}