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

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

.hidden { display: none !important; }
.block { display: block; }
.flex { display: flex; }
.grid { display: grid; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1 1 0%; }
.flex-grow { flex-grow: 1; }
.shrink-0 { flex-shrink: 0; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

.min-h-screen { min-height: 100vh; }
.min-h-\[24rem\] { min-height: 24rem; }
.w-full { width: 100%; }
.w-24 { width: 6rem; }
.h-40 { height: 10rem; }
.max-w-4xl { max-width: 56rem; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }

.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.space-x-2 > * + * { margin-left: 0.5rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.pt-2 { padding-top: 0.5rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }

.rounded { border-radius: 0.25rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.border { border: 1px solid currentColor; }
.border-2 { border: 2px solid currentColor; }
.border-gray-600 { border-color: #4b5563; }
.border-gray-700 { border-color: #374151; }

.bg-blue-600 { background: #2563eb; }
.bg-green-600 { background: #16a34a; }
.bg-gray-600 { background: #4b5563; }
.bg-gray-700 { background: #374151; }
.bg-gray-800 { background: #1f2937; }
.bg-gray-900 { background: #111827; }
.bg-gray-900\/50 { background: rgba(17, 24, 39, 0.5); }
.bg-indigo-600 { background: #4f46e5; }
.bg-purple-600 { background: #9333ea; }
.bg-red-600 { background: #dc2626; }
.bg-yellow-500 { background: #eab308; }

.text-white { color: #fff; }
.text-gray-200 { color: #e5e7eb; }
.text-gray-300 { color: #d1d5db; }
.text-gray-400 { color: #9ca3af; }
.text-gray-500 { color: #6b7280; }
.text-gray-900 { color: #111827; }
.text-blue-400 { color: #60a5fa; }
.text-blue-500 { color: #3b82f6; }
.text-green-400 { color: #4ade80; }
.text-indigo-400 { color: #818cf8; }
.text-red-500 { color: #ef4444; }

.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.cursor-pointer { cursor: pointer; }
.transition-transform { transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease; }
.transform { transform: translateZ(0); }
.hover\:scale-105:hover { transform: scale(1.05); }
.hover\:bg-blue-700:hover { background: #1d4ed8; }
.hover\:bg-green-700:hover { background: #15803d; }
.hover\:bg-gray-700:hover { background: #374151; }
.hover\:bg-indigo-700:hover { background: #4338ca; }
.hover\:bg-purple-700:hover { background: #7e22ce; }
.hover\:bg-red-700:hover { background: #b91c1c; }
.hover\:bg-yellow-600:hover { background: #ca8a04; }
.hover\:text-red-400:hover { color: #f87171; }

input,
select,
textarea {
  color: #e5e7eb;
}

textarea {
  resize: vertical;
}

.form-radio {
  accent-color: #2563eb;
}

@media (min-width: 640px) {
  .sm\:gap-4 { gap: 1rem; }
  .sm\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .sm\:w-auto { width: auto; }
}

@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
