@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
  --foreground-rgb: 0, 0, 0;
  --background-start-rgb: 250, 250, 250;
  --background-end-rgb: 255, 255, 255;
}

body {
  color: rgb(var(--foreground-rgb));
  background: linear-gradient(to bottom, transparent, rgb(var(--background-end-rgb))) rgb(var(--background-start-rgb));
}

@layer base {
  :root {
    --background: 0 0% 100%;
    --foreground: 0 0% 3.9%;
    --card: 0 0% 100%;
    --card-foreground: 0 0% 3.9%;
    --popover: 0 0% 100%;
    --popover-foreground: 0 0% 3.9%;
    --primary: 0 0% 9%;
    --primary-foreground: 0 0% 98%;
    --secondary: 0 0% 96.1%;
    --secondary-foreground: 0 0% 9%;
    --muted: 0 0% 96.1%;
    --muted-foreground: 0 0% 45.1%;
    --accent: 0 0% 96.1%;
    --accent-foreground: 0 0% 9%;
    --destructive: 0 84.2% 60.2%;
    --destructive-foreground: 0 0% 98%;
    --border: 0 0% 89.8%;
    --input: 0 0% 89.8%;
    --ring: 0 0% 3.9%;
    --chart-1: 12 76% 61%;
    --chart-2: 173 58% 39%;
    --chart-3: 197 37% 24%;
    --chart-4: 43 74% 66%;
    --chart-5: 27 87% 67%;
    --radius: 0.5rem;
  }
}

@layer base {
  * {
    @apply border-border;
  }
  body {
    @apply bg-background text-foreground;
  }
}

/* Add these styles to ensure text visibility */
.text-emphasis {
  color: #1a202c !important; /* Dark text for emphasis */
  font-weight: 500 !important; /* Medium weight for better readability */
}

/* Increase contrast for all status text */
p.status-message {
  color: #1a202c;
  font-weight: 500;
  background-color: rgba(255, 255, 255, 0.9);
  text-shadow: 0px 0px 1px rgba(255, 255, 255, 0.5);
}

/* Add additional styling for form controls to ensure good contrast */
input, textarea, select {
  color: #1a202c;
  background-color: white;
}

/* Styling for form labels */
label {
  color: #4a5568;
  font-weight: 500;
}

/* Ensure buttons have good contrast */
button {
  font-weight: 500;
}

/* Add these scrollbar styles */
/* For webkit browsers like Chrome/Safari */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background-color: rgba(255, 127, 127, 0.4);
  border-radius: 20px;
  transition: background-color 0.2s;
}

::-webkit-scrollbar-thumb:hover {
  background-color: rgba(255, 127, 127, 0.6);
}

/* For Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 127, 127, 0.4) transparent;
}
