/*
 * Morada.ai Design System — Token Entry Point
 *
 * Import this file to get all design tokens.
 * Usage: @import '@morada/design-system/tokens';
 */

/*
 * Morada.ai Design System — Primitive Tokens
 *
 * Raw values that never change between themes.
 * These are referenced by semantic tokens, never used directly in components.
 */

:root {
  /* ========================================
   * Brand Colors
   * ======================================== */
  --morada-black: #1d1d1b;
  --morada-blue: #0073ff;
  --morada-cyan: #02cfff;
  --morada-cya: #00ffe0;
  --morada-dark-purple: #38384d;
  --morada-coral: #f27d82;
  --morada-orange: #f7b87d;
  --morada-light-orange: #fad499;
  --morada-yellow: #fcf2a3;

  /* ========================================
   * Neutral Scale (based on #606A80)
   * Cool blue-gray neutral
   * ======================================== */
  --neutral-50: #F7F8FA;
  --neutral-100: #ECEEF3;
  --neutral-150: #E1E4EA;
  --neutral-200: #D3D7E0;
  --neutral-300: #B4BAC8;
  --neutral-400: #8D95A8;
  --neutral-500: #606A80;
  --neutral-600: #4E5668;
  --neutral-700: #3C4354;
  --neutral-800: #2B303E;
  --neutral-850: #232836;
  --neutral-900: #1A1E2B;
  --neutral-950: #10131C;

  /* ========================================
   * Blue Scale
   * ======================================== */
  --blue-1: #f0f7ff;
  --blue-2: #e0efff;
  --blue-3: #b8dbff;
  --blue-4: #85c1ff;
  --blue-5: #4da3ff;
  --blue-6: #0073ff; /* brand blue */
  --blue-7: #005ecc;
  --blue-8: #004a99;
  --blue-9: #003566;
  --blue-10: #001f3d;
  --blue-a1: rgba(0, 115, 255, 0.04);
  --blue-a2: rgba(0, 115, 255, 0.08);
  --blue-a3: rgba(0, 115, 255, 0.14);
  --blue-a4: rgba(0, 115, 255, 0.24);
  --blue-a5: rgba(0, 115, 255, 0.40);
  --blue-a6: rgba(0, 115, 255, 0.60);
  --blue-a7: rgba(0, 115, 255, 0.76);
  --blue-a8: rgba(0, 115, 255, 0.88);
  --blue-a9: rgba(0, 115, 255, 0.94);
  --blue-a10: rgba(0, 115, 255, 1);

  /* ========================================
   * Green Scale (Success — Emerald)
   * Based on #10b981 — cooler, more sophisticated
   * ======================================== */
  --green-1: #ecfdf5;
  --green-2: #d1fae5;
  --green-3: #a7f3d0;
  --green-4: #6ee7b7;
  --green-5: #34d399;
  --green-6: #10b981; /* emerald — success */
  --green-7: #059669;
  --green-8: #047857;
  --green-9: #065f46;
  --green-10: #064e3b;
  --green-a1: rgba(16, 185, 129, 0.04);
  --green-a2: rgba(16, 185, 129, 0.08);
  --green-a3: rgba(16, 185, 129, 0.14);
  --green-a4: rgba(16, 185, 129, 0.24);
  --green-a5: rgba(16, 185, 129, 0.40);
  --green-a6: rgba(16, 185, 129, 0.60);
  --green-a7: rgba(16, 185, 129, 0.76);
  --green-a8: rgba(16, 185, 129, 0.88);
  --green-a9: rgba(16, 185, 129, 0.94);
  --green-a10: rgba(16, 185, 129, 1);

  /* ========================================
   * Danger Scale (Red)
   * ======================================== */
  --danger-1: #fef2f2;
  --danger-2: #fee2e2;
  --danger-3: #fecaca;
  --danger-4: #fca5a5;
  --danger-5: #f87171;
  --danger-6: #ef4444;
  --danger-7: #dc2626;
  --danger-8: #b91c1c;
  --danger-9: #991b1b;
  --danger-10: #7f1d1d;
  --danger-a1: rgba(239, 68, 68, 0.04);
  --danger-a2: rgba(239, 68, 68, 0.08);
  --danger-a3: rgba(239, 68, 68, 0.14);
  --danger-a4: rgba(239, 68, 68, 0.24);
  --danger-a5: rgba(239, 68, 68, 0.40);
  --danger-a6: rgba(239, 68, 68, 0.60);
  --danger-a7: rgba(239, 68, 68, 0.76);
  --danger-a8: rgba(239, 68, 68, 0.88);
  --danger-a9: rgba(239, 68, 68, 0.94);
  --danger-a10: rgba(239, 68, 68, 1);

  /* ========================================
   * Warning Scale (Amber)
   * ======================================== */
  --warning-1: #fffbeb;
  --warning-2: #fef3c7;
  --warning-3: #fde68a;
  --warning-4: #fcd34d;
  --warning-5: #fbbf24;
  --warning-6: #f59e0b;
  --warning-7: #d97706;
  --warning-8: #b45309;
  --warning-9: #92400e;
  --warning-10: #78350f;

  /* ========================================
   * Cyan Scale (Secondary / Brand)
   * Based on --morada-cyan: #02cfff
   * ======================================== */
  --cyan-1: #ECFDFF;
  --cyan-2: #D4F9FF;
  --cyan-3: #A8F0FF;
  --cyan-4: #6BE4FF;
  --cyan-5: #2FD6FF;
  --cyan-6: #02CFFF; /* brand cyan */
  --cyan-7: #00AEDB;
  --cyan-8: #008DB2;
  --cyan-9: #006D8A;
  --cyan-10: #004D63;

  /* ========================================
   * Cya Scale (Secondary Brand — #00ffe0)
   * Based on --morada-cya
   * ======================================== */
  --cya-1: #ebfffc;
  --cya-2: #c5fff5;
  --cya-3: #9cfde9;
  --cya-4: #52fadb;
  --cya-5: #19ffec;
  --cya-6: #00ffe0; /* morada-cya — secondary brand */
  --cya-7: #00ccb3;
  --cya-8: #009987;
  --cya-9: #006659;
  --cya-10: #003d35;
  --cya-a1: rgba(0, 255, 224, 0.04);
  --cya-a2: rgba(0, 255, 224, 0.08);
  --cya-a3: rgba(0, 255, 224, 0.14);
  --cya-a4: rgba(0, 255, 224, 0.24);
  --cya-a5: rgba(0, 255, 224, 0.40);
  --cya-a6: rgba(0, 255, 224, 0.60);
  --cya-a7: rgba(0, 255, 224, 0.76);
  --cya-a8: rgba(0, 255, 224, 0.88);
  --cya-a9: rgba(0, 255, 224, 0.94);
  --cya-a10: rgba(0, 255, 224, 1);

  /* ========================================
   * Orange Scale (Tertiary Brand — #f7b87d)
   * Based on --morada-orange
   * ======================================== */
  --orange-1: #fff5ec;
  --orange-2: #ffe4cc;
  --orange-3: #fccda0;
  --orange-4: #fac085;
  --orange-5: #f7b87d; /* morada-orange — tertiary brand */
  --orange-6: #f2a05c;
  --orange-7: #e07c2a;
  --orange-8: #c05e16;
  --orange-9: #9a460d;
  --orange-10: #6b2e07;
  --orange-a1: rgba(247, 184, 125, 0.04);
  --orange-a2: rgba(247, 184, 125, 0.08);
  --orange-a3: rgba(247, 184, 125, 0.14);
  --orange-a4: rgba(247, 184, 125, 0.24);
  --orange-a5: rgba(247, 184, 125, 0.40);
  --orange-a6: rgba(247, 184, 125, 0.60);
  --orange-a7: rgba(247, 184, 125, 0.76);
  --orange-a8: rgba(247, 184, 125, 0.88);
  --orange-a9: rgba(247, 184, 125, 0.94);
  --orange-a10: rgba(247, 184, 125, 1);

  /* ========================================
   * Info Scale (Cyan)
   * ======================================== */
  --info-1: #ecfeff;
  --info-2: #cffafe;
  --info-3: #a5f3fc;
  --info-4: #67e8f9;
  --info-5: #22d3ee;
  --info-6: #06b6d4;
  --info-7: #0891b2;
  --info-8: #0e7490;
  --info-9: #155e75;
  --info-10: #164e63;

  /* ========================================
   * Spacing Scale (aligned with Radix)
   * ======================================== */
  --space-0: 0px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 40px;
  --space-8: 48px;
  --space-9: 64px;

  /* ========================================
   * Border Radius
   * ======================================== */
  --radius-none: 0px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 12px;
  --radius-full: 9999px;

  /* ========================================
   * Shadows
   * ======================================== */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --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);

  /* ========================================
   * Z-Index Scale
   * ======================================== */
  --z-dropdown: 50;
  --z-sticky: 100;
  --z-overlay: 200;
  --z-modal: 300;
  --z-popover: 400;
  --z-toast: 500;
  --z-tooltip: 600;

  /* ========================================
   * Transitions
   * ======================================== */
  --duration-fast: 100ms;
  --duration-normal: 200ms;
  --duration-slow: 300ms;
  --ease-default: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
}

/*
 * Morada.ai Design System — Typography Tokens
 *
 * Font families, sizes, weights, and line-heights.
 * Headings: Outfit | Body: Lato
 */

:root {
  /* ========================================
   * Font Families
   * ======================================== */
  --font-heading: 'Outfit', system-ui, -apple-system, sans-serif;
  --font-body: 'Lato', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* ========================================
   * Font Sizes
   * ======================================== */
  --text-xs: 12px;
  --text-sm: 14px;
  --text-base: 16px;
  --text-lg: 18px;
  --text-xl: 20px;
  --text-2xl: 24px;
  --text-3xl: 32px;

  /* ========================================
   * Font Weights
   * ======================================== */
  --font-light: 300;
  --font-regular: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  --font-black: 900;

  /* ========================================
   * Line Heights
   * ======================================== */
  --leading-none: 1;
  --leading-tight: 1.25;
  --leading-normal: 1.5;
  --leading-relaxed: 1.75;

  /* ========================================
   * Letter Spacing
   * ======================================== */
  --tracking-tight: -0.025em;
  --tracking-normal: 0em;
  --tracking-wide: 0.025em;

  /* ========================================
   * Heading Presets (Outfit)
   *
   * Usage: Apply font-family + font-size + font-weight + line-height
   * ======================================== */

  /* Heading 1 — Page titles */
  --heading-1-size: var(--text-3xl);   /* 32px */
  --heading-1-weight: var(--font-bold);
  --heading-1-leading: var(--leading-tight);
  --heading-1-tracking: var(--tracking-tight);

  /* Heading 2 — Section titles */
  --heading-2-size: var(--text-2xl);   /* 24px */
  --heading-2-weight: var(--font-semibold);
  --heading-2-leading: var(--leading-tight);
  --heading-2-tracking: var(--tracking-tight);

  /* Heading 3 — Card titles */
  --heading-3-size: var(--text-xl);    /* 20px */
  --heading-3-weight: var(--font-semibold);
  --heading-3-leading: var(--leading-tight);
  --heading-3-tracking: var(--tracking-normal);

  /* Heading 4 — Subsection titles */
  --heading-4-size: var(--text-lg);    /* 18px */
  --heading-4-weight: var(--font-medium);
  --heading-4-leading: var(--leading-tight);
  --heading-4-tracking: var(--tracking-normal);

  /* Heading 5 — Small headings */
  --heading-5-size: var(--text-base);  /* 16px */
  --heading-5-weight: var(--font-medium);
  --heading-5-leading: var(--leading-tight);
  --heading-5-tracking: var(--tracking-normal);

  /* Heading 6 — Label headings */
  --heading-6-size: var(--text-sm);    /* 14px */
  --heading-6-weight: var(--font-semibold);
  --heading-6-leading: var(--leading-tight);
  --heading-6-tracking: var(--tracking-wide);

  /* Heading 7 — Overline / eyebrow */
  --heading-7-size: var(--text-xs);    /* 12px */
  --heading-7-weight: var(--font-semibold);
  --heading-7-leading: var(--leading-tight);
  --heading-7-tracking: var(--tracking-wide);

  /* ========================================
   * Body Presets (Lato)
   * ======================================== */

  /* Body 1 — Default body text */
  --body-1-size: var(--text-base);     /* 16px */
  --body-1-weight: var(--font-regular);
  --body-1-leading: var(--leading-normal);

  /* Body 2 — Secondary body text */
  --body-2-size: var(--text-sm);       /* 14px */
  --body-2-weight: var(--font-regular);
  --body-2-leading: var(--leading-normal);

  /* Body 3 — Small body text */
  --body-3-size: var(--text-xs);       /* 12px */
  --body-3-weight: var(--font-regular);
  --body-3-leading: var(--leading-normal);

  /* Body 4 — Large body text */
  --body-4-size: var(--text-lg);       /* 18px */
  --body-4-weight: var(--font-regular);
  --body-4-leading: var(--leading-relaxed);

  /* Label — Form labels and captions */
  --label-size: var(--text-sm);        /* 14px */
  --label-weight: var(--font-semibold);
  --label-leading: var(--leading-tight);

  /* Caption — Small helper text */
  --caption-size: var(--text-xs);      /* 12px */
  --caption-weight: var(--font-regular);
  --caption-leading: var(--leading-normal);
}

/*
 * Morada.ai Design System — Effects Tokens
 *
 * Shadows, transitions, and animation presets.
 */

:root {
  /* ========================================
   * Box Shadows (theme-aware)
   * ======================================== */
  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.03);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --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);

  /* Focus ring shadow */
  --shadow-ring: 0 0 0 2px var(--background), 0 0 0 4px var(--ring);

  /* ========================================
   * Transitions
   * ======================================== */
  --transition-colors: color, background-color, border-color, text-decoration-color, fill, stroke;
  --transition-opacity: opacity;
  --transition-shadow: box-shadow;
  --transition-transform: transform;
  --transition-all: all;

  --duration-fast: 100ms;
  --duration-normal: 200ms;
  --duration-slow: 300ms;
  --duration-slower: 500ms;

  --ease-default: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* ========================================
   * Opacity
   * ======================================== */
  --opacity-disabled: 0.5;
  --opacity-hover: 0.8;
  --opacity-overlay: 0.6;
}

/* Dark mode shadow adjustments */

.dark {
  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.15);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -2px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -4px rgba(0, 0, 0, 0.3);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 8px 10px -6px rgba(0, 0, 0, 0.3);
}

/*
 * Morada.ai Design System — Semantic Tokens (Light Modes)
 *
 * Maps primitive tokens to semantic roles.
 * Two theme schemes: gray (default) and black.
 */

/* ========================================
 * Gray Theme — Light Mode (Default)
 * ======================================== */

:root,
.theme-gray {
  /* -- Surfaces -- */
  --background: var(--neutral-50);
  --foreground: var(--neutral-900);
  --card: #ffffff;
  --card-foreground: var(--neutral-900);
  --popover: #ffffff;
  --popover-foreground: var(--neutral-900);
  --muted: var(--neutral-100);
  --muted-foreground: var(--neutral-500);

  /* -- Primary (Brand Blue) -- */
  --primary: var(--blue-6);
  --primary-foreground: #ffffff;
  --primary-hover: var(--blue-7);
  --primary-active: var(--blue-8);

  /* -- Secondary (morada-cya) -- */
  --secondary: var(--cya-2);
  --secondary-foreground: var(--cya-9);
  --secondary-hover: var(--cya-3);
  --secondary-active: var(--cya-4);

  /* -- Tertiary (morada-orange) -- */
  --tertiary: var(--orange-2);
  --tertiary-foreground: var(--orange-9);
  --tertiary-hover: var(--orange-3);
  --tertiary-active: var(--orange-4);

  /* -- Accent -- */
  --accent: var(--neutral-100);
  --accent-foreground: var(--neutral-900);
  --accent-hover: var(--neutral-200);

  /* -- Destructive -- */
  --destructive: var(--danger-6);
  --destructive-foreground: #ffffff;
  --destructive-hover: var(--danger-7);
  --destructive-active: var(--danger-8);
  --destructive-background: var(--danger-1);
  --destructive-border: var(--danger-3);
  --destructive-text: var(--danger-8);

  /* -- Success (Emerald) -- */
  --success: var(--green-6);
  --success-foreground: #ffffff;
  --success-hover: var(--green-7);
  --success-active: var(--green-8);
  --success-background: var(--green-1);
  --success-border: var(--green-3);
  --success-text: var(--green-8);

  /* -- Warning -- */
  --warning: var(--warning-6);
  --warning-foreground: #ffffff;
  --warning-hover: var(--warning-7);
  --warning-active: var(--warning-8);
  --warning-background: var(--warning-1);
  --warning-border: var(--warning-3);
  --warning-text: var(--warning-8);

  /* -- Info -- */
  --info: var(--info-6);
  --info-foreground: #ffffff;
  --info-hover: var(--info-7);
  --info-active: var(--info-8);
  --info-background: var(--info-1);
  --info-border: var(--info-3);
  --info-text: var(--info-8);

  /* -- Text -- */
  --text-primary: var(--neutral-900);
  --text-secondary: var(--neutral-600);
  --text-tertiary: var(--neutral-400);
  --text-disabled: var(--neutral-300);
  --text-inverse: #ffffff;
  --text-on-color: #ffffff;
  --text-link: var(--blue-6);
  --text-link-hover: var(--blue-7);

  /* -- Borders -- */
  --border: var(--neutral-200);
  --border-hover: var(--neutral-300);
  --border-focus: var(--blue-6);
  --input: var(--neutral-200);
  --input-hover: var(--neutral-300);
  --ring: var(--blue-6);

  /* -- Radius (base value, variants derived via calc) -- */
  --radius: 12px;

  /* -- Sidebar -- */
  --sidebar-background: var(--neutral-50);
  --sidebar-foreground: var(--neutral-600);
  --sidebar-primary: var(--blue-6);
  --sidebar-primary-foreground: #ffffff;
  --sidebar-accent: var(--neutral-100);
  --sidebar-accent-foreground: var(--neutral-900);
  --sidebar-border: var(--neutral-200);
  --sidebar-ring: var(--blue-6);

  /* -- Chart Colors -- */
  --chart-1: var(--blue-6);
  --chart-2: var(--green-6);
  --chart-3: var(--warning-6);
  --chart-4: var(--morada-cya);
  --chart-5: var(--morada-coral);
}

/* ========================================
 * Black Theme — Light Mode
 * ======================================== */

.theme-black {
  /* -- Surfaces -- */
  --background: #ffffff;
  --foreground: var(--morada-black);
  --card: #ffffff;
  --card-foreground: var(--morada-black);
  --popover: #ffffff;
  --popover-foreground: var(--morada-black);
  --muted: var(--neutral-100);
  --muted-foreground: var(--neutral-500);

  /* -- Primary (Brand Blue) -- */
  --primary: var(--morada-black);
  --primary-foreground: #ffffff;
  --primary-hover: var(--neutral-800);
  --primary-active: var(--neutral-700);

  /* -- Secondary (morada-cya) -- */
  --secondary: var(--cya-2);
  --secondary-foreground: var(--cya-9);
  --secondary-hover: var(--cya-3);
  --secondary-active: var(--cya-4);

  /* -- Tertiary (morada-orange) -- */
  --tertiary: var(--orange-2);
  --tertiary-foreground: var(--orange-9);
  --tertiary-hover: var(--orange-3);
  --tertiary-active: var(--orange-4);

  /* -- Accent -- */
  --accent: var(--neutral-100);
  --accent-foreground: var(--morada-black);
  --accent-hover: var(--neutral-200);

  /* -- Destructive -- */
  --destructive: var(--danger-6);
  --destructive-foreground: #ffffff;
  --destructive-hover: var(--danger-7);
  --destructive-active: var(--danger-8);
  --destructive-background: var(--danger-1);
  --destructive-border: var(--danger-3);
  --destructive-text: var(--danger-8);

  /* -- Success (Emerald) -- */
  --success: var(--green-6);
  --success-foreground: #ffffff;
  --success-hover: var(--green-7);
  --success-active: var(--green-8);
  --success-background: var(--green-1);
  --success-border: var(--green-3);
  --success-text: var(--green-8);

  /* -- Warning -- */
  --warning: var(--warning-6);
  --warning-foreground: #ffffff;
  --warning-hover: var(--warning-7);
  --warning-active: var(--warning-8);
  --warning-background: var(--warning-1);
  --warning-border: var(--warning-3);
  --warning-text: var(--warning-8);

  /* -- Info -- */
  --info: var(--info-6);
  --info-foreground: #ffffff;
  --info-hover: var(--info-7);
  --info-active: var(--info-8);
  --info-background: var(--info-1);
  --info-border: var(--info-3);
  --info-text: var(--info-8);

  /* -- Text -- */
  --text-primary: var(--morada-black);
  --text-secondary: var(--neutral-600);
  --text-tertiary: var(--neutral-400);
  --text-disabled: var(--neutral-300);
  --text-inverse: #ffffff;
  --text-on-color: #ffffff;
  --text-link: var(--blue-6);
  --text-link-hover: var(--blue-7);

  /* -- Borders -- */
  --border: var(--neutral-200);
  --border-hover: var(--neutral-300);
  --border-focus: var(--morada-black);
  --input: var(--neutral-200);
  --input-hover: var(--neutral-300);
  --ring: var(--morada-black);

  /* -- Radius -- */
  --radius: 12px;

  /* -- Sidebar -- */
  --sidebar-background: var(--morada-black);
  --sidebar-foreground: var(--neutral-300);
  --sidebar-primary: #ffffff;
  --sidebar-primary-foreground: var(--morada-black);
  --sidebar-accent: var(--neutral-800);
  --sidebar-accent-foreground: #ffffff;
  --sidebar-border: var(--neutral-700);
  --sidebar-ring: #ffffff;

  /* -- Chart Colors -- */
  --chart-1: var(--blue-6);
  --chart-2: var(--green-6);
  --chart-3: var(--warning-6);
  --chart-4: var(--morada-cya);
  --chart-5: var(--morada-coral);
}

/*
 * Morada.ai Design System — Semantic Tokens (Dark Modes)
 *
 * Dark mode variants for gray and black themes.
 * Activated via .dark class on the root element.
 */

/* ========================================
 * Gray Theme — Dark Mode
 * ======================================== */

.dark,
.theme-gray.dark {
  /* -- Surfaces -- */
  --background: var(--neutral-900);
  --foreground: var(--neutral-50);
  --card: var(--neutral-850);
  --card-foreground: var(--neutral-50);
  --popover: var(--neutral-850);
  --popover-foreground: var(--neutral-50);
  --muted: var(--neutral-800);
  --muted-foreground: var(--neutral-400);

  /* -- Primary (Brand Blue) -- */
  --primary: var(--blue-5);
  --primary-foreground: #ffffff;
  --primary-hover: var(--blue-4);
  --primary-active: var(--blue-3);

  /* -- Secondary (morada-cya) -- */
  --secondary: var(--cya-9);
  --secondary-foreground: var(--cya-2);
  --secondary-hover: var(--cya-8);
  --secondary-active: var(--cya-7);

  /* -- Tertiary (morada-orange) -- */
  --tertiary: var(--orange-9);
  --tertiary-foreground: var(--orange-2);
  --tertiary-hover: var(--orange-8);
  --tertiary-active: var(--orange-7);

  /* -- Accent -- */
  --accent: var(--neutral-800);
  --accent-foreground: var(--neutral-50);
  --accent-hover: var(--neutral-700);

  /* -- Destructive -- */
  --destructive: var(--danger-5);
  --destructive-foreground: #ffffff;
  --destructive-hover: var(--danger-4);
  --destructive-active: var(--danger-3);
  --destructive-background: rgba(239, 68, 68, 0.1);
  --destructive-border: var(--danger-8);
  --destructive-text: var(--danger-4);

  /* -- Success (Emerald) -- */
  --success: var(--green-5);
  --success-foreground: #ffffff;
  --success-hover: var(--green-4);
  --success-active: var(--green-3);
  --success-background: rgba(16, 185, 129, 0.1);
  --success-border: var(--green-8);
  --success-text: var(--green-4);

  /* -- Warning -- */
  --warning: var(--warning-5);
  --warning-foreground: var(--neutral-900);
  --warning-hover: var(--warning-4);
  --warning-active: var(--warning-3);
  --warning-background: rgba(245, 158, 11, 0.1);
  --warning-border: var(--warning-8);
  --warning-text: var(--warning-4);

  /* -- Info -- */
  --info: var(--info-5);
  --info-foreground: #ffffff;
  --info-hover: var(--info-4);
  --info-active: var(--info-3);
  --info-background: rgba(6, 182, 212, 0.1);
  --info-border: var(--info-8);
  --info-text: var(--info-4);

  /* -- Text -- */
  --text-primary: var(--neutral-50);
  --text-secondary: var(--neutral-400);
  --text-tertiary: var(--neutral-600);
  --text-disabled: var(--neutral-700);
  --text-inverse: var(--neutral-900);
  --text-on-color: #ffffff;
  --text-link: var(--blue-4);
  --text-link-hover: var(--blue-3);

  /* -- Borders -- */
  --border: var(--neutral-700);
  --border-hover: var(--neutral-600);
  --border-focus: var(--blue-4);
  --input: var(--neutral-700);
  --input-hover: var(--neutral-600);
  --ring: var(--blue-5);

  /* -- Radius -- */
  --radius: 12px;

  /* -- Sidebar -- */
  --sidebar-background: var(--neutral-900);
  --sidebar-foreground: var(--neutral-400);
  --sidebar-primary: var(--blue-5);
  --sidebar-primary-foreground: #ffffff;
  --sidebar-accent: var(--neutral-800);
  --sidebar-accent-foreground: var(--neutral-50);
  --sidebar-border: var(--neutral-700);
  --sidebar-ring: var(--blue-5);

  /* -- Chart Colors -- */
  --chart-1: var(--blue-4);
  --chart-2: var(--green-4);
  --chart-3: var(--warning-4);
  --chart-4: var(--morada-cya);
  --chart-5: var(--morada-coral);
}

/* ========================================
 * Black Theme — Dark Mode
 * ======================================== */

.theme-black.dark {
  /* -- Surfaces -- */
  --background: var(--neutral-950);
  --foreground: var(--neutral-50);
  --card: var(--neutral-900);
  --card-foreground: var(--neutral-50);
  --popover: var(--neutral-900);
  --popover-foreground: var(--neutral-50);
  --muted: var(--neutral-800);
  --muted-foreground: var(--neutral-400);

  /* -- Primary -- */
  --primary: #ffffff;
  --primary-foreground: var(--neutral-950);
  --primary-hover: var(--neutral-200);
  --primary-active: var(--neutral-300);

  /* -- Secondary (morada-cya) -- */
  --secondary: var(--cya-9);
  --secondary-foreground: var(--cya-2);
  --secondary-hover: var(--cya-8);
  --secondary-active: var(--cya-7);

  /* -- Tertiary (morada-orange) -- */
  --tertiary: var(--orange-9);
  --tertiary-foreground: var(--orange-2);
  --tertiary-hover: var(--orange-8);
  --tertiary-active: var(--orange-7);

  /* -- Accent -- */
  --accent: var(--neutral-800);
  --accent-foreground: var(--neutral-50);
  --accent-hover: var(--neutral-700);

  /* -- Destructive -- */
  --destructive: var(--danger-5);
  --destructive-foreground: #ffffff;
  --destructive-hover: var(--danger-4);
  --destructive-active: var(--danger-3);
  --destructive-background: rgba(239, 68, 68, 0.1);
  --destructive-border: var(--danger-8);
  --destructive-text: var(--danger-4);

  /* -- Success (Emerald) -- */
  --success: var(--green-5);
  --success-foreground: #ffffff;
  --success-hover: var(--green-4);
  --success-active: var(--green-3);
  --success-background: rgba(16, 185, 129, 0.1);
  --success-border: var(--green-8);
  --success-text: var(--green-4);

  /* -- Warning -- */
  --warning: var(--warning-5);
  --warning-foreground: var(--neutral-900);
  --warning-hover: var(--warning-4);
  --warning-active: var(--warning-3);
  --warning-background: rgba(245, 158, 11, 0.1);
  --warning-border: var(--warning-8);
  --warning-text: var(--warning-4);

  /* -- Info -- */
  --info: var(--info-5);
  --info-foreground: #ffffff;
  --info-hover: var(--info-4);
  --info-active: var(--info-3);
  --info-background: rgba(6, 182, 212, 0.1);
  --info-border: var(--info-8);
  --info-text: var(--info-4);

  /* -- Text -- */
  --text-primary: var(--neutral-50);
  --text-secondary: var(--neutral-400);
  --text-tertiary: var(--neutral-600);
  --text-disabled: var(--neutral-700);
  --text-inverse: var(--neutral-950);
  --text-on-color: #ffffff;
  --text-link: var(--blue-4);
  --text-link-hover: var(--blue-3);

  /* -- Borders -- */
  --border: var(--neutral-800);
  --border-hover: var(--neutral-700);
  --border-focus: #ffffff;
  --input: var(--neutral-800);
  --input-hover: var(--neutral-700);
  --ring: #ffffff;

  /* -- Radius -- */
  --radius: 12px;

  /* -- Sidebar -- */
  --sidebar-background: var(--neutral-950);
  --sidebar-foreground: var(--neutral-400);
  --sidebar-primary: #ffffff;
  --sidebar-primary-foreground: var(--neutral-950);
  --sidebar-accent: var(--neutral-800);
  --sidebar-accent-foreground: var(--neutral-50);
  --sidebar-border: var(--neutral-800);
  --sidebar-ring: #ffffff;

  /* -- Chart Colors -- */
  --chart-1: var(--blue-4);
  --chart-2: var(--green-4);
  --chart-3: var(--warning-4);
  --chart-4: var(--morada-cya);
  --chart-5: var(--morada-coral);
}

/*
 * Morada.ai Design System — Component Tokens
 *
 * Tokens derived from semantic tokens, scoped per component.
 * Provides a clear contract for each component's visual API.
 */

:root {
  /* ========================================
   * Button
   * ======================================== */
  --button-radius: calc(var(--radius) - 2px);
  --button-font-weight: var(--font-medium);
  --button-font-family: var(--font-body);
  --button-transition: var(--duration-fast) var(--ease-default);

  /* Sizes */
  --button-height-sm: 32px;
  --button-height-md: 36px;
  --button-height-lg: 44px;
  --button-px-sm: var(--space-3);
  --button-px-md: var(--space-4);
  --button-px-lg: var(--space-5);
  --button-text-sm: var(--text-xs);
  --button-text-md: var(--text-sm);
  --button-text-lg: var(--text-base);

  /* ========================================
   * Input
   * ======================================== */
  --input-radius: calc(var(--radius) - 2px);
  --input-font-family: var(--font-body);
  --input-transition: var(--duration-fast) var(--ease-default);

  /* Sizes */
  --input-height-sm: 32px;
  --input-height-md: 36px;
  --input-height-lg: 44px;
  --input-px-sm: var(--space-2);
  --input-px-md: var(--space-3);
  --input-px-lg: var(--space-4);
  --input-text-sm: var(--text-xs);
  --input-text-md: var(--text-sm);
  --input-text-lg: var(--text-base);

  /* ========================================
   * Card
   * ======================================== */
  --card-radius: var(--radius);
  --card-padding: var(--space-5);
  --card-shadow: var(--shadow-sm);
  --card-border-width: 1px;

  /* ========================================
   * Badge
   * ======================================== */
  --badge-radius: var(--radius-full);
  --badge-font-weight: var(--font-medium);
  --badge-text-size: var(--text-xs);
  --badge-px: var(--space-2);
  --badge-py: 2px;

  /* ========================================
   * Table
   * ======================================== */
  --table-header-bg: var(--muted);
  --table-header-text: var(--muted-foreground);
  --table-row-hover: var(--accent);
  --table-border: var(--border);
  --table-cell-px: var(--space-4);
  --table-cell-py: var(--space-3);

  /* ========================================
   * Dialog / Modal
   * ======================================== */
  --dialog-radius: var(--radius-lg);
  --dialog-shadow: var(--shadow-xl);
  --dialog-padding: var(--space-5);
  --dialog-overlay-bg: rgba(0, 0, 0, var(--opacity-overlay));

  /* Sizes */
  --dialog-width-sm: 400px;
  --dialog-width-md: 520px;
  --dialog-width-lg: 680px;
  --dialog-width-xl: 860px;

  /* ========================================
   * Toast
   * ======================================== */
  --toast-radius: var(--radius);
  --toast-shadow: var(--shadow-lg);
  --toast-padding: var(--space-4);

  /* ========================================
   * Tooltip
   * ======================================== */
  --tooltip-radius: calc(var(--radius) - 2px);
  --tooltip-padding-x: var(--space-3);
  --tooltip-padding-y: var(--space-1);
  --tooltip-bg: var(--foreground);
  --tooltip-text: var(--background);
  --tooltip-text-size: var(--text-xs);

  /* ========================================
   * Avatar
   * ======================================== */
  --avatar-radius: var(--radius-full);
  --avatar-size-sm: 32px;
  --avatar-size-md: 40px;
  --avatar-size-lg: 48px;

  /* ========================================
   * Sidebar
   * ======================================== */
  --sidebar-width: 256px;
  --sidebar-width-collapsed: 64px;
  --sidebar-item-radius: calc(var(--radius) - 2px);
  --sidebar-item-px: var(--space-3);
  --sidebar-item-py: var(--space-2);

  /* ========================================
   * Page Layout
   * ======================================== */
  --page-max-width: 1280px;
  --page-padding-x: var(--space-5);
  --page-padding-y: var(--space-5);
  --page-gap: var(--space-5);
  --section-gap: var(--space-6);
}

*, ::before, ::after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

/*
 ! tailwindcss v3.4.19 | MIT License | https://tailwindcss.com
 */

/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
  box-sizing: border-box; /* 1 */
  border-width: 0; /* 2 */
  border-style: solid; /* 2 */
  border-color: #e5e7eb; /* 2 */
}

::before,
::after {
  --tw-content: '';
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/

html,
:host {
  line-height: 1.5; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  -moz-tab-size: 4; /* 3 */
  -o-tab-size: 4;
     tab-size: 4; /* 3 */
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; /* 4 */
  font-feature-settings: normal; /* 5 */
  font-variation-settings: normal; /* 6 */
  -webkit-tap-highlight-color: transparent; /* 7 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

body {
  margin: 0; /* 1 */
  line-height: inherit; /* 2 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
  height: 0; /* 1 */
  color: inherit; /* 2 */
  border-top-width: 1px; /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

a {
  color: inherit;
  text-decoration: inherit;
}

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: var(--font-mono); /* 1 */
  font-feature-settings: normal; /* 2 */
  font-variation-settings: normal; /* 3 */
  font-size: 1em; /* 4 */
}

/*
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0; /* 1 */
  border-color: inherit; /* 2 */
  border-collapse: collapse; /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-feature-settings: inherit; /* 1 */
  font-variation-settings: inherit; /* 1 */
  font-size: 100%; /* 1 */
  font-weight: inherit; /* 1 */
  line-height: inherit; /* 1 */
  letter-spacing: inherit; /* 1 */
  color: inherit; /* 1 */
  margin: 0; /* 2 */
  padding: 0; /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
  -webkit-appearance: button; /* 1 */
  background-color: transparent; /* 2 */
  background-image: none; /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/*
Reset default styling for dialogs.
*/

dialog {
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}

input::placeholder,
textarea::placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/

:disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block; /* 1 */
  vertical-align: middle; /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

img,
video {
  max-width: 100%;
  height: auto;
}

/* Make elements with the HTML hidden attribute stay hidden by default */

[hidden]:where(:not([hidden="until-found"])) {
  display: none;
}

body {
    font-family: var(--font-body);
    color: var(--foreground);
    background: var(--background);
  }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
  }

.container {
  width: 100%;
}

@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;
  }
}

.auth-carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
  }

.auth-carousel-slide.active {
    opacity: 1;
    position: relative;
    pointer-events: auto;
  }

.auth-carousel-bg {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
  }

.auth-carousel-bg.active {
    opacity: 1;
  }

.auth-carousel-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
  }

.auth-carousel-overlay.active {
    opacity: 1;
    pointer-events: auto;
  }

.pointer-events-none {
  pointer-events: none;
}

.\!visible {
  visibility: visible !important;
}

.visible {
  visibility: visible;
}

.static {
  position: static;
}

.fixed {
  position: fixed;
}

.absolute {
  position: absolute;
}

.relative {
  position: relative;
}

.sticky {
  position: sticky;
}

.inset-0 {
  inset: var(--space-0);
}

.-bottom-\[20\%\] {
  bottom: -20%;
}

.-top-2\.5 {
  top: -0.625rem;
}

.-top-6 {
  top: calc(var(--space-6) * -1);
}

.left-0 {
  left: var(--space-0);
}

.left-1\/2 {
  left: 50%;
}

.left-3 {
  left: var(--space-3);
}

.right-3 {
  right: var(--space-3);
}

.right-4 {
  right: var(--space-4);
}

.top-0 {
  top: var(--space-0);
}

.top-4 {
  top: var(--space-4);
}

.z-10 {
  z-index: 10;
}

.z-20 {
  z-index: 20;
}

.z-30 {
  z-index: 30;
}

.z-50 {
  z-index: 50;
}

.z-toast {
  z-index: var(--z-toast);
}

.col-span-2 {
  grid-column: span 2 / span 2;
}

.m-0 {
  margin: var(--space-0);
}

.mx-1 {
  margin-left: var(--space-1);
  margin-right: var(--space-1);
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.my-5 {
  margin-top: var(--space-5);
  margin-bottom: var(--space-5);
}

.my-6 {
  margin-top: var(--space-6);
  margin-bottom: var(--space-6);
}

.-mb-px {
  margin-bottom: -1px;
}

.-ml-1 {
  margin-left: calc(var(--space-1) * -1);
}

.-mt-2 {
  margin-top: calc(var(--space-2) * -1);
}

.mb-0\.5 {
  margin-bottom: 0.125rem;
}

.mb-1 {
  margin-bottom: var(--space-1);
}

.mb-1\.5 {
  margin-bottom: 0.375rem;
}

.mb-10 {
  margin-bottom: 2.5rem;
}

.mb-2 {
  margin-bottom: var(--space-2);
}

.mb-3 {
  margin-bottom: var(--space-3);
}

.mb-4 {
  margin-bottom: var(--space-4);
}

.mb-5 {
  margin-bottom: var(--space-5);
}

.mb-6 {
  margin-bottom: var(--space-6);
}

.mb-8 {
  margin-bottom: var(--space-8);
}

.ml-1 {
  margin-left: var(--space-1);
}

.ml-2 {
  margin-left: var(--space-2);
}

.ml-3 {
  margin-left: var(--space-3);
}

.ml-32 {
  margin-left: 8rem;
}

.mr-2 {
  margin-right: var(--space-2);
}

.mt-0\.5 {
  margin-top: 0.125rem;
}

.mt-1 {
  margin-top: var(--space-1);
}

.mt-1\.5 {
  margin-top: 0.375rem;
}

.mt-2 {
  margin-top: var(--space-2);
}

.mt-3 {
  margin-top: var(--space-3);
}

.mt-4 {
  margin-top: var(--space-4);
}

.mt-5 {
  margin-top: var(--space-5);
}

.mt-6 {
  margin-top: var(--space-6);
}

.mt-8 {
  margin-top: var(--space-8);
}

.line-clamp-1 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.block {
  display: block;
}

.inline-block {
  display: inline-block;
}

.inline {
  display: inline;
}

.flex {
  display: flex;
}

.inline-flex {
  display: inline-flex;
}

.table {
  display: table;
}

.grid {
  display: grid;
}

.contents {
  display: contents;
}

.hidden {
  display: none;
}

.h-1\.5 {
  height: 0.375rem;
}

.h-10 {
  height: 2.5rem;
}

.h-11 {
  height: 2.75rem;
}

.h-16 {
  height: 4rem;
}

.h-2\.5 {
  height: 0.625rem;
}

.h-20 {
  height: 5rem;
}

.h-3 {
  height: var(--space-3);
}

.h-3\.5 {
  height: 0.875rem;
}

.h-32 {
  height: 8rem;
}

.h-4 {
  height: var(--space-4);
}

.h-5 {
  height: var(--space-5);
}

.h-6 {
  height: var(--space-6);
}

.h-7 {
  height: var(--space-7);
}

.h-9 {
  height: var(--space-9);
}

.h-\[200px\] {
  height: 200px;
}

.h-\[32px\] {
  height: 32px;
}

.h-\[36px\] {
  height: 36px;
}

.h-\[42px\] {
  height: 42px;
}

.h-auto {
  height: auto;
}

.h-full {
  height: 100%;
}

.h-px {
  height: 1px;
}

.min-h-\[280px\] {
  min-height: 280px;
}

.min-h-\[70px\] {
  min-height: 70px;
}

.min-h-full {
  min-height: 100%;
}

.min-h-screen {
  min-height: 100vh;
}

.w-1\/2 {
  width: 50%;
}

.w-10 {
  width: 2.5rem;
}

.w-16 {
  width: 4rem;
}

.w-2\.5 {
  width: 0.625rem;
}

.w-20 {
  width: 5rem;
}

.w-24 {
  width: 6rem;
}

.w-28 {
  width: 7rem;
}

.w-3 {
  width: var(--space-3);
}

.w-3\.5 {
  width: 0.875rem;
}

.w-32 {
  width: 8rem;
}

.w-4 {
  width: var(--space-4);
}

.w-40 {
  width: 10rem;
}

.w-5 {
  width: var(--space-5);
}

.w-52 {
  width: 13rem;
}

.w-6 {
  width: var(--space-6);
}

.w-7 {
  width: var(--space-7);
}

.w-72 {
  width: 18rem;
}

.w-9 {
  width: var(--space-9);
}

.w-\[120px\] {
  width: 120px;
}

.w-\[200px\] {
  width: 200px;
}

.w-auto {
  width: auto;
}

.w-fit {
  width: -moz-fit-content;
  width: fit-content;
}

.w-full {
  width: 100%;
}

.min-w-0 {
  min-width: var(--space-0);
}

.min-w-\[200px\] {
  min-width: 200px;
}

.min-w-\[720px\] {
  min-width: 720px;
}

.min-w-\[960px\] {
  min-width: 960px;
}

.max-w-2xl {
  max-width: 42rem;
}

.max-w-3xl {
  max-width: 48rem;
}

.max-w-4xl {
  max-width: 56rem;
}

.max-w-5xl {
  max-width: 64rem;
}

.max-w-6xl {
  max-width: 72rem;
}

.max-w-\[20rem\] {
  max-width: 20rem;
}

.max-w-\[400px\] {
  max-width: 400px;
}

.max-w-\[530px\] {
  max-width: 530px;
}

.max-w-full {
  max-width: 100%;
}

.max-w-md {
  max-width: 28rem;
}

.max-w-sm {
  max-width: 24rem;
}

.max-w-xl {
  max-width: 36rem;
}

.flex-1 {
  flex: 1 1 0%;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

.shrink-0 {
  flex-shrink: 0;
}

.-translate-x-1\/2 {
  --tw-translate-x: -50%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

@keyframes spin {

  to {
    transform: rotate(360deg);
  }
}

.animate-spin {
  animation: spin 1s linear infinite;
}

.cursor-not-allowed {
  cursor: not-allowed;
}

.cursor-pointer {
  cursor: pointer;
}

.cursor-wait {
  cursor: wait;
}

.select-none {
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.select-all {
  -webkit-user-select: all;
     -moz-user-select: all;
          user-select: all;
}

.list-inside {
  list-style-position: inside;
}

.list-disc {
  list-style-type: disc;
}

.list-none {
  list-style-type: none;
}

.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-\[1fr_auto_auto\] {
  grid-template-columns: 1fr auto auto;
}

.flex-col {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.items-start {
  align-items: flex-start;
}

.items-end {
  align-items: flex-end;
}

.items-center {
  align-items: center;
}

.items-baseline {
  align-items: baseline;
}

.items-stretch {
  align-items: stretch;
}

.justify-end {
  justify-content: flex-end;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-1 {
  gap: var(--space-1);
}

.gap-1\.5 {
  gap: 0.375rem;
}

.gap-2 {
  gap: var(--space-2);
}

.gap-2\.5 {
  gap: 0.625rem;
}

.gap-3 {
  gap: var(--space-3);
}

.gap-4 {
  gap: var(--space-4);
}

.gap-5 {
  gap: var(--space-5);
}

.gap-6 {
  gap: var(--space-6);
}

.gap-x-4 {
  -moz-column-gap: var(--space-4);
       column-gap: var(--space-4);
}

.gap-x-6 {
  -moz-column-gap: var(--space-6);
       column-gap: var(--space-6);
}

.gap-y-1 {
  row-gap: var(--space-1);
}

.gap-y-1\.5 {
  row-gap: 0.375rem;
}

.gap-y-4 {
  row-gap: var(--space-4);
}

.space-y-0\.5 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.125rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.125rem * var(--tw-space-y-reverse));
}

.space-y-1 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(var(--space-1) * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(var(--space-1) * var(--tw-space-y-reverse));
}

.space-y-1\.5 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.375rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.375rem * var(--tw-space-y-reverse));
}

.space-y-2 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(var(--space-2) * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(var(--space-2) * var(--tw-space-y-reverse));
}

.space-y-3 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(var(--space-3) * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(var(--space-3) * var(--tw-space-y-reverse));
}

.space-y-4 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(var(--space-4) * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(var(--space-4) * var(--tw-space-y-reverse));
}

.space-y-5 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(var(--space-5) * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(var(--space-5) * var(--tw-space-y-reverse));
}

.space-y-6 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(var(--space-6) * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(var(--space-6) * var(--tw-space-y-reverse));
}

.divide-y > :not([hidden]) ~ :not([hidden]) {
  --tw-divide-y-reverse: 0;
  border-top-width: calc(1px * calc(1 - var(--tw-divide-y-reverse)));
  border-bottom-width: calc(1px * var(--tw-divide-y-reverse));
}

.divide-border > :not([hidden]) ~ :not([hidden]) {
  border-color: var(--border);
}

.overflow-auto {
  overflow: auto;
}

.overflow-hidden {
  overflow: hidden;
}

.overflow-x-auto {
  overflow-x: auto;
}

.overflow-y-auto {
  overflow-y: auto;
}

.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.whitespace-nowrap {
  white-space: nowrap;
}

.whitespace-pre-wrap {
  white-space: pre-wrap;
}

.break-words {
  overflow-wrap: break-word;
}

.break-all {
  word-break: break-all;
}

.rounded {
  border-radius: calc(var(--radius) - 2px);
}

.rounded-\[25px\] {
  border-radius: 25px;
}

.rounded-full {
  border-radius: var(--radius-full);
}

.rounded-lg {
  border-radius: calc(var(--radius) + 2px);
}

.rounded-md {
  border-radius: calc(var(--radius));
}

.rounded-sm {
  border-radius: calc(var(--radius) - 4px);
}

.rounded-xl {
  border-radius: calc(var(--radius) + 4px);
}

.border {
  border-width: 1px;
}

.border-0 {
  border-width: 0px;
}

.border-b {
  border-bottom-width: 1px;
}

.border-b-2 {
  border-bottom-width: 2px;
}

.border-t {
  border-top-width: 1px;
}

.border-dashed {
  border-style: dashed;
}

.border-none {
  border-style: none;
}

.border-border {
  border-color: var(--border);
}

.border-destructive-border {
  border-color: var(--destructive-border);
}

.border-info-border {
  border-color: var(--info-border);
}

.border-input {
  border-color: var(--input);
}

.border-primary {
  border-color: var(--primary);
}

.border-success-border {
  border-color: var(--success-border);
}

.border-transparent {
  border-color: transparent;
}

.border-warning-border {
  border-color: var(--warning-border);
}

.bg-\[\#0055CC\] {
  --tw-bg-opacity: 1;
  background-color: rgb(0 85 204 / var(--tw-bg-opacity, 1));
}

.bg-\[\#0073FF\] {
  --tw-bg-opacity: 1;
  background-color: rgb(0 115 255 / var(--tw-bg-opacity, 1));
}

.bg-\[rgba\(0\2c 85\2c 204\2c 0\.4\)\] {
  background-color: rgba(0,85,204,0.4);
}

.bg-background {
  background-color: var(--background);
}

.bg-border {
  background-color: var(--border);
}

.bg-card {
  background-color: var(--card);
}

.bg-destructive-background {
  background-color: var(--destructive-background);
}

.bg-destructive-text {
  background-color: var(--destructive-text);
}

.bg-foreground {
  background-color: var(--foreground);
}

.bg-info-background {
  background-color: var(--info-background);
}

.bg-info-text {
  background-color: var(--info-text);
}

.bg-muted {
  background-color: var(--muted);
}

.bg-muted-foreground {
  background-color: var(--muted-foreground);
}

.bg-primary {
  background-color: var(--primary);
}

.bg-success-background {
  background-color: var(--success-background);
}

.bg-success-text {
  background-color: var(--success-text);
}

.bg-transparent {
  background-color: transparent;
}

.bg-warning-background {
  background-color: var(--warning-background);
}

.bg-warning-text {
  background-color: var(--warning-text);
}

.bg-white {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}

.bg-gradient-to-tr {
  background-image: linear-gradient(to top right, var(--tw-gradient-stops));
}

.from-\[\#2A2A4A\] {
  --tw-gradient-from: #2A2A4A var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(42 42 74 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.via-\[\#0669BA\] {
  --tw-gradient-to: rgb(6 105 186 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), #0669BA var(--tw-gradient-via-position), var(--tw-gradient-to);
}

.to-\[\#00C9A7\] {
  --tw-gradient-to: #00C9A7 var(--tw-gradient-to-position);
}

.bg-cover {
  background-size: cover;
}

.bg-center {
  background-position: center;
}

.object-cover {
  -o-object-fit: cover;
     object-fit: cover;
}

.p-0 {
  padding: var(--space-0);
}

.p-10 {
  padding: 2.5rem;
}

.p-4 {
  padding: var(--space-4);
}

.p-5 {
  padding: var(--space-5);
}

.p-6 {
  padding: var(--space-6);
}

.p-8 {
  padding: var(--space-8);
}

.px-10 {
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}

.px-2 {
  padding-left: var(--space-2);
  padding-right: var(--space-2);
}

.px-2\.5 {
  padding-left: 0.625rem;
  padding-right: 0.625rem;
}

.px-3 {
  padding-left: var(--space-3);
  padding-right: var(--space-3);
}

.px-4 {
  padding-left: var(--space-4);
  padding-right: var(--space-4);
}

.px-5 {
  padding-left: var(--space-5);
  padding-right: var(--space-5);
}

.px-6 {
  padding-left: var(--space-6);
  padding-right: var(--space-6);
}

.py-0\.5 {
  padding-top: 0.125rem;
  padding-bottom: 0.125rem;
}

.py-1 {
  padding-top: var(--space-1);
  padding-bottom: var(--space-1);
}

.py-1\.5 {
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
}

.py-10 {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.py-2 {
  padding-top: var(--space-2);
  padding-bottom: var(--space-2);
}

.py-2\.5 {
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
}

.py-3 {
  padding-top: var(--space-3);
  padding-bottom: var(--space-3);
}

.py-4 {
  padding-top: var(--space-4);
  padding-bottom: var(--space-4);
}

.py-5 {
  padding-top: var(--space-5);
  padding-bottom: var(--space-5);
}

.py-8 {
  padding-top: var(--space-8);
  padding-bottom: var(--space-8);
}

.pb-10 {
  padding-bottom: 2.5rem;
}

.pr-3 {
  padding-right: var(--space-3);
}

.pr-8 {
  padding-right: var(--space-8);
}

.pt-10 {
  padding-top: 2.5rem;
}

.pt-2 {
  padding-top: var(--space-2);
}

.pt-4 {
  padding-top: var(--space-4);
}

.pt-5 {
  padding-top: var(--space-5);
}

.text-left {
  text-align: left;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.align-top {
  vertical-align: top;
}

.align-middle {
  vertical-align: middle;
}

.font-body {
  font-family: var(--font-body);
}

.font-heading {
  font-family: var(--font-heading);
}

.font-mono {
  font-family: var(--font-mono);
}

.text-2xl {
  font-size: var(--text-2xl);
  line-height: var(--leading-tight);
}

.text-3xl {
  font-size: var(--text-3xl);
  line-height: var(--leading-tight);
}

.text-\[10px\] {
  font-size: 10px;
}

.text-\[11px\] {
  font-size: 11px;
}

.text-\[13px\] {
  font-size: 13px;
}

.text-\[15px\] {
  font-size: 15px;
}

.text-\[24px\] {
  font-size: 24px;
}

.text-\[28px\] {
  font-size: 28px;
}

.text-base {
  font-size: var(--text-base);
  line-height: var(--leading-normal);
}

.text-lg {
  font-size: var(--text-lg);
  line-height: var(--leading-normal);
}

.text-sm {
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
}

.text-xl {
  font-size: var(--text-xl);
  line-height: var(--leading-tight);
}

.text-xs {
  font-size: var(--text-xs);
  line-height: var(--leading-normal);
}

.font-bold {
  font-weight: 700;
}

.font-medium {
  font-weight: 500;
}

.font-normal {
  font-weight: 400;
}

.font-semibold {
  font-weight: 600;
}

.uppercase {
  text-transform: uppercase;
}

.capitalize {
  text-transform: capitalize;
}

.italic {
  font-style: italic;
}

.leading-\[44px\] {
  line-height: 44px;
}

.leading-none {
  line-height: 1;
}

.leading-relaxed {
  line-height: 1.625;
}

.leading-snug {
  line-height: 1.375;
}

.leading-tight {
  line-height: 1.25;
}

.tracking-\[0\.3em\] {
  letter-spacing: 0.3em;
}

.tracking-\[0\.5em\] {
  letter-spacing: 0.5em;
}

.tracking-wide {
  letter-spacing: 0.025em;
}

.tracking-wider {
  letter-spacing: 0.05em;
}

.text-\[\#1A2030\] {
  --tw-text-opacity: 1;
  color: rgb(26 32 48 / var(--tw-text-opacity, 1));
}

.text-\[\#3A4560\] {
  --tw-text-opacity: 1;
  color: rgb(58 69 96 / var(--tw-text-opacity, 1));
}

.text-card-foreground {
  color: var(--card-foreground);
}

.text-destructive-text {
  color: var(--destructive-text);
}

.text-foreground {
  color: var(--foreground);
}

.text-info-text {
  color: var(--info-text);
}

.text-muted-foreground {
  color: var(--muted-foreground);
}

.text-primary {
  color: var(--primary);
}

.text-primary-foreground {
  color: var(--primary-foreground);
}

.text-success-text {
  color: var(--success-text);
}

.text-warning-text {
  color: var(--warning-text);
}

.text-white {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

.underline {
  text-decoration-line: underline;
}

.decoration-dotted {
  text-decoration-style: dotted;
}

.underline-offset-2 {
  text-underline-offset: 2px;
}

.antialiased {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.opacity-0 {
  opacity: 0;
}

.opacity-25 {
  opacity: 0.25;
}

.opacity-75 {
  opacity: 0.75;
}

.shadow-\[0_1px_4px_0_rgba\(0\2c 0\2c 0\2c 0\.06\)\] {
  --tw-shadow: 0 1px 4px 0 rgba(0,0,0,0.06);
  --tw-shadow-colored: 0 1px 4px 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.shadow-\[0_1px_4px_0_rgba\(0\2c 0\2c 0\2c 0\.2\)\] {
  --tw-shadow: 0 1px 4px 0 rgba(0,0,0,0.2);
  --tw-shadow-colored: 0 1px 4px 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.shadow-\[0_1px_4px_0_rgba\(0\2c 0\2c 0\2c 0\.3\)\] {
  --tw-shadow: 0 1px 4px 0 rgba(0,0,0,0.3);
  --tw-shadow-colored: 0 1px 4px 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.shadow-\[0_2px_6px_0_rgba\(0\2c 0\2c 0\2c 0\.25\)\] {
  --tw-shadow: 0 2px 6px 0 rgba(0,0,0,0.25);
  --tw-shadow-colored: 0 2px 6px 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.shadow-md {
  --tw-shadow: var(--shadow-md);
  --tw-shadow-colored: var(--shadow-md);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.shadow-sm {
  --tw-shadow: var(--shadow-sm);
  --tw-shadow-colored: var(--shadow-sm);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.shadow-xs {
  --tw-shadow: var(--shadow-xs);
  --tw-shadow-colored: var(--shadow-xs);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.outline-none {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.ring-1 {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.ring-2 {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.ring-border {
  --tw-ring-color: var(--border);
}

.drop-shadow-\[0_0_6px_rgba\(255\2c 255\2c 255\2c 0\.5\)\] {
  --tw-drop-shadow: drop-shadow(0 0 6px rgba(255,255,255,0.5));
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.drop-shadow-\[0_1px_8px_rgba\(0\2c 0\2c 0\2c 0\.3\)\] {
  --tw-drop-shadow: drop-shadow(0 1px 8px rgba(0,0,0,0.3));
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.filter {
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.backdrop-blur {
  --tw-backdrop-blur: blur(8px);
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
}

.transition {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-colors {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-opacity {
  transition-property: opacity;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-transform {
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.duration-300 {
  transition-duration: 300ms;
}

@keyframes enter {

  from {
    opacity: var(--tw-enter-opacity, 1);
    transform: translate3d(var(--tw-enter-translate-x, 0), var(--tw-enter-translate-y, 0), 0) scale3d(var(--tw-enter-scale, 1), var(--tw-enter-scale, 1), var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0));
  }
}

@keyframes exit {

  to {
    opacity: var(--tw-exit-opacity, 1);
    transform: translate3d(var(--tw-exit-translate-x, 0), var(--tw-exit-translate-y, 0), 0) scale3d(var(--tw-exit-scale, 1), var(--tw-exit-scale, 1), var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0));
  }
}

.duration-300 {
  animation-duration: 300ms;
}

.file\:mr-3::file-selector-button {
  margin-right: var(--space-3);
}

.file\:rounded-full::file-selector-button {
  border-radius: var(--radius-full);
}

.file\:border-0::file-selector-button {
  border-width: 0px;
}

.file\:bg-primary::file-selector-button {
  background-color: var(--primary);
}

.file\:px-4::file-selector-button {
  padding-left: var(--space-4);
  padding-right: var(--space-4);
}

.file\:py-2::file-selector-button {
  padding-top: var(--space-2);
  padding-bottom: var(--space-2);
}

.file\:text-sm::file-selector-button {
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
}

.file\:font-semibold::file-selector-button {
  font-weight: 600;
}

.file\:text-primary-foreground::file-selector-button {
  color: var(--primary-foreground);
}

.placeholder\:text-muted-foreground::-moz-placeholder {
  color: var(--muted-foreground);
}

.placeholder\:text-muted-foreground::placeholder {
  color: var(--muted-foreground);
}

.invalid\:border-destructive-border:invalid {
  border-color: var(--destructive-border);
}

.read-only\:cursor-not-allowed:-moz-read-only {
  cursor: not-allowed;
}

.read-only\:cursor-not-allowed:read-only {
  cursor: not-allowed;
}

.read-only\:bg-muted:-moz-read-only {
  background-color: var(--muted);
}

.read-only\:bg-muted:read-only {
  background-color: var(--muted);
}

.hover\:border-destructive-border:hover {
  border-color: var(--destructive-border);
}

.hover\:bg-accent:hover {
  background-color: var(--accent);
}

.hover\:bg-destructive-background:hover {
  background-color: var(--destructive-background);
}

.hover\:bg-primary-hover:hover {
  background-color: var(--primary-hover);
}

.hover\:bg-warning-background:hover {
  background-color: var(--warning-background);
}

.hover\:text-accent-foreground:hover {
  color: var(--accent-foreground);
}

.hover\:text-foreground:hover {
  color: var(--foreground);
}

.hover\:text-info-text:hover {
  color: var(--info-text);
}

.hover\:text-primary:hover {
  color: var(--primary);
}

.hover\:text-primary-hover:hover {
  color: var(--primary-hover);
}

.hover\:underline:hover {
  text-decoration-line: underline;
}

.hover\:opacity-70:hover {
  opacity: 0.7;
}

.hover\:opacity-80:hover {
  opacity: 0.8;
}

.hover\:ring-primary:hover {
  --tw-ring-color: var(--primary);
}

.hover\:file\:bg-primary-hover::file-selector-button:hover {
  background-color: var(--primary-hover);
}

.focus\:border-ring:focus {
  border-color: var(--ring);
}

.focus\:outline-none:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.focus\:ring-2:focus {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.focus\:ring-ring:focus {
  --tw-ring-color: var(--ring);
}

.focus\:ring-offset-2:focus {
  --tw-ring-offset-width: 2px;
}

.invalid\:focus\:ring-destructive-border:focus:invalid {
  --tw-ring-color: var(--destructive-border);
}

.disabled\:opacity-60:disabled {
  opacity: 0.6;
}

.group[open] .group-open\:inline {
  display: inline;
}

.group[open] .group-open\:hidden {
  display: none;
}

.group[open] .group-open\:rotate-90 {
  --tw-rotate: 90deg;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.group:hover .group-hover\:block {
  display: block;
}

.dark\:block:is(.dark *) {
  display: block;
}

.dark\:hidden:is(.dark *) {
  display: none;
}

@media not all and (min-width: 1024px) {

  .max-lg\:w-full {
    width: 100%;
  }

  .max-lg\:p-6 {
    padding: var(--space-6);
  }
}

@media (min-width: 640px) {

  .sm\:inline {
    display: inline;
  }

  .sm\:flex {
    display: flex;
  }

  .sm\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {

  .md\:col-span-2 {
    grid-column: span 2 / span 2;
  }

  .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));
  }
}

@media (min-width: 1024px) {

  .lg\:flex {
    display: flex;
  }
}

.\[\&\:\:-webkit-details-marker\]\:hidden::-webkit-details-marker {
  display: none;
}
