/* Tailwind CSS - Custom build for auth pages (offline support) */

/* Base font family - Tailwind default */
html, body {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !important;
}

/* Override any Webflow font styles on auth pages */
h1, h2, h3, h4, h5, h6, p, span, div, a, button, input, label {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !important;
}


/* Reset and base styles */
*, ::before, ::after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: #e5e7eb;
}

/* Layout utilities */
.min-h-screen { min-height: 100vh; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.w-full { width: 100%; }
.max-w-md { max-width: 28rem; }
.space-y-8 > * + * { margin-top: 2rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }

/* Spacing */
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-0 { margin-bottom: 0 !important; }
h2.mb-0, p.mb-0 { margin-bottom: 0 !important; }
.mr-2 { margin-right: 0.5rem; }
.mr-3 { margin-right: 0.75rem; }
.my-6 { margin-top: 1.5rem; margin-bottom: 1.5rem; }
.pt-2 { padding-top: 0.5rem; }
.p-8 { padding: 2rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.items-start { align-items: flex-start; }
.flex-shrink-0 { flex-shrink: 0; }
.text-right { text-align: right; }
.text-center { text-align: center; }

/* 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-base { font-size: 1rem; line-height: 1.5rem; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.tracking-tight { letter-spacing: -0.025em; }
.leading-relaxed { line-height: 1.625; }
.max-w-md { max-width: 28rem; }

/* Colors */
.text-gray-900 { color: #111827; }
.text-gray-600 { color: #4b5563; }
.text-gray-500 { color: #6b7280; }
.bg-gray-50 { background-color: #f9fafb; }
.bg-gray-300 { background-color: #d1d5db; }
.bg-white { background-color: #ffffff; }
.border-gray-300 { border-color: #d1d5db; }
.text-\[#7e22ce\] { color: #7e22ce; }
.text-\[#6b21a8\] { color: #6b21a8; }
.text-\[#4C1D95\] { color: #4C1D95; }
.text-\[#3B1674\] { color: #3B1674; }
.text-white { color: #ffffff; }
.bg-red-100 { background-color: #fee2e2; }
.bg-red-400 { background-color: #f87171; }
.bg-red-600 { background-color: #dc2626; }
.text-red-700 { color: #b91c1c; }
.bg-green-100 { background-color: #dcfce7; }
.bg-green-400 { background-color: #4ade80; }
.bg-green-600 { background-color: #16a34a; }
.text-green-700 { color: #15803d; }
.bg-purple-600 { background-color: #9333ea; }
.bg-purple-700 { background-color: #7e22ce; }
.bg-purple-800 { background-color: #6b21a8; }

/* Borders */
.border-2 { border-width: 2px; }
.border { border-width: 1px; }
.border-transparent { border-color: transparent; }
.rounded-full { border-radius: 9999px; }
.rounded-2xl { border-radius: 1rem; }
.rounded-lg { border-radius: 0.5rem; }
.border-gray-100 { border-color: #f3f4f6; }

/* Sizing */
.h-16 { height: 4rem; }
.h-12 { height: 3rem; }
.h-11 { height: 2.75rem; }
.h-8 { height: 2rem; }
.h-5 { height: 1.25rem; }
.w-16 { width: 4rem; }
.w-8 { width: 2rem; }
.w-5 { width: 1.25rem; }
.w-auto { width: auto; }
.h-\[1px\] { height: 1px; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Display */
.hidden { display: none; }
.inline-flex { display: inline-flex; }
.absolute { position: absolute; }
.relative { position: relative; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }

/* Flexbox utilities */
.gap-2 { gap: 0.5rem; }
.shrink-0 { flex-shrink: 0; }
.whitespace-nowrap { white-space: nowrap; }

/* Interactive states */
.cursor-pointer { cursor: pointer; }
.cursor-not-allowed { cursor: not-allowed; }
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.duration-200 { transition-duration: 200ms; }
.disabled\:pointer-events-none:disabled { pointer-events: none; }
.disabled\:opacity-50:disabled { opacity: 0.5; }
.disabled\:cursor-not-allowed:disabled { cursor: not-allowed; }

/* Focus states */
.focus-visible\:outline-none:focus-visible { outline: 2px solid transparent; outline-offset: 2px; }
.focus-visible\:ring-2:focus-visible { --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color); box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000); }
.focus-visible\:ring-purple-500:focus-visible { --tw-ring-color: #a855f7; }
.focus-visible\:ring-offset-2:focus-visible { --tw-ring-offset-width: 2px; }
.focus-visible\:border-purple-500:focus-visible { border-color: #a855f7; }
.ring-offset-background { --tw-ring-offset-color: #ffffff; }

/* Hover states */
.hover\:bg-gray-50:hover { background-color: #f9fafb; }
.hover\:border-purple-300:hover { border-color: #c084fc; }
.hover\:text-\[#6b21a8\]:hover { color: #6b21a8; }
.hover\:text-\[#3B1674\]:hover { color: #3B1674; }
.hover\:scale-\[1\.02\]:hover { transform: scale(1.02); }
.transform { transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); }
.hover\:scale-105:hover { --tw-scale-x: 1.05; --tw-scale-y: 1.05; }
.active\:scale-95:active { --tw-scale-x: 0.95; --tw-scale-y: 0.95; }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }
.hover\:from-\[#6b21a8\]:hover { --tw-gradient-from: #6b21a8; --tw-gradient-to: rgb(107 33 168 / 0); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.hover\:from-purple-700:hover { --tw-gradient-from: #7e22ce; --tw-gradient-to: rgb(126 34 206 / 0); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.hover\:to-purple-800:hover { --tw-gradient-to: #6b21a8; }
.hover\:to-\[#7e22ce\]:hover { --tw-gradient-to: #7e22ce; }

/* Active states */
.active\:scale-\[0\.98\]:active { transform: scale(0.98); }

/* Placeholder */
.placeholder\:text-gray-400::placeholder { color: #9ca3af; }

/* 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; }
}

@media (min-width: 768px) {
  .md\:text-sm { font-size: 0.875rem; line-height: 1.25rem; }
}

/* Custom utilities */
.shadow-soft {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.shadow-soft-lg {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.bg-gradient-to-r {
  background-image: linear-gradient(to right, var(--tw-gradient-stops));
}

.bg-gradient-to-br {
  background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}

.from-\[#7e22ce\] {
  --tw-gradient-from: #7e22ce;
  --tw-gradient-to: rgb(126 34 206 / 0);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.from-gray-50 {
  --tw-gradient-from: #f9fafb;
  --tw-gradient-to: rgb(249 250 251 / 0);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.to-purple-50 {
  --tw-gradient-to: #faf5ff;
}

.from-red-400 {
  --tw-gradient-from: #f87171;
  --tw-gradient-to: rgb(248 113 113 / 0);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.to-red-600 {
  --tw-gradient-to: #dc2626;
}

.from-green-400 {
  --tw-gradient-from: #4ade80;
  --tw-gradient-to: rgb(74 222 128 / 0);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.to-green-600 {
  --tw-gradient-to: #16a34a;
}

.from-purple-600 {
  --tw-gradient-from: #9333ea;
  --tw-gradient-to: rgb(147 51 234 / 0);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.to-purple-700 {
  --tw-gradient-to: #7e22ce;
}

.to-purple-800 {
  --tw-gradient-to: #6b21a8;
}

.to-\[#9333ea\] {
  --tw-gradient-to: #9333ea;
}

.hover\:bg-primary\/90:hover {
  background-color: rgba(126, 34, 206, 0.9);
}

/* Input focus styles */
input:focus {
  outline: none;
  border-color: #7e22ce;
  box-shadow: 0 0 0 3px rgba(126, 34, 206, 0.1);
}

/* Additional utilities */
.ease-friendly {
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.bg-primary {
  background-color: #7e22ce;
}

.hover\:bg-primary\/90:hover {
  background-color: rgba(126, 34, 206, 0.9);
}

