/* Tailwind CSS - Essential Styles for FootballPredict */

/* Base styles */
*, *::before, *::after {
  box-sizing: border-box;
}

/* Colors */
:root {
  --primary: #22c55e;
  --secondary: #16a34a;
}

/* Background colors */
.bg-gray-50 { background-color: #f9fafb; }
.bg-white { background-color: #ffffff; }
.bg-primary { background-color: var(--primary); }
.bg-red-100 { background-color: #fee2e2; }
.bg-green-100 { background-color: #dcfce7; }
.bg-red-50 { background-color: #fef2f2; }
.bg-gray-100 { background-color: #f3f4f6; }

/* Text colors */
.text-gray-900 { color: #111827; }
.text-gray-700 { color: #374151; }
.text-gray-600 { color: #4b5563; }
.text-gray-500 { color: #6b7280; }
.text-red-700 { color: #b91c1c; }
.text-green-700 { color: #15803d; }
.text-red-800 { color: #991b1b; }
.text-red-600 { color: #dc2626; }
.text-white { color: #ffffff; }
.text-primary { color: var(--primary); }

/* Border colors */
.border-gray-100 { border-color: #f1f5f9; }
.border-gray-300 { border-color: #d1d5db; }
.border-red-400 { border-color: #f87171; }
.border-green-400 { border-color: #4ade80; }
.border-red-200 { border-color: #fecaca; }

/* Layout */
.min-h-screen { min-height: 100vh; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.text-center { text-align: center; }
.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }

/* Spacing */
.space-y-8 > * + * { margin-top: 2rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.mt-8 { margin-top: 2rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-1 { margin-top: 0.25rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 0.5rem; }
.ml-2 { margin-left: 0.5rem; }
.ml-1 { margin-left: 0.25rem; }
.mr-2 { margin-right: 0.5rem; }
.mr-3 { margin-right: 0.75rem; }
.p-8 { padding: 2rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.pl-10 { padding-left: 2.5rem; }
.pr-4 { padding-right: 1rem; }
.pt-6 { padding-top: 1.5rem; }

/* Sizing */
.w-full { width: 100%; }
.max-w-md { max-width: 28rem; }
.h-4 { height: 1rem; }
.h-4 { height: 1rem; }

/* Typography */
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.font-bold { font-weight: 700; }
.font-medium { font-weight: 500; }
.font-\[Pacifico\] { font-family: 'Pacifico', cursive; }

/* Borders */
.border { border-width: 1px; }
.rounded { border-radius: 0.25rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-button { border-radius: 8px; }

/* Shadows */
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }

/* Forms */
input[type="email"], input[type="password"], input[type="text"] {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.875rem;
  outline: none;
  transition: all 0.2s;
}

input[type="email"]:focus, input[type="password"]:focus, input[type="text"]:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  border-radius: 0.25rem;
  border: 1px solid #d1d5db;
}

/* Buttons */
button {
  background-color: var(--primary);
  color: white;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
  text-decoration: none;
  display: inline-block;
}

button:hover {
  background-color: var(--secondary);
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Responsive */
@media (min-width: 640px) {
  .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
}

@media (min-width: 1024px) {
  .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
}

/* Utilities */
.transition-colors { transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, text-decoration-color 0.15s ease-in-out, fill 0.15s ease-in-out, stroke 0.15s ease-in-out; }
.animate-spin { animation: spin 1s linear infinite; }

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Focus states */
.focus\:outline-none:focus { outline: 2px solid transparent; outline-offset: 2px; }
.focus\:ring-2:focus { box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.5); }
.focus\:ring-primary:focus { box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.5); }
.focus\:border-transparent:focus { border-color: transparent; }

/* Hover states */
.hover\:bg-green-700:hover { background-color: #15803d; }
.hover\:text-green-700:hover { color: #15803d; }
.hover\:text-red-800:hover { color: #991b1b; }

/* Specific components */
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-stops)); }
.from-primary\/5 { --tw-gradient-from: rgba(34, 197, 94, 0.05); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(34, 197, 94, 0)); }
.to-secondary\/5 { --tw-gradient-to: rgba(22, 163, 74, 0.05); }

/* Accordion styles */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.accordion-content.active {
  max-height: 500px;
  transition: max-height 0.3s ease-in;
}

.accordion-icon {
  transition: transform 0.3s ease;
}

.accordion-icon.active {
  transform: rotate(180deg);
}

.checkbox-container {
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}

.checkbox-container:hover {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
}

.checkbox-container input[type="checkbox"] {
  margin-right: 12px;
  transform: scale(1.2);
}

.checkbox-container label {
  color: #e0e0e0;
  font-size: 14px;
  cursor: pointer;
  user-select: none;
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  color: #e0e0e0;
  font-weight: 600;
  font-size: 16px;
}

.accordion-body {
  color: #b0b0b0;
  font-size: 14px;
  line-height: 1.6;
  padding: 0 0 12px 0;
}
