/*
 * --------------------------------------------------------------------------
 * Copyright 2026 VoroDeveloper
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://apache.org
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * --------------------------------------------------------------------------
*/

body {
    margin: 0;
    padding: 0;
}

.theme-switcher {
    position: fixed;
    top: 12px;
    right: 20px;
    z-index: 99999;
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    color: #0f172a;
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid rgba(15, 23, 42, 0.18);
    font-family: system-ui, -apple-system, sans-serif;
    font-size: 13px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.theme-switcher.is-dark {
    background-color: rgba(15, 23, 42, 0.92);
    color: #f8fafc;
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.theme-switcher label {
    color: inherit;
    font-weight: 500;
}

.theme-switcher select {
    background-color: #f1f5f9;
    color: #0f172a;
    border: 1px solid rgba(15, 23, 42, 0.2);
    border-radius: 5px;
    padding: 4px 8px;
    font-size: 13px;
    cursor: pointer;
    outline: none;
}

.theme-switcher.is-dark select {
    background-color: #1e293b;
    color: #f8fafc;
    border-color: rgba(255, 255, 255, 0.2);
}

.theme-switcher select:hover {
    border-color: #0284c7;
}

.theme-switcher.is-dark select:hover {
    border-color: #38bdf8;
}
