/* -------------------------------- 

Custom Properties

-------------------------------- */
:root {

/* Font Family */
--font-family-base: -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial, sans-serif;

/*
Font Size Scale
Extra-small: Tiny text for captions and fine print
Small: Smaller body text, secondary UI elements
Base Default: Fallback for non-clamping scenarios
Base: body text, standard paragraphs
Medium: Subheadings, emphasized text
Large: Section headings, prominent text
Extra-large: Main headings
2xl: Large headings, hero text
3xl: Massive display text
*/
--font-size-xs: clamp(0.65rem, 0.6rem + 0.4vw, 0.85rem);
--font-size-sm: clamp(0.875rem, 0.8rem + 0.6vw, 1rem);
--font-size-default: 1rem;
--font-size-base: clamp(1rem, 0.9rem + 0.8vw, 1.15rem);
--font-size-md: clamp(1.25rem, 1.1rem + 0.8vw, 1.6rem);
--font-size-lg: clamp(1.5rem, 1.3rem + 1vw, 2rem);
--font-size-xl: clamp(1.85rem, 1.2rem + 1.8vw, 2.5rem);
--font-size-2xl: clamp(2.25rem, 1.5rem + 2.2vw, 3.2rem);
--font-size-3xl: clamp(2.8rem, 2rem + 2.5vw, 4rem);

/* Font Weights */
--font-weight-black: 900;
--font-weight-bold: 600;
--font-weight-regular: 500;
--font-weight-light: 300;

 /* Line Height Scale (unitless for proportional scaling) */
--line-height-dense: 1; /* Tight for large headings or compact text */
--line-height-tight: 1.25; /* Slightly tighter for headings */
--line-height-normal: 1.5; /* Standard for body text */
--line-height-loose: 1.75; /* Spacious for captions or small text */
--line-height-extra-loose: 2; /* Very open for special cases (e.g., quotes) */

/* Letter Spacing */
--letter-spacing-dense: -0.075ch;
--letter-spacing-tight: -0.02ch;
--letter-spacing-normal: normal;
--letter-spacing-loose: 0.05ch;

/* Spacing */
--spacing-unit: 8px; /* Base unit for consistent spacing */
--spacing-sm: calc(var(--spacing-unit) * 1); /* 8px */
--spacing-md: calc(var(--spacing-unit) * 2); /* 16px */
--spacing-lg: calc(var(--spacing-unit) * 3); /* 24px */

/* Containers */
--container-max-width: 1400px;
--container-full-width: 100%;
--container-small-width: 1050px;
--container-full-height: 100%;

/* Transitions */
--transition-long: 650ms ease-in-out;
--transition-base: 500ms ease-in-out;
--transition-medium: 250ms ease-in-out;
--transition-fast: 100ms ease-in-out;

/* Surface Colors */
--color-surface: #11071f;
--color-surface-light: #1a0b2e;

/* Surface Color Shades */
--color-surface-100: #f1f6fa;
--color-surface-200: #d6e4ee;
--color-surface-300: #bcd3e5;
--color-surface-400: #9fc0da;
--color-surface-500: #76a6ca;

/* Text Colors */
--color-text-primary:#f1f5fd;
--color-text-secondary: #b0c4de;

/* Primary Colors */
--color-primary: #8a6eff;
--color-primary-hover: #a585e6;

/* Accent Colors */
--color-accent: #00bfff;
--color-accent-hover: #0086b3;

/* Constant Colors */
--color-white: #ffffff;
--color-black: #000000;

--nav-background-hover: #11071f;

/* Borders and Dividers */
--color-border: #3f317a;

/* Focus System - Centralized focus styling */
--focus-color: var(--color-primary);
--focus-shadow: 0 0 0 2px var(--color-surface-light), 0 0 0 4px var(--focus-color);
--focus-form-shadow: 0 0 0 3px rgba(59, 128, 246, 0.5);
--focus-outline-width: 2px;
--focus-outline-offset: 2px;
--focus-transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;

/* Box Shadows */
--box-shadow-xs: 0 1px 1px rgba(0, 0, 0, 0.15);
--box-shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.8);
--box-shadow-md: 0 4px 8px rgba(0, 0, 0, 0.15);
--box-shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.2);

/* Gradients and Hovers */
--gradient-hero-radial: radial-gradient(50% 50% at 50% 50%,hsla(245deg,42%,42%,.89) 20%,rgba(0,0,0,0) 100%);
--background-panel-hover: rgba(138, 110, 255, 0.08);
--background-btn-hover: rgba(138, 110, 255, 0.08);

/* Table Stripes */
/* --color-table-stripe-dark: #0f1c2e;
--color-table-stripe-light: #1b3355; */
--color-table-stripe-dark: #3a186a;
--color-table-stripe-light: #301457;


/* Gray Scale */
--color-gray-50: #f2f2f2;
--color-gray-100: #f5f5f5;
--color-gray-200: #eeeeee;
--color-gray-300: #e0e0e0;
--color-gray-400: #bdbdbd;
--color-gray-500: #9e9e9e;
--color-gray-600: #757575;
--color-gray-700: #616161;
--color-gray-800: #424242;
--color-gray-900: #212121;

/* Status Colors */
--color-green: #14c755;
--color-green-hover: #0b9e3c;
--color-green-100: #d4edda;
--color-green-200: #c3e6cb;
--color-green-300: #155724;

--color-yellow: #ffc107;
--color-yellow-hover: #bf9a12;
--color-yellow-100: #fff3cd;
--color-yellow-200: #ffeaa7;
--color-yellow-300: #856404;

--color-orange: #ff7f50;
--color-orange-hover: #ff6347;
--color-orange-100: #ffe5d4;
--color-orange-200: #ffc6b3;
--color-orange-300: #ff7f50;

--color-red: #fa4040;
--color-red-hover: #d90429;
--color-red-100: #eddad4;
--color-red-200: #f5c6cb;
--color-red-300: #c3192a;

--color-blue: #007bff;
--color-blue-hover: #026de0;
--color-blue-100: #ebf5fc;
--color-blue-200: #c0e1ff;
--color-blue-300: #004889;

--color-purple: #6f42c1;
--color-purple-hover: #5a32a3;
--color-purple-100: #e7d6ff;
--color-purple-200: #d4b3ff;
--color-purple-300: #4b0082;

--color-teal: #17a2b8;
--color-teal-hover: #138496;
--color-teal-100: #d1ecf1;
--color-teal-200: #bee5eb;
--color-teal-300: #0c5460;


/* Toast Notification Colors */
--toast-success: #28a745;
--toast-error: #dc3545;
--toast-warning: #ffc107;
--toast-info: #17a2b8;
/* --toast-bg: #ffffff;
--toast-text: #212529; */
--toast-bg: #333537;
--toast-text: #ffffff;
--toast-border: #e9ecef;

}



/* -------------------------------- 

Light Mode Properties

-------------------------------- */
.lightmode {

/* Surface Colors */
--color-surface: #f8fafc;
--color-surface-light: #ffffff;

/* Surface Color Shades */
--color-surface-100: #f1f6fa;
--color-surface-200: #d6e4ee;
--color-surface-300: #bcd3e5;
--color-surface-400: #9fc0da;
--color-surface-500: #76a6ca;

/* Text Colors */
--color-text-primary: #353c45;
--color-text-secondary: #a3b0c4;

/* Primary Colors */
--color-primary: #8a6eff;
--color-primary-hover: #a585e6;

/* Accent Colors */
--color-accent: #00bfff;
--color-accent-hover: #0086b3;

/* Constant Colors */
--color-white: #ffffff;
--color-black: #000000;

--nav-background-hover: #f5f5f5;

/* Borders and Dividers */
--color-border: #d7dbe2;

/* Focus System - Centralized focus styling */
--focus-color: var(--color-primary);
--focus-shadow: 0 0 0 3px rgba(59, 128, 246, 0.5);
--focus-transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;

/* Box Shadows */
--box-shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.8);
--box-shadow-md: 0 4px 8px rgba(0, 0, 0, 0.15);
--box-shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.2);

/* Hovers */
--background-panel-hover: rgba(138, 110, 255, 0.08);
--background-btn-hover: rgba(138, 110, 255, 0.08);

/* Table Stripes */
--color-table-stripe-dark: #eaeff4;
--color-table-stripe-light: #f8fafc;

/* Gradients and Hovers */
--gradient-hero-radial: radial-gradient(50% 50% at 50% 50%,hsla(222, 76%, 70%, 0.35) 20%,rgba(0,0,0,0) 100%);
--background-panel-hover: rgba(180, 180, 180, 0.08);

}