/* ==============================================================================
   JobCompass AI – Liquid Glass iOS 27 Design System
   ============================================================================== */

:root {
  --bg-base: #060913;
  --bg-gradient: radial-gradient(circle at 50% 0%, #152238 0%, #060913 70%);
  --glass-bg: rgba(18, 26, 44, 0.65);
  --glass-bg-hover: rgba(28, 40, 66, 0.75);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-highlight: rgba(255, 255, 255, 0.16);
  --glass-blur: blur(24px);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --accent-cyan: #06b6d4;
  --accent-blue: #3b82f6;
  --accent-purple: #a855f7;
  --accent-rose: #f43f5e;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  --shadow-glow-cyan: 0 0 20px rgba(6, 182, 212, 0.25);
  --shadow-glow-rose: 0 0 20px rgba(244, 63, 94, 0.25);

  --font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-family);
  background: var(--bg-base);
  background-image: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.5;
  padding-bottom: 80px;
}

/* App Container */
.app-container {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  padding: 16px;
}

/* Header & Glass Topbar */
.glass-header {
  position: sticky;
  top: 12px;
  z-index: 100;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 14px 20px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-glass);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-glow-cyan);
}

.brand-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #ffffff 0%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-sub {
  font-size: 11px;
  color: var(--text-secondary);
}

/* Profile Selector Switcher */
.profile-switcher {
  display: flex;
  background: rgba(0, 0, 0, 0.4);
  padding: 4px;
  border-radius: var(--radius-full);
  border: 1px solid var(--glass-border);
  gap: 4px;
}

.profile-btn {
  flex: 1;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
}

.profile-btn:hover {
  color: var(--text-primary);
}

.profile-btn.active-kim {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.3), rgba(59, 130, 246, 0.3));
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.4);
  box-shadow: var(--shadow-glow-cyan);
}

.profile-btn.active-leon {
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.3), rgba(168, 85, 247, 0.3));
  color: #fb7185;
  border: 1px solid rgba(251, 113, 133, 0.4);
  box-shadow: var(--shadow-glow-rose);
}

.profile-btn.active-custom {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 1px solid var(--glass-border-highlight);
}

/* Navigation Tabs */
.nav-segmented {
  display: flex;
  overflow-x: auto;
  gap: 8px;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.nav-segmented::-webkit-scrollbar {
  display: none;
}

.nav-pill {
  flex-shrink: 0;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-pill:hover {
  background: var(--glass-bg-hover);
  color: var(--text-primary);
}

.nav-pill.active {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
  border-color: var(--glass-border-highlight);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Glass Card */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-glass);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.card-title {
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-subtitle {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* Sliders & Dimensions Control */
.dimension-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 16px;
}

@media (min-width: 640px) {
  .dimension-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.dimension-box {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 14px;
}

.dim-label-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}

.dim-val {
  color: var(--accent-cyan);
  font-weight: 700;
}

.dim-slider {
  width: 100%;
  accent-color: var(--accent-cyan);
  cursor: pointer;
}

.dim-desc {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 6px;
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  color: #ffffff;
  border: none;
  border-radius: var(--radius-full);
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.45);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--glass-border-highlight);
}

.btn-rose {
  background: linear-gradient(135deg, var(--accent-rose), var(--accent-purple));
  color: #ffffff;
  border: none;
  border-radius: var(--radius-full);
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(244, 63, 94, 0.3);
}

/* Match Cards */
.job-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-glass);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.job-card:hover {
  border-color: var(--glass-border-highlight);
  transform: translateY(-2px);
}

.job-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.job-score-badge {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
  font-size: 16px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.job-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.job-category-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}

.job-desc {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 14px;
  line-height: 1.6;
}

.job-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.job-pill {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 11px;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 5px;
}

.job-highlight-box {
  background: rgba(6, 182, 212, 0.06);
  border-left: 3px solid var(--accent-cyan);
  padding: 10px 14px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 12px;
  color: #bae6fd;
  margin-bottom: 12px;
}

.job-highlight-box.rose {
  background: rgba(244, 63, 94, 0.06);
  border-left-color: var(--accent-rose);
  color: #fecdd3;
}

.job-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: #0f172a;
  border: 1px solid var(--glass-border-highlight);
  border-radius: var(--radius-lg);
  max-width: 650px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--text-primary);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

/* Chat & Coach UI */
.chat-window {
  display: flex;
  flex-direction: column;
  height: 480px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-bubble {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 13px;
  line-height: 1.5;
  word-break: break-word;
}

.chat-bubble.user {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  color: #ffffff;
  border-bottom-right-radius: 4px;
}

.chat-bubble.assistant {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  border-bottom-left-radius: 4px;
}

.chat-chips-bar {
  display: flex;
  gap: 6px;
  padding: 8px 12px;
  overflow-x: auto;
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.chat-chip {
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--glass-border);
  font-size: 11px;
  color: var(--text-secondary);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s ease;
}

.chat-chip:hover {
  background: rgba(6, 182, 212, 0.2);
  color: var(--accent-cyan);
}

.chat-input-bar {
  display: flex;
  padding: 10px;
  background: rgba(0, 0, 0, 0.4);
  border-top: 1px solid var(--glass-border);
  gap: 8px;
}

.chat-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  padding: 10px 16px;
  color: var(--text-primary);
  font-size: 13px;
  outline: none;
}

.chat-input:focus {
  border-color: var(--accent-cyan);
}

/* Leon Safe Space Cards */
.reentry-step {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  background: rgba(244, 63, 94, 0.04);
  border: 1px solid rgba(244, 63, 94, 0.15);
  border-radius: var(--radius-md);
  padding: 16px;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-rose), var(--accent-purple));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
}

/* Toast Notifications */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border-highlight);
  color: var(--text-primary);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999;
  opacity: 0;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Helper Markdown in Modal & Chat */
.md-content h1, .md-content h2, .md-content h3 {
  margin: 14px 0 8px 0;
  color: #38bdf8;
}
.md-content p {
  margin-bottom: 10px;
}
.md-content ul, .md-content ol {
  margin-left: 20px;
  margin-bottom: 10px;
}
.md-content li {
  margin-bottom: 4px;
}
.md-content strong {
  color: #ffffff;
}

/* ==============================================================================
   Minigames & Interactive Styling (Game Arena)
   ============================================================================== */

.game-nav-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

@media (max-width: 600px) {
  .game-nav-cards {
    grid-template-columns: 1fr;
  }
}

.game-select-card {
  background: rgba(18, 26, 44, 0.6);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 14px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: center;
}

.game-select-card:hover {
  background: rgba(28, 40, 66, 0.8);
  border-color: var(--glass-border-highlight);
  transform: translateY(-2px);
}

.game-select-card.active {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.25), rgba(59, 130, 246, 0.25));
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-glow-cyan);
}

.game-select-card .g-icon {
  font-size: 26px;
  margin-bottom: 6px;
}

.game-select-card .g-title {
  font-weight: 700;
  font-size: 14px;
  color: #ffffff;
}

.game-select-card .g-desc {
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 4px;
  line-height: 1.3;
}

/* Battery Meter */
.battery-meter-wrap {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-bottom: 20px;
}

.battery-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.battery-bar-outer {
  width: 100%;
  height: 12px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

.battery-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #f43f5e 0%, #f59e0b 35%, #06b6d4 70%, #10b981 100%);
  border-radius: var(--radius-full);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
}

/* Swipe Stage */
.swipe-stage {
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
  margin: 10px 0 24px 0;
}

.interactive-card {
  width: 100%;
  max-width: 440px;
  background: linear-gradient(145deg, rgba(23, 33, 56, 0.95), rgba(12, 18, 32, 0.95));
  border: 1px solid var(--glass-border-highlight);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  text-align: center;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.3s ease;
  position: relative;
  user-select: none;
}

.interactive-card.swipe-left {
  transform: translateX(-150px) rotate(-15deg);
  opacity: 0;
}

.interactive-card.swipe-right {
  transform: translateX(150px) rotate(15deg);
  opacity: 0;
}

.card-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent-cyan);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-big-emoji {
  font-size: 54px;
  margin-bottom: 12px;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
}

.card-headline {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
  line-height: 1.4;
}

.card-subtext {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.card-neuro-hint {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  font-size: 12px;
  color: #bae6fd;
  text-align: left;
}

/* Swipe Actions */
.swipe-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.btn-swipe {
  flex: 1;
  max-width: 220px;
  border: none;
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 700;
  font-size: 13px;
}

.btn-swipe .btn-symbol {
  font-size: 24px;
}

.btn-swipe .btn-hint {
  font-size: 10px;
  font-weight: 500;
  opacity: 0.75;
}

.btn-drain {
  background: rgba(244, 63, 94, 0.15);
  border: 1px solid rgba(244, 63, 94, 0.35);
  color: #fda4af;
}

.btn-drain:hover {
  background: rgba(244, 63, 94, 0.3);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-rose);
}

.btn-charge {
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.35);
  color: #67e8f9;
}

.btn-charge:hover {
  background: rgba(6, 182, 212, 0.3);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-cyan);
}

/* Subgame 2: Reaction Scenarios */
.scenario-box {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.scenario-alert-badge {
  display: inline-block;
  background: rgba(245, 158, 11, 0.2);
  color: var(--accent-amber);
  border: 1px solid rgba(245, 158, 11, 0.4);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.scenario-title {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.scenario-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.scenario-options-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 640px) {
  .scenario-options-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.scenario-opt-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: left;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.scenario-opt-btn:hover {
  background: rgba(6, 182, 212, 0.15);
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
}

.scenario-opt-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.scenario-opt-text strong {
  display: block;
  font-size: 14px;
  color: #ffffff;
  margin-bottom: 4px;
}

.scenario-opt-text span {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Subgame 3: Crafting Workbench */
.crafting-workbench {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 14px;
}

.craft-slot {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 16px;
}

.slot-title {
  font-size: 13px;
  font-weight: 700;
  color: #38bdf8;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.slot-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip-slot {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.chip-slot:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.chip-slot.active {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.3), rgba(59, 130, 246, 0.3));
  border-color: var(--accent-cyan);
  color: #38bdf8;
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.35);
}

.pill-counter {
  font-size: 12px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.btn-text-link {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 12px;
  cursor: pointer;
  text-decoration: underline;
  transition: color 0.2s;
}

.btn-text-link:hover {
  color: #ffffff;
}

.hidden {
  display: none !important;
}

/* Spin animation */
.spin {
  display: inline-block;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

/* Filter row */
.filter-row {
  display: flex;
  gap: 12px;
}

@media (max-width: 600px) {
  .filter-row {
    flex-direction: column;
  }
}

.search-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  padding: 10px 18px;
  color: var(--text-primary);
  font-size: 13px;
  outline: none;
}

.search-input:focus {
  border-color: var(--accent-cyan);
}

.filter-select {
  background: rgba(18, 26, 44, 0.9);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  padding: 10px 16px;
  color: var(--text-primary);
  font-size: 13px;
  outline: none;
}
