/* ===================================================================
   DataShare Design System - Phase 1 Foundation
   ================================================================= */

/* Import clean, professional typography - Inter for all text (Pixenio-inspired) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* ===================================================================
   CSS Custom Properties (Design Tokens)
   ================================================================= */

:root {
  /* Brand Colors - Actual Pixenio Bright Blue */
  --color-primary: #5788ff; /* Pixenio's bright vibrant blue */
  --color-primary-light: #79a2ff; /* Lighter shade for hover states */
  --color-primary-dark: #3d6fe6; /* Darker shade for active states */
  --color-primary-50: rgba(87, 136, 255, 0.05);
  --color-primary-100: rgba(87, 136, 255, 0.1);
  --color-primary-200: rgba(87, 136, 255, 0.2);
  --color-primary-300: rgba(87, 136, 255, 0.3);
  --color-primary-400: rgba(87, 136, 255, 0.4);

  /* Secondary Accent Color - Pixenio Dark Gray */
  --color-secondary: #2c3e50; /* Clean dark gray for contrast */

  /* Semantic Colors - Pixenio Compatible */
  --color-success: #22c55e; /* Clean green */
  --color-success-light: #34d399;
  --color-success-dark: #16a34a;
  --color-warning: #f59e0b; /* Clean orange */
  --color-warning-light: #fbbf24;
  --color-warning-dark: #d97706;
  --color-error: #ef4444; /* Clean red */
  --color-error-light: #f87171;
  --color-error-dark: #dc2626;

  /* Neutral Colors - Pixenio Clean Palette */
  --color-background: #ffffff; /* Pure white background */
  --color-background-alt: #f8f9fa; /* Very light gray for subtle contrast */
  --color-surface: #ffffff;
  --color-surface-hover: #f8f9fa;
  --color-surface-elevated: #ffffff;
  --color-border: #e8ecef; /* Very light border */
  --color-border-light: #f1f3f5;
  --color-border-dark: #dee2e6;

  /* Text Colors - Pixenio Gray Hierarchy */
  --color-text-primary: #2c3e50; /* Dark gray for headings (not pure black) */
  --color-text-secondary: #5a6c7d; /* Medium gray for body text */
  --color-text-muted: #8896a0; /* Light gray for supporting text */
  --color-text-inverse: #ffffff;

  /* Spacing Scale */
  --space-xs: 0.25rem;    /* 4px */
  --space-sm: 0.5rem;     /* 8px */
  --space-md: 0.75rem;    /* 12px */
  --space-lg: 1rem;       /* 16px */
  --space-xl: 1.5rem;     /* 24px */
  --space-2xl: 2rem;      /* 32px */
  --space-3xl: 3rem;      /* 48px */
  --space-4xl: 4rem;      /* 64px */

  /* Typography Scale - Premium Elegance */
  --font-size-xs: 0.75rem;    /* 12px */
  --font-size-sm: 0.875rem;   /* 14px */
  --font-size-base: 1rem;     /* 16px */
  --font-size-lg: 1.125rem;   /* 18px */
  --font-size-xl: 1.25rem;    /* 20px */
  --font-size-2xl: 1.5rem;    /* 24px */
  --font-size-3xl: 1.875rem;  /* 30px */
  --font-size-4xl: 2.25rem;   /* 36px */
  --font-size-5xl: 3rem;      /* 48px */
  --font-size-6xl: 3.75rem;   /* 60px */

  /* Font Families - Clean Sans-Serif Only */
  --font-family-display: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-family-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Line Heights */
  --line-height-tight: 1.25;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.75;

  /* Border Radius - Pixenio Rounded */
  --radius-sm: 0.375rem;  /* 6px */
  --radius-md: 0.5rem;    /* 8px */
  --radius-lg: 0.625rem;  /* 10px */
  --radius-xl: 0.875rem;  /* 14px */
  --radius-2xl: 1.25rem;  /* 20px */

  /* Shadows - Pixenio Subtle */
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 2px 8px 0 rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 4px 16px 0 rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 8px 32px 0 rgba(0, 0, 0, 0.12);
  --shadow-premium: 0 12px 48px 0 rgba(0, 0, 0, 0.15);
  --shadow-glow: 0 0 0 3px rgba(87, 136, 255, 0.25);

  /* Pixenio Gradients - Clean */
  --gradient-primary: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  --gradient-secondary: linear-gradient(135deg, var(--color-secondary) 0%, #1f2937 100%);
  --gradient-surface: var(--color-surface);
  --gradient-organic: none;

  /* Transitions - Premium Organic */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 400ms cubic-bezier(0.68, -0.55, 0.265, 1.55);

  /* Z-index Scale */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal: 1040;
  --z-popover: 1050;
  --z-tooltip: 1060;
}

/* ===================================================================
   Base Styles & Reset
   ================================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  line-height: var(--line-height-normal);
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
}

body {
  font-family: var(--font-family-body);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  color: var(--color-text-primary);
  background: var(--color-background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

/* ===================================================================
   Typography System
   ================================================================= */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-display);
  font-weight: 600;
  line-height: var(--line-height-tight);
  color: var(--color-text-primary);
  letter-spacing: -0.025em;
}

h1 {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  letter-spacing: -0.025em;
}

h2 {
  font-size: var(--font-size-3xl);
  font-weight: 600;
  letter-spacing: -0.025em;
}

h3 {
  font-size: var(--font-size-xl);
  font-weight: 600;
}

h4 {
  font-size: var(--font-size-lg);
  font-weight: 500;
}

h5, h6 {
  font-size: var(--font-size-base);
  font-weight: 500;
}

p {
  margin-bottom: var(--space-lg);
  color: var(--color-text-secondary);
  line-height: var(--line-height-relaxed);
}

/* ===================================================================
   Layout Components
   ================================================================= */

/* Clean Header Design - Pixenio Inspired */
header {
  position: relative;
  background: var(--color-surface);
  border-bottom: 1px solid #d1d5db;
  padding: var(--space-3xl) 0;
}

/* Compact Header Override */
.compact-header {
  padding: var(--space-lg) 0;
  border-bottom: 1px solid #d1d5db;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-3xl);
}

.header-brand {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.header-logo {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  transition: opacity var(--transition-fast);
}

.header-logo:hover {
  opacity: 0.8;
}

.header-text {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

header h1 {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: var(--color-text-primary);
  margin: 0;
  letter-spacing: -0.025em;
}

.header-tagline {
  font-size: var(--font-size-base);
  font-weight: 500;
  color: var(--color-text-secondary);
  margin: 0;
  margin-top: var(--space-xs);
}

.header-stats {
  display: flex;
  gap: var(--space-xl);
  align-items: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-lg) var(--space-xl);
  background: var(--color-background-alt);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: all var(--transition-fast);
}

.stat-item:hover {
  border-color: var(--color-primary-200);
  box-shadow: var(--shadow-sm);
}

.stat-number {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--color-text-primary);
  line-height: 1;
}

.stat-label {
  font-size: var(--font-size-xs);
  font-weight: 500;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1;
}

.header-accent {
  display: none;
}

/* Main Content */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-4xl) var(--space-3xl);
  min-height: calc(100vh - 200px);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.content-card {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  padding: var(--space-3xl);
  margin: var(--space-2xl) 0;
  border: 1px solid var(--color-border);
  transition: all var(--transition-fast);
}

.content-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border-color: var(--color-border-dark);
}

/* ===================================================================
   Form Components
   ================================================================= */

.form-group {
  margin-bottom: var(--space-xl);
}

.form-label {
  display: block;
  font-weight: 500;
  color: var(--color-text-primary);
  margin-bottom: var(--space-sm);
  font-size: var(--font-size-sm);
}

.form-input,
.form-textarea,
#content {
  width: 100%;
  max-width: 500px;
  padding: var(--space-md) var(--space-lg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  font-family: inherit;
  transition: all var(--transition-fast);
  background: var(--color-surface);
}

.form-input:focus,
.form-textarea:focus,
#content:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-100), 0 1px 2px rgba(87, 136, 255, 0.1);
}

.form-input:hover,
.form-textarea:hover,
#content:hover {
  border-color: var(--color-border-dark);
}

.form-textarea,
#content {
  min-height: 120px;
  resize: vertical;
}

/* ===================================================================
   Button System
   ================================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md) var(--space-2xl);
  border: 1px solid transparent;
  border-radius: var(--radius-lg); /* More rounded like Pixenio */
  font-size: var(--font-size-sm);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  letter-spacing: 0.025em;
  text-transform: uppercase; /* Pixenio style */
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Primary Button - Pixenio Style */
.btn-primary,
.button {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  border-color: var(--color-primary);
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 4px rgba(87, 136, 255, 0.15);
}

.btn-primary:hover,
.button:hover {
  background: var(--color-primary-light);
  border-color: var(--color-primary-light);
  box-shadow: 0 4px 8px rgba(87, 136, 255, 0.25);
  transform: translateY(-1px);
}

.btn-primary:active,
.button:active {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  box-shadow: 0 1px 2px rgba(87, 136, 255, 0.2);
  transform: translateY(0);
}

/* Secondary Button - Clean Gray */
.btn-secondary {
  background-color: var(--color-surface);
  color: var(--color-text-primary); /* Use dark gray text */
  border: 1px solid var(--color-border-dark);
}

.btn-secondary:hover {
  background-color: var(--color-background-alt);
  border-color: var(--color-text-secondary);
  color: var(--color-text-primary);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
}

/* Success Button */
.btn-success {
  background-color: var(--color-success);
  color: var(--color-text-inverse);
  border-color: var(--color-success);
}

.btn-success:hover {
  background-color: var(--color-success-light);
  border-color: var(--color-success-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Warning Button */
.btn-warning {
  background-color: var(--color-warning);
  color: var(--color-text-inverse);
  border-color: var(--color-warning);
}

.btn-warning:hover {
  background-color: var(--color-warning-light);
  border-color: var(--color-warning-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Error Button */
.btn-error {
  background-color: var(--color-error);
  color: var(--color-text-inverse);
  border-color: var(--color-error);
}

.btn-error:hover {
  background-color: var(--color-error-light);
  border-color: var(--color-error-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Button Sizes */
.btn-sm,
.smallButton {
  padding: var(--space-sm) var(--space-lg);
  font-size: var(--font-size-sm);
  border-radius: var(--radius-md);
}

.btn-lg {
  padding: var(--space-lg) var(--space-3xl);
  font-size: var(--font-size-base);
  border-radius: var(--radius-lg);
}

/* Legacy button classes for backward compatibility */
.button {
  margin: var(--space-sm);
}

.smallButton {
  background-color: var(--color-primary);
  color: var(--color-text-inverse);
  border: 1px solid var(--color-primary);
  margin: var(--space-sm);
  transition: all var(--transition-fast);
  border-radius: var(--radius-md);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.smallButton:hover {
  background-color: var(--color-primary-light);
  border-color: var(--color-primary-light);
  box-shadow: 0 2px 6px rgba(87, 136, 255, 0.2);
}

/* ===================================================================
   List Components
   ================================================================= */

#fileList {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 600px;
}

.file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg);
  margin-bottom: var(--space-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition-fast);
}

.file-item:hover {
  border-color: var(--color-border-dark);
  box-shadow: var(--shadow-sm);
}

.file-name {
  font-weight: 500;
  color: var(--color-text-primary);
  margin-right: var(--space-lg);
  /* Text truncation with ellipsis */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 250px;
  display: inline-block;
  vertical-align: middle;
  cursor: help;
  transition: all var(--transition-fast);
}

/* Full filename on hover with tooltip-like effect */
.file-name:hover {
  position: relative;
  z-index: var(--z-tooltip);
  max-width: none;
  white-space: normal;
  word-break: break-all;
  background: var(--color-surface-elevated);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border-dark);
}

.file-actions {
  display: flex;
  gap: var(--space-sm);
}

/* ===================================================================
   Alert Components
   ================================================================= */

.alert {
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  border: 1px solid;
  margin: var(--space-lg) 0;
  font-weight: 500;
}

.alert-success {
  background-color: rgba(5, 150, 105, 0.1);
  border-color: var(--color-success);
  color: var(--color-success-dark);
}

.alert-warning {
  background-color: rgba(217, 119, 6, 0.1);
  border-color: var(--color-warning);
  color: var(--color-warning-dark);
}

.alert-error {
  background-color: rgba(220, 38, 38, 0.1);
  border-color: var(--color-error);
  color: var(--color-error-dark);
}

.alert-info {
  background-color: var(--color-primary-50);
  border-color: var(--color-primary-200);
  color: var(--color-primary-dark);
}

/* ===================================================================
   Premium Utility Classes
   ================================================================= */

/* Clean utility classes */
.fade-in {
  opacity: 1;
}

/* ===================================================================
   Utility Classes
   =================================================================== */

.hidden {
  display: none !important;
}

.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;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.font-bold {
  font-weight: 700;
}

.font-semibold {
  font-weight: 600;
}

.font-medium {
  font-weight: 500;
}

.text-primary {
  color: var(--color-primary);
}

.text-success {
  color: var(--color-success);
}

.text-warning {
  color: var(--color-warning);
}

.text-error {
  color: var(--color-error);
}

.text-muted {
  color: var(--color-text-muted);
}

/* Text Truncation Utilities */
.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.truncate-2-lines {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}

.truncate-3-lines {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Responsive Truncation - Different max-widths for different screen sizes */
.truncate-sm {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 150px;
}

.truncate-md {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 250px;
}

.truncate-lg {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 350px;
}

.truncate-xl {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 500px;
}

/* Filename-specific truncation with hover tooltip */
.filename-truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 250px;
  display: inline-block;
  vertical-align: middle;
  cursor: help;
  transition: all var(--transition-fast);
  position: relative;
}

.filename-truncate:hover {
  position: absolute;
  z-index: var(--z-tooltip);
  max-width: 400px;
  white-space: normal;
  word-break: break-word;
  background: var(--color-surface-elevated);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-border-dark);
  left: 0;
  top: 100%;
  margin-top: var(--space-xs);
}

/* Spacing utilities */
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-xs); }
.mb-2 { margin-bottom: var(--space-sm); }
.mb-3 { margin-bottom: var(--space-md); }
.mb-4 { margin-bottom: var(--space-lg); }
.mb-6 { margin-bottom: var(--space-xl); }
.mb-8 { margin-bottom: var(--space-2xl); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-xs); }
.mt-2 { margin-top: var(--space-sm); }
.mt-3 { margin-top: var(--space-md); }
.mt-4 { margin-top: var(--space-lg); }
.mt-6 { margin-top: var(--space-xl); }
.mt-8 { margin-top: var(--space-2xl); }

/* ===================================================================
   Responsive Design
   ================================================================= */

/* Premium Animations and Keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Clean interactions - no animations for minimalist approach */

/* Pixenio Focus States - Bright and Accessible */
.btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  box-shadow: var(--shadow-glow), 0 0 8px rgba(87, 136, 255, 0.3);
}

.form-input:focus-visible,
.form-textarea:focus-visible,
#content:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  box-shadow: 0 0 0 3px var(--color-primary-100);
}

/* Loading States */
.btn.loading {
  position: relative;
  color: transparent;
}

.btn.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid transparent;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Responsive Design - Enhanced for Premium Experience */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: var(--space-xl);
    text-align: center;
    padding: 0 var(--space-lg);
  }

  .header-stats {
    justify-content: center;
  }

  header h1 {
    font-size: var(--font-size-2xl);
  }

  main {
    padding: var(--space-3xl) var(--space-lg);
  }

  .content-card {
    padding: var(--space-2xl);
    margin: var(--space-lg) 0;
  }

  .form-input,
  .form-textarea,
  #content {
    max-width: 100%;
  }

  .file-item {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-lg);
  }

  .file-actions {
    width: 100%;
    justify-content: flex-end;
  }

  /* Responsive filename truncation - smaller screens */
  .file-name, .filename-truncate {
    max-width: 200px;
  }

  .truncate-md {
    max-width: 200px;
  }

  .truncate-lg {
    max-width: 250px;
  }
}

@media (max-width: 480px) {
  .header-content {
    padding: 0 var(--space-lg);
  }

  header h1 {
    font-size: var(--font-size-xl);
  }

  .header-stats {
    flex-direction: row;
    gap: var(--space-lg);
  }

  .stat-item {
    padding: var(--space-md) var(--space-lg);
  }

  .stat-number {
    font-size: var(--font-size-base);
  }

  main {
    padding: var(--space-2xl) var(--space-lg);
  }

  .content-card {
    padding: var(--space-xl);
  }

  /* Even more aggressive filename truncation on very small screens */
  .file-name, .filename-truncate {
    max-width: 150px;
  }

  .truncate-sm {
    max-width: 120px;
  }

  .truncate-md {
    max-width: 150px;
  }

  .truncate-lg {
    max-width: 200px;
  }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  *,
  ::before,
  ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Force bright white theme - No dark mode */
/* All elements forced to bright white theme regardless of system preferences */
html, body {
  background: #ffffff !important;
  color: #2c3e50 !important;
}

/* Ensure all cards and surfaces stay white */
.content-card, .upload-zone, .file-preview-area, .security-banner {
  background: #ffffff !important;
}

/* Ensure form inputs stay light */
.form-input, .form-textarea, #content {
  background: #ffffff !important;
  color: #2c3e50 !important;
  border-color: #e8ecef !important;
}

.form-input:focus, .form-textarea:focus, #content:focus {
  border-color: var(--color-primary) !important;
  box-shadow: 0 0 0 3px var(--color-primary-100) !important;
}

/* High contrast mode support - Pixenio accessible */
@media (prefers-contrast: high) {
  :root {
    --color-primary: #3d6fe6; /* Slightly darker but still bright blue */
    --color-secondary: #000000;
    --color-text-primary: #000000;
    --color-border: #000000;
    --shadow-sm: 0 2px 4px 0 rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 8px 0 rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 16px 0 rgba(0, 0, 0, 0.4);
  }

  .btn {
    border-width: 3px;
  }

  .form-input,
  .form-textarea,
  #content {
    border-width: 3px;
  }
}
