/* ==========================================================================
   GUÍA MAESTRA: DESARROLLO GUIADO POR IA - ESTILOS PRINCIPALES
   Diseño: Modern Dark / Tech Glassmorphism (Gemini / Stitch Inspired)
   ========================================================================== */

:root {
  --bg-main: #090d16;
  --bg-card: rgba(17, 24, 39, 0.85);
  --bg-card-hover: rgba(30, 41, 59, 0.95);
  --bg-sidebar: #0f172a;
  --bg-input: #1e293b;
  
  --border-color: rgba(51, 65, 85, 0.6);
  --border-focus: #6366f1;
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --accent-gemini: #818cf8;
  --accent-gemini-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
  --accent-stitch: #10b981;
  --accent-aistudio: #38bdf8;
  --accent-supabase: #3ecf8e;
  --accent-warning: #f59e0b;
  --accent-danger: #ef4444;
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -2px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -4px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 25px rgba(99, 102, 241, 0.25);
  
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', Consolas, Monaco, monospace;
}

[data-theme="light"] {
  --bg-main: #f8fafc;
  --bg-card: rgba(255, 255, 255, 0.9);
  --bg-card-hover: #ffffff;
  --bg-sidebar: #ffffff;
  --bg-input: #f1f5f9;
  
  --border-color: #e2e8f0;
  --border-focus: #4f46e5;
  
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  
  --shadow-glow: 0 0 25px rgba(99, 102, 241, 0.15);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */

.app-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(9, 13, 22, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo {
  width: 36px;
  height: 36px;
  background: var(--accent-gemini-gradient);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.4);
}

.brand-title {
  font-size: 1.1rem;
  font-weight: 700;
  background: linear-gradient(to right, #ffffff, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-badge {
  font-size: 0.7rem;
  padding: 0.15rem 0.5rem;
  background: rgba(99, 102, 241, 0.2);
  color: #818cf8;
  border: 1px solid rgba(99, 102, 241, 0.4);
  border-radius: var(--radius-full);
  font-weight: 600;
  text-transform: uppercase;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.gamification-chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid var(--border-color);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
}

.xp-badge {
  color: #fbbf24;
  font-weight: 700;
}

.btn-icon {
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: all 0.2s ease;
}

.btn-icon:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-focus);
  transform: translateY(-1px);
}

/* Reading Progress */
.progress-bar-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.05);
}

.progress-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--accent-gemini-gradient);
  transition: width 0.3s ease;
}

/* ==========================================================================
   APP LAYOUT (SIDEBAR + MAIN)
   ========================================================================== */

.app-layout {
  display: flex;
  flex: 1;
  min-height: calc(100vh - 65px);
}

.sidebar {
  width: 300px;
  background: var(--bg-sidebar);
  border-right: 1px solid var(--border-color);
  padding: 1.25rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.sidebar-section-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  font-weight: 700;
  padding: 0 0.75rem;
  margin-bottom: 0.5rem;
}

.nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.nav-item-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nav-item-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
}

.nav-item-btn.active {
  background: rgba(99, 102, 241, 0.15);
  color: #818cf8;
  border-color: rgba(99, 102, 241, 0.3);
  font-weight: 600;
}

.nav-item-icon {
  font-size: 1.15rem;
  width: 24px;
  text-align: center;
}

.main-content {
  flex: 1;
  padding: 2rem 2.5rem;
  max-width: 1300px;
  margin: 0 auto;
  width: 100%;
}

/* ==========================================================================
   MODULE CARDS & CONTENT
   ========================================================================== */

.module-header {
  margin-bottom: 2rem;
}

.module-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  background: rgba(99, 102, 241, 0.15);
  color: #a5b4fc;
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.module-title {
  font-size: 1.9rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.module-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 900px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.75rem;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.2s ease;
}

.card:hover {
  border-color: rgba(99, 102, 241, 0.3);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 0.75rem;
}

.card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* ==========================================================================
   PIPELINE STEP CARDS
   ========================================================================== */

.pipeline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.pipeline-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.pipeline-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent-gemini-gradient);
  opacity: 0.8;
}

.pipeline-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
  border-color: var(--border-focus);
}

.step-number {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  color: #818cf8;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.step-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   CODE BLOCKS & COPY BUTTONS
   ========================================================================== */

.code-container {
  position: relative;
  background: #0b0f19;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin: 1rem 0;
  overflow: hidden;
}

.code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1rem;
  background: #111827;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.code-content {
  padding: 1rem;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: #e2e8f0;
  line-height: 1.6;
  white-space: pre;
}

.btn-copy {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #f8fafc;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-copy:hover {
  background: rgba(99, 102, 241, 0.3);
  border-color: #818cf8;
}

/* ==========================================================================
   FORMS, INPUTS & GENERATORS
   ========================================================================== */

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-control {
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.65rem 0.9rem;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  outline: none;
  transition: all 0.2s ease;
}

.form-control:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

textarea.form-control {
  min-height: 100px;
  resize: vertical;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--accent-gemini-gradient);
  color: #ffffff;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35);
  transition: all 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--text-muted);
}

/* ==========================================================================
   QUIZ & INTERACTIVE EXERCISES
   ========================================================================== */

.quiz-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.quiz-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.quiz-question {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.quiz-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--bg-input);
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.quiz-option:hover {
  border-color: var(--border-focus);
  background: rgba(99, 102, 241, 0.1);
}

.quiz-option.correct {
  background: rgba(16, 185, 129, 0.2);
  border-color: #10b981;
  color: #34d399;
}

.quiz-option.incorrect {
  background: rgba(239, 68, 68, 0.2);
  border-color: #ef4444;
  color: #f87171;
}

.quiz-feedback {
  margin-top: 0.75rem;
  padding: 0.75rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  line-height: 1.5;
  display: none;
}

.quiz-feedback.show {
  display: block;
}

/* ==========================================================================
   TOAST NOTIFICATIONS
   ========================================================================== */

.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast {
  background: #1e293b;
  color: #f8fafc;
  border: 1px solid #334155;
  border-left: 4px solid var(--accent-gemini);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ==========================================================================
   UI/UX ENHANCEMENTS & PREMIUM FINISHES
   ========================================================================== */

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.6);
}

::-webkit-scrollbar-thumb {
  background: rgba(99, 102, 241, 0.3);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(99, 102, 241, 0.6);
}

/* Card Glow Effect */
.card-highlight {
  border-color: rgba(129, 140, 248, 0.5) !important;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.25) !important;
}

/* Enhanced Buttons */
.btn-primary:active, .btn-secondary:active, .btn-icon:active {
  transform: scale(0.98);
}

.nav-item-btn {
  position: relative;
  overflow: hidden;
}

.nav-item-btn.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--accent-gemini-gradient);
  border-radius: 0 4px 4px 0;
}

/* Badge Enhancements */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.badge-gemini {
  background: rgba(99, 102, 241, 0.15);
  color: #a5b4fc;
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.badge-supabase {
  background: rgba(62, 207, 142, 0.15);
  color: #6ee7b7;
  border: 1px solid rgba(62, 207, 142, 0.3);
}

.badge-stitch {
  background: rgba(56, 189, 248, 0.15);
  color: #7dd3fc;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

/* Code Container Header Accent */
.code-container {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.code-header {
  border-bottom: 1px solid rgba(99, 102, 241, 0.2);
}

/* ==========================================================================
   CATÁLOGO DE 40 ESTILOS FRONTEND PARA GOOGLE STITCH
   ========================================================================== */

.style-category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.category-pill {
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  background: rgba(30, 41, 59, 0.7);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: all 0.2s ease;
}

.category-pill:hover {
  background: rgba(51, 65, 85, 0.8);
  color: var(--text-primary);
  border-color: rgba(99, 102, 241, 0.4);
}

.category-pill.active {
  background: rgba(99, 102, 241, 0.2);
  color: #a5b4fc;
  border-color: #818cf8;
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.25);
}

.styles-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 1.25rem;
}

.style-card {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.style-card:hover {
  transform: translateY(-3px);
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 0 15px rgba(99, 102, 241, 0.15);
}

.style-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}

.style-icon {
  font-size: 1.75rem;
  line-height: 1;
}

.style-number {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-stitch);
  letter-spacing: 0.05em;
  display: block;
}

.style-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 0.1rem;
  line-height: 1.25;
}

.style-category-tag {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  border-radius: var(--radius-full);
  padding: 0.2rem 0.55rem;
  font-size: 0.7rem;
  font-weight: 600;
  white-space: nowrap;
}

.style-desc {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0.75rem 0;
}

.style-details {
  background: rgba(0, 0, 0, 0.25);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  font-size: 0.8rem;
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 1rem;
}

.style-detail-row {
  line-height: 1.45;
}

.style-detail-row strong {
  color: #a5b4fc;
  font-weight: 600;
}

.style-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-top: auto;
}

.btn-style-copy {
  background: rgba(99, 102, 241, 0.15);
  color: #a5b4fc;
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.btn-style-copy:hover {
  background: rgba(99, 102, 241, 0.3);
  color: #ffffff;
  border-color: #818cf8;
}

.btn-style-apply {
  background: rgba(16, 185, 129, 0.15);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.btn-style-apply:hover {
  background: rgba(16, 185, 129, 0.3);
  color: #ffffff;
  border-color: #34d399;
}

/* ==========================================================================
   STYLE CARDS: MINI PREVIEW BOXES & UI SNIPPETS (40 STYLES)
   ========================================================================== */

.style-preview-wrapper {
  margin: 0.85rem 0 0.5rem 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 15, 29, 0.6);
}

.style-preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.3rem 0.6rem;
  background: rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 600;
}

.preview-mode-tag {
  background: rgba(99, 102, 241, 0.15);
  color: #a5b4fc;
  border-radius: 4px;
  padding: 0.1rem 0.4rem;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.style-preview-box {
  height: 110px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem;
  user-select: none;
}

/* Base mini UI card inside preview */
.mini-ui-card {
  width: 100%;
  max-width: 250px;
  position: relative;
  z-index: 2;
  transition: transform 0.2s ease;
}

/* 1. Minimalismo */
.preview-minimalismo {
  background: #0f172a;
}
.min-card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 6px;
  padding: 0.55rem 0.75rem;
}
.min-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
}
.min-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #94a3b8;
}
.min-title {
  font-size: 0.72rem;
  font-weight: 500;
  color: #f8fafc;
  flex: 1;
}
.min-badge {
  font-size: 0.6rem;
  color: #94a3b8;
  border: 1px solid #334155;
  border-radius: 3px;
  padding: 0 0.3rem;
}
.min-body {
  margin: 0.35rem 0;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.min-subtext {
  font-size: 0.65rem;
  color: #64748b;
}
.min-metric {
  font-size: 0.88rem;
  font-weight: 600;
  color: #f8fafc;
}
.min-metric span {
  font-size: 0.6rem;
  color: #94a3b8;
}
.min-btn {
  width: 100%;
  padding: 0.2rem 0;
  background: transparent;
  border: 1px solid #475569;
  border-radius: 4px;
  color: #e2e8f0;
  font-size: 0.65rem;
  cursor: default;
}

/* 2. Glasmorfismo */
.preview-glasmorfismo {
  background: radial-gradient(circle at 10% 20%, #4338ca 0%, #1e1b4b 50%, #090d16 100%);
}
.glass-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(14px);
  pointer-events: none;
}
.glass-orb-1 {
  width: 60px;
  height: 60px;
  background: #ec4899;
  top: 10px;
  left: 20px;
}
.glass-orb-2 {
  width: 70px;
  height: 70px;
  background: #06b6d4;
  bottom: 5px;
  right: 25px;
}
.glass-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  padding: 0.55rem 0.75rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.glass-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.glass-badge {
  font-size: 0.68rem;
  font-weight: 600;
  color: #ffffff;
}
.glass-chip {
  background: rgba(52, 211, 153, 0.25);
  color: #a7f3d0;
  font-size: 0.58rem;
  border-radius: 10px;
  padding: 0.05rem 0.35rem;
  border: 1px solid rgba(52, 211, 153, 0.4);
}
.glass-metric {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0.25rem 0;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
.glass-footer {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.glass-progress-track {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  overflow: hidden;
}
.glass-progress-bar {
  width: 84%;
  height: 100%;
  background: linear-gradient(90deg, #38bdf8, #818cf8);
}
.glass-tag {
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.85);
}

/* 3. Brutalismo */
.preview-brutalismo {
  background: #fde047;
}
.brutal-card {
  background: #ffffff;
  border: 3px solid #000000;
  box-shadow: 4px 4px 0px #000000;
  padding: 0.5rem 0.65rem;
}
.brutal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brutal-badge {
  background: #ef4444;
  color: #ffffff;
  font-weight: 900;
  font-size: 0.6rem;
  padding: 0.1rem 0.3rem;
  border: 1.5px solid #000;
}
.brutal-cross {
  font-weight: 900;
  color: #000;
  font-size: 0.7rem;
}
.brutal-title {
  font-size: 0.85rem;
  font-weight: 900;
  color: #000000;
  margin: 0.3rem 0;
  letter-spacing: -0.02em;
}
.brutal-btn {
  width: 100%;
  background: #000000;
  color: #fde047;
  font-weight: 900;
  font-size: 0.68rem;
  padding: 0.25rem 0;
  border: 2px solid #000;
  cursor: default;
}

/* 4. Neomorfismo */
.preview-neomorfismo {
  background: #1e2433;
}
.neumorph-card {
  background: #1e2433;
  border-radius: 12px;
  box-shadow: 5px 5px 10px #131721, -5px -5px 10px #293145;
  padding: 0.55rem 0.75rem;
}
.neumorph-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.neumorph-circle-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  background: #1e2433;
  box-shadow: 3px 3px 6px #131721, -3px -3px 6px #293145;
}
.neumorph-circle-btn.active {
  box-shadow: inset 2px 2px 4px #131721, inset -2px -2px 4px #293145;
  color: #38bdf8;
}
.neumorph-indicator {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #1e2433;
  box-shadow: inset 2px 2px 4px #131721, inset -2px -2px 4px #293145;
  display: flex;
  align-items: center;
  justify-content: center;
}
.neumorph-led {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
}
.neumorph-slider-track {
  height: 6px;
  background: #1e2433;
  border-radius: 3px;
  box-shadow: inset 2px 2px 4px #131721, inset -2px -2px 4px #293145;
  margin: 0.4rem 0;
  position: relative;
}
.neumorph-slider-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #1e2433;
  box-shadow: 2px 2px 4px #131721, -2px -2px 4px #293145;
  position: absolute;
  top: -3px;
  left: 65%;
}
.neumorph-inset-pill {
  font-size: 0.6rem;
  color: #94a3b8;
  text-align: center;
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* 5. Skeuomorfismo */
.preview-skeuomorfismo {
  background: #1a1e24;
}
.skeuo-metal-plate {
  background: linear-gradient(145deg, #334155, #1e293b);
  border: 1px solid #475569;
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 4px 8px rgba(0,0,0,0.5);
  position: relative;
}
.skeuo-screw {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #94a3b8;
  position: absolute;
  box-shadow: inset 1px 1px 1px #000, 0 1px 0 rgba(255,255,255,0.3);
}
.skeuo-screw.top-l { top: 4px; left: 4px; }
.skeuo-screw.top-r { top: 4px; right: 4px; }
.skeuo-screw.bot-l { bottom: 4px; left: 4px; }
.skeuo-screw.bot-r { bottom: 4px; right: 4px; }
.skeuo-dial-container {
  display: flex;
  align-items: center;
  justify-content: space-around;
}
.skeuo-dial-knob {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: radial-gradient(circle, #e2e8f0 0%, #64748b 70%, #334155 100%);
  border: 2px solid #1e293b;
  box-shadow: 0 3px 6px rgba(0,0,0,0.6), inset 0 2px 3px rgba(255,255,255,0.8);
  position: relative;
}
.skeuo-dial-indicator {
  width: 2px;
  height: 8px;
  background: #ef4444;
  position: absolute;
  top: 2px;
  left: 13px;
  border-radius: 1px;
}
.skeuo-switch-box {
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 4px;
  padding: 0.15rem 0.4rem;
  box-shadow: inset 0 2px 4px #000;
}
.skeuo-rocker {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.65rem;
  font-weight: 700;
  color: #e2e8f0;
}
.skeuo-led-red {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 6px #ef4444;
}

/* 6. Material Design */
.preview-material {
  background: #141218;
}
.md-surface {
  background: #211f26;
  border-radius: 12px;
  padding: 0.5rem 0.65rem;
  box-shadow: 0 3px 10px rgba(0,0,0,0.4);
  position: relative;
}
.md-appbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.md-title {
  font-size: 0.72rem;
  font-weight: 600;
  color: #e6e1e5;
}
.md-chip {
  background: #49454f;
  color: #cac4d0;
  font-size: 0.58rem;
  border-radius: 6px;
  padding: 0.05rem 0.35rem;
}
.md-content {
  margin: 0.35rem 0;
}
.md-chips-row {
  display: flex;
  gap: 0.3rem;
}
.md-pill-chip {
  background: #2b2930;
  border: 1px solid #49454f;
  border-radius: 8px;
  font-size: 0.6rem;
  color: #cac4d0;
  padding: 0.1rem 0.35rem;
}
.md-pill-chip.active {
  background: #d0bcff;
  color: #381e72;
  font-weight: 600;
  border-color: #d0bcff;
}
.md-fab {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #d0bcff;
  color: #381e72;
  border: none;
  font-weight: 900;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

/* 7. Flat Design */
.preview-flat {
  background: #2c3e50;
}
.flat-card {
  background: #ecf0f1;
  padding: 0.5rem 0.65rem;
  border-radius: 0px;
}
.flat-row {
  display: flex;
  gap: 0.3rem;
}
.flat-badge-red {
  background: #e74c3c;
  color: #fff;
  font-weight: 700;
  font-size: 0.58rem;
  padding: 0.05rem 0.3rem;
}
.flat-badge-teal {
  background: #1abc9c;
  color: #fff;
  font-weight: 700;
  font-size: 0.58rem;
  padding: 0.05rem 0.3rem;
}
.flat-badge-yellow {
  background: #f39c12;
  color: #fff;
  font-weight: 700;
  font-size: 0.58rem;
  padding: 0.05rem 0.3rem;
}
.flat-bar-grid {
  margin: 0.35rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.flat-bar {
  height: 4px;
}
.flat-bar.f-coral { background: #e74c3c; }
.flat-bar.f-teal { background: #1abc9c; }
.flat-bar.f-amber { background: #f39c12; }
.flat-btn {
  width: 100%;
  background: #3498db;
  color: #fff;
  border: none;
  font-weight: 700;
  font-size: 0.65rem;
  padding: 0.2rem 0;
}

/* 8. Fluent Design */
.preview-fluent {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
}
.fluent-acrylic {
  background: rgba(30, 41, 59, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 0.5rem 0.65rem;
}
.fluent-header {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.fluent-icon {
  font-size: 0.75rem;
}
.fluent-title {
  font-size: 0.7rem;
  font-weight: 600;
  color: #f8fafc;
  flex: 1;
}
.fluent-pill {
  font-size: 0.58rem;
  color: #60a5fa;
}
.fluent-body {
  margin-top: 0.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.fluent-tile {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  padding: 0.2rem 0.4rem;
  font-size: 0.62rem;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.fluent-tile.active {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}
.fluent-tile-bar {
  width: 2px;
  height: 8px;
  background: #60a5fa;
  border-radius: 1px;
}

/* 9. Cyberpunk */
.preview-cyberpunk {
  background: #070a13;
  position: relative;
}
.cyber-grid-bg {
  position: absolute;
  inset: 0;
  background-size: 10px 10px;
  background-image: 
    linear-gradient(to right, rgba(0, 240, 255, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 240, 255, 0.08) 1px, transparent 1px);
}
.cyber-card {
  background: rgba(10, 15, 29, 0.85);
  border: 1px solid #00f0ff;
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.3), inset 0 0 8px rgba(0, 240, 255, 0.1);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  padding: 0.45rem 0.65rem;
}
.cyber-header {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.58rem;
}
.cyber-tag { color: #00f0ff; }
.cyber-fps { color: #fde047; }
.cyber-hud-metric {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.72rem;
  margin: 0.25rem 0;
}
.cyber-neon-cyan { color: #00f0ff; text-shadow: 0 0 5px #00f0ff; }
.cyber-neon-pink { color: #ff0055; text-shadow: 0 0 5px #ff0055; }
.cyber-bar-track {
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}
.cyber-bar-fill {
  width: 94%;
  height: 100%;
  background: linear-gradient(90deg, #00f0ff, #ff0055);
}

/* 10. Retro Vintage */
.preview-vintage {
  background: #fefae0;
}
.vintage-card {
  background: #faedcd;
  border: 2px solid #bc6c25;
  padding: 0.35rem;
}
.vintage-border-inner {
  border: 1px dashed #d4a373;
  padding: 0.3rem 0.4rem;
  text-align: center;
}
.vintage-stamp {
  font-family: serif;
  font-size: 0.55rem;
  font-weight: 700;
  color: #bc6c25;
  letter-spacing: 0.1em;
}
.vintage-title {
  font-family: 'Times New Roman', serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: #283618;
  margin: 0.1rem 0;
}
.vintage-subtitle {
  font-size: 0.52rem;
  color: #606c38;
  letter-spacing: 0.05em;
}
.vintage-divider {
  font-size: 0.5rem;
  color: #bc6c25;
  margin-top: 0.1rem;
}

/* 11. Y2K Aesthetic */
.preview-y2k {
  background: linear-gradient(135deg, #ff70a6 0%, #70d6ff 100%);
}
.y2k-card {
  background: rgba(255, 255, 255, 0.75);
  border: 2px solid #ffffff;
  border-radius: 14px;
  box-shadow: 0 4px 10px rgba(255, 112, 166, 0.4);
  padding: 0.45rem 0.65rem;
  text-align: center;
}
.y2k-stars {
  font-size: 0.62rem;
  color: #ff007f;
}
.y2k-bubble-badge {
  font-size: 0.62rem;
  font-weight: 900;
  color: #ff007f;
  letter-spacing: 0.05em;
}
.y2k-btn-bubble {
  margin: 0.2rem auto;
  background: linear-gradient(180deg, #ff99c8 0%, #ff477e 100%);
  border: 1px solid #ffffff;
  border-radius: 20px;
  padding: 0.15rem 0.5rem;
  display: inline-block;
  box-shadow: inset 0 2px 2px rgba(255,255,255,0.7), 0 2px 4px rgba(0,0,0,0.15);
}
.y2k-btn-bubble span {
  font-size: 0.6rem;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
.y2k-sticker {
  font-size: 0.52rem;
  font-weight: 800;
  color: #0077b6;
}

/* 12. Memphis Design */
.preview-memphis {
  background: #f8fafc;
  position: relative;
}
.memphis-shape {
  position: absolute;
  font-size: 0.7rem;
}
.shape-triangle {
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 10px solid #ef4444;
  top: 8px;
  left: 12px;
}
.shape-zigzag {
  top: 6px;
  right: 15px;
  color: #06b6d4;
}
.shape-circle {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #facc15;
  border: 1px solid #000;
  bottom: 8px;
  left: 15px;
}
.memphis-card {
  background: #ffffff;
  border: 2px solid #000000;
  border-radius: 8px;
  box-shadow: 3px 3px 0px #06b6d4;
  padding: 0.45rem 0.65rem;
}
.memphis-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.memphis-pill {
  background: #ec4899;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.58rem;
  border-radius: 10px;
  padding: 0.05rem 0.35rem;
}
.memphis-dot-grid {
  font-weight: 900;
  color: #000;
  font-size: 0.7rem;
}
.memphis-title {
  font-weight: 900;
  font-size: 0.75rem;
  color: #000;
  margin: 0.2rem 0;
}
.memphis-btn {
  width: 100%;
  background: #facc15;
  color: #000;
  border: 1.5px solid #000;
  font-weight: 800;
  font-size: 0.62rem;
  padding: 0.15rem 0;
}

/* 13. Bento Grid */
.preview-bento {
  background: #090d16;
}
.bento-mini-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.35rem;
  width: 100%;
  max-width: 250px;
}
.bento-cell {
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 0.35rem 0.5rem;
}
.bento-main {
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.bento-label { font-size: 0.58rem; color: #94a3b8; }
.bento-val { font-size: 0.82rem; font-weight: 700; color: #34d399; }
.bento-sparkline {
  height: 8px;
  background: rgba(52, 211, 153, 0.2);
  border-radius: 4px;
}
.bento-stat, .bento-users {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.bento-icon { font-size: 0.7rem; }
.bento-sub { font-size: 0.65rem; font-weight: 700; color: #f8fafc; }

/* 14. Editorial Magazine */
.preview-editorial {
  background: #f4f1ea;
}
.editorial-card {
  background: #ffffff;
  border: 1px solid #dcd7ce;
  padding: 0.45rem 0.65rem;
  color: #1a1a1a;
}
.editorial-topline {
  font-family: serif;
  font-size: 0.5rem;
  letter-spacing: 0.15em;
  color: #736b5e;
  border-bottom: 1px solid #1a1a1a;
  padding-bottom: 0.1rem;
}
.editorial-headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 0.82rem;
  font-weight: 700;
  margin: 0.2rem 0;
  line-height: 1.1;
}
.editorial-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  font-size: 0.52rem;
  color: #4a453e;
  line-height: 1.2;
}
.editorial-col .dropcap {
  font-family: serif;
  font-size: 0.85rem;
  font-weight: 700;
  float: left;
  line-height: 0.8;
  margin-right: 2px;
}

/* 15. Organic Natural */
.preview-organic {
  background: #25382b;
}
.organic-card {
  background: #2f4536;
  border: 1px solid #415d4a;
  border-radius: 14px 4px 14px 4px;
  padding: 0.45rem 0.65rem;
}
.organic-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.organic-badge {
  font-size: 0.62rem;
  color: #a3b18a;
  font-weight: 600;
}
.organic-zen {
  font-size: 0.55rem;
  color: #cb997e;
}
.organic-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: #dad7cd;
  margin: 0.2rem 0;
}
.organic-pill-row {
  display: flex;
  gap: 0.25rem;
}
.organic-pill {
  background: #3a5a40;
  color: #dad7cd;
  font-size: 0.55rem;
  border-radius: 10px;
  padding: 0.05rem 0.35rem;
}

/* 16. Futurista Sci-Fi */
.preview-futurista {
  background: #020617;
}
.scifi-card {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid #00d2ff;
  border-radius: 6px;
  padding: 0.45rem 0.65rem;
  box-shadow: 0 0 8px rgba(0, 210, 255, 0.2);
}
.scifi-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.scifi-radar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid #00d2ff;
  position: relative;
  overflow: hidden;
}
.scifi-sweep {
  position: absolute;
  inset: 0;
  background: conic-gradient(from 0deg, transparent 70%, rgba(0, 210, 255, 0.8) 100%);
  animation: spinRadar 2s linear infinite;
}
@keyframes spinRadar {
  to { transform: rotate(360deg); }
}
.scifi-telemetry {
  display: flex;
  flex-direction: column;
}
.scifi-label {
  font-family: var(--font-mono);
  font-size: 0.52rem;
  color: #00d2ff;
}
.scifi-coords {
  font-family: var(--font-mono);
  font-size: 0.5rem;
  color: #94a3b8;
}
.scifi-data-row {
  margin-top: 0.3rem;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.58rem;
}
.scifi-status { color: #f59e0b; }
.scifi-val { color: #10b981; font-weight: 700; }

/* 17. Dashboard SaaS */
.preview-saas {
  background: #0f172a;
}
.saas-card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 8px;
  padding: 0.45rem 0.65rem;
}
.saas-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.saas-metric-title {
  font-size: 0.6rem;
  color: #94a3b8;
}
.saas-growth-badge {
  background: rgba(52, 211, 153, 0.15);
  color: #34d399;
  font-size: 0.58rem;
  font-weight: 700;
  border-radius: 4px;
  padding: 0.05rem 0.3rem;
}
.saas-metric-val {
  font-size: 0.92rem;
  font-weight: 700;
  color: #f8fafc;
  margin: 0.15rem 0 0.35rem 0;
}
.saas-chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 0.3rem;
  height: 16px;
}
.saas-chart-bars span {
  flex: 1;
  background: #6366f1;
  border-radius: 2px 2px 0 0;
}

/* 18. Dark UI */
.preview-darkui {
  background: #070a11;
}
.darkui-card {
  background: #0b0f19;
  border: 1px solid #1e293b;
  border-radius: 8px;
  padding: 0.45rem 0.65rem;
}
.darkui-header {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.darkui-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8b5cf6;
  box-shadow: 0 0 6px #8b5cf6;
}
.darkui-title {
  font-size: 0.68rem;
  font-weight: 700;
  color: #f8fafc;
  flex: 1;
}
.darkui-pill {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: #64748b;
}
.darkui-grid {
  margin-top: 0.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.darkui-item {
  background: #111827;
  border-radius: 4px;
  padding: 0.15rem 0.4rem;
  font-size: 0.6rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.darkui-item.active { color: #f8fafc; }
.darkui-led {
  width: 4px;
  height: 4px;
  border-radius: 50%;
}
.darkui-led.green { background: #10b981; box-shadow: 0 0 4px #10b981; }
.darkui-led.purple { background: #a855f7; box-shadow: 0 0 4px #a855f7; }

/* 19. Aurora Gradient */
.preview-aurora {
  background: #0b0f19;
  position: relative;
}
.aurora-glow {
  position: absolute;
  filter: blur(16px);
  border-radius: 50%;
  pointer-events: none;
}
.aurora-glow.glow-1 {
  width: 80px; height: 50px;
  background: #8b5cf6;
  top: 10px; left: 10px;
}
.aurora-glow.glow-2 {
  width: 70px; height: 50px;
  background: #ec4899;
  bottom: 5px; right: 10px;
}
.aurora-glow.glow-3 {
  width: 60px; height: 40px;
  background: #06b6d4;
  top: 25px; left: 60px;
}
.aurora-card {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 0.45rem 0.65rem;
  text-align: center;
}
.aurora-badge {
  font-size: 0.62rem;
  font-weight: 600;
  color: #e0e7ff;
}
.aurora-title {
  font-size: 0.8rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0.15rem 0;
  text-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}
.aurora-pill {
  font-size: 0.55rem;
  color: #cbd5e1;
}

/* 20. Motion Interactive */
.preview-motion {
  background: #0f172a;
}
.motion-card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 8px;
  padding: 0.5rem 0.65rem;
}
.motion-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.motion-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 8px #38bdf8;
  animation: pulseDot 1.5s infinite;
}
@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}
.motion-text {
  font-size: 0.68rem;
  font-weight: 600;
  color: #f8fafc;
  flex: 1;
}
.motion-toggle {
  width: 26px;
  height: 14px;
  background: #6366f1;
  border-radius: 7px;
  position: relative;
}
.motion-toggle-handle {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffffff;
  position: absolute;
  top: 2px;
  right: 2px;
}
.motion-bar-track {
  margin-top: 0.4rem;
  height: 4px;
  background: #334155;
  border-radius: 2px;
  overflow: hidden;
}
.motion-bar-elastic {
  width: 75%;
  height: 100%;
  background: linear-gradient(90deg, #6366f1, #38bdf8);
}

/* 21. Liquid UI */
.preview-liquid {
  background: linear-gradient(135deg, #0284c7 0%, #6366f1 100%);
}
.liquid-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px 6px 16px 6px;
  padding: 0.45rem 0.65rem;
  text-align: center;
}
.liquid-blob { font-size: 0.62rem; color: #bae6fd; font-weight: 600; }
.liquid-title { font-size: 0.8rem; font-weight: 800; color: #ffffff; margin: 0.15rem 0; }
.liquid-pills { display: flex; justify-content: center; gap: 0.3rem; }
.liquid-pill {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 0.55rem;
  border-radius: 10px;
  padding: 0.05rem 0.35rem;
}

/* 22. Claymorphism */
.preview-clay {
  background: #e0e7ff;
}
.clay-card {
  background: #c7d2fe;
  border-radius: 16px;
  box-shadow: 5px 5px 12px rgba(99, 102, 241, 0.25), inset -3px -3px 6px rgba(0, 0, 0, 0.1), inset 3px 3px 6px rgba(255, 255, 255, 0.7);
  padding: 0.45rem 0.65rem;
  text-align: center;
}
.clay-badge { font-size: 0.65rem; font-weight: 700; color: #3730a3; }
.clay-pill-btn {
  margin: 0.25rem auto;
  background: #a5b4fc;
  border-radius: 20px;
  padding: 0.15rem 0.6rem;
  display: inline-block;
  box-shadow: 3px 3px 6px rgba(99, 102, 241, 0.3), inset -2px -2px 4px rgba(0, 0, 0, 0.12), inset 2px 2px 4px rgba(255, 255, 255, 0.8);
}
.clay-pill-btn span { font-size: 0.62rem; font-weight: 800; color: #312e81; }
.clay-tag-row { display: flex; justify-content: center; gap: 0.25rem; }
.clay-tag { font-size: 0.52rem; font-weight: 700; border-radius: 6px; padding: 0.05rem 0.3rem; }
.clay-tag.c-mint { background: #a7f3d0; color: #065f46; }
.clay-tag.c-lilac { background: #e9d5ff; color: #6b21a8; }
.clay-tag.c-peach { background: #fed7aa; color: #9a3412; }

/* 23. Pixel Art */
.preview-pixel {
  background: #181425;
}
.pixel-card {
  background: #262b44;
  border: 2px solid #ffffff;
  padding: 0.45rem 0.65rem;
  font-family: var(--font-mono);
}
.pixel-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.6rem;
}
.pixel-title { color: #fee761; font-weight: 700; }
.pixel-score { color: #63c74d; }
.pixel-hp-row {
  margin: 0.25rem 0;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.pixel-label { font-size: 0.58rem; color: #ff0044; font-weight: 700; }
.pixel-hp-bar { display: flex; gap: 2px; }
.pixel-hp-chunk { width: 8px; height: 8px; }
.pixel-hp-chunk.filled { background: #ff0044; }
.pixel-hp-chunk.empty { background: #5a6988; }
.pixel-btn {
  background: #fee761;
  color: #181425;
  font-size: 0.58rem;
  font-weight: 900;
  text-align: center;
  padding: 0.15rem 0;
}

/* 24. Terminal Hacker */
.preview-terminal {
  background: #090d10;
}
.term-card {
  background: #0d1117;
  border: 1px solid #30363d;
  border-radius: 6px;
  padding: 0.35rem 0.5rem;
  font-family: var(--font-mono);
}
.term-header {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  border-bottom: 1px solid #21262d;
  padding-bottom: 0.2rem;
}
.term-dot { width: 5px; height: 5px; border-radius: 50%; }
.term-dot.r { background: #ff5f56; }
.term-dot.y { background: #ffbd2e; }
.term-dot.g { background: #27c93f; }
.term-title { font-size: 0.52rem; color: #8b949e; margin-left: 0.2rem; }
.term-code {
  font-size: 0.55rem;
  color: #22c55e;
  line-height: 1.35;
  margin-top: 0.25rem;
}
.term-prompt { color: #38bdf8; font-weight: 700; }
.term-success { color: #eab308; }
.term-cursor {
  animation: blinkCursor 1s step-start infinite;
}
@keyframes blinkCursor {
  50% { opacity: 0; }
}

/* 25. Kinetic Typography */
.preview-kinetic {
  background: #000000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.25rem;
}
.kinetic-strip {
  white-space: nowrap;
  font-weight: 900;
  font-size: 0.65rem;
  padding: 0.15rem 0;
  letter-spacing: -0.02em;
}
.kinetic-strip.strip-1 {
  background: #facc15;
  color: #000000;
  transform: rotate(-2deg);
}
.kinetic-strip.strip-2 {
  background: #ffffff;
  color: #000000;
  transform: rotate(2deg);
}
.kinetic-badge {
  position: absolute;
  background: #ef4444;
  color: #ffffff;
  font-size: 0.55rem;
  font-weight: 900;
  padding: 0.1rem 0.4rem;
  border-radius: 3px;
}

/* 26. Maximalismo */
.preview-maximalism {
  background: #7c3aed;
  position: relative;
}
.maxi-sticker {
  position: absolute;
  font-size: 0.55rem;
  font-weight: 900;
  padding: 0.1rem 0.35rem;
  border: 1px solid #000;
  z-index: 3;
}
.maxi-sticker.sticker-1 {
  background: #f97316;
  color: #fff;
  top: 6px;
  right: 12px;
  transform: rotate(12deg);
}
.maxi-sticker.sticker-2 {
  background: #a3e635;
  color: #000;
  bottom: 8px;
  left: 12px;
  transform: rotate(-10deg);
}
.maxi-card {
  background: #fbbf24;
  border: 2px solid #000;
  padding: 0.45rem 0.65rem;
  text-align: center;
}
.maxi-title { font-weight: 900; font-size: 0.78rem; color: #000; }
.maxi-badge {
  background: #000;
  color: #f43f5e;
  font-size: 0.55rem;
  font-weight: 800;
  padding: 0.05rem 0.3rem;
}

/* 27. Hand-Drawn */
.preview-handdrawn {
  background: #fefce8;
}
.sketch-card {
  background: #ffffff;
  border: 2px dashed #713f12;
  border-radius: 255px 15px 225px 15px/15px 225px 15px 255px;
  padding: 0.45rem 0.65rem;
}
.sketch-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sketch-title { font-size: 0.68rem; font-weight: 700; color: #713f12; }
.sketch-arrow { font-size: 0.7rem; color: #ca8a04; }
.sketch-note {
  background: #fef08a;
  border: 1px solid #eab308;
  border-radius: 4px;
  padding: 0.15rem 0.35rem;
  font-size: 0.58rem;
  color: #854d0e;
  margin: 0.2rem 0;
  display: flex;
  align-items: center;
  gap: 0.2rem;
}
.sketch-pin { font-size: 0.6rem; }
.sketch-btn {
  text-align: center;
  border: 1.5px solid #713f12;
  border-radius: 20px 4px 20px 4px;
  font-size: 0.58rem;
  font-weight: 700;
  color: #713f12;
  padding: 0.1rem 0;
}

/* 28. Monochromatic */
.preview-monochrome {
  background: #0f172a;
}
.mono-card {
  background: #1e3a8a;
  border: 1px solid #2563eb;
  border-radius: 8px;
  padding: 0.4rem;
}
.mono-layer.mono-l1 {
  background: #1d4ed8;
  border-radius: 6px;
  padding: 0.35rem;
}
.mono-tag { font-size: 0.58rem; color: #bfdbfe; font-weight: 600; display: block; }
.mono-layer.mono-l2 {
  background: #2563eb;
  border-radius: 4px;
  padding: 0.25rem;
  margin-top: 0.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mono-text { font-size: 0.58rem; color: #eff6ff; }
.mono-badge {
  background: #60a5fa;
  color: #0f172a;
  font-size: 0.52rem;
  font-weight: 700;
  padding: 0.05rem 0.25rem;
  border-radius: 3px;
}

/* 29. 3D UI Isométrico */
.preview-3d {
  background: #0f172a;
}
.isoflex-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}
.iso-cube {
  width: 32px;
  height: 32px;
  position: relative;
  transform: rotateX(60deg) rotateZ(45deg);
  transform-style: preserve-3d;
}
.iso-face {
  position: absolute;
  width: 32px;
  height: 32px;
}
.iso-face.top {
  background: #60a5fa;
  transform: translateZ(16px);
}
.iso-face.left {
  background: #2563eb;
  transform: rotateY(-90deg) translateZ(16px);
}
.iso-face.right {
  background: #1d4ed8;
  transform: rotateX(90deg) translateZ(16px);
}
.iso-floating-badge {
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid #38bdf8;
  color: #38bdf8;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

/* 30. AI Generative */
.preview-aigen {
  background: #090d16;
}
.aigen-card {
  background: rgba(30, 41, 59, 0.75);
  border: 1px solid #818cf8;
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.25);
  border-radius: 8px;
  padding: 0.45rem 0.65rem;
}
.aigen-header {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.aigen-sparkle { font-size: 0.7rem; }
.aigen-title { font-size: 0.68rem; font-weight: 700; color: #f8fafc; flex: 1; }
.aigen-badge {
  background: rgba(168, 85, 247, 0.2);
  color: #c084fc;
  font-size: 0.55rem;
  border-radius: 4px;
  padding: 0.05rem 0.3rem;
}
.aigen-prompt-pill {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid #475569;
  border-radius: 6px;
  padding: 0.15rem 0.4rem;
  font-size: 0.55rem;
  color: #cbd5e1;
  margin: 0.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.aigen-run-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #a855f7;
  animation: pulseDot 1s infinite;
}
.aigen-chips { display: flex; gap: 0.25rem; }
.aigen-chip {
  background: rgba(99, 102, 241, 0.15);
  color: #a5b4fc;
  font-size: 0.52rem;
  border-radius: 4px;
  padding: 0.05rem 0.3rem;
}

/* 31. Liquid Glass */
.preview-liquidglass {
  background: radial-gradient(circle, #1e1b4b 0%, #030712 100%);
  position: relative;
}
.liqglass-glow {
  position: absolute;
  width: 80px; height: 60px;
  background: #38bdf8;
  filter: blur(18px);
  border-radius: 50%;
}
.liqglass-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  padding: 0.45rem 0.65rem;
  position: relative;
  overflow: hidden;
}
.liqglass-specular {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #ffffff, transparent);
}
.liqglass-header {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.liqglass-diamond { font-size: 0.7rem; }
.liqglass-title { font-size: 0.68rem; font-weight: 700; color: #ffffff; }
.liqglass-balance { font-size: 0.9rem; font-weight: 800; color: #ffffff; margin: 0.15rem 0; }
.liqglass-badge {
  font-size: 0.55rem;
  color: #bae6fd;
}

/* 32. Paper UI */
.preview-paper {
  background: #e2d9cc;
}
.paper-sheet {
  background: #fdfbf7;
  border: 1px solid #d3c7b5;
  box-shadow: 0 3px 6px rgba(0,0,0,0.15);
  padding: 0.45rem 0.65rem;
  position: relative;
}
.paper-folder-tab {
  position: absolute;
  top: -12px;
  left: 10px;
  background: #fdfbf7;
  border: 1px solid #d3c7b5;
  border-bottom: none;
  font-size: 0.5rem;
  font-weight: 700;
  color: #786c59;
  padding: 0.05rem 0.35rem;
  border-radius: 4px 4px 0 0;
}
.paper-lines {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin: 0.3rem 0;
}
.paper-line { height: 1px; background: #e8e2d5; }
.paper-stamp {
  border: 1px solid #b91c1c;
  color: #b91c1c;
  font-size: 0.52rem;
  font-weight: 800;
  text-align: center;
  transform: rotate(-4deg);
  display: inline-block;
  padding: 0 0.3rem;
}

/* 33. Gradient Mesh */
.preview-gradmesh {
  background: #090d16;
  position: relative;
}
.gradmesh-mesh {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 10% 20%, #ec4899 0%, transparent 40%),
    radial-gradient(circle at 90% 10%, #06b6d4 0%, transparent 40%),
    radial-gradient(circle at 80% 80%, #f59e0b 0%, transparent 40%),
    radial-gradient(circle at 20% 90%, #8b5cf6 0%, transparent 40%);
  filter: blur(12px);
}
.gradmesh-card {
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 0.45rem 0.65rem;
}
.gradmesh-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.gradmesh-badge { font-size: 0.62rem; font-weight: 700; color: #f8fafc; }
.gradmesh-pill { font-size: 0.55rem; color: #fde047; }
.gradmesh-title { font-size: 0.75rem; font-weight: 800; color: #ffffff; margin-top: 0.2rem; }

/* 34. Frosted Ice */
.preview-frosted {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
}
.frosted-glass {
  background: rgba(224, 242, 254, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid #e0f2fe;
  border-radius: 8px;
  padding: 0.45rem 0.65rem;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}
.frosted-header {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.frosted-snowflake { font-size: 0.7rem; }
.frosted-title { font-size: 0.68rem; font-weight: 700; color: #f0f9ff; flex: 1; }
.frosted-temp { font-size: 0.6rem; color: #bae6fd; font-weight: 700; }
.frosted-body { margin-top: 0.3rem; }
.frosted-bar { height: 3px; background: #e0f2fe; border-radius: 2px; margin-bottom: 0.2rem; }
.frosted-tag { font-size: 0.55rem; color: #e0f2fe; }

/* 35. Neo-Brutalism */
.preview-neobrutal {
  background: #a3e635;
}
.neobrutal-card {
  background: #ffffff;
  border: 3px solid #000000;
  box-shadow: 4px 4px 0px #000000;
  padding: 0.45rem 0.65rem;
}
.neobrutal-tag { font-size: 0.55rem; font-weight: 900; color: #000; }
.neobrutal-title { font-weight: 900; font-size: 0.82rem; color: #000; margin: 0.15rem 0; }
.neobrutal-btn {
  width: 100%;
  background: #fde047;
  color: #000;
  border: 2px solid #000;
  box-shadow: 2px 2px 0px #000;
  font-weight: 900;
  font-size: 0.65rem;
  padding: 0.2rem 0;
  cursor: default;
}

/* 36. Scroll-Based */
.preview-scrolly {
  background: #0f172a;
}
.scrolly-card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 8px;
  padding: 0.45rem 0.65rem;
  display: flex;
  gap: 0.5rem;
}
.scrolly-track {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}
.scrolly-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #475569;
}
.scrolly-dot.active {
  background: #38bdf8;
  box-shadow: 0 0 6px #38bdf8;
  height: 12px;
  border-radius: 3px;
}
.scrolly-content { flex: 1; }
.scrolly-badge { font-size: 0.55rem; color: #38bdf8; font-weight: 700; }
.scrolly-title { font-size: 0.72rem; font-weight: 700; color: #f8fafc; margin: 0.1rem 0; }
.scrolly-hint { font-size: 0.52rem; color: #94a3b8; }

/* 37. Microinteractions */
.preview-micro {
  background: #0f172a;
}
.micro-card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 8px;
  padding: 0.45rem 0.65rem;
}
.micro-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.micro-check-badge {
  background: #10b981;
  color: #ffffff;
  font-size: 0.58rem;
  font-weight: 700;
  border-radius: 4px;
  padding: 0.05rem 0.35rem;
}
.micro-haptic-pill { font-size: 0.55rem; color: #94a3b8; }
.micro-interactive-row {
  margin-top: 0.35rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.micro-heart {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 12px;
  padding: 0.1rem 0.4rem;
  font-size: 0.58rem;
  font-weight: 700;
}
.micro-tooltip-box {
  background: #6366f1;
  color: #ffffff;
  font-size: 0.55rem;
  font-weight: 700;
  border-radius: 4px;
  padding: 0.1rem 0.35rem;
}

/* 38. Data Visualization */
.preview-dataviz {
  background: #090d16;
}
.dataviz-card {
  background: #0f172a;
  border: 1px solid #1e293b;
  border-radius: 8px;
  padding: 0.45rem 0.65rem;
}
.dataviz-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.dataviz-title { font-size: 0.65rem; font-weight: 700; color: #f8fafc; }
.dataviz-kpi { font-size: 0.58rem; font-weight: 700; color: #34d399; }
.dataviz-svg-wrap { margin: 0.15rem 0; }
.dataviz-chart { width: 100%; height: 26px; }
.dataviz-legend { font-size: 0.52rem; color: #94a3b8; display: flex; align-items: center; gap: 0.2rem; }
.dataviz-dot { width: 4px; height: 4px; border-radius: 50%; }
.dataviz-dot.blue { background: #38bdf8; }

/* 39. Voice UI */
.preview-voice {
  background: #090d16;
}
.voice-card {
  text-align: center;
}
.voice-center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.voice-orb {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: radial-gradient(circle, #818cf8 0%, #4338ca 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.6);
  font-size: 0.75rem;
}
.voice-wave-bars {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 20px;
}
.voice-wave-bars .v-bar {
  width: 3px;
  background: #38bdf8;
  border-radius: 2px;
  animation: voiceWave 1s ease-in-out infinite alternate;
}
.voice-wave-bars .v-bar:nth-child(1) { height: 8px; animation-delay: 0.1s; }
.voice-wave-bars .v-bar:nth-child(2) { height: 16px; animation-delay: 0.2s; }
.voice-wave-bars .v-bar:nth-child(3) { height: 12px; animation-delay: 0.3s; }
.voice-wave-bars .v-bar:nth-child(4) { height: 18px; animation-delay: 0.4s; }
.voice-wave-bars .v-bar:nth-child(5) { height: 10px; animation-delay: 0.5s; }
@keyframes voiceWave {
  0% { transform: scaleY(0.4); }
  100% { transform: scaleY(1.2); }
}
.voice-sub { font-size: 0.52rem; color: #94a3b8; display: block; margin-top: 0.25rem; }

/* 40. Adaptive UI */
.preview-adaptive {
  background: #0f172a;
}
.adaptive-card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 8px;
  padding: 0.45rem 0.65rem;
}
.adaptive-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.adaptive-badge { font-size: 0.58rem; color: #94a3b8; }
.adaptive-toggles { display: flex; gap: 0.2rem; }
.adaptive-btn {
  font-size: 0.52rem;
  border-radius: 3px;
  padding: 0.05rem 0.25rem;
  background: #334155;
  color: #cbd5e1;
}
.adaptive-btn.active {
  background: #6366f1;
  color: #ffffff;
  font-weight: 700;
}
.adaptive-row {
  margin-top: 0.35rem;
  display: flex;
  gap: 0.25rem;
}
.adaptive-box {
  flex: 1;
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 4px;
  padding: 0.15rem 0;
  text-align: center;
  font-size: 0.52rem;
  color: #94a3b8;
}

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

@media (max-width: 900px) {
  .app-layout {
    flex-direction: column;
  }
  .sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--border-color);
  }
  .main-content {
    padding: 1.25rem;
  }
  .styles-cards-grid {
    grid-template-columns: 1fr;
  }
}


