/* ============================================================
   Aurora Theme - Style Switcher Component
   ============================================================ */

/* Style Switcher Button */
.aurora-style-switcher {
    position: relative;
}
.aurora-style-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: var(--aurora-radius-xs);
    color: var(--aurora-text-secondary);
    transition: all var(--aurora-transition);
    cursor: pointer;
    border: none;
    background: none;
}
.aurora-style-btn:hover {
    color: var(--aurora-primary);
    background: var(--aurora-primary-light);
}
.aurora-style-btn svg {
    width: 20px;
    height: 20px;
}

/* Style Dropdown */
.aurora-style-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 220px;
    background: var(--aurora-card);
    border: var(--aurora-card-border);
    border-radius: var(--aurora-radius);
    box-shadow: var(--aurora-shadow-lg);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s ease;
    z-index: 200;
}
.aurora-style-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.aurora-style-dropdown-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--aurora-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 12px 4px;
}
.aurora-style-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: var(--aurora-radius-sm);
    cursor: pointer;
    transition: all 0.15s ease;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    font-size: 0.85rem;
    color: var(--aurora-text);
}
.aurora-style-option:hover {
    background: var(--aurora-primary-light);
}
.aurora-style-option.active {
    background: var(--aurora-primary-light);
    color: var(--aurora-primary);
    font-weight: 600;
}
.aurora-style-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 2px solid transparent;
    transition: all 0.15s;
}
.aurora-style-option.active .aurora-style-dot {
    border-color: var(--aurora-primary);
    box-shadow: 0 0 0 2px var(--aurora-card), 0 0 0 4px var(--aurora-primary);
}
.aurora-style-name { flex: 1; }
.aurora-style-check {
    width: 16px;
    height: 16px;
    opacity: 0;
    transition: opacity 0.15s;
}
.aurora-style-option.active .aurora-style-check {
    opacity: 1;
    color: var(--aurora-primary);
}

/* Style-specific dot colors */
.aurora-style-dot[data-style="indigo"] { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.aurora-style-dot[data-style="emerald"] { background: linear-gradient(135deg, #059669, #10b981); }
.aurora-style-dot[data-style="rose"] { background: linear-gradient(135deg, #e11d48, #f43f5e); }
.aurora-style-dot[data-style="amber"] { background: linear-gradient(135deg, #d97706, #f59e0b); }
.aurora-style-dot[data-style="neon"] { background: linear-gradient(135deg, #00f5d4, #7c3aed); }
.aurora-style-dot[data-style="minimal"] { background: linear-gradient(135deg, #171717, #525252); }


/* Neon style dropdown text readability fix */
[data-style=neon] .aurora-style-dropdown {
    background: #16161f;
    border-color: #2a2a3d;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}
[data-style=neon] .aurora-style-option {
    color: #e0e0f0;
}
[data-style=neon] .aurora-style-dropdown-title {
    color: #8888aa;
}
[data-style=neon] .aurora-style-option:hover {
    background: rgba(0,245,212,0.1);
}
