/**
 * Theme Switcher Styles
 * Styling for theme toggle buttons
 */

.theme-switcher-buttons {
    display: inline-flex;
    gap: 0.5rem;
    padding: 0.5rem;
    background-color: var(--neutral-100, #f3f4f6);
    border-radius: 0.5rem;
    border: 1px solid var(--border, #e5e7eb);
}

html[data-theme="dark"] .theme-switcher-buttons,
html.dark .theme-switcher-buttons {
    background-color: var(--neutral-800, #1f2937);
    border-color: var(--border, #334155);
}

.theme-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: transparent;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-2, #6b7280);
    transition: all 0.2s ease;
}

html[data-theme="dark"] .theme-btn,
html.dark .theme-btn {
    color: var(--text-2, #cbd5e1);
}

.theme-btn:hover {
    background-color: var(--neutral-200, #e5e7eb);
    color: var(--text-1, #111827);
}

html[data-theme="dark"] .theme-btn:hover,
html.dark .theme-btn:hover {
    background-color: var(--neutral-700, #374151);
    color: var(--text-1, #f1f5f9);
}

.theme-btn.active {
    background-color: var(--bg-secondary, #ffffff);
    color: var(--text-1, #111827);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

html[data-theme="dark"] .theme-btn.active,
html.dark .theme-btn.active {
    background-color: var(--surface, #1e293b);
    color: var(--text-1, #f1f5f9);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.3);
}

.theme-icon {
    display: inline-block;
    flex-shrink: 0;
}

/* Responsive: Stack on mobile */
@media (max-width: 640px) {
    .theme-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
    }
    
    .theme-btn .theme-icon {
        width: 16px;
        height: 16px;
    }
}

/* Alternative: Icon-only version */
.theme-switcher-buttons.icon-only .theme-btn {
    padding: 0.5rem;
    width: 2.5rem;
    height: 2.5rem;
    justify-content: center;
}

.theme-switcher-buttons.icon-only .theme-btn span {
    display: none;
}

.theme-switcher-buttons.icon-only {
    gap: 0.25rem;
}
