/* Fallback layout & component styles - works without Vite rebuild */
/* Auth layout fallbacks (when Tailwind/Vite CSS fails to load) */
.min-h-screen { min-height: 100vh; }
.bg-gray-100 { background: #f3f4f6; }
.bg-white { background: white; }
.bg-indigo-700 { background: #4338ca; }
.text-gray-900 { color: #111827; }
.text-gray-600 { color: #4b5563; }
.text-indigo-100 { color: #e0e7ff; }
.text-indigo-200 { color: #c7d2fe; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-1 { flex: 1; }
.hidden { display: none; }
@media (min-width: 1024px) {
  .lg\:flex { display: flex; }
  .lg\:w-1\/2 { width: 50%; }
  .lg\:hidden { display: none; }
}
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.p-12 { padding: 3rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-md { max-width: 28rem; }
.w-full { width: 100%; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-5 > * + * { margin-top: 1.25rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.border { border-width: 1px; }
.border-b { border-bottom-width: 1px; }
.border-gray-200 { border-color: #e5e7eb; }
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05); }
.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; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-4 { margin-top: 1rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-6 { margin-top: 1.5rem; }
.relative { position: relative; }
.absolute { position: absolute; }
.right-3 { right: 0.75rem; }
.top-1\/2 { top: 50%; }
.-translate-y-1\/2 { transform: translateY(-50%); }
.grid { display: grid; }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.shrink-0 { flex-shrink: 0; }
.antialiased { -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
.text-indigo-600 { color: #4f46e5; }
a.text-indigo-600:hover { color: #4338ca; text-decoration: none; }
a.text-gray-600:hover { color: #111827; }
a.btn-primary, a.btn-secondary, a.btn-tertiary { text-decoration: none; }
a.btn-primary:hover, a.btn-secondary:hover, a.btn-tertiary:hover { text-decoration: none; }
.font-medium { font-weight: 500; }
.text-center { text-align: center; }
.list-disc { list-style-type: disc; }
.list-inside { list-style-position: inside; }
.bg-red-50 { background: #fef2f2; }
.bg-red-100 { background: #fee2e2; }
.bg-green-50 { background: #f0fdf4; }
.border-green-200 { border-color: #bbf7d0; }
.text-green-500 { color: #22c55e; }
.inline { display: inline; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.text-red-800 { color: #991b1b; }
.rounded { border-radius: 0.25rem; }
.border-gray-300 { border-color: #d1d5db; }
.h-4 { height: 1rem; }
.w-4 { width: 1rem; }
.text-indigo-600:focus { outline: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.border-2 { border-width: 2px; }
.cursor-pointer { cursor: pointer; }
.gap-3 { gap: 0.75rem; }
.mt-2 { margin-top: 0.5rem; }
.hover\:border-gray-300:hover { border-color: #d1d5db; }
.transition-all { transition: all 0.15s; }
.flex-wrap { flex-wrap: wrap; }

.input-field,
input.input-field,
select.input-field,
textarea.input-field {
  width: 100%;
  height: 3rem;
  padding: 0 1rem;
  border-radius: 0.75rem;
  border: 1px solid #d1d5db;
  background: white;
  color: #111827;
  font-size: 1rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}
input.input-field::placeholder,
textarea.input-field::placeholder {
  color: #9ca3af;
}
.input-field.pr-12 {
  padding-right: 3rem;
}
.input-field:hover {
  border-color: #9ca3af;
}
.input-field:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}
textarea.input-field {
  min-height: 5rem;
  resize: vertical;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.label-field {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.375rem;
}

.helper-text {
  font-size: 0.875rem;
  color: #6b7280;
  margin-top: 0.25rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: #4f46e5;
  color: white;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
}
.btn-primary:hover {
  background: #4338ca;
}
.btn-primary:focus {
  outline: none;
  box-shadow: 0 0 0 2px white, 0 0 0 4px #4f46e5;
}
.w-full { width: 100%; }
.btn-primary.w-full { width: 100%; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  border: 1px solid #d1d5db;
  background: white;
  color: #374151;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s;
}
.btn-secondary:hover {
  background: #f9fafb;
}

.btn-tertiary {
  display: inline-flex;
  align-items: center;
  color: #4b5563;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s;
}
.btn-tertiary:hover {
  color: #111827;
}

.section-card {
  background: white;
  border-radius: 0.75rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  padding: 1.5rem;
}

.page-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #111827;
}
@media (min-width: 768px) {
  .page-title { font-size: 2.25rem; }
}

.page-subtitle {
  font-size: 1.125rem;
  color: #4b5563;
  margin-top: 0.25rem;
  max-width: 42rem;
}

.section-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 1rem;
}

.chip-select {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  border: 2px solid #e5e7eb;
  background: white;
  color: #374151;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
}
.chip-select:hover {
  border-color: #c7d2fe;
  background: #eef2ff;
}
.chip-select.selected,
.chip-select:has(input:checked) {
  border-color: #4f46e5;
  background: #eef2ff;
  color: #4338ca;
}
.chip-select input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.radio-card {
  transition: all 0.15s;
}
.radio-card:has(input:checked) {
  border-color: #4f46e5 !important;
  background: #eef2ff !important;
}
.radio-card input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* Landing, dashboard, gate pages */
.max-w-\[1240px\] { max-width: 1240px; }
.max-w-6xl { max-width: 72rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-xl { max-width: 36rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.bg-gray-50 { background: #f9fafb; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-full { border-radius: 9999px; }
.p-3 { padding: 0.75rem; }
.justify-between { justify-content: space-between; }
.text-xs { font-size: 0.75rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }
.leading-tight { line-height: 1.25; }
.uppercase { text-transform: uppercase; }
.tracking-wide { letter-spacing: 0.025em; }
.text-indigo-500 { color: #6366f1; }
.border-y { border-top-width: 1px; border-bottom-width: 1px; }
.border-t { border-top-width: 1px; }
.pt-2 { padding-top: 0.5rem; }
.mb-12 { margin-bottom: 3rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.mt-8 { margin-top: 2rem; }
.text-gray-700 { color: #374151; }
.text-gray-500 { color: #6b7280; }
.btn-primary.text-lg { font-size: 1.125rem; padding: 1rem 2rem; height: auto; }
.btn-secondary.text-sm { font-size: 0.875rem; padding: 0.5rem 1rem; height: auto; }
.btn-primary.w-fit { width: fit-content; }
.w-10 { width: 2.5rem; }
.h-10 { height: 2.5rem; }
.w-12 { width: 3rem; }
.h-12 { height: 3rem; }
.bg-indigo-100 { background: #e0e7ff; }
.bg-green-100 { background: #dcfce7; }
.bg-amber-100 { background: #fef3c7; }
.text-green-600 { color: #16a34a; }
.text-amber-600 { color: #d97706; }
.mb-10 { margin-bottom: 2.5rem; }
.mt-4 { margin-top: 1rem; }
.min-w-0 { min-width: 0; }
.gap-5 { gap: 1.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.md\:col-span-2 { grid-column: span 2 / span 2; }
@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .md\:py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
  .md\:py-12 { padding-top: 3rem; padding-bottom: 3rem; }
  .md\:py-16 { padding-top: 4rem; padding-bottom: 4rem; }
  .md\:py-20 { padding-top: 5rem; padding-bottom: 5rem; }
  .md\:p-8 { padding: 2rem; }
}
@media (min-width: 1024px) {
  .lg\:flex-row { flex-direction: row; }
  .lg\:w-80 { width: 20rem; }
  .lg\:sticky { position: sticky; }
  .lg\:top-8 { top: 2rem; }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 640px) {
  .sm\:inline { display: inline; }
  .sm\:block { display: block; }
  .sm\:flex-row { flex-direction: row; }
  .sm\:items-center { align-items: center; }
}
.bg-gray-200 { background: #e5e7eb; }
.bg-gray-300 { background: #d1d5db; }
.text-green-800 { color: #166534; }
.hover\:bg-gray-300:hover { background: #d1d5db; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.transition-colors { transition: color 0.15s, background-color 0.15s, border-color 0.15s; }
.overflow-x-auto { overflow-x: auto; }
.pb-2 { padding-bottom: 0.5rem; }
.w-6 { width: 1.5rem; }
.h-0\.5 { height: 0.125rem; }
.sticky { position: sticky; }
.bottom-0 { bottom: 0; }
.pt-6 { padding-top: 1.5rem; }
.-mx-4 { margin-left: -1rem; margin-right: -1rem; }
.-mb-8 { margin-bottom: -2rem; }
.pb-8 { padding-bottom: 2rem; }
.mb-3 { margin-bottom: 0.75rem; }
.gap-8 { gap: 2rem; }
.mt-0\.5 { margin-top: 0.125rem; }
.btn-primary.text-sm { font-size: 0.875rem; padding: 0.625rem 1.25rem; height: auto; }
