/**
 * AITRAIN LMS - Shared Styles
 * A world-class learning management system
 *
 * NOTE: This file extends design-system.css
 * Ensure design-system.css is loaded before this file
 */

/* ==========================================
   CSS VARIABLES (Legacy Support)
   These map to design-system.css variables
   ========================================== */
:root {
  /* Brand Colors - mapped to design system */
  --color-accent: var(--brand-primary, #F26522);
  --color-accent-dark: var(--brand-primary-dark, #d9581d);
  --color-accent-soft: rgba(242, 101, 34, 0.1);

  /* Semantic Colors */
  --color-blue: var(--color-info, #60A5FA);
  --color-green: var(--color-success, #22c55e);
  --color-yellow: var(--color-warning, #eab308);
  --color-purple: var(--color-pro, #a855f7);
  --color-red: var(--color-error, #ef4444);

  /* Theme Colors - mapped to design system */
  --color-bg: var(--bg-secondary, #f8f9fa);
  --color-bg-dark: #0a1628;
  --color-surface: var(--bg-primary, #ffffff);
  --color-border: var(--border-light, rgba(0, 0, 0, 0.08));
  --color-text: var(--text-primary, #1a1a2e);
  --color-text-muted: var(--text-tertiary, #6b7280);
  --color-text-light: var(--text-muted, #9ca3af);

  /* Radii - mapped to design system */
  --radius-sm: var(--radius-md, 6px);
  --radius-md: var(--radius-lg, 10px);
  --radius-lg: var(--radius-xl, 16px);
  --radius-xl: var(--radius-2xl, 20px);

  /* Layout */
  --sidebar-width: 260px;
  --lesson-sidebar-width: 320px;

  /* Shadows - mapped to design system */
  --shadow-sm: var(--shadow-sm, 0 1px 2px rgba(0, 0, 0, 0.05));
  --shadow-md: var(--shadow-md, 0 4px 12px rgba(0, 0, 0, 0.08));
  --shadow-lg: var(--shadow-lg, 0 8px 24px rgba(0, 0, 0, 0.12));

  /* Transitions */
  --transition-fast: var(--transition-fast, 0.15s ease);
  --transition-normal: var(--transition-base, 0.25s ease);
}

/* ==========================================
   RESET & BASE
   ========================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: var(--text-base);
  background: var(--color-bg);
  color: var(--color-text);
  min-height: 100vh;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

img {
  max-width: 100%;
  height: auto;
}

/* ==========================================
   LAZY LOADING - Performance Optimization
   Phase 13: Native lazy loading with CSS fallback
   ========================================== */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded,
img[loading="lazy"]:not([src=""]) {
  opacity: 1;
}

/* Prevent layout shift for images with dimensions */
img[width][height] {
  aspect-ratio: attr(width) / attr(height);
}

/* Placeholder skeleton for lazy images */
.lazy-image-container {
  position: relative;
  background: linear-gradient(90deg, var(--color-bg) 25%, var(--bg-hover, #f0f0f0) 50%, var(--color-bg) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

.lazy-image-container img[loading="lazy"] {
  position: relative;
  z-index: 1;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ==========================================
   LAYOUT: SIDEBAR + MAIN
   ========================================== */
.lms-layout {
  display: flex;
  min-height: 100vh;
}

/* Main Sidebar */
.lms-sidebar {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--sidebar-width);
  background: var(--color-surface);
  border-right: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  z-index: var(--z-dropdown, 100);
  transform: translateX(-100%);
  transition: transform var(--transition-normal);
}

.lms-sidebar.open {
  transform: translateX(0);
}

@media (min-width: 1024px) {
  .lms-sidebar {
    transform: translateX(0);
  }
}

.sidebar-header {
  padding: 1.25rem;
  border-bottom: 1px solid var(--color-border);
}

.sidebar-logo img {
  height: 44px;
}

.sidebar-nav {
  flex: 1;
  padding: 1rem 0;
  overflow-y: auto;
}

.nav-section {
  padding: 0 0.75rem;
  margin-bottom: 1.5rem;
}

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

.nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  color: var(--color-text-muted);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 500;
  transition: all var(--transition-fast);
}

.nav-item:hover {
  background: var(--color-bg);
  color: var(--color-text);
}

.nav-item.active {
  background: var(--color-accent-soft);
  color: var(--color-accent);
}

.nav-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.nav-item .badge {
  margin-left: auto;
  background: var(--color-accent);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: 100px;
}

.sidebar-footer {
  padding: 1rem;
  border-top: 1px solid var(--color-border);
}

/* User Card */
.user-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
}

.user-card:hover {
  background: var(--color-bg);
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent), #f97316);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 1rem;
}

.user-info {
  flex: 1;
  min-width: 0;
}

.user-name {
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-role {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* ==========================================
   MAIN CONTENT WRAPPER
   ========================================== */
.lms-main {
  flex: 1;
  margin-left: 0;
  min-height: 100vh;
  transition: margin-left var(--transition-normal);
}

@media (min-width: 1024px) {
  .lms-main {
    margin-left: var(--sidebar-width);
  }
}

/* ==========================================
   TOP BAR
   ========================================== */
.lms-topbar {
  position: sticky;
  top: 0;
  background: var(--topbar-bg, rgba(255, 255, 255, 0.95));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: var(--z-sticky, 50);
}

/* Dark mode topbar adjustment */
[data-theme="dark"] .lms-topbar {
  background: rgba(30, 41, 59, 0.95);
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  transition: all var(--transition-fast);
}

.menu-toggle:hover {
  background: var(--color-bg);
  color: var(--color-text);
}

@media (min-width: 1024px) {
  .menu-toggle {
    display: none;
  }
}

.page-title {
  font-size: var(--text-xl);
  font-weight: 700;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-sm);
}

.breadcrumb a {
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--color-accent);
}

.breadcrumb span {
  color: var(--color-text-light);
}

.breadcrumb-current {
  color: var(--color-text);
  font-weight: 500;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.topbar-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  position: relative;
  transition: all var(--transition-fast);
}

.topbar-btn:hover {
  background: var(--color-bg);
  color: var(--color-text);
}

.topbar-btn svg {
  width: 20px;
  height: 20px;
}

/* ==========================================
   CONTENT AREA
   ========================================== */
.lms-content {
  padding: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .lms-content {
    padding: 2rem;
  }
}

/* Page Header */
.page-header {
  margin-bottom: 2rem;
}

.page-header h1 {
  font-size: var(--text-3xl);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.page-header p {
  color: var(--color-text-muted);
  font-size: var(--text-base);
}

/* ==========================================
   CARDS
   ========================================== */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.card-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-header h2, .card-header h3 {
  font-size: var(--text-base);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card-header svg {
  width: 20px;
  height: 20px;
  color: var(--color-accent);
}

.card-body {
  padding: 1.25rem;
}

/* ==========================================
   COURSE CARDS
   ========================================== */
.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.course-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.course-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.course-card-image {
  position: relative;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--color-bg-dark), #1e3a5f);
  overflow: hidden;
}

.course-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.course-card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.35rem 0.75rem;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 100px;
}

.course-card-badge.required {
  background: var(--color-accent);
}

.course-card-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
}

.course-card-progress-fill {
  height: 100%;
  background: var(--color-accent);
  transition: width var(--transition-normal);
}

.course-card-content {
  padding: 1.25rem;
}

.course-card-title {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.course-card-description {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.course-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.course-card-meta span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.course-card-meta svg {
  width: 14px;
  height: 14px;
}

.course-card-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.course-card-footer .progress-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent);
}

.course-card-footer .btn {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-md);
  border: none;
  transition: all var(--transition-fast);
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn-primary {
  background: var(--color-accent);
  color: white;
}

.btn-primary:hover {
  background: var(--color-accent-dark);
}

.btn-secondary {
  background: var(--color-bg);
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn-secondary:hover {
  background: #f0f0f0;
}

.btn-ghost {
  background: transparent;
  color: var(--color-text-muted);
}

.btn-ghost:hover {
  background: var(--color-bg);
  color: var(--color-text);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: var(--text-xs);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: var(--text-base);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ==========================================
   PROGRESS RING
   ========================================== */
.progress-ring {
  transform: rotate(-90deg);
}

.progress-ring-circle {
  fill: none;
  stroke-width: 4;
}

.progress-ring-bg {
  stroke: var(--color-border);
}

.progress-ring-fill {
  stroke: var(--color-accent);
  stroke-linecap: round;
  transition: stroke-dashoffset var(--transition-normal);
}

/* ==========================================
   VIDEO PLAYER
   ========================================== */
.video-container {
  position: relative;
  background: black;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/9;
}

.video-player {
  width: 100%;
  height: 100%;
}

.video-player iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.video-container:hover .video-overlay {
  opacity: 1;
}

.video-play-btn {
  width: 80px;
  height: 80px;
  background: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  border: none;
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.video-play-btn:hover {
  transform: scale(1.1);
}

.video-play-btn svg {
  width: 32px;
  height: 32px;
  margin-left: 4px;
}

/* ==========================================
   LESSON SIDEBAR
   ========================================== */
.lesson-sidebar {
  width: var(--lesson-sidebar-width);
  background: var(--color-surface);
  border-left: 1px solid var(--color-border);
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform var(--transition-normal);
  z-index: var(--z-dropdown, 90);
}

.lesson-sidebar.open {
  transform: translateX(0);
}

@media (min-width: 1280px) {
  .lesson-sidebar {
    transform: translateX(0);
  }

  .lms-main.with-lesson-sidebar {
    margin-right: var(--lesson-sidebar-width);
  }
}

.lesson-sidebar-header {
  padding: 1.25rem;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lesson-sidebar-header h3 {
  font-size: 1rem;
  font-weight: 600;
}

.lesson-sidebar-close {
  display: none;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  color: var(--color-text-muted);
}

@media (max-width: 1279px) {
  .lesson-sidebar-close {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* Module List */
.module-list {
  padding: 1rem;
}

.module-item {
  margin-bottom: 1rem;
}

.module-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: var(--color-bg);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.module-header:hover {
  background: #f0f0f0;
}

.module-number {
  width: 28px;
  height: 28px;
  background: var(--color-accent-soft);
  color: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  flex-shrink: 0;
}

.module-info {
  flex: 1;
  min-width: 0;
}

.module-title {
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.module-meta {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.module-chevron {
  width: 20px;
  height: 20px;
  color: var(--color-text-muted);
  transition: transform var(--transition-fast);
}

.module-item.expanded .module-chevron {
  transform: rotate(180deg);
}

/* Lesson List */
.lesson-list {
  padding: 0.5rem 0 0.5rem 1rem;
  display: none;
}

.module-item.expanded .lesson-list {
  display: block;
}

.lesson-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.lesson-item:hover {
  background: var(--color-bg);
}

.lesson-item.active {
  background: var(--color-accent-soft);
}

.lesson-item.completed .lesson-status {
  background: var(--color-green);
  color: white;
}

.lesson-item.locked {
  opacity: 0.5;
  cursor: not-allowed;
}

.lesson-status {
  width: 24px;
  height: 24px;
  border: 2px solid var(--color-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lesson-status svg {
  width: 12px;
  height: 12px;
}

.lesson-item.active .lesson-status {
  border-color: var(--color-accent);
  background: var(--color-accent);
  color: white;
}

.lesson-info {
  flex: 1;
  min-width: 0;
}

.lesson-title {
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lesson-duration {
  font-size: 0.7rem;
  color: var(--color-text-muted);
}

.lesson-type-icon {
  width: 16px;
  height: 16px;
  color: var(--color-text-light);
}

/* ==========================================
   QUIZ STYLES
   ========================================== */
.quiz-container {
  max-width: 720px;
  margin: 0 auto;
}

.quiz-header {
  text-align: center;
  margin-bottom: 2rem;
}

.quiz-header h2 {
  font-size: var(--text-2xl);
  margin-bottom: 0.5rem;
}

.quiz-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

.quiz-progress {
  background: var(--color-border);
  height: 6px;
  border-radius: 3px;
  margin-top: 1.5rem;
  overflow: hidden;
}

.quiz-progress-fill {
  height: 100%;
  background: var(--color-accent);
  transition: width var(--transition-normal);
}

.question-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.question-number {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.question-text {
  font-size: var(--text-lg);
  font-weight: 500;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.option-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.option-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--color-bg);
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.option-item:hover {
  background: #f0f0f0;
}

.option-item.selected {
  border-color: var(--color-accent);
  background: var(--color-accent-soft);
}

.option-item.correct {
  border-color: var(--color-green);
  background: rgba(34, 197, 94, 0.1);
}

.option-item.incorrect {
  border-color: var(--color-red);
  background: rgba(239, 68, 68, 0.1);
}

.option-radio {
  width: 24px;
  height: 24px;
  border: 2px solid var(--color-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.option-item.selected .option-radio {
  border-color: var(--color-accent);
  background: var(--color-accent);
}

.option-item.selected .option-radio::after {
  content: '';
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
}

.option-text {
  flex: 1;
  font-size: 0.95rem;
}

/* Quiz Actions */
.quiz-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
}

/* ==========================================
   EMPTY STATES
   ========================================== */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
}

.empty-state-icon {
  width: 80px;
  height: 80px;
  background: var(--color-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.empty-state-icon svg {
  width: 40px;
  height: 40px;
  color: var(--color-text-light);
}

.empty-state h3 {
  font-size: var(--text-xl);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.empty-state p {
  color: var(--color-text-muted);
  font-size: var(--text-base);
  max-width: 400px;
  margin: 0 auto 1.5rem;
}

/* ==========================================
   LOADING STATES
   ========================================== */
.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--color-border);
  border-top-color: var(--color-accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

.skeleton {
  background: linear-gradient(90deg, var(--color-bg) 25%, var(--bg-hover, #f0f0f0) 50%, var(--color-bg) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-md);
}

/* Dark mode skeleton adjustment */
[data-theme="dark"] .skeleton {
  background: linear-gradient(90deg, var(--color-bg) 25%, rgba(255,255,255,0.1) 50%, var(--color-bg) 75%);
  background-size: 200% 100%;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ==========================================
   OVERLAY & MODALS
   ========================================== */
.overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: var(--z-overlay, 150);
}

.overlay.show {
  display: block;
}

@media (min-width: 1024px) {
  .overlay {
    display: none !important;
  }
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */
.text-accent { color: var(--color-accent); }
.text-muted { color: var(--color-text-muted); }
.text-success { color: var(--color-green); }
.text-warning { color: var(--color-yellow); }
.text-error { color: var(--color-red); }

.bg-accent { background: var(--color-accent); }
.bg-accent-soft { background: var(--color-accent-soft); }

.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mb-4 { margin-bottom: 1rem; }
