/**
 * ============================================
 * THEME SWITCHER COMPONENT STYLES
 * BrainDump MVP - Warm Vault Compatible
 * ============================================
 * 
 * @version 4.0.0
 * @date 2025-12-09
 */

/* ============================================
   CONTAINER
   ============================================ */

.theme-switcher {
  position: fixed;
  bottom: var(--spacing-lg, 24px);
  right: var(--spacing-lg, 24px);
  
  z-index: var(--z-dropdown, 1000);
}

/* ============================================
   TRIGGER BUTTON
   ============================================ */

.theme-switcher-trigger {
  width: 48px;
  height: 48px;
  
  display: flex;
  align-items: center;
  justify-content: center;
  
  background: var(--color-bg-elevated, #1a1a1a);
  border: 1px solid var(--color-border, rgba(230, 184, 125, 0.3));
  border-radius: var(--radius-full, 50%);
  
  font-size: 24px;
  
  cursor: pointer;
  
  box-shadow: var(--shadow-lg, 0 10px 30px rgba(0, 0, 0, 0.4));
  
  transition: all 0.2s ease;
}

.theme-switcher-trigger:hover {
  transform: scale(1.1);
  border-color: var(--color-primary, #E6B87D);
  box-shadow: 0 0 20px rgba(230, 184, 125, 0.3);
}

.theme-switcher-trigger:active {
  transform: scale(0.95);
}

/* ============================================
   MENU
   ============================================ */

.theme-menu {
  position: absolute;
  bottom: 60px;
  right: 0;
  
  min-width: 220px;
  
  background: var(--color-bg-elevated, #1a1a1a);
  border: 1px solid var(--color-border, rgba(230, 184, 125, 0.2));
  border-radius: var(--radius-lg, 12px);
  
  box-shadow: var(--shadow-xl, 0 20px 60px rgba(0, 0, 0, 0.5));
  
  overflow: hidden;
  
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.95);
  
  transition: all 0.2s ease;
}

.theme-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* ============================================
   MENU HEADER
   ============================================ */

.theme-menu-header {
  padding: var(--spacing-sm, 8px) var(--spacing-md, 16px);
  border-bottom: 1px solid var(--color-border, rgba(230, 184, 125, 0.1));
}

.theme-menu-title {
  font-size: var(--font-size-xs, 12px);
  font-weight: 600;
  color: var(--color-text-muted, #666);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ============================================
   THEME OPTIONS
   ============================================ */

.theme-option {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm, 8px);
  
  padding: var(--spacing-sm, 8px) var(--spacing-md, 16px);
  
  cursor: pointer;
  
  transition: background 0.2s ease;
}

.theme-option:hover {
  background: rgba(230, 184, 125, 0.1);
}

.theme-option.active {
  background: rgba(230, 184, 125, 0.15);
}

/* Theme Icon Preview */
.theme-icon {
  width: 32px;
  height: 32px;
  
  border-radius: var(--radius-md, 8px);
  
  flex-shrink: 0;
}

/* NEW THEMES - Expert Panel Recommendations */
.theme-icon.theme-neon-coral,
.theme-neon-coral {
  background: linear-gradient(135deg, #FF6B6B 0%, #E85555 100%);
}

.theme-icon.theme-electric-violet,
.theme-electric-violet {
  background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
}

.theme-icon.theme-superhuman-blue,
.theme-superhuman-blue {
  background: linear-gradient(135deg, #0068B1 0%, #004C8C 100%);
}

/* LEGACY THEMES */
.theme-icon.theme-warm-vault,
.theme-warm-vault {
  background: linear-gradient(135deg, #E6B87D 0%, #D48C44 100%);
}

.theme-icon.theme-purple,
.theme-purple {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.theme-icon.theme-material,
.theme-material {
  background: linear-gradient(135deg, #1a73e8 0%, #4285f4 100%);
}

/* Menu Divider */
.theme-menu-divider {
  height: 1px;
  background: var(--color-border, rgba(255, 255, 255, 0.1));
  margin: var(--spacing-xs, 4px) 0;
}

/* Theme Info */
.theme-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.theme-name {
  font-size: var(--font-size-sm, 14px);
  font-weight: 600;
  color: var(--color-text, #ffffff);
}

.theme-description {
  font-size: var(--font-size-xs, 12px);
  color: var(--color-text-muted, #666);
}

/* Check Mark */
.theme-check {
  font-size: 16px;
  color: var(--color-primary, #E6B87D);
  font-weight: bold;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 640px) {
  .theme-switcher {
    bottom: var(--spacing-md, 16px);
    right: var(--spacing-md, 16px);
  }
  
  .theme-switcher-trigger {
    width: 44px;
    height: 44px;
    font-size: 20px;
  }
  
  .theme-menu {
    min-width: 200px;
    right: 0;
  }
}
