/* themes.css */
:root[data-theme="dark"] {
    --text-primary: rgba(255, 255, 255, 0.95);
    --text-secondary: rgba(255, 255, 255, 0.7);
    --bg-overlay: rgba(0, 0, 0, 0.45);
    --input-bg: rgba(30, 30, 30, 0.7);
    --input-border: rgba(255, 255, 255, 0.2);
    --button-bg: rgba(255, 255, 255, 0.15);
    --button-hover: rgba(255, 255, 255, 0.25);
    --error-text: #ff4444;
}

:root[data-theme="light"] {
    --text-primary: rgba(0, 0, 0, 0.9);
    --text-secondary: rgba(0, 0, 0, 0.7);
    --bg-overlay: rgba(255, 255, 255, 0.45);
    --input-bg: rgba(255, 255, 255, 0.7);
    --input-border: rgba(0, 0, 0, 0.2);
    --button-bg: rgba(0, 0, 0, 0.15);
    --button-hover: rgba(0, 0, 0, 0.25);
    --error-text: #cc0000;
}

.theme-toggle {
    position: fixed;
    top: 1rem;
    right: 1rem;
    background: var(--bg-overlay);
    border: none;
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.theme-toggle:hover {
    transform: scale(1.1);
}