/* Critical missing Tailwind utilities for review form */

/* Spacing */
.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }

.px-1 { padding-left: 0.25rem; padding-right: 0.25rem; }
.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-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.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; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }

.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; }

.ml-2 { margin-left: 0.5rem; }
.mr-2 { margin-right: 0.5rem; }

/* Sizing */
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-8 { height: 2rem; }
.h-12 { height: 3rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }

.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-8 { width: 2rem; }
.w-12 { width: 3rem; }
.w-16 { width: 4rem; }
.w-20 { width: 5rem; }

/* Typography */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.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; }

/* Colors */
.text-gray-500 { color: rgb(107, 114, 128); }
.text-gray-600 { color: rgb(75, 85, 99); }
.text-gray-700 { color: rgb(55, 65, 81); }
.text-gray-800 { color: rgb(31, 41, 55); }
.text-gray-900 { color: rgb(17, 24, 39); }
.text-white { color: rgb(255, 255, 255); }
.text-black { color: rgb(0, 0, 0); }

.bg-white { background-color: rgb(255, 255, 255); }
.bg-gray-50 { background-color: rgb(249, 250, 251); }
.bg-gray-100 { background-color: rgb(243, 244, 246); }
.bg-gray-200 { background-color: rgb(229, 231, 235); }

.border-gray-200 { border-color: rgb(229, 231, 235); }
.border-gray-300 { border-color: rgb(209, 213, 219); }
.border-gray-400 { border-color: rgb(156, 163, 175); }

/* Layout */
.rounded { border-radius: 0.25rem; }
.rounded-md { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }

.shadow { box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1); }
.shadow-sm { box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); }
.shadow-md { box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); }

.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

.space-y-1 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.25rem; }
.space-y-2 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.5rem; }
.space-y-3 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.75rem; }
.space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 1rem; }
.space-y-6 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.5rem; }
.space-y-8 > :not([hidden]) ~ :not([hidden]) { margin-top: 2rem; }

.max-w-sm { max-width: 24rem; }
.max-w-md { max-width: 28rem; }
.max-w-lg { max-width: 32rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }

/* Interactive */
.hover\:bg-gray-50:hover { background-color: rgb(249, 250, 251); }
.hover\:bg-green-700:hover { background-color: rgb(21, 128, 61); }
.focus\:ring-heartstead-green:focus { --tw-ring-color: var(--hs-green); }

/* Brand colors - using CSS variables from main.css */
.text-heartstead-green { color: var(--hs-green); }
.bg-heartstead-green { background-color: var(--hs-green); }
.text-heartstead-rust { color: var(--hs-rust); }
.bg-heartstead-rust { background-color: var(--hs-rust); }
.text-heartstead-sand { color: var(--hs-sand); }
.bg-heartstead-sand { background-color: var(--hs-sand); }
.bg-off-white { background-color: var(--hs-offwhite); }

/* Positioning for sticky header */
.top-0 { top: 0px; }

/* Animation */
.animate-spin {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Border utilities */
.border-b-2 { border-bottom-width: 2px; }

/* Responsive container */
.container {
  width: 100%;
  max-width: 1200px;
}

/* Additional display utilities */
.min-h-screen { min-height: 100vh; }
.scroll-mt-32 { scroll-margin-top: 8rem; }

/* Critical missing classes for beautiful review form */

/* Extended spacing */
.p-12 { padding: 3rem; }
.px-12 { padding-left: 3rem; padding-right: 3rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }

/* Extended sizing */
.h-2 { height: 0.5rem; }
.h-10 { height: 2.5rem; }
.w-2 { width: 0.5rem; }
.w-10 { width: 2.5rem; }

/* Text size 4xl */
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }

/* Extended colors */
.text-green-100 { color: rgb(220, 252, 231); }
.text-green-200 { color: rgb(187, 247, 208); }
.text-green-500 { color: rgb(34, 197, 94); }
.text-blue-500 { color: rgb(59, 130, 246); }
.text-blue-700 { color: rgb(29, 78, 216); }
.text-red-500 { color: rgb(239, 68, 68); }
.text-red-700 { color: rgb(185, 28, 28); }
.text-red-800 { color: rgb(153, 27, 27); }
.text-yellow-700 { color: rgb(161, 98, 7); }
.text-purple-500 { color: rgb(168, 85, 247); }
.text-emerald-600 { color: rgb(5, 150, 105); }

/* Extended backgrounds */
.bg-red-50 { background-color: rgb(254, 242, 242); }
.bg-blue-50 { background-color: rgb(239, 246, 255); }
.bg-green-50 { background-color: rgb(240, 253, 244); }
.bg-yellow-50 { background-color: rgb(254, 252, 232); }
.bg-purple-50 { background-color: rgb(250, 245, 255); }
.bg-pink-50 { background-color: rgb(253, 242, 248); }
.bg-indigo-50 { background-color: rgb(238, 242, 255); }
.bg-emerald-50 { background-color: rgb(236, 253, 245); }
.bg-emerald-100 { background-color: rgb(209, 250, 229); }
.bg-teal-50 { background-color: rgb(240, 253, 250); }
.bg-cyan-50 { background-color: rgb(236, 254, 255); }
.bg-orange-50 { background-color: rgb(255, 247, 237); }
.bg-green-500 { background-color: rgb(34, 197, 94); }
.bg-green-600 { background-color: rgb(22, 163, 74); }
.bg-green-700 { background-color: rgb(21, 128, 61); }

/* Gradients */
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-stops)); }
.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-stops)); }
.bg-gradient-to-l { background-image: linear-gradient(to left, var(--tw-gradient-stops)); }

/* Gradient color stops */
.from-heartstead-green { --tw-gradient-from: var(--hs-green); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.to-green-700 { --tw-gradient-to: rgb(21, 128, 61); }
.from-green-600 { --tw-gradient-from: rgb(22, 163, 74); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.to-green-700 { --tw-gradient-to: rgb(21, 128, 61); }
.from-yellow-50 { --tw-gradient-from: rgb(254, 252, 232); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.to-orange-50 { --tw-gradient-to: rgb(255, 247, 237); }
.from-blue-50 { --tw-gradient-from: rgb(239, 246, 255); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.to-indigo-50 { --tw-gradient-to: rgb(238, 242, 255); }
.from-purple-50 { --tw-gradient-from: rgb(250, 245, 255); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.to-pink-50 { --tw-gradient-to: rgb(253, 242, 248); }
.from-teal-50 { --tw-gradient-from: rgb(240, 253, 250); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.to-cyan-50 { --tw-gradient-to: rgb(236, 254, 255); }
.from-emerald-50 { --tw-gradient-from: rgb(236, 253, 245); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.to-green-50 { --tw-gradient-to: rgb(240, 253, 244); }

/* Extended borders */
.border-red-200 { border-color: rgb(254, 202, 202); }
.border-blue-200 { border-color: rgb(191, 219, 254); }
.border-green-200 { border-color: rgb(187, 247, 208); }
.border-yellow-200 { border-color: rgb(254, 240, 138); }
.border-purple-200 { border-color: rgb(233, 213, 255); }
.border-emerald-200 { border-color: rgb(167, 243, 208); }
.border-teal-200 { border-color: rgb(153, 246, 228); }
.border-orange-200 { border-color: rgb(254, 215, 170); }

/* Extended shadows */
.shadow-xl { box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1); }

/* Extended spacing utilities */
.space-y-12 > :not([hidden]) ~ :not([hidden]) { margin-top: 3rem; }

/* Extended flexbox */
.flex { display: flex; }
.flex-1 { flex: 1 1 0%; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-start { justify-content: flex-start; }
.inline-flex { display: inline-flex; }

/* Grid */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

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

/* Extended positioning */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.top-0 { top: 0px; }
.top-6 { top: 1.5rem; }
.right-6 { right: 1.5rem; }
.left-6 { left: 1.5rem; }
.inset-0 { top: 0px; right: 0px; bottom: 0px; left: 0px; }
.z-1000 { z-index: 1000; }
.z-10000 { z-index: 10000; }

/* Display */
.block { display: block; }
.inline-block { display: inline-block; }
.hidden { display: none; }

/* Extended opacity */
.opacity-20 { opacity: 0.2; }
.bg-opacity-20 { --tw-bg-opacity: 0.2; }

/* Animations */
.animate-spin {
  animation: spin 1s linear infinite;
}
.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: .5;
  }
}

/* Transforms and transitions */
.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)); }
.transition { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-colors { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.duration-200 { transition-duration: 200ms; }
.duration-300 { transition-duration: 300ms; }
.duration-500 { transition-duration: 500ms; }
.ease-out { transition-timing-function: cubic-bezier(0, 0, 0.2, 1); }
.ease-in-out { transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }

/* Hover effects */
.hover\:-translate-y-0\.5:hover { --tw-translate-y: -0.125rem; 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\:shadow-xl:hover { box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1); }
.hover\:from-green-600:hover { --tw-gradient-from: rgb(22, 163, 74); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.hover\:to-green-700:hover { --tw-gradient-to: rgb(21, 128, 61); }

/* Focus states */
.focus\:ring-heartstead-green:focus { --tw-ring-color: var(--hs-green); }

/* Disabled states */
.disabled\:opacity-50:disabled { opacity: 0.5; }
.disabled\:cursor-not-allowed:disabled { cursor: not-allowed; }
.disabled\:transform-none:disabled { transform: none; }

/* Overflow */
.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }

/* Text utilities */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.whitespace-nowrap { white-space: nowrap; }
.flex-shrink-0 { flex-shrink: 0; }

/* Extended max-width */
.max-w-6xl { max-width: 72rem; }