/* ========================================
   THEME VARIABLES - SINGLE SOURCE OF TRUTH
   This file contains all color and styling variables
   used throughout the application.
   ======================================== */

:root {
  /* ========================================
     BRAND COLORS
     ======================================== */
  --primary-color: #0f766e;
  --primary-light: #14b8a6;
  --primary-dark: #0d5f58;
  --primary-hover: #0d5f58;
  --secondary-color: #0d47a1;

  /* ========================================
     ACCENT COLORS
     ======================================== */
  --accent-color: #06b6d4;
  --accent-hover: #0891b2;
  --accent-warm: #f97316;
  --accent-warm-hover: #ea580c;

  /* ========================================
     SEMANTIC COLORS
     ======================================== */
  --success: #10b981;
  --success-light: rgba(16, 185, 129, 0.1);
  --warning: #f97316;
  --warning-light: rgba(249, 115, 22, 0.1);
  --danger: #ef4444;
  --danger-light: rgba(239, 68, 68, 0.1);
  --info: #0ea5e9;
  --info-light: rgba(14, 165, 233, 0.1);
  --primary-light-bg: rgba(15, 118, 110, 0.12);

  /* ========================================
     NEUTRAL - DARK
     ======================================== */
  --dark: #0f172a;
  --dark-light: #1e293b;
  --dark-muted: #334155;

  /* ========================================
     NEUTRAL - LIGHT
     ======================================== */
  --white: #ffffff;
  --light: #f8fafc;
  --light-gray: #f1f5f9;
  --lighter-gray: #f8fafc;

  /* ========================================
     BACKGROUND COLORS
     ======================================== */
  --bg-body: #ffffff;
  --bg-card: #ffffff;

  /* ========================================
     TEXT COLORS
     ======================================== */
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-on-dark: #cbd5e1;
  --text-on-dark-muted: #94a3b8;
  --text-on-primary: #ffffff;

  /* ========================================
     BORDER COLORS
     ======================================== */
  --border-color: #e2e8f0;
  --border-light: #f1f5f9;
  --border-dark: rgba(255, 255, 255, 0.1);

  /* ========================================
     SHADOWS
     ======================================== */
  --shadow-sm: 0 1px 2px rgba(15, 118, 110, 0.05);
  --shadow-md: 0 4px 6px rgba(15, 118, 110, 0.1);
  --shadow-lg: 0 10px 25px rgba(15, 118, 110, 0.15);
  --shadow-xl: 0 20px 50px rgba(15, 118, 110, 0.2);

  /* ========================================
     GRADIENTS
     ======================================== */
  --gradient-primary: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%);
  --gradient-header: linear-gradient(135deg, #0f766e 0%, #0f172a 100%);
  --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  --gradient-hero: linear-gradient(135deg, #0f766e 0%, #1a7a71 50%, #0d47a1 100%);
  --gradient-light: linear-gradient(135deg, rgba(15, 118, 110, 0.05) 0%, rgba(6, 182, 212, 0.05) 100%);

  /* ========================================
     ADDITIONAL COLORS
     ======================================== */
  --indigo: #6366f1;
  --sky: #0ea5e9;
  --purple: #8b5cf6;
  --pink: #ec4899;

  /* ========================================
     TYPOGRAPHY
     ======================================== */
  --font-family: "Inter", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;

  /* ========================================
     SPACING
     ======================================== */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;

  /* ========================================
     BORDER RADIUS
     ======================================== */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  /* ========================================
     TRANSITIONS
     ======================================== */
  --transition-fast: 150ms ease;
  --transition-normal: 300ms ease;
  --transition-slow: 500ms ease;
}

/* ========================================
   DARK THEME OVERRIDES
   ======================================== */
.dark-theme {
  --text-primary: #f1f5f9;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --bg-body: #0f172a;
  --bg-card: #1e293b;
  --border-color: #334155;
}

/* ========================================
   BOOTSTRAP COLOR OVERRIDES
   This section overrides Bootstrap's default
   colors with our custom theme variables
   ======================================== */
:root {
  --bs-primary: var(--primary-color);
  --bs-primary-rgb: 15, 118, 110;
  --bs-success: var(--success);
  --bs-success-rgb: 16, 185, 129;
  --bs-warning: var(--warning);
  --bs-warning-rgb: 249, 115, 22;
  --bs-danger: var(--danger);
  --bs-danger-rgb: 239, 68, 68;
  --bs-info: var(--info);
  --bs-info-rgb: 14, 165, 233;
}
