/* 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-gradient-start: #3b3b3b;
    --button-gradient-end: #000000;
    --button-text: #ffffff;
    --error-text: #ff4444;
    --breathing-color: rgba(255, 255, 255, 0.1);
}

: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-gradient-start: #d6d6d6;
    --button-gradient-end: #adadad;
    --button-text: #262626;
    --error-text: #cc0000;
    --breathing-color: rgba(0, 0, 0, 0.1);
}

.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);
    animation: breathe 4s ease-in-out infinite;
}

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

@keyframes breathe {
    0% {
        box-shadow: 0 0 0 0 var(--breathing-color);
    }
    50% {
        box-shadow: 0 0 20px 10px var(--breathing-color);
    }
    100% {
        box-shadow: 0 0 0 0 var(--breathing-color);
    }
} 