/* SpinBook Main Application CSS Styles - Parte 1/3 */
/* © José Lobos Sanhueza, Beraka Studio, 2025 */

/* ========== VARIABLES DE COLORES ========== */
:root {
  /* Modo Oscuro (por defecto) */
  --bg-primary: #000000;
  --bg-secondary: #111827;
  --bg-card: rgba(31, 41, 55, 0.5);
  --bg-card-solid: #1f2937;
  --bg-input: #374151;
  --bg-hover: #4b5563;

  --text-primary: #ffffff;
  --text-secondary: #d1d5db;
  --text-muted: #9ca3af;
  --text-accent: #facc15;

  --border-primary: #374151;
  --border-secondary: #4b5563;
  --border-accent: #facc15;

  --accent-primary: #facc15;
  --accent-hover: #fbbf24;
  --accent-text: #000000;

  /* Colores de estado */
  --success-bg: #065f46;
  --success-text: #6ee7b7;
  --error-bg: #7f1d1d;
  --error-text: #fca5a5;
  --info-bg: #1e3a8a;
  --info-text: #93c5fd;
}

/* ========== LAYOUT ========== */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.grid { display: grid; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }


/* ========== ESPACIADO ========== */
.m-0 { margin: 0; }
.m-1 { margin: 0.25rem; }
.m-2 { margin: 0.5rem; }
.m-3 { margin: 0.75rem; }
.m-4 { margin: 1rem; }
.m-5 { margin: 1.25rem; }
.m-6 { margin: 1.5rem; }
.m-8 { margin: 2rem; }
.m-10 { margin: 2.5rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }

.mx-auto { margin-left: auto; margin-right: auto; }

.p-0 { padding: 0; }
.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }

.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }

.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }

/* ========== JUSTIFY & ALIGN EXTRA ========== */
.justify-start { justify-content: flex-start; }
.justify-end { justify-content: flex-end; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }
.justify-evenly { justify-content: space-evenly; }

.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.items-stretch { align-items: stretch; }

/* ========== DIMENSIONES ========== */
.w-full { width: 100%; }
.h-full { height: 100%; }
.h-screen { height: 100vh; }
.max-w-4xl { max-width: 56rem; /* Tailwind valor estándar */ }
.w-1\/2 { width: 50%; }
.w-1\/3 { width: 33.3333%; }
.w-2\/3 { width: 66.6667%; }
.w-1\/4 { width: 25%; }
.w-3\/4 { width: 75%; }
.max-w-screen-lg { max-width: 1024px; }
.h-96 { height: 24rem; }

/* ========== BORDES Y RADIOS ========== */
.rounded { border-radius: 0.25rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }

/* ========== SOMBRAS ========== */
.shadow { box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06); }
.shadow-lg { box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.1); }
.shadow-xl { box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04); }

/* ========== TIPOGRAFÍA ========== */
.font-bold { font-weight: 700; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.leading-none { line-height: 1; }
.leading-tight { line-height: 1.25; }
.leading-snug { line-height: 1.375; }
.leading-normal { line-height: 1.5; }
.leading-relaxed { line-height: 1.625; }
.leading-loose { line-height: 2; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }

/* ========== MODO CLARO (CSS Variables) ========== */
body.light-mode {
  --bg-primary: #e9ecf0;
  --bg-secondary: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-card-solid: #ffffff;
  --bg-input: #f1f5f9;
  --bg-hover: #e2e8f0;

  --text-primary: #1e293b;
  --text-secondary: #334155; /* mayor contraste en claro */
  --text-muted: #64748b;
  --text-accent: #facc15;

  --border-primary: #e2e8f0;
  --border-secondary: #cbd5e1;
  --border-accent: #facc15;

  --accent-primary: #facc15;
  --accent-hover: #fbbf24;
  --accent-text: #ffffff;

  --success-bg: #dcfce7;
  --success-text: #166534;
  --error-bg: #fef2f2;
  --error-text: #dc2626;
  --info-bg: #dbeafe;
  --info-text: #1d4ed8;
}

/* ========== ESTILOS BASE ========== */
html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  margin: 0;
}

h1, h2, h3, h4, h5, h6, p, span, a { font-family: inherit; }

.container { flex: 1; }

/* ========== TOP BAR (Header) ========== */
.top-bar {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-card-solid) 50%, var(--bg-secondary) 100%);
  border-bottom: 2px solid var(--border-primary);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  position: relative;
  backdrop-filter: blur(10px);
}

/* Línea amarilla que se mantiene en ambos modos */
.top-bar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--accent-primary) 50%, transparent 100%);
}

/* ========== Toggle de Tema (switch) ========== */
.theme-toggle-switch { position: relative; transition: all 0.3s ease; }
.theme-toggle-slider {
  background-color: var(--border-secondary);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}
.theme-toggle-dot {
  background-color: var(--text-primary);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}
#darkModeToggle:checked + .theme-toggle-slider {
  background-color: var(--accent-primary) !important;
  box-shadow: 0 0 10px rgba(180, 83, 9, 0.4);
}
#darkModeToggle:checked + .theme-toggle-slider .theme-toggle-dot {
  transform: translateX(1.5rem);
  background-color: var(--accent-text);
}

/* Iconos del tema */
.theme-icon { transition: color 0.3s ease, opacity 0.3s ease; color: var(--text-muted); }
.light-mode .sun-icon, body:not(.light-mode) .moon-icon { color: var(--accent-primary); }

/* ========== LOGOTITLE ========== */
.logotitle { display: flex; width: 100%; justify-content: center; }
.logotitle img.logo { max-width: 12%; height: 100%; }
.logotitle .title { display: flex; flex-flow: column; margin-left: 2rem; text-align: left; justify-content: center; }
.sb-link:hover {text-decoration: none !important;}

/* ========== UTILIDADES CON VARIABLES ========== */
.bg-black { background-color: var(--bg-primary) !important; }
.bg-gray-900 { background-color: var(--bg-card-solid) !important; }
.bg-gray-900\/50 { background-color: var(--bg-card) !important; backdrop-filter: blur(6px); }
.bg-gray-800 { background-color: var(--bg-input) !important; }
.bg-gray-700 { background-color: var(--bg-hover) !important; }
.bg-gray-600 { background-color: var(--border-secondary) !important; }

.text-white { color: var(--text-primary) !important; }
.text-gray-300 { color: var(--text-secondary) !important; }
.text-gray-400, .text-gray-500 { color: var(--text-muted) !important; }
.text-yellow-400, .text-yellow-500 { color: var(--text-accent) !important; }

.border-gray-600 { border-color: var(--border-secondary) !important; }
.border-gray-700 { border-color: var(--border-primary) !important; }
.border-yellow-400 { border-color: var(--border-accent) !important; }

.bg-yellow-500 { background-color: var(--accent-primary) !important; color: var(--accent-text) !important; }
.bg-yellow-500:hover { background-color: var(--accent-hover) !important; }

/* ========== CONTENEDORES Y TEXTOS ========== */
.card { background-color: var(--bg-card-solid); border: 1px solid var(--border-primary); border-radius: 0.75rem; }
.muted { color: var(--text-muted); }

/* ========== CALENDARIO ========== */
.calendar-day {
  padding: 0.5rem;
  border-radius: 0.375rem;
  font-weight: 600;
  text-align: center;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.1s ease;
  outline: none;
}
.calendar-day:focus-visible { box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.35); }

/* Días habilitados */
.calendar-day:not(.disabled) { background-color: transparent; color: var(--text-primary); cursor: pointer; }
.calendar-day:not(.disabled):hover { background-color: var(--accent-hover); color: var(--accent-text); }

/* Días deshabilitados (contraste en claro y oscuro) */
.calendar-day.disabled { background-color: var(--bg-hover); color: var(--text-muted); cursor: not-allowed; opacity: 0.6; }

/* Día actual y seleccionado */
.calendar-day.today { border: 1px dashed var(--border-accent); }
.calendar-day.selected { background-color: var(--accent-primary); color: var(--accent-text); border: 1px solid var(--border-accent); }

/* Estados especiales */
.calendar-day.fully-booked { background-color: var(--bg-hover); color: var(--text-muted); cursor: not-allowed; }

/* Encabezado del calendario */
.calendar-header-title { color: var(--text-secondary); font-weight: 700; }

/* ========== SLOTS DE HORA ========== */
.time-slot { border: 1px solid var(--border-primary); border-radius: 0.5rem; padding: 0.5rem 0.75rem; text-align: center; transition: transform 0.12s ease, background-color 0.2s ease, color 0.2s ease; }
.time-slot:not(.disabled):hover { transform: scale(1.05); }
.time-slot.available { background-color: #10b981; color: #ffffff; border-color: #059669; }
.time-slot.available:hover { background-color: #059669; }
.time-slot.selected { background-color: var(--accent-primary); color: var(--accent-text); border-color: var(--accent-hover); }
.time-slot.disabled { background-color: var(--bg-hover); color: var(--text-muted); cursor: not-allowed; opacity: 0.6; }

/* ========== CAMPOS E INPUTS ========== */
input[type="text"], input[type="email"], input[type="tel"], textarea {
  background-color: var(--bg-input);
  color: var(--text-primary);
  border: 1px solid var(--border-secondary);
  border-radius: 0.5rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
input::placeholder, textarea::placeholder { color: var(--text-muted); }
input:focus, textarea:focus { border-color: var(--border-accent); box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.2); outline: none; }

/* Observaciones desplegable */
#observations-field { transition: all 0.3s ease; transform-origin: top; }
#observations-field.hidden { max-height: 0; overflow: hidden; opacity: 0; }
#observations-field:not(.hidden) { max-height: 220px; opacity: 1; }
#observations { transition: transform 0.2s ease, box-shadow 0.2s ease; }
#observations:focus { transform: scale(1.01); box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.12); }

/* ========== TOGGLES ========== */
.toggle-switch { transition: all 0.3s ease; box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1); }
.toggle-dot { transition: all 0.3s ease; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); }
.toggle-switch.bg-yellow-500 { background-color: #eab308 !important; box-shadow: 0 0 10px rgba(234, 179, 8, 0.4); }

/* ========== BOTONES Y ACCIONES ========== */
.btn-primary { background-color: var(--accent-primary); color: var(--accent-text); border-radius: 0.75rem; font-weight: 800; }
.btn-primary:hover { background-color: var(--accent-hover); }

/* ========== LOADER / MODAL ========== */
.loader { border-top-color: #f59e0b; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.modal-backdrop { background-color: rgba(0, 0, 0, 0.75); backdrop-filter: blur(4px); }
.modal-content { animation: modalSlideIn 0.3s ease-out; }
@keyframes modalSlideIn { from { opacity: 0; transform: translateY(-50px) scale(0.95); } to { opacity: 1; transform: translateY(0) scale(1); } }

/* ========== TARJETAS DE SERVICIO ========== */
.service-card {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  background-color: var(--bg-input) !important;
  border: 2px solid var(--border-secondary) !important;
  border-radius: 0.75rem;
}

/* Barrido de luz sutil */
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(250, 204, 21, 0.1), transparent);
  transition: left 0.6s ease;
}
.service-card:hover::before { left: 120%; }

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(250, 204, 21, 0.15);
  border-color: var(--border-accent) !important;
}

/* Estado seleccionado (borde amarillo y leve glow) */
.service-card.border-yellow-400 {
  box-shadow: 0 0 20px rgba(250, 204, 21, 0.3);
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.05) 0%, rgba(250, 204, 21, 0.1) 100%) !important;
  border-color: var(--border-accent) !important;
}

.service-card .service-checkbox { transition: all 0.2s ease; }
.service-card .service-checkbox:checked { background-color: #facc15; border-color: #facc15; }

/* ========== TIPOGRAFÍA Y TITULARES ========== */
h1 { letter-spacing: -0.02em; }
h2 { letter-spacing: -0.01em; }
.header-subtitle { color: var(--text-muted); }

/* ========== MENSAJES / ALERTAS ========== */
.alert { border-radius: 0.75rem; padding: 0.75rem 1rem; font-weight: 600; }
.alert-success { background: var(--success-bg); color: var(--success-text); }
.alert-error { background: var(--error-bg); color: var(--error-text); }
.alert-info { background: var(--info-bg); color: var(--info-text); }

/* ========== TABLAS / LISTAS ========== */
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { border-bottom: 1px solid var(--border-primary); padding: 0.75rem; text-align: left; }
.table th { color: var(--text-secondary); font-weight: 700; }
.table tr:hover { background-color: var(--bg-hover); }

/* ========== ENLACES ========== */
a { color: var(--text-accent); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--text-primary); text-decoration: underline; }

/* ========== UTILIDADES EXTRA ========== */
.shadow-accent { box-shadow: 0 10px 30px rgba(250, 204, 21, 0.1); }
.outline-accent { outline: 2px solid var(--border-accent); outline-offset: 2px; }
.rounded-xl { border-radius: 0.75rem; }

/* ========== MODAL Y COMPONENTES ========== */
.modal-header { background: var(--accent-primary); color: var(--accent-text); }
.modal-section { background: var(--bg-input); border: 1px solid var(--border-primary); border-radius: 0.75rem; }
.modal-section h4 { color: var(--text-accent); font-weight: 800; }
.modal-section .row { color: var(--text-primary); }
.modal-section .label { color: var(--text-muted); }

/* ========== ANIMACIONES, TRANSICIONES Y TRANSFORMACIONES ========== */
@keyframes serviceCardPulse { 0% { transform: scale(1); } 50% { transform: scale(1.02); } 100% { transform: scale(1); } }
.service-card.border-yellow-400 { animation: serviceCardPulse 2s ease-in-out infinite; }

@keyframes serviceGlow { 0%, 100% { box-shadow: 0 0 20px rgba(250, 204, 21, 0.3); } 50% { box-shadow: 0 0 30px rgba(250, 204, 21, 0.5); } }
.service-card.border-yellow-400:hover { animation: serviceGlow 1.5s ease-in-out infinite; }

@keyframes toggleGlow { 0%, 100% { box-shadow: 0 0 10px rgba(234, 179, 8, 0.4); } 50% { box-shadow: 0 0 15px rgba(234, 179, 8, 0.6); } }
.toggle-switch.bg-yellow-500:hover { animation: toggleGlow 1s ease-in-out infinite; }

.transition { transition-property: all; transition-duration: 150ms; transition-timing-function: ease-in-out; }
.duration-100 { transition-duration: 100ms; }
.duration-200 { transition-duration: 200ms; }
.duration-300 { transition-duration: 300ms; }
.duration-500 { transition-duration: 500ms; }
.ease-linear { transition-timing-function: linear; }
.ease-in { transition-timing-function: cubic-bezier(0.4, 0, 1, 1); }
.ease-out { transition-timing-function: cubic-bezier(0, 0, 0.2, 1); }
.ease-in-out { transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }

.transform { transform: translate(0); }
.scale-95 { transform: scale(0.95); }
.scale-100 { transform: scale(1); }
.scale-105 { transform: scale(1.05); }
.hover\:scale-105:hover { transform: scale(1.05); }
.hover\:scale-110:hover { transform: scale(1.10); }

/* ========== FOOTER ========== */
footer {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-card-solid) 50%, var(--bg-secondary) 100%);
  border-top: 2px solid var(--border-primary);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
  position: relative;
  margin-top: auto;
  transition: all 0.3s ease;
}
/* Línea amarilla que se mantiene en ambos modos */
footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--accent-primary) 50%, transparent 100%);
}
footer p { color: var(--text-secondary); font-weight: 500; letter-spacing: 0.025em; }
footer a { color: var(--accent-primary); transition: color 0.3s ease; }
footer a:hover { color: var(--text-primary); text-decoration: underline; }

/* ========== ACCESIBILIDAD / FOCUS ========== */
:focus-visible { outline: 2px solid var(--border-accent); outline-offset: 2px; }
[role="button"], button, .time-slot, .service-card { -webkit-tap-highlight-color: transparent; }

/* Estados de foco específicos */
.service-card:focus-within { outline: 2px solid var(--border-accent); outline-offset: 2px; }
.toggle-switch:focus-within { outline: 2px solid var(--border-accent); outline-offset: 2px; }

/* Contraste alto opcional */
@media (prefers-contrast: high) {
  .service-card.border-yellow-400 { border-width: 3px; background-color: rgba(250, 204, 21, 0.2); }
  .toggle-switch.bg-yellow-500 { background-color: #facc15 !important; }
  .calendar-day.selected { box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.55); }
}

/* Reducir movimiento */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ========== BREAKPOINTS Y RESPONSIVE ========== */
@media (max-width: 1024px) {
  .logotitle img.logo { max-width: 16%; }
}

@media (max-width: 768px) {
  .logotitle img.logo { max-width: 20%; }
  .service-card { padding: 1rem; }
  .service-card .text-4xl { font-size: 2.5rem; }
  .service-card h3 { font-size: 1rem; }
  .toggle-switch { width: 2.5rem; height: 1.25rem; }
  .toggle-dot { width: 0.875rem; height: 0.875rem; }
}

/* ========== HEADINGS Y SEPARADORES ========== */
.section-title { color: var(--text-accent); font-weight: 800; letter-spacing: -0.01em; }
.hr-muted { height: 1px; border: 0; background: var(--border-primary); }

/* ========== CARDS GENÉRICAS ========== */
.card-surface {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-card-solid) 100%);
  border: 1px solid var(--border-primary);
  border-radius: 1rem;
}
.card-surface:hover { border-color: var(--border-accent); box-shadow: 0 8px 30px rgba(250, 204, 21, 0.08); }

/* ========== ETIQUETAS / BADGES ========== */
.badge { display: inline-block; padding: 0.25rem 0.5rem; border-radius: 0.5rem; font-weight: 700; font-size: 0.75rem; }
.badge-accent { background: rgba(250, 204, 21, 0.15); color: var(--text-accent); border: 1px solid rgba(250, 204, 21, 0.35); }
.badge-muted { background: var(--bg-hover); color: var(--text-secondary); border: 1px solid var(--border-primary); }

/* ========== TOOLTIP SIMPLE ========== */
.tooltip {
  position: relative; cursor: help; color: var(--text-accent);
}
.tooltip::after {
  content: attr(data-tip);
  position: absolute; left: 50%; transform: translateX(-50%);
  bottom: calc(100% + 8px);
  white-space: nowrap; font-size: 12px; font-weight: 600;
  background: var(--bg-card-solid); color: var(--text-primary);
  border: 1px solid var(--border-primary); border-radius: 6px;
  padding: 6px 10px; opacity: 0; pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.tooltip:hover::after { opacity: 1; transform: translateX(-50%) translateY(-2px); }

/* ========== GRID ========== */
#app-content { background: var(--bg-card); border: 1px solid var(--border-primary); border-radius: 1rem; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.grid-cols-7 { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.grid-cols-8 { grid-template-columns: repeat(8, minmax(0, 1fr)); }
.grid-cols-9 { grid-template-columns: repeat(9, minmax(0, 1fr)); }

.col-span-1 { grid-column: span 1 / span 1; }
.col-span-2 { grid-column: span 2 / span 2; }
.col-span-3 { grid-column: span 3 / span 3; }
.col-span-4 { grid-column: span 4 / span 4; }

/* ========== ENCABEZADOS SECCIONES ========== */
.section-heading { color: var(--text-accent); font-weight: 800; }
.section-subtitle { color: var(--text-muted); }

/* ========== SELECTORES Y FORM FIELDS EXTRA ========== */
select {
  background-color: var(--bg-input);
  color: var(--text-primary);
  border: 1px solid var(--border-secondary);
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
}
select:focus { border-color: var(--border-accent); box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.2); outline: none; }

/* ========== BREADCRUMBS (si se usan) ========== */
.breadcrumbs { color: var(--text-muted); font-size: 0.875rem; }
.breadcrumbs a { color: var(--text-secondary); }
.breadcrumbs a:hover { color: var(--text-accent); }

/* ========== PAGINACIÓN (si se usa) ========== */
.pagination { display: flex; gap: 0.5rem; align-items: center; }
.pagination .page { border: 1px solid var(--border-primary); padding: 0.375rem 0.625rem; border-radius: 0.5rem; }
.pagination .page.active { background: var(--accent-primary); color: var(--accent-text); border-color: var(--border-accent); }
.pagination .page:hover { background: var(--bg-hover); }

/* ========== TAB NAVS / PILLS ========== */
.tabs { display: flex; gap: 0.5rem; border-bottom: 1px solid var(--border-primary); }
.tab { padding: 0.5rem 0.75rem; border: 1px solid transparent; border-top-left-radius: 0.5rem; border-top-right-radius: 0.5rem; color: var(--text-secondary); }
.tab:hover { color: var(--text-primary); }
.tab.active { background: var(--bg-secondary); border-color: var(--border-primary) var(--border-primary) transparent; color: var(--text-primary); }

/* ========== LISTAS DE SERVICIOS / ITEMS ========== */
.item { background: var(--bg-input); border: 1px solid var(--border-primary); border-radius: 0.5rem; padding: 0.5rem 0.75rem; }
.item:hover { border-color: var(--border-accent); }
.item-title { color: var(--text-secondary); font-weight: 700; }
.item-desc { color: var(--text-muted); }

/* ========== TOASTS ========== */
.toast { background: var(--bg-card-solid); color: var(--text-primary); border: 1px solid var(--border-primary); border-radius: 0.75rem; padding: 0.625rem 0.875rem; box-shadow: 0 6px 20px rgba(0,0,0,0.2); }
.toast-success { border-left: 4px solid #16a34a; }
.toast-error { border-left: 4px solid #dc2626; }
.toast-info { border-left: 4px solid #2563eb; }

/* ========== ETIQUETAS DE FORMULARIO ========== */
.label { color: var(--text-secondary); font-weight: 600; }
.help-text { color: var(--text-muted); font-size: 0.875rem; }

/* ========== CABECERAS DE TABLAS ========== */
.table thead tr { background: var(--bg-input); }
.table tbody tr.selected { background: rgba(250, 204, 21, 0.08); }

/* ========== WIDGET DE RESUMEN ========== */
.summary-widget { background: var(--bg-card); border: 1px solid var(--border-primary); border-radius: 0.75rem; padding: 1rem; }
.summary-widget .kpi { color: var(--text-accent); font-weight: 800; }
.summary-widget .desc { color: var(--text-secondary); }

/* ========== HEADER SECUNDARIO / SUBNAV ========== */
.subnav { background: var(--bg-card-solid); border-bottom: 1px solid var(--border-primary); }
.subnav a { color: var(--text-secondary); }
.subnav a.active { color: var(--text-accent); }

/* ========== CARDS INTERACTIVAS ========== */
.card-interactive { background: var(--bg-input); border: 1px solid var(--border-primary); border-radius: 0.75rem; transition: transform 0.15s ease, box-shadow 0.2s ease; }
.card-interactive:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25); }
.card-interactive:active { transform: translateY(0); }

/* ========== BLOQUES DE TEXTO / QUOTES ========== */
blockquote { background: var(--bg-card); border-left: 4px solid var(--border-accent); color: var(--text-secondary); padding: 0.75rem 1rem; border-radius: 0 0.5rem 0.5rem 0; }

/* ========== BUSCADOR / INPUT CON ICONO ========== */
.input-icon { position: relative; }
.input-icon input { padding-left: 2.25rem; }
.input-icon .icon { position: absolute; left: 0.75rem; top: 50%; transform: translateY(-50%); color: var(--text-muted); }

/* ========== PROGRESS / STEPS ========== */
.progress { height: 8px; background: var(--bg-input); border-radius: 999px; overflow: hidden; }
.progress .bar { height: 100%; width: 0%; background: var(--accent-primary); transition: width 0.3s ease; }

/* ========== AVATARES ========== */
.avatar { width: 40px; height: 40px; border-radius: 999px; background: var(--bg-hover); border: 1px solid var(--border-primary); }
.avatar-ring { box-shadow: 0 0 0 2px var(--bg-primary), 0 0 0 4px var(--accent-primary); }

/* ========== TABS CONTENIDO ========== */
.tab-panel { background: var(--bg-card-solid); border: 1px solid var(--border-primary); border-top: none; border-radius: 0 0 0.5rem 0.5rem; }

/* ========== PRINT STYLES (básico) ========== */
@media print {
  body { background: #ffffff; color: #000; }
  .top-bar, footer, .modal-backdrop { display: none !important; }
  a { color: #000; text-decoration: underline; }
  .card, .card-surface, .summary-widget, .tab-panel { border-color: #ddd !important; }
}

/* ========== HELPER CLASSES DE ESPACIADO ========== */
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }

/* ========== Z-INDEX LAYERS ========== */
.z-0 { z-index: 0; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }

/* ========== OPACITY ========== */
.opacity-0 { opacity: 0; }
.opacity-25 { opacity: 0.25; }
.opacity-50 { opacity: 0.5; }
.opacity-75 { opacity: 0.75; }
.opacity-100 { opacity: 1; }

/* ========== FLEX HELPERS ========== */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.flex-wrap { flex-wrap: wrap; }
.flex-nowrap { flex-wrap: nowrap; }
.flex-1 { flex: 1 1 0%; }
.flex-auto { flex: 1 1 auto; }
.flex-initial { flex: 0 1 auto; }
.flex-none { flex: none; }

.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }
.overflow-scroll { overflow: scroll; }

/* ========== ICONOS / SVGS ========== */
svg, svg path { transition: fill 0.2s ease, stroke 0.2s ease; }

/* ========== CHECKBOXES Y RADIO ========== */
input[type="checkbox"], input[type="radio"] {
  accent-color: #facc15; /* mantiene consistencia con el acento */
}

/* ========== CURSORES ========== */
.cursor-pointer { cursor: pointer; }
.cursor-default { cursor: default; }
.cursor-not-allowed { cursor: not-allowed; }

/* ========== RING ========== */
.focus\:outline-none:focus { outline: 0; }
.focus\:ring-2:focus { box-shadow: 0 0 0 2px var(--accent-primary); }
.focus\:ring-4:focus { box-shadow: 0 0 0 4px var(--accent-primary); }
.focus\:ring-yellow-400:focus { box-shadow: 0 0 0 2px var(--accent-primary); }

/* ========== MISC ========== */
.rounded-none { border-radius: 0; }
.uppercase { text-transform: uppercase; }
.lowercase { text-transform: lowercase; }
.capitalize { text-transform: capitalize; }
.tracking-tight { letter-spacing: -0.01562em; }
.tracking-normal { letter-spacing: 0; }
.tracking-wide { letter-spacing: 0.025em; }

/* =============================================== */
/* ========== CLASES TAILWIND RESTANTES ========== */
/* =============================================== */

/* ========== DISPLAY ========== */
.hidden { display: none !important; }
.block { display: block; }
.inline { display: inline; }
.inline-block { display: inline-block; }
.table { display: table; }
.table-cell { display: table-cell; }
.table-row { display: table-row; }

/* ========== POSITION ========== */
.static { position: static; }
.fixed { position: fixed; }
.absolute { position: absolute; }
.relative { position: relative; }
.sticky { position: sticky; }

/* ========== TOP/RIGHT/BOTTOM/LEFT ========== */
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.top-1 { top: 0.25rem; }
.top-2 { top: 0.5rem; }
.top-4 { top: 1rem; }
.right-0 { right: 0; }
.right-4 { right: 1rem; }
.bottom-0 { bottom: 0; }
.left-0 { left: 0; }
.left-1 { left: 0.25rem; }
.left-4 { left: 1rem; }

/* ========== WIDTH/HEIGHT ESPECÍFICAS ========== */
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-8 { width: 2rem; }
.w-12 { width: 3rem; }
.w-16 { width: 4rem; }
.w-64 { width: 16rem; }

.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-8 { height: 2rem; }
.h-12 { height: 3rem; }
.h-16 { height: 4rem; }
.h-32 { height: 8rem; }

/* ========== MARGIN/PADDING ESPECÍFICOS ========== */
.mx-4 { margin-left: 1rem; margin-right: 1rem; }
.my-4 { margin-top: 1rem; margin-bottom: 1rem; }
.ml-2 { margin-left: 0.5rem; }
.mr-2 { margin-right: 0.5rem; }
.ml-4 { margin-left: 1rem; }
.mr-4 { margin-right: 1rem; }

.pt-8 { padding-top: 2rem; }
.pl-1 { padding-left: 0.25rem; }
.pr-4 { padding-right: 1rem; }

/* ========== SPACE-BETWEEN UTILITIES ========== */
.space-x-2 > :not([hidden]) ~ :not([hidden]) { margin-left: 0.5rem; }
.space-x-3 > :not([hidden]) ~ :not([hidden]) { margin-left: 0.75rem; }
.space-x-4 > :not([hidden]) ~ :not([hidden]) { margin-left: 1rem; }
.space-y-2 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.5rem; }
.space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 1rem; }

/* ========== FONT WEIGHT ========== */
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-black { font-weight: 900; }

/* ========== LETTER SPACING ========== */
.tracking-tight { letter-spacing: -0.025em; }

/* ========== ANTIALIASING ========== */
.antialiased { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* ========== MAX WIDTH ========== */
.max-w-6xl { max-width: 72rem; }
.max-w-md { max-width: 28rem; }

/* ========== BORDER WIDTH ========== */
.border { border-width: 1px; }
.border-2 { border-width: 2px; }
.border-4 { border-width: 4px; }
.border-t { border-top-width: 1px; }
.border-b { border-bottom-width: 1px; }

/* ========== BACKDROP FILTER ========== */
.backdrop-blur-sm { backdrop-filter: blur(4px); }

/* ========== SR-ONLY (Screen Reader Only) ========== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ========== RESIZE ========== */
.resize-none { resize: none; }

/* ========== OUTLINE ========== */
.outline-none { outline: 0; }

/* ========== RING (Focus States) ========== */
.focus\:ring-2:focus { box-shadow: 0 0 0 2px var(--accent-primary); }
.focus\:ring-yellow-500:focus { box-shadow: 0 0 0 2px #eab308; }
.focus\:border-yellow-500:focus { border-color: #eab308; }

/* ========== HOVER STATES ========== */
.hover\:bg-gray-700:hover { background-color: var(--bg-hover) !important; }
.hover\:bg-gray-600:hover { background-color: var(--border-secondary) !important; }
.hover\:bg-yellow-400:hover { background-color: var(--accent-hover) !important; }
.hover\:border-yellow-400:hover { border-color: var(--border-accent) !important; }

/* ========== RESPONSIVE - MOBILE FIRST ========== */
/* Small screens (640px and up) */
@media (min-width: 640px) {
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sm\:text-lg { font-size: 1.125rem; line-height: 1.75rem; }
}

/* Medium screens (768px and up) */
@media (min-width: 768px) {
  .md\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .md\:py-8 { padding-top: 2rem; padding-bottom: 2rem; }
  .md\:p-8 { padding: 2rem; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .md\:text-5xl { font-size: 3rem; line-height: 1; }
  .md\:mb-12 { margin-bottom: 3rem; }
  .md\:w-auto { width: auto; }
}

/* Large screens (1024px and up) */
@media (min-width: 1024px) {
  .lg\:text-6xl { font-size: 3.75rem; line-height: 1; }
}

/* ========== FILL (SVG) ========== */
.fill-none { fill: none; }
.fill-current { fill: currentColor; }

/* ========== STROKE (SVG) ========== */
.stroke-current { stroke: currentColor; }

/* ========== STROKE WIDTH (SVG) ========== */
[stroke-width="2"] { stroke-width: 2; }

/* ========== STROKE LINE CAP/JOIN (SVG) ========== */
[stroke-linecap="round"] { stroke-linecap: round; }
[stroke-linejoin="round"] { stroke-linejoin: round; }

/* ========== VIEWBOX (SVG) ========== */
/* SVG viewBox se maneja como atributo, no como clase CSS */

/* ========== ADDITIONAL UTILITIES ========== */
.object-cover { object-fit: cover; }
.object-contain { object-fit: contain; }

/* ========== ASPECT RATIO ========== */
.aspect-square { aspect-ratio: 1 / 1; }
.aspect-video { aspect-ratio: 16 / 9; }

/* ========== CONTAINER QUERIES ========== */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container { max-width: 640px; }
}

@media (min-width: 768px) {
  .container { max-width: 768px; }
}

@media (min-width: 1024px) {
  .container { max-width: 1024px; }
}

@media (min-width: 1280px) {
  .container { max-width: 1280px; }
}

@media (min-width: 1536px) {
  .container { max-width: 1536px; }
}

/* ========== TEXT OVERFLOW ========== */
.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.text-ellipsis { text-overflow: ellipsis; }
.text-clip { text-overflow: clip; }

/* ========== WHITE SPACE ========== */
.whitespace-nowrap { white-space: nowrap; }
.whitespace-pre { white-space: pre; }
.whitespace-pre-line { white-space: pre-line; }
.whitespace-pre-wrap { white-space: pre-wrap; }

/* ========== WORD BREAK ========== */
.break-normal { overflow-wrap: normal; word-break: normal; }
.break-words { overflow-wrap: break-word; }
.break-all { word-break: break-all; }

/* ========== VERTICAL ALIGN ========== */
.align-baseline { vertical-align: baseline; }
.align-top { vertical-align: top; }
.align-middle { vertical-align: middle; }
.align-bottom { vertical-align: bottom; }

/* ========== FLOAT ========== */
.float-left { float: left; }
.float-right { float: right; }
.float-none { float: none; }

/* ========== CLEAR ========== */
.clear-left { clear: left; }
.clear-right { clear: right; }
.clear-both { clear: both; }
.clear-none { clear: none; }

/* ========== BOX SIZING ========== */
.box-border { box-sizing: border-box; }
.box-content { box-sizing: content-box; }

/* ========== DISPLAY FLEX ADDITIONAL ========== */
.flex-shrink-0 { flex-shrink: 0; }
.flex-shrink { flex-shrink: 1; }
.flex-grow-0 { flex-grow: 0; }
.flex-grow { flex-grow: 1; }

/* ========== ORDER ========== */
.order-first { order: -9999; }
.order-last { order: 9999; }
.order-none { order: 0; }

/* ========== GRID AUTO ========== */
.grid-flow-row { grid-auto-flow: row; }
.grid-flow-col { grid-auto-flow: column; }

/* ========== PLACE ITEMS ========== */
.place-items-start { place-items: start; }
.place-items-end { place-items: end; }
.place-items-center { place-items: center; }
.place-items-stretch { place-items: stretch; }

/* ========== PLACE CONTENT ========== */
.place-content-center { place-content: center; }
.place-content-start { place-content: start; }
.place-content-end { place-content: end; }
.place-content-between { place-content: space-between; }
.place-content-around { place-content: space-around; }
.place-content-evenly { place-content: space-evenly; }

/* ========== MIN/MAX DIMENSIONS ========== */
.min-w-0 { min-width: 0px; }
.min-w-full { min-width: 100%; }
.min-h-0 { min-height: 0px; }
.min-h-full { min-height: 100%; }
.min-h-screen { min-height: 100vh; }

.max-w-none { max-width: none; }
.max-w-xs { max-width: 20rem; }
.max-w-sm { max-width: 24rem; }
.max-w-lg { max-width: 32rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-7xl { max-width: 80rem; }
.max-w-full { max-width: 100%; }
.max-w-min { max-width: min-content; }
.max-w-max { max-width: max-content; }

.max-h-full { max-height: 100%; }
.max-h-screen { max-height: 100vh; }

/* ========== LIST STYLE ========== */
.list-none { list-style-type: none; }
.list-disc { list-style-type: disc; }
.list-decimal { list-style-type: decimal; }

/* ========== APPEARANCE ========== */
.appearance-none { appearance: none; }

/* ========== POINTER EVENTS ========== */
.pointer-events-none { pointer-events: none; }
.pointer-events-auto { pointer-events: auto; }

/* ========== USER SELECT ========== */
.select-none { user-select: none; }
.select-text { user-select: text; }
.select-all { user-select: all; }
.select-auto { user-select: auto; }

/* ========== CONTENT ========== */
.content-none { content: none; }

/* ========== VISIBILITY ========== */
.visible { visibility: visible; }
.invisible { visibility: hidden; }

/* ========== CLIP PATH ========== */
.clip-auto { clip-path: auto; }

/* ========== ISOLATION ========== */
.isolate { isolation: isolate; }
.isolation-auto { isolation: auto; }

/* ========== MIX BLEND MODE ========== */
.mix-blend-normal { mix-blend-mode: normal; }
.mix-blend-multiply { mix-blend-mode: multiply; }
.mix-blend-screen { mix-blend-mode: screen; }
.mix-blend-overlay { mix-blend-mode: overlay; }

/* ========== BACKGROUND BLEND MODE ========== */
.bg-blend-normal { background-blend-mode: normal; }
.bg-blend-multiply { background-blend-mode: multiply; }
.bg-blend-screen { background-blend-mode: screen; }
.bg-blend-overlay { background-blend-mode: overlay; }

/* ========== FILTERS ========== */
.filter { filter: none; }
.blur-none { filter: blur(0); }
.blur-sm { filter: blur(4px); }
.blur { filter: blur(8px); }
.blur-md { filter: blur(12px); }
.blur-lg { filter: blur(16px); }
.blur-xl { filter: blur(24px); }
.blur-2xl { filter: blur(40px); }
.blur-3xl { filter: blur(64px); }

/* ========== BACKGROUND ATTACHMENT ========== */
.bg-fixed { background-attachment: fixed; }
.bg-local { background-attachment: local; }
.bg-scroll { background-attachment: scroll; }

/* ========== BACKGROUND CLIP ========== */
.bg-clip-border { background-clip: border-box; }
.bg-clip-padding { background-clip: padding-box; }
.bg-clip-content { background-clip: content-box; }
.bg-clip-text { background-clip: text; }

/* ========== BACKGROUND ORIGIN ========== */
.bg-origin-border { background-origin: border-box; }
.bg-origin-padding { background-origin: padding-box; }
.bg-origin-content { background-origin: content-box; }

/* ========== BACKGROUND POSITION ========== */
.bg-bottom { background-position: bottom; }
.bg-center { background-position: center; }
.bg-left { background-position: left; }
.bg-left-bottom { background-position: left bottom; }
.bg-left-top { background-position: left top; }
.bg-right { background-position: right; }
.bg-right-bottom { background-position: right bottom; }
.bg-right-top { background-position: right top; }
.bg-top { background-position: top; }

/* ========== BACKGROUND REPEAT ========== */
.bg-repeat { background-repeat: repeat; }
.bg-no-repeat { background-repeat: no-repeat; }
.bg-repeat-x { background-repeat: repeat-x; }
.bg-repeat-y { background-repeat: repeat-y; }
.bg-repeat-round { background-repeat: round; }
.bg-repeat-space { background-repeat: space; }

/* ========== BACKGROUND SIZE ========== */
.bg-auto { background-size: auto; }
.bg-cover { background-size: cover; }
.bg-contain { background-size: contain; }

/* ========== TABLE LAYOUT ========== */
.table-auto { table-layout: auto; }
.table-fixed { table-layout: fixed; }

/* ========== CAPTION SIDE ========== */
.caption-top { caption-side: top; }
.caption-bottom { caption-side: bottom; }

/* ========== BORDER COLLAPSE ========== */
.border-collapse { border-collapse: collapse; }
.border-separate { border-collapse: separate; }

/* ========== BORDER SPACING ========== */
.border-spacing-0 { border-spacing: 0px; }

/* ========== TRANSFORM ORIGIN ========== */
.origin-center { transform-origin: center; }
.origin-top { transform-origin: top; }
.origin-top-right { transform-origin: top right; }
.origin-right { transform-origin: right; }
.origin-bottom-right { transform-origin: bottom right; }
.origin-bottom { transform-origin: bottom; }
.origin-bottom-left { transform-origin: bottom left; }
.origin-left { transform-origin: left; }
.origin-top-left { transform-origin: top left; }

/* ========== ROTATE ========== */
.rotate-0 { transform: rotate(0deg); }
.rotate-45 { transform: rotate(45deg); }
.rotate-90 { transform: rotate(90deg); }
.rotate-180 { transform: rotate(180deg); }
.-rotate-45 { transform: rotate(-45deg); }
.-rotate-90 { transform: rotate(-90deg); }
.-rotate-180 { transform: rotate(-180deg); }

/* ========== SKEW ========== */
.skew-x-0 { transform: skewX(0deg); }
.skew-y-0 { transform: skewY(0deg); }

/* ========== TRANSLATE ========== */
.translate-x-0 { transform: translateX(0px); }
.translate-y-0 { transform: translateY(0px); }
.translate-x-1 { transform: translateX(0.25rem); }
.translate-y-1 { transform: translateY(0.25rem); }
.-translate-x-1 { transform: translateX(-0.25rem); }
.-translate-y-1 { transform: translateY(-0.25rem); }

/* ========== ACCENT COLOR ========== */
.accent-yellow-500 { accent-color: #eab308; }

/* ========== CARET COLOR ========== */
.caret-yellow-500 { caret-color: #eab308; }

/* ========== SCROLL BEHAVIOR ========== */
.scroll-smooth { scroll-behavior: smooth; }
.scroll-auto { scroll-behavior: auto; }

/* ========== SCROLL MARGIN ========== */
.scroll-m-0 { scroll-margin: 0px; }
.scroll-mx-0 { scroll-margin-left: 0px; scroll-margin-right: 0px; }
.scroll-my-0 { scroll-margin-top: 0px; scroll-margin-bottom: 0px; }

/* ========== SCROLL PADDING ========== */
.scroll-p-0 { scroll-padding: 0px; }
.scroll-px-0 { scroll-padding-left: 0px; scroll-padding-right: 0px; }
.scroll-py-0 { scroll-padding-top: 0px; scroll-padding-bottom: 0px; }

/* ========== SCROLL SNAP ========== */
.snap-none { scroll-snap-type: none; }
.snap-x { scroll-snap-type: x var(--tw-scroll-snap-strictness); }
.snap-y { scroll-snap-type: y var(--tw-scroll-snap-strictness); }
.snap-both { scroll-snap-type: both var(--tw-scroll-snap-strictness); }

/* ========== WILL CHANGE ========== */
.will-change-auto { will-change: auto; }
.will-change-scroll { will-change: scroll-position; }
.will-change-contents { will-change: contents; }
.will-change-transform { will-change: transform; }

/* ========== CONTAIN ========== */
.contain-none { contain: none; }
.contain-content { contain: content; }
.contain-strict { contain: strict; }