/**
 * FluxCSS Base Styles
 * Foundation styles for the framework
 */

/* CSS Custom Properties */
:root {
  /* Color system */
  --my-color-primary-50: #eff6ff;
  --my-color-primary-100: #dbeafe;
  --my-color-primary-200: #bfdbfe;
  --my-color-primary-300: #93c5fd;
  --my-color-primary-400: #60a5fa;
  --my-color-primary-500: #3b82f6;
  --my-color-primary-600: #2563eb;
  --my-color-primary-700: #1d4ed8;
  --my-color-primary-800: #1e40af;
  --my-color-primary-900: #1e3a8a;
  --my-color-primary-950: #172554;
  
  /* Gray scale */
  --my-color-gray-50: #f9fafb;
  --my-color-gray-100: #f3f4f6;
  --my-color-gray-200: #e5e7eb;
  --my-color-gray-300: #d1d5db;
  --my-color-gray-400: #9ca3af;
  --my-color-gray-500: #6b7280;
  --my-color-gray-600: #4b5563;
  --my-color-gray-700: #374151;
  --my-color-gray-800: #1f2937;
  --my-color-gray-900: #111827;
  --my-color-gray-950: #030712;
  
  /* Semantic colors */
  --my-color-success-500: #22c55e;
  --my-color-warning-500: #f59e0b;
  --my-color-error-500: #ef4444;
  
  /* Spacing scale */
  --my-space-1: 0.25rem;
  --my-space-2: 0.5rem;
  --my-space-3: 0.75rem;
  --my-space-4: 1rem;
  --my-space-5: 1.25rem;
  --my-space-6: 1.5rem;
  --my-space-8: 2rem;
  --my-space-10: 2.5rem;
  --my-space-12: 3rem;
  --my-space-16: 4rem;
  --my-space-20: 5rem;
  --my-space-24: 6rem;
  --my-space-32: 8rem;
  
  /* Typography */
  --my-font-family-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --my-font-family-serif: Georgia, Cambria, 'Times New Roman', Times, serif;
  --my-font-family-mono: 'Fira Code', 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
  
  /* Font sizes */
  --my-text-xs: 0.75rem;
  --my-text-sm: 0.875rem;
  --my-text-base: 1rem;
  --my-text-lg: 1.125rem;
  --my-text-xl: 1.25rem;
  --my-text-2xl: 1.5rem;
  --my-text-3xl: 1.875rem;
  --my-text-4xl: 2.25rem;
  --my-text-5xl: 3rem;
  --my-text-6xl: 3.75rem;
  
  /* Line heights */
  --my-leading-none: 1;
  --my-leading-tight: 1.25;
  --my-leading-snug: 1.375;
  --my-leading-normal: 1.5;
  --my-leading-relaxed: 1.625;
  --my-leading-loose: 2;
  
  /* Border radius */
  --my-radius-none: 0;
  --my-radius-sm: 0.125rem;
  --my-radius: 0.25rem;
  --my-radius-md: 0.375rem;
  --my-radius-lg: 0.5rem;
  --my-radius-xl: 0.75rem;
  --my-radius-2xl: 1rem;
  --my-radius-3xl: 1.5rem;
  --my-radius-full: 9999px;
  
  /* Shadows */
  --my-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --my-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --my-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --my-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --my-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --my-shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  
  /* Transitions */
  --my-transition-fast: 150ms ease-out;
  --my-transition-normal: 300ms ease-out;
  --my-transition-slow: 500ms ease-out;
  
  /* Z-index scale */
  --my-z-0: 0;
  --my-z-10: 10;
  --my-z-20: 20;
  --my-z-30: 30;
  --my-z-40: 40;
  --my-z-50: 50;
  --my-z-auto: auto;
}

/* Base element styles */
html {
  font-family: var(--my-font-family-sans);
  line-height: var(--my-leading-normal);
  -webkit-text-size-adjust: 100%;
  -moz-tab-size: 4;
  tab-size: 4;
}

body {
  margin: 0;
  font-family: inherit;
  line-height: inherit;
  color: var(--my-color-gray-900);
  background-color: var(--my-color-gray-50);
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
  margin: 0;
}

/* Links */
a {
  color: inherit;
  text-decoration: inherit;
}

/* Buttons */
button {
  background-color: transparent;
  background-image: none;
  border: 0;
  padding: 0;
  margin: 0;
}

/* Form elements */
input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  margin: 0;
  padding: 0;
}

/* Images */
img, svg {
  display: block;
  vertical-align: middle;
}

/* Lists */
ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Tables */
table {
  text-indent: 0;
  border-color: inherit;
  border-collapse: collapse;
}

/* Utilities */
.my-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.my-not-sr-only {
  position: static;
  width: auto;
  height: auto;
  padding: 0;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
}
