/* TailwindCSS configuration */
@tailwind base;
@tailwind components;
@tailwind utilities;

/* Custom colors and styles */
@layer components {
  .primary {
    background-color: #22c55e;
  }

  .text-primary {
    color: #22c55e;
  }

  .bg-primary {
    background-color: #22c55e;
  }

  .secondary {
    color: #10b981;
  }

  .bg-secondary {
    background-color: #10b981;
  }

  .text-secondary {
    color: #10b981;
  }

  .rounded-button {
    border-radius: 8px;
  }

  .transition-colors {
    transition: color 0.3s ease, background-color 0.3s ease;
  }
}

/* General Styles */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #f9f9f9;
    color: #333;
}

/* Remix Icon Fix */
:where([class^="ri-"])::before {
    content: "\f3c2";
}

/* Utility Classes */
.text-sm {
    font-size: 0.875rem;
}

.text-lg {
    font-size: 1.125rem;
}

.text-xl {
    font-size: 1.25rem;
}

.text-2xl {
    font-size: 1.5rem;
}

.text-3xl {
    font-size: 1.875rem;
}

/* Background Colors */
.bg-gray-50 {
    background-color: #f9f9f9;
}

.bg-white {
    background-color: white;
}

.bg-green-50 {
    background-color: #f0fdf4;
}

.bg-red-50 {
    background-color: #fef2f2;
}

/* Text Colors */
.text-white {
    color: white;
}

.text-gray-900 {
    color: #111827;
}

.text-gray-700 {
    color: #374151;
}

.text-gray-600 {
    color: #4b5563;
}

.text-gray-500 {
    color: #6b7280;
}

.text-green-700 {
    color: #15803d;
}

.text-red-700 {
    color: #b91c1c;
}

/* Border Colors */
.border-gray-200 {
    border-color: #e5e7eb;
}

.border-gray-300 {
    border-color: #d1d5db;
}

.border-green-200 {
    border-color: #bbf7d0;
}

.border-red-200 {
    border-color: #fecaca;
}

/* Hover States */
.hover\:bg-green-700:hover {
    background-color: #15803d;
}

.hover\:text-green-700:hover {
    color: #15803d;
}

.hover\:bg-blue-50:hover {
    background-color: #eff6ff;
}

.hover\:text-blue-600:hover {
    color: #2563eb;
}

.hover\:bg-yellow-400:hover {
    background-color: #facc15;
}

.hover\:bg-red-600:hover {
    background-color: #dc2626;
}

/* Background Colors */
.bg-red-500 {
    background-color: #ef4444;
}

.bg-yellow-400 {
    background-color: #fbbf24;
}

/* Text Colors */
.text-green-100 {
    color: #dcfce7;
}

/* Font Weights */
.font-medium {
    font-weight: 500;
}

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

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

/* Focus States */
.focus\:ring-2:focus {
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.5);
}

.focus\:ring-primary:focus {
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.5);
}

.focus\:border-transparent:focus {
    border-color: transparent;
}

/* Shadow */
.shadow-sm {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Spacing */
.space-y-4 > * + * {
    margin-top: 1rem;
}

.space-y-6 > * + * {
    margin-top: 1.5rem;
}

.space-y-8 > * + * {
    margin-top: 2rem;
}

.space-x-4 > * + * {
    margin-left: 1rem;
}

.space-x-6 > * + * {
    margin-left: 1.5rem;
}

.space-x-8 > * + * {
    margin-left: 2rem;
}
