/* ELITE WHITE-PURPLE DESIGN SYSTEM - NAMESPACE .set- */
.set-wrapper {
  margin-left: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  color: #fff;
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
}

.set-glass {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* HEADER */
.set-header { display: flex; justify-content: space-between; align-items: center; padding: 24px 32px; }
.set-title { margin: 0; font-size: 28px; font-weight: 800; letter-spacing: 1px; background: linear-gradient(135deg, #fff, #c084fc); -webkit-background-clip: text; -webkit-text-fill-color: transparent; text-transform: uppercase; }
.set-subtitle { margin: 4px 0 0; color: #a1a1aa; font-size: 14px; }
.set-header-right { display: flex; gap: 12px; align-items: center; }

/* SEARCH & BUTTONS */
.set-search-box { display: flex; align-items: center; gap: 12px; background: rgba(0,0,0,0.4); padding: 10px 16px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.1); transition: border-color 0.3s; width: 250px; }
.set-search-box:focus-within { border-color: #c084fc; box-shadow: 0 0 10px rgba(168,85,247,0.2); }
.set-search-box i { color: #a1a1aa; }
.set-search-box input { background: transparent; border: none; color: #fff; width: 100%; outline: none; font-family: 'Inter'; font-size: 13px; }

.set-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; border-radius: 8px; font-weight: 700; font-size: 12px; cursor: pointer; transition: all 0.3s; border: none; font-family: 'Inter'; text-transform: uppercase; letter-spacing: 0.5px; }
.set-btn-primary { background: #a855f7; color: #fff; }
.set-btn-primary:hover { background: #c084fc; box-shadow: 0 0 20px rgba(168,85,247,0.4); }
.set-btn-outline { background: rgba(255,255,255,0.05); color: #fff; border: 1px solid rgba(255,255,255,0.2); }
.set-btn-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.set-btn-danger { background: rgba(239,83,80,0.1); color: #ef5350; border: 1px solid rgba(239,83,80,0.4); }
.set-btn-danger:hover { background: #ef5350; color: #fff; box-shadow: 0 0 20px rgba(239,83,80,0.4); }

/* LAYOUT */
.set-layout { display: flex; gap: 24px; flex: 1; min-height: 0; }
.set-sidebar { width: 240px; padding: 24px 16px; display: flex; flex-direction: column; }
.set-main { flex: 1; padding: 32px 48px; overflow-y: auto; position: relative; }

/* SIDEBAR NAV */
.set-nav { display: flex; flex-direction: column; gap: 4px; }
.set-tab-btn { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: transparent; border: none; color: #a1a1aa; font-family: 'Inter'; font-size: 14px; font-weight: 600; text-align: left; border-radius: 8px; cursor: pointer; transition: all 0.3s; }
.set-tab-btn:hover { color: #fff; background: rgba(255,255,255,0.05); }
.set-tab-btn.active { color: #fff; background: rgba(168,85,247,0.15); box-shadow: inset 3px 0 0 #c084fc; }
.set-tab-btn i { width: 16px; text-align: center; }
.set-nav-divider { height: 1px; background: rgba(255,255,255,0.1); margin: 12px 0; }

/* MAIN CONTENT PANES */
.set-pane { display: none; animation: setFadeIn 0.3s ease-out forwards; }
.set-pane.active { display: block; }
.set-pane-title { margin: 0 0 32px; font-size: 24px; font-weight: 800; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 16px; }

/* SECTIONS & ROWS */
.set-section { margin-bottom: 40px; }
.set-section-title { font-size: 14px; font-weight: 700; color: #c084fc; text-transform: uppercase; letter-spacing: 1px; margin: 0 0 16px; }
.set-row { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.05); transition: background 0.3s; }
.set-row:hover { background: rgba(255,255,255,0.02); }
.set-row.highlight { animation: setHighlight 2s; }
.set-row-info h4 { margin: 0 0 4px; font-size: 15px; font-weight: 600; }
.set-row-info p { margin: 0; font-size: 13px; color: #a1a1aa; }

/* THEME PICKER */
.set-theme-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px; margin-bottom: 24px; }
.set-theme-card { background: rgba(0,0,0,0.3); border: 2px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 8px; cursor: pointer; transition: all 0.3s; }
.set-theme-card:hover { border-color: rgba(255,255,255,0.3); transform: translateY(-2px); }
.set-theme-card.active { border-color: #c084fc; box-shadow: 0 0 15px rgba(168,85,247,0.3); }
.set-theme-preview { height: 80px; border-radius: 6px; margin-bottom: 12px; border: 1px solid rgba(255,255,255,0.05); }
.set-theme-name { text-align: center; font-size: 12px; font-weight: 600; color: #e4e4e7; }

/* INPUTS, SELECTS, TOGGLES */
.set-select, .set-input { background: rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.2); color: #fff; padding: 10px 16px; border-radius: 8px; outline: none; font-family: 'Inter'; font-size: 13px; cursor: pointer; min-width: 200px; transition: border-color 0.3s; }
.set-select:focus, .set-input:focus { border-color: #c084fc; }

.set-toggle { position: relative; display: inline-block; width: 44px; height: 24px; flex-shrink: 0; }
.set-toggle input { opacity: 0; width: 0; height: 0; }
.set-slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(255,255,255,0.1); transition: .4s; border-radius: 24px; }
.set-slider:before { position: absolute; content: ""; height: 18px; width: 18px; left: 3px; bottom: 3px; background-color: white; transition: .4s; border-radius: 50%; }
.set-toggle input:checked + .set-slider { background-color: #c084fc; box-shadow: 0 0 10px rgba(168,85,247,0.5); }
.set-toggle input:checked + .set-slider:before { transform: translateX(20px); }

.set-range { -webkit-appearance: none; width: 200px; height: 6px; background: rgba(255,255,255,0.1); border-radius: 3px; outline: none; }
.set-range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 16px; height: 16px; border-radius: 50%; background: #c084fc; cursor: pointer; box-shadow: 0 0 10px rgba(168,85,247,0.5); }

/* SHORTCUTS */
.set-sc-key { background: rgba(255,255,255,0.1); padding: 4px 10px; border-radius: 6px; font-family: monospace; font-size: 12px; font-weight: 700; color: #06b6d4; border: 1px solid rgba(255,255,255,0.2); }

/* MODALS */
.set-modal { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0,0,0,0.8); backdrop-filter: blur(8px); display: none; justify-content: center; align-items: center; z-index: 2000; }
.set-modal.active { display: flex; animation: setFadeIn 0.2s forwards; }
.set-modal-card { width: 100%; max-width: 400px; padding: 24px; position: relative; }
.set-modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 16px; }
.set-btn-close { background: transparent; border: none; color: #a1a1aa; font-size: 20px; cursor: pointer; transition: color 0.3s; }
.set-btn-close:hover { color: #ef5350; }
.set-sc-recorder { height: 80px; display: flex; justify-content: center; align-items: center; border: 2px dashed rgba(168,85,247,0.5); border-radius: 12px; font-family: monospace; font-size: 24px; color: #c084fc; background: rgba(168,85,247,0.05); animation: setPulseBorder 1.5s infinite; }

/* ANIMATIONS */
@keyframes setFadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes setHighlight { 0% { background: rgba(168,85,247,0.3); } 100% { background: transparent; } }
@keyframes setPulseBorder { 0% { border-color: rgba(168,85,247,0.3); } 50% { border-color: rgba(168,85,247,1); } 100% { border-color: rgba(168,85,247,0.3); } }