@import "tailwindcss";

@theme {
  /* Material Dark Design Colors */
  --color-background: #121212;
  --color-surface: #1e1e1e;
  --color-surface-hover: #2c2c2c;
  
  --color-primary: #00ffcc;
  --color-primary-hover: #00e6b8;
  
  --color-border: #2c2c2c;
  --color-border-light: #383838;

  --color-text-primary: #e1e1e1;
  --color-text-secondary: #a0a0a0;
  --color-text-muted: #666666;

  --color-success: #00ffcc;
  --color-warning: #ffb74d;
  --color-error: #ff5252;
  --color-info: #64b5f6;

  --radius-lg: 0.5rem;
  --radius-md: 0.375rem;
  --radius-sm: 0.25rem;
}

:root {
  color-scheme: dark;
}

body {
  background-color: var(--color-background);
  color: var(--color-text-primary);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar for Dark Mode */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #121212;
}

::-webkit-scrollbar-thumb {
  background: #2c2c2c;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #383838;
}

@layer base {
  *, ::after, ::before {
    border-color: var(--color-border);
  }
}

/* Date Input Styling - Force English Format */
input[type="date"] {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Hide default date picker icon and use custom styling */
input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(0.5);
  cursor: pointer;
  opacity: 0.6;
}

input[type="date"]::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
  filter: invert(0.8);
}

/* Ensure date input has consistent width */
input[type="date"] {
  min-width: 110px;
}

/* Firefox date input styling */
input[type="date"]::-moz-calendar-picker-indicator {
  filter: invert(0.5);
  cursor: pointer;
}
