/* Minimal utility CSS to avoid Tailwind CDN in production */
:root {
  --blue-500: #3B82F6;
  --blue-600: #2563EB;
  --red-50: #FEF2F2;
  --red-200: #FECACA;
  --red-800: #991B1B;
  --gray-50: #FAFAFA;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
}

/* Base typography: match Tailwind's default ui-sans-serif stack */
html, body {
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  color: var(--slate-800);
  background: #fff;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* Normalize */
*, *::before, *::after { box-sizing: border-box; }
img { display: block; max-width: 100%; height: auto; }
button, input, select { font: inherit; color: inherit; }

.max-w-xl { max-width: 36rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.text-center { text-align: center; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-2 { margin-bottom: 0.5rem; }
.h-16 { height: 4rem; }
.w-auto { width: auto; }
.hidden { display: none; }
.bg-red-50 { background-color: var(--red-50); }
.border { border-width: 1px; border-style: solid; border-color: #e5e7eb; }
.border-red-200 { border-color: var(--red-200); }
.text-red-800 { color: var(--red-800); }
.rounded-md { border-radius: 0.375rem; }
.p-3 { padding: 0.75rem; }
.text-gray-600 { color: var(--gray-600); }
.text-gray-500 { color: var(--gray-500); }
.text-gray-400 { color: var(--gray-400); }
.text-white { color: #fff; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.font-bold { font-weight: 700; }
.font-medium { font-weight: 500; }
.h5 { font-size: 1.25rem; line-height: 1.75rem; font-weight: 600; }
.container { max-width: 48rem; padding-left: 1rem; padding-right: 1rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.w-full { width: 100%; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.text-left { text-align: left; }
.transition-colors { transition: color .15s ease, background-color .15s ease, border-color .15s ease; }
.space-y-3 > * + * { margin-top: 0.75rem; }

.border-gray-300 { border-color: #D1D5DB; }
.hover\:border-gray-400:hover { border-color: #9CA3AF; }
.hover\:bg-gray-50:hover { background-color: var(--gray-50); }
.bg-blue-500 { background-color: var(--blue-500); }
.hover\:bg-blue-600:hover { background-color: var(--blue-600); }
.text-blue-600 { color: var(--blue-500); }
.hover\:text-blue-700:hover { color: var(--blue-600); }

/* Form controls */
input[type="text"],
input[type="password"],
input[type="email"] {
  display: block;
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid #D1D5DB;
  border-radius: 0.375rem;
  outline: none;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

button {
  border: none;
  cursor: pointer;
}

.btn-primary { background-color: var(--blue-500); color: #fff; }
.btn-primary:hover { background-color: var(--blue-600); }

.opacity-60 { opacity: 0.6; }
.pointer-events-none { pointer-events: none; }
:root {
  --indigo-300: #A5B4FC;
  --indigo-500: #6366F1;
  --indigo-600: #4F46E5;
  --slate-50: #F8FAFC;
  --slate-100: #F1F5F9;
  --slate-500: #64748B;
  --slate-700: #334155;
  --slate-800: #1F2937;
  --black: rgba(0,0,0,0.05);
}

/* Background surface gradient */
.bg-surface {
  background:
    radial-gradient(40rem 20rem at 50% -2rem, rgba(99,102,241,.06), transparent 60%),
    linear-gradient(var(--slate-50), #eef2f7);
}

/* Layout helpers */
.min-h-screen { min-height: 100vh; }
.relative { position: relative; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.flex-wrap { flex-wrap: wrap; }
.p-6 { padding: 1.5rem; }
.w-full { width: 100%; }
.max-w-md { max-width: 28rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-lg { border-radius: 0.5rem; }
.ring-1 { box-shadow: 0 0 0 1px var(--black) inset; }
.ring-black\/5 { box-shadow: 0 0 0 1px rgba(0,0,0,0.05) inset; }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); }
.shadow-sm { box-shadow: 0 1px 2px rgba(0,0,0,0.06); }
.bg-white { background: #fff; }
.p-8 { padding: 2rem; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.block { display: block; }
.inline-flex { display: inline-flex; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.inline { display: inline; }

/* Typography */
.text-slate-800 { color: var(--slate-800); }
.text-slate-900 { color: #0f172a; }
.text-slate-700 { color: var(--slate-700); }
.text-slate-600 { color: var(--slate-600, #475569); }
.text-slate-500 { color: var(--slate-500); }
.text-red-800 { color: var(--red-800); }
.text-white { color: #fff; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-indigo-700 { color: #4338CA; }
.hover\:text-indigo-800:hover { color: #3730A3; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.tracking-tight { letter-spacing: -0.01em; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }

/* Inputs/buttons */
.outline-none { outline: none; }
.transition { transition: all 150ms ease; }
.border { border: 1px solid #E5E7EB; }
.border-slate-300 { border-color: #CBD5E1; }
.border-red-200 { border-color: var(--red-200); }
.bg-red-50 { background: var(--red-50); }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.pr-12 { padding-right: 3rem; }
.p-2 { padding: 0.5rem; }
.w-5 { width: 1.25rem; }
.h-5 { height: 1.25rem; }
.ml-1 { margin-left: 0.25rem; }
.ml-2 { margin-left: 0.5rem; }
.size-4 { width: 1rem; height: 1rem; }
.right-1\.5 { right: 0.375rem; position: absolute; }
.top-1\/2 { top: 50%; position: absolute; }
.-translate-y-1\/2 { transform: translateY(-50%); }
.hover\:bg-indigo-700:hover { background: var(--indigo-600); }
.bg-indigo-600 { background: var(--indigo-600); }
.text-indigo-600 { color: var(--indigo-600); }
.focus\:border-indigo-500:focus { border-color: var(--indigo-500); }
.focus-visible\:ring-2:focus-visible { box-shadow: 0 0 0 2px rgba(99,102,241,.35); }
.focus-visible\:ring-indigo-300:focus-visible { box-shadow: 0 0 0 4px rgba(165,180,252,.35); }
.focus-visible\:focus-ring:focus-visible { box-shadow: 0 0 0 4px rgba(99,102,241,.15); }

.rounded { border-radius: 0.25rem; }
.btn { cursor: pointer; border: none; }
.disabled\:cursor-not-allowed:disabled { cursor: not-allowed; }
.disabled\:opacity-70:disabled { opacity: 0.7; }

.group:hover .group-hover\:translate-x-0\.5 { transform: translateX(2px); }
.animate-spin { animation: spin 1s linear infinite; }
@keyframes spin { from { transform: rotate(0) } to { transform: rotate(360deg) } }

/* Utilities used in card */
.ring-black\/5 { box-shadow: 0 0 0 1px rgba(0,0,0,0.05) inset; }
.object-contain { object-fit: contain; }
.w-\[323px\] { width: 323px; }
.h-\[333px\] { height: 333px; }

/* Links */
.underline { text-decoration: underline; }
.decoration-dotted { text-decoration-style: dotted; }
.hover\:text-slate-700:hover { color: var(--slate-700); }
