:root {
  /* ==================== COLORS ==================== */

  /* Primary - Modern Blue */
  --primary-color: #2563eb;
  --primary-dark: #1e40af;
  --primary-light: #3b82f6;
  --primary-lighter: #60a5fa;
  --primary-lightest: #93c5fd;
  --primary-pale: #dbeafe;

  /* Secondary - Teal */
  --secondary-color: #0d9488;
  --secondary-dark: #0f766e;
  --secondary-light: #14b8a6;
  --secondary-lighter: #2dd4bf;

  /* Status Colors */
  --success-color: #10b981;
  --success-light: #34d399;
  --success-bg: #d1fae5;
  --warning-color: #f59e0b;
  --warning-light: #fbbf24;
  --warning-bg: #fef3c7;
  --error-color: #ef4444;
  --error-light: #f87171;
  --error-bg: #fee2e2;
  --info-color: #3b82f6;
  --info-light: #60a5fa;
  --info-bg: #dbeafe;

  /* Surfaces */
  --app-bg: #ffffff;
  --surface-elevated: #ffffff;
  --surface-muted: #f9fafb;
  --surface-hover: #f3f4f6;
  --surface-active: #e5e7eb;
  --divider-color: #e5e7eb;

  /* Text */
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --text-tertiary: #9ca3af;
  --text-white: #ffffff;
  --text-black: #111827;
  --text-muted: #d1d5db;

  /* Backgrounds */
  --bg-white: #ffffff;
  --bg-light: #f9fafb;
  --bg-gray: #f3f4f6;
  --bg-dark: #1f2937;
  --bg-darker: #111827;

  /* Borders */
  --border-color: #e5e7eb;
  --border-light: #f3f4f6;
  --border-dark: #d1d5db;
  --border-focus: #3b82f6;

  /* Status Badges */
  --status-available-bg: #d1fae5;
  --status-available-text: #065f46;
  --status-available-border: #6ee7b7;
  --status-booked-bg: #fef3c7;
  --status-booked-text: #92400e;
  --status-booked-border: #fcd34d;
  --status-sold-bg: #fee2e2;
  --status-sold-text: #991b1b;
  --status-sold-border: #fca5a5;

  /* Special */
  --ribbon-bg: #dc2626;
  --skeleton-bg: #e5e7eb;
  --skeleton-shimmer: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.6),
    transparent
  );
  --empty-state-bg: #f9fafb;
  --empty-state-text: #9ca3af;

  /* ==================== SHADOWS ==================== */

  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 12px 24px -4px rgba(0, 0, 0, 0.12),
    0 6px 12px -6px rgba(0, 0, 0, 0.08);

  /* Overlays */
  --overlay-dark: rgba(0, 0, 0, 0.6);
  --overlay-light: rgba(255, 255, 255, 0.95);
  --overlay-primary: rgba(37, 99, 235, 0.9);
  --overlay-blur: rgba(255, 255, 255, 0.8);
  --gradient-overlay: rgba(0, 0, 0, 0.4);

  /* Focus States */
  --focus-ring: 0 0 0 3px rgba(37, 99, 235, 0.2);
  --focus-ring-error: 0 0 0 3px rgba(239, 68, 68, 0.2);
  --focus-ring-success: 0 0 0 3px rgba(16, 185, 129, 0.2);
  --focus-ring-inset: inset 0 0 0 2px var(--primary-color);

  /* ==================== SPACING ==================== */

  --spacing-xs: 0.5rem; /* 8px */
  --spacing-sm: 1rem; /* 16px */
  --spacing-md: 1.5rem; /* 24px */
  --spacing-lg: 2rem; /* 32px */
  --spacing-xl: 3rem; /* 48px */
  --spacing-2xl: 4rem; /* 64px */
  --spacing-3xl: 6rem; /* 96px */

  /* ==================== RADIUS ==================== */

  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --radius-full: 9999px;
  --radius-circle: 50%;

  /* ==================== TYPOGRAPHY ==================== */

  /* Font Weights */
  --font-light: 300;
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  --font-extrabold: 800;

  /* Font Sizes */
  --text-xs: 0.75rem; /* 12px */
  --text-sm: 0.875rem; /* 14px */
  --text-base: 1rem; /* 16px */
  --text-lg: 1.125rem; /* 18px */
  --text-xl: 1.25rem; /* 20px */
  --text-2xl: 1.5rem; /* 24px */
  --text-3xl: 1.875rem; /* 30px */
  --text-4xl: 2.25rem; /* 36px */
  --text-5xl: 3rem; /* 48px */

  /* Line Heights */
  --leading-none: 1;
  --leading-tight: 1.25;
  --leading-snug: 1.375;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;
  --leading-loose: 2;

  /* Letter Spacing */
  --tracking-tight: -0.025em;
  --tracking-normal: 0;
  --tracking-wide: 0.025em;

  /* ==================== TRANSITIONS ==================== */

  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --transition-bounce: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);

  /* ==================== Z-INDEX ==================== */

  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
  --z-toast: 9999;

  /* ==================== HOVER STATES ==================== */

  --hover-bg: #f3f4f6;
  --hover-overlay: rgba(0, 0, 0, 0.05);
  --active-bg: #e5e7eb;
  --active-overlay: rgba(0, 0, 0, 0.1);

  /* ==================== BREAKPOINTS ==================== */
  
  --breakpoint-xs: 480px;
  --breakpoint-sm: 640px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 1024px;
  --breakpoint-xl: 1280px;
  --breakpoint-2xl: 1536px;

  /* ==================== ANIMATIONS ==================== */
  
  --animation-duration-fast: 150ms;
  --animation-duration-base: 200ms;
  --animation-duration-slow: 300ms;
  --animation-timing: cubic-bezier(0.4, 0, 0.2, 1);

.mb-1 {
  margin-bottom: var(--spacing-xs);
}
.mb-2 {
  margin-bottom: var(--spacing-sm);
}
.mb-3 {
  margin-bottom: var(--spacing-md);
}
.mb-4 {
  margin-bottom: var(--spacing-lg);
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.my-auto {
  margin-top: auto;
  margin-bottom: auto;
}

.p-1 {
  padding: var(--spacing-xs);
}
.p-2 {
  padding: var(--spacing-sm);
}
.p-3 {
  padding: var(--spacing-md);
}
.p-4 {
  padding: var(--spacing-lg);
}

.px-1 {
  padding-left: var(--spacing-xs);
  padding-right: var(--spacing-xs);
}
.px-2 {
  padding-left: var(--spacing-sm);
  padding-right: var(--spacing-sm);
}
.px-3 {
  padding-left: var(--spacing-md);
  padding-right: var(--spacing-md);
}
.px-4 {
  padding-left: var(--spacing-lg);
  padding-right: var(--spacing-lg);
}

.py-1 {
  padding-top: var(--spacing-xs);
  padding-bottom: var(--spacing-xs);
}
.py-2 {
  padding-top: var(--spacing-sm);
  padding-bottom: var(--spacing-sm);
}
.py-3 {
  padding-top: var(--spacing-md);
  padding-bottom: var(--spacing-md);
}
.py-4 {
  padding-top: var(--spacing-lg);
  padding-bottom: var(--spacing-lg);
}

/* Display */
.flex {
  display: flex;
}
.inline-flex {
  display: inline-flex;
}
.grid {
  display: grid;
}
.hidden {
  display: none !important;
}
.block {
  display: block;
}
.inline-block {
  display: inline-block;
}

/* Flex Utilities */
.flex-row {
  flex-direction: row;
}
.flex-col {
  flex-direction: column;
}
.flex-wrap {
  flex-wrap: wrap;
}
.items-center {
  align-items: center;
}
.items-start {
  align-items: flex-start;
}
.items-end {
  align-items: flex-end;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.justify-around {
  justify-content: space-around;
}
.justify-end {
  justify-content: flex-end;
}
.gap-1 {
  gap: var(--spacing-xs);
}
.gap-2 {
  gap: var(--spacing-sm);
}
.gap-3 {
  gap: var(--spacing-md);
}
.gap-4 {
  gap: var(--spacing-lg);
}

/* Text Utilities */
.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
.text-right {
  text-align: right;
}
.text-xs {
  font-size: var(--text-xs);
}
.text-sm {
  font-size: var(--text-sm);
}
.text-base {
  font-size: var(--text-base);
}
.text-lg {
  font-size: var(--text-lg);
}
.text-xl {
  font-size: var(--text-xl);
}
.text-2xl {
  font-size: var(--text-2xl);
}
.font-normal {
  font-weight: var(--font-normal);
}
.font-medium {
  font-weight: var(--font-medium);
}
.font-semibold {
  font-weight: var(--font-semibold);
}
.font-bold {
  font-weight: var(--font-bold);
}
.text-primary {
  color: var(--text-primary);
}
.text-secondary {
  color: var(--text-secondary);
}
.text-tertiary {
  color: var(--text-tertiary);
}
.text-white {
  color: var(--text-white);
}

/* Border Radius */
.rounded-none {
  border-radius: 0;
}
.rounded-sm {
  border-radius: var(--radius-sm);
}
.rounded-md {
  border-radius: var(--radius-md);
}
.rounded-lg {
  border-radius: var(--radius-lg);
}
.rounded-full {
  border-radius: var(--radius-full);
}

/* Shadow */
.shadow-none {
  box-shadow: none;
}
.shadow-sm {
  box-shadow: var(--shadow-sm);
}
.shadow-md {
  box-shadow: var(--shadow-md);
}
.shadow-lg {
  box-shadow: var(--shadow-lg);
}
.shadow-xl {
  box-shadow: var(--shadow-xl);
}

/* Width */
.w-full {
  width: 100%;
}
.w-auto {
  width: auto;
}
.w-fit {
  width: fit-content;
}

/* Height */
.h-full {
  height: 100%;
}
.h-auto {
  height: auto;
}

/* Cursor */
.cursor-pointer {
  cursor: pointer;
}
.cursor-not-allowed {
  cursor: not-allowed;
}

/* Transitions */
.transition {
  transition: all var(--transition-base);
}
.transition-fast {
  transition: all var(--transition-fast);
}
.transition-smooth {
  transition: all var(--transition-smooth);
}
.transition-colors {
  transition: background-color var(--transition-base),
    border-color var(--transition-base), color var(--transition-base);
}
.transition-transform {
  transition: transform var(--transition-base);
}
.transition-opacity {
  transition: opacity var(--transition-base);
}

/* Opacity */
.opacity-0 {
  opacity: 0;
}
.opacity-50 {
  opacity: 0.5;
}
.opacity-75 {
  opacity: 0.75;
}
.opacity-100 {
  opacity: 1;
}

/* Overflow */
.overflow-hidden {
  overflow: hidden;
}
.overflow-auto {
  overflow: auto;
}
.overflow-scroll {
  overflow: scroll;
}
.overflow-x-auto {
  overflow-x: auto;
}
.overflow-y-auto {
  overflow-y: auto;
}

/* Position */
.relative {
  position: relative;
}
.absolute {
  position: absolute;
}
.fixed {
  position: fixed;
}
.sticky {
  position: sticky;
}

/* Z-Index */
.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;
}
