/* ================================================================
   AUTO-GENERATED BUNDLE: core
   Do NOT edit this file directly.
   Edit the source files listed below, then run:
       python scripts/build_css.py
   ================================================================ */

/* ── static/css/tokens.css ── */
:root {
  /* ═══════════════════════════════════════════
     COLORS — Primitive Palette
     ═══════════════════════════════════════════ */
  --color-primary: #3D5860;
  --color-primary-light: #5A7A84;
  --color-primary-dark: #2C4249;
  --color-accent: #90C4C4;
  --color-accent-light: #B0D8D8;
  --color-bg: #F5FCFC;
  --color-bg-alt: #EAF5F5;
  --color-surface: #FFFFFF;
  --color-text: #1A2F35;
  --color-text-secondary: #5A7A84;
  --color-text-muted: #8FA8AE;
  --color-border: #D4E8E8;
  --color-border-light: #E8F3F3;
  --color-error: #D94040;
  --color-success: #2E8B57;
  --color-warning: #E8A838;

  /* ── Colors — On-Pair Semantics (text-on-bg) ── */
  --color-on-primary: #FFFFFF;
  --color-on-accent: #1A2F35;
  --color-on-error: #FFFFFF;
  --color-on-surface: #1A2F35;
  --color-on-surface-secondary: #5A7A84;
  --color-on-primary-dark: #FFFFFF;
  --color-on-bg: #1A2F35;
  --color-on-bg-alt: #1A2F35;

  /* ── Colors — Interactive States ── */
  --color-primary-hover: #4D6E78;
  --color-primary-active: #2C4249;
  --color-accent-hover: #A0D0D0;
  --color-accent-active: #7CB4B4;
  --color-error-hover: #C53535;
  --color-success-hover: #267A4C;
  --color-warning-hover: #D49A2E;
  --color-border-hover: #5A7A84;
  --color-border-active: #3D5860;

  /* ── Colors — Overlay & Scrim ── */
  --color-overlay: rgba(26, 47, 53, 0.5);
  --color-scrim: rgba(26, 47, 53, 0.85);
  --color-overlay-light: rgba(26, 47, 53, 0.1);
  --color-overlay-medium: rgba(26, 47, 53, 0.3);

  /* ── Colors — Focus & Accessibility ── */
  --color-focus-ring: #90C4C4;
  --color-focus-ring-offset: #FFFFFF;

  /* ── Colors — Semantic Feedback ── */
  --color-error-bg: rgba(217, 64, 64, 0.08);
  --color-error-border: rgba(217, 64, 64, 0.3);
  --color-success-bg: rgba(46, 139, 87, 0.08);
  --color-success-border: rgba(46, 139, 87, 0.3);
  --color-warning-bg: rgba(232, 168, 56, 0.08);
  --color-warning-border: rgba(232, 168, 56, 0.3);
  --color-info: #0ea5e9;
  --color-info-bg: rgba(14, 165, 233, 0.08);
  --color-info-border: rgba(14, 165, 233, 0.3);

  /* ── Colors — Subtle Tints (background tints) ── */
  --color-primary-tint: rgba(61, 88, 96, 0.05);
  --color-accent-tint: rgba(144, 196, 196, 0.1);

  /* ═══════════════════════════════════════════
     TYPOGRAPHY
     ═══════════════════════════════════════════ */
  --font-heading: 'Monadi', sans-serif;
  --font-body: 'Cairo', sans-serif;
  --font-accent: 'Point Art', sans-serif;
  --font-mono: 'Courier New', monospace;

  /* ── Type Scale ── */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;

  /* ── Font Weights ── */
  --weight-light: 300;
  --weight-normal: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;

  /* ── Line Heights ── */
  --leading-tight: 1.3;
  --leading-normal: 1.6;
  --leading-relaxed: 1.75;

  /* ── Letter Spacing ── */
  --tracking-tight: -0.01em;
  --tracking-normal: 0;
  --tracking-wide: 0.02em;
  --tracking-wider: 0.05em;

  /* ── Max Measure (line-length) ── */
  --measure-sm: 40ch;
  --measure-md: 65ch;
  --measure-lg: 75ch;

  /* ═══════════════════════════════════════════
     SPACING — 4/8dp Grid
     ═══════════════════════════════════════════ */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* ── Component Sizing ── */
  --btn-height-sm: 32px;
  --btn-height-md: 40px;
  --btn-height-lg: 48px;
  --input-height: 44px;
  --nav-height: 64px;
  --nav-height-lg: 72px;
  --navbar-height: 64px;
  --navbar-height-scrolled: 64px;
  --icon-size-sm: 16px;
  --icon-size-md: 20px;
  --icon-size-lg: 24px;
  --icon-size-xl: 32px;
  --min-tap-target: 44px;

  /* ═══════════════════════════════════════════
     BORDERS
     ═══════════════════════════════════════════ */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --border-width-thin: 1px;
  --border-width-default: 2px;
  --border-width-thick: 3px;

  /* ═══════════════════════════════════════════
     SHADOWS
     ═══════════════════════════════════════════ */
  --shadow-sm: 0 1px 3px rgba(61,88,96,0.08);
  --shadow-md: 0 4px 12px rgba(61,88,96,0.1);
  --shadow-lg: 0 8px 30px rgba(61,96,88,0.12);
  --shadow-xl: 0 16px 50px rgba(61,88,96,0.15);
  --shadow-inner: inset 0 2px 4px rgba(61,88,96,0.06);
  --shadow-focus: 0 0 0 2px var(--color-focus-ring-offset), 0 0 0 4px var(--color-focus-ring);

  /* ═══════════════════════════════════════════
     TRANSITIONS
     ═══════════════════════════════════════════ */
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --duration-slow: 400ms;
  --ease-default: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1); /* deprecated — do not use; use --ease-out instead */
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);

  --transition-fast: var(--duration-fast) var(--ease-default);
  --transition-normal: var(--duration-normal) var(--ease-default);
  --transition-slow: var(--duration-slow) var(--ease-default);

  /* ═══════════════════════════════════════════
     Z-INDEX
     ═══════════════════════════════════════════ */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-navbar: 300;
  --z-overlay: 400;
  --z-modal: 500;
  --z-toast: 600;

  /* ═══════════════════════════════════════════
     LAYOUT
     ═══════════════════════════════════════════ */
  --container-sm: 576px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
  --container-2xl: 1440px;
  --sidebar-width: 280px;
  --content-padding: var(--space-4);

  /* ═══════════════════════════════════════════
     BREAKPOINTS (for reference in JS)
     ═══════════════════════════════════════════ */
  --bp-sm: 576px;
  --bp-md: 768px;
  --bp-lg: 1024px;
  --bp-xl: 1280px;
  --bp-2xl: 1440px;
}


/* ── static/css/base.css ── */
/* ── Font Face Declarations ── */
@font-face {
  font-family: "Point Art";
  src: url("/static/fonts/PointArt.woff2") format("woff2"),
       url("/static/fonts/PointArt.woff") format("woff"),
       url("/static/fonts/PointArt.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Monadi";
  src: url("/static/fonts/Monadi.woff2") format("woff2"),
       url("/static/fonts/Monadi.woff") format("woff"),
       url("/static/fonts/Monadi.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ── CSS Reset & Base Styles ── */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--color-text);
  background-color: var(--color-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* ── Typography Base ── */
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 400;
  color: var(--color-text);
  line-height: var(--leading-tight);
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

p {
  margin: 0 0 var(--space-4) 0;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--duration-normal) var(--ease-default);
}

a:hover {
  color: var(--color-accent);
}

/* ── Content Flexibility ── */
.content {
  flex: 1;
}

.content-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* ── Custom Scrollbar ── */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--color-accent);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}

/* ── Focus Styles ── */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* ── Selection ── */
::selection {
  background-color: var(--color-accent);
  color: var(--color-surface);
}

/* ── Image Reset ── */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ── Utility Classes ── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ── Container Site ── */
.container-site {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: var(--space-4);
}

@media (min-width: 768px) {
  .container-site { padding-inline: var(--space-6); }
}

@media (min-width: 1024px) {
  .container-site { padding-inline: var(--space-8); }
}

/* ── Font Family Classes ── */
.font-point { font-family: var(--font-accent); }
.font-monadi { font-family: var(--font-heading); }
.font-cairo { font-family: var(--font-body); }

/* ── Color Utility Classes (backward compatibility) ── */
.darkGreen { color: var(--color-primary); }
.bg-darkGreen { background-color: var(--color-primary); }
.morningFog { color: var(--color-accent); }
.bg-morningFog { background-color: var(--color-accent); }
.whiteColor { color: var(--color-surface); }
.bg-whiteColor { background-color: var(--color-bg); }

/* ── Shadow Utility Classes ── */
.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); }

/* ── Border Utility Classes ── */
.border-darkGreen {
  border-color: var(--color-primary);
  border-width: 2px;
  border-style: solid;
}


/* ── static/css/utilities.css ── */
/* ── Text Utilities ── */
.text-truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.text-truncate-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.text-truncate-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.text-center { text-align: center; }
.text-start { text-align: start; }
.text-end { text-align: end; }

.text-primary { color: var(--color-primary); }
.text-accent { color: var(--color-accent); }
.text-muted { color: var(--color-text-muted); }
.text-secondary { color: var(--color-text-secondary); }
.text-error { color: var(--color-error); }
.text-success { color: var(--color-success); }
.text-warning { color: var(--color-warning); }

.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.font-normal { font-weight: 400; }
.font-light { font-weight: 300; }

/* ── Spacing Utilities ── */
.m-0 { margin: 0; }
.mt-1 { margin-top: var(--space-1); }
.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mb-1 { margin-bottom: var(--space-1); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }

.p-0 { padding: 0; }
.pt-1 { padding-top: var(--space-1); }
.pt-2 { padding-top: var(--space-2); }
.pt-3 { padding-top: var(--space-3); }
.pt-4 { padding-top: var(--space-4); }
.pt-6 { padding-top: var(--space-6); }
.pt-8 { padding-top: var(--space-8); }
.pb-1 { padding-bottom: var(--space-1); }
.pb-2 { padding-bottom: var(--space-2); }
.pb-3 { padding-bottom: var(--space-3); }
.pb-4 { padding-bottom: var(--space-4); }
.pb-6 { padding-bottom: var(--space-6); }
.pb-8 { padding-bottom: var(--space-8); }

/* ── Display Utilities ── */
.d-none { display: none; }
.d-block { display: block; }
.d-inline { display: inline; }
.d-inline-block { display: inline-block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

@media (min-width: 576px) {
  .d-sm-none { display: none; }
  .d-sm-block { display: block; }
  .d-sm-flex { display: flex; }
}

@media (min-width: 768px) {
  .d-md-none { display: none; }
  .d-md-block { display: block; }
  .d-md-flex { display: flex; }
}

@media (min-width: 1024px) {
  .d-lg-none { display: none; }
  .d-lg-block { display: block; }
  .d-lg-flex { display: flex; }
}

/* ── Flex Utilities ── */
.flex-row { flex-direction: row; }
.flex-column { flex-direction: column; }
.justify-start { justify-content: flex-start; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.justify-between { justify-content: space-between; }
.align-start { align-items: flex-start; }
.align-center { align-items: center; }
.align-end { align-items: flex-end; }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }

/* ── Position Utilities ── */
.position-relative { position: relative; }
.position-absolute { position: absolute; }
.position-fixed { position: fixed; }
.position-sticky { position: sticky; }

/* ── Cursor Utilities ── */
.cursor-pointer { cursor: pointer; }
.cursor-default { cursor: default; }
.cursor-not-allowed { cursor: not-allowed; }

/* ── Transition Utilities ── */
.transition {
  transition: all var(--duration-normal) var(--ease-default);
}

.transition-fast {
  transition: all var(--duration-fast) var(--ease-default);
}

.transition-slow {
  transition: all var(--duration-slow) var(--ease-default);
}

/* ── Rounded Utilities ── */
.rounded-sm { border-radius: var(--radius-sm); }
.rounded-md { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-full { border-radius: var(--radius-full); }


/* ── static/css/animations.css ── */
/* ── Scroll-Triggered Animations ── */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--duration-slow) var(--ease-default),
              transform var(--duration-slow) var(--ease-default);
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-slide-right {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity var(--duration-slow) var(--ease-default),
              transform var(--duration-slow) var(--ease-default);
}

.animate-on-slide-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.animate-on-slide-left {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity var(--duration-slow) var(--ease-default),
              transform var(--duration-slow) var(--ease-default);
}

.animate-on-slide-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.animate-on-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity var(--duration-slow) var(--ease-default),
              transform var(--duration-slow) var(--ease-default);
}

.animate-on-scale.is-visible {
  opacity: 1;
  transform: scale(1);
}

.animate-on-fade {
  opacity: 0;
  transition: opacity var(--duration-slow) var(--ease-default);
}

.animate-on-fade.is-visible {
  opacity: 1;
}

/* ── Stagger Support ── */
.animate-on-scroll.is-visible > *,
.animate-on-slide-right.is-visible > *,
.animate-on-slide-left.is-visible > *,
.animate-on-scale.is-visible > * {
  transition-delay: calc(var(--stagger-index, 0) * 80ms);
}

/* ── Micro-Interactions ── */
.hover-lift {
  transition: transform var(--duration-normal) var(--ease-default),
              box-shadow var(--duration-normal) var(--ease-default);
}

.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.hover-scale {
  transition: transform var(--duration-fast) var(--ease-default);
}

.hover-scale:hover {
  transform: scale(1.02);
}

.hover-scale:active {
  transform: scale(0.98);
}

.hover-underline {
  position: relative;
}

.hover-underline::after {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: width var(--duration-normal) var(--ease-default);
}

.hover-underline:hover::after {
  width: 100%;
}

/* ── Loading Animations ── */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.animate-pulse {
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.animate-spin {
  animation: spin 1s linear infinite;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.skeleton {
  background: linear-gradient(90deg,
    var(--color-bg-alt) 25%,
    var(--color-border-light) 50%,
    var(--color-bg-alt) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

/* ── Toast Animations ── */
@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOutRight {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

.toast-enter {
  animation: slideInRight var(--duration-normal) var(--ease-default);
}

.toast-exit {
  animation: slideOutRight var(--duration-fast) var(--ease-default);
}

/* ── Modal Animations ── */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.modal-backdrop-enter {
  animation: fadeIn var(--duration-normal) var(--ease-default);
}

.modal-content-enter {
  animation: scaleIn var(--duration-normal) var(--ease-default);
}

/* ── Button Animations ── */
.btn-press {
  transition: transform var(--duration-fast) var(--ease-default);
}

.btn-press:active {
  transform: scale(0.97);
}

/* ── Reduced Motion Support ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ── Scroll Behavior ── */
html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

