/* Theme Selector - Component Specific Styles */
/* Note: Core dropdown/tooltip styles are in dropdown.css */

/* Theme Selector Button */
.theme-selector-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding: 0 1rem;
    height: 2rem;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.2s ease;
    background-color: var(--bg-secondary);
    color: var(--text-secondary);
}

.theme-selector-btn:hover {
    background-color: var(--hover-bg);
    color: var(--text-primary);
}

.theme-selector-btn .material-symbols-outlined {
    font-size: 1.2rem;
}

/* Theme-Specific Option Overrides */
/* Theme options need button-specific styles since they're <button> elements */
.theme-selector .dropdown-option {
    width: 100%;
    border: none;
    background: transparent;
    text-align: left;
}

.theme-selector .dropdown-option .material-symbols-outlined {
    font-size: 1rem;
    min-width: 1rem;
}

.theme-name {
    font-size: 0.875rem;
}

/* Mobile responsive */
@media screen and (max-width: 768px) {
    .theme-selector-btn {
        width: 1.75rem;
        height: 1.75rem;
        padding: 0;
    }

    .theme-selector-btn .theme-name {
        display: none;
    }
    
    .theme-selector-btn .material-symbols-outlined {
        font-size: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .theme-selector-btn {
        width: 1.75rem;
        height: 1.75rem;
    }
    
    .theme-selector-btn .material-symbols-outlined {
        font-size: 0.875rem;
    }
}

/* ========================================
   LIGHTMODE OVERRIDES
   ======================================== */

/* --bg-secondary (#fff) on --bg-mono (#fff) header is invisible;
   subtle shadow gives definition without a hard edge */
.lightmode .theme-selector-btn {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
}
