/* Theme Toggle Button Styles */
#themeToggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--border-color, #e2e8f0);
    background: var(--card-bg, #ffffff);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

#themeToggle:hover {
    border-color: var(--primary, #7c3aed);
    transform: rotate(15deg) scale(1.1);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.theme-icon {
    width: 20px;
    height: 20px;
    stroke: var(--text-primary, #0f172a);
}

.theme-icon.sun {
    display: none;
}

[data-theme="dark"] .theme-icon.sun {
    display: block;
}

[data-theme="dark"] .theme-icon.moon {
    display: none;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    #themeToggle {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
    }
    
    .theme-icon {
        width: 18px;
        height: 18px;
    }
}
