/* ============================================
   Tailwind CSS Utilities - Compiled Version
   Replaces Tailwind CDN for production use
   Only includes utilities used in calculator.php
   ============================================ */

/* Layout Utilities */
.min-h-screen {
  min-height: 100vh;
}
.min-h-\[120px\] {
  min-height: 120px;
}
.min-h-\[36px\] {
  min-height: 36px;
}
.min-h-\[44px\] {
  min-height: 44px;
}
.min-h-\[48px\] {
  min-height: 48px;
}
.min-h-\[52px\] {
  min-height: 52px;
}
.min-h-\[2\.5rem\] {
  min-height: 2.5rem;
}
.min-h-\[3rem\] {
  min-height: 3rem;
}
.min-h-\[3\.5rem\] {
  min-height: 3.5rem;
}
.min-h-\[1\.5rem\] {
  min-height: 1.5rem;
}
.h-2\.5 {
  height: 0.625rem;
}
.h-8 {
  height: 2rem;
}
.w-full {
  width: 100%;
}
.w-64 {
  width: 16rem;
}
.w-72 {
  width: 18rem;
}
.w-80 {
  width: 20rem;
}
.w-3\.5 {
  width: 0.875rem;
}
.w-4 {
  width: 1rem;
  height: 1rem;
}
.w-5 {
  width: 1.25rem;
  height: 1.25rem;
}
.w-6 {
  width: 1.5rem;
  height: 1.5rem;
}
.w-10 {
  width: 2.5rem;
  height: 2.5rem;
}
.w-16 {
  width: 4rem;
  height: 4rem;
}
.max-w-full {
  max-width: 100%;
}
.max-w-md {
  max-width: 28rem;
}
.max-w-lg {
  max-width: 32rem;
}
.max-w-3xl {
  max-width: 48rem;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* Spacing Utilities */
.p-2 {
  padding: 0.5rem;
}
.p-3 {
  padding: 0.75rem;
}
.p-4 {
  padding: 1rem;
}
.p-5 {
  padding: 1.25rem;
}
.p-6 {
  padding: 1.5rem;
}
.px-1\.5 {
  padding-left: 0.375rem;
  padding-right: 0.375rem;
}
.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;
}
.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}
.py-1\.5 {
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
}
.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.py-3\.5 {
  padding-top: 0.875rem;
  padding-bottom: 0.875rem;
}
.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.py-6 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.pt-6 {
  padding-top: 1.5rem;
}
.pb-8 {
  padding-bottom: 2rem;
}
.pb-12 {
  padding-bottom: 3rem;
}
.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;
}
.mt-4 {
  margin-top: 1rem;
}
.mt-6 {
  margin-top: 1.5rem;
}
.mt-8 {
  margin-top: 2rem;
}
.mt-12 {
  margin-top: 3rem;
}
.-mt-6 {
  margin-top: -1.5rem;
}
.-mt-8 {
  margin-top: -2rem;
}
.gap-1 {
  gap: 0.25rem;
}
.gap-1\.5 {
  gap: 0.375rem;
}
.gap-2 {
  gap: 0.5rem;
}
.gap-2\.5 {
  gap: 0.625rem;
}
.gap-3 {
  gap: 0.75rem;
}
.gap-4 {
  gap: 1rem;
}
.space-y-2 > * + * {
  margin-top: 0.5rem;
}
.space-y-3 > * + * {
  margin-top: 0.75rem;
}
.space-y-4 > * + * {
  margin-top: 1rem;
}

/* Flexbox & Grid */
.flex {
  display: flex;
}
.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;
}
.flex-shrink-0 {
  flex-shrink: 0;
}
.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));
}
.grid-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Typography */
.text-\[10px\] {
  font-size: 10px;
  line-height: 0.75rem;
}
.text-xs {
  font-size: 0.7rem;
}
.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: 500;
}
.font-bold {
  font-weight: 900;
}
.leading-tight {
  line-height: 1.25;
}
.text-center {
  text-align: center;
}
.text-white {
  color: rgb(255 255 255);
}
.text-gray-300 {
  color: rgb(209 213 219);
}
.text-gray-400 {
  color: rgb(156 163 175);
}
.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-blue-600 {
  color: rgb(37 99 235);
}
.text-green-600 {
  color: rgb(22 163 74);
}
.text-red-300 {
  color: rgb(252 165 165);
}
.text-red-400 {
  color: rgb(248 113 113);
}
.text-red-500 {
  color: rgb(239 68 68);
}
.text-red-700 {
  color: rgb(185 28 28);
}
.break-words {
  overflow-wrap: break-word;
}
.hyphens-auto {
  hyphens: auto;
}
.whitespace-nowrap {
  white-space: nowrap;
}

/* Background Colors */
.bg-white {
  background-color: rgb(255 255 255);
}
.bg-blue-50 {
  background-color: rgb(239 246 255);
}
.bg-blue-100 {
  background-color: rgb(219 234 254);
}
.bg-red-50 {
  background-color: rgb(254 242 242);
}
.bg-emerald-50 {
  background-color: rgb(236 253 245);
}
.bg-gray-50 {
  background-color: rgb(249 250 251);
}
.bg-slate-50 {
  background-color: rgb(248 250 252);
}
.bg-slate-100 {
  background-color: rgb(241 245 249);
}
.bg-slate-800 {
  background-color: rgb(30 41 59);
}
.bg-slate-900 {
  background-color: rgb(15 23 42);
}
.bg-blue-500 {
  background-color: rgb(59 130 246);
}
.bg-blue-600 {
  background-color: rgb(37 99 235);
}
.bg-indigo-600 {
  background-color: rgb(79 70 229);
}
.bg-purple-600 {
  background-color: rgb(147 51 234);
}
.bg-emerald-500 {
  background-color: rgb(16 185 129);
}
.bg-emerald-600 {
  background-color: rgb(5 150 105);
}
.bg-teal-600 {
  background-color: rgb(13 148 136);
}
.bg-opacity-5 {
  background-color: rgba(255, 255, 255, 0.05);
}
.bg-opacity-10 {
  background-color: rgba(255, 255, 255, 0.1);
}
.bg-opacity-15 {
  background-color: rgba(255, 255, 255, 0.15);
}
.bg-opacity-20 {
  background-color: rgba(255, 255, 255, 0.2);
}
.bg-opacity-25 {
  background-color: rgba(255, 255, 255, 0.25);
}
.bg-opacity-30 {
  background-color: rgba(255, 255, 255, 0.3);
}
.bg-opacity-35 {
  background-color: rgba(255, 255, 255, 0.35);
}

/* 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));
}
.from-slate-50 {
  --tw-gradient-from: rgb(248 250 252);
  --tw-gradient-to: rgb(248 250 252 / 0);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.via-blue-50\/30 {
  --tw-gradient-to: rgb(239 246 255 / 0.3);
  --tw-gradient-stops:
    var(--tw-gradient-from), rgb(239 246 255 / 0.3), var(--tw-gradient-to);
}
.to-indigo-50\/50 {
  --tw-gradient-to: rgb(238 242 255 / 0.5);
}
.from-blue-500 {
  --tw-gradient-from: rgb(59 130 246);
  --tw-gradient-to: rgb(59 130 246 / 0);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.from-blue-600 {
  --tw-gradient-from: rgb(37 99 235);
  --tw-gradient-to: rgb(37 99 235 / 0);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.via-indigo-600 {
  --tw-gradient-to: rgb(79 70 229 / 0);
  --tw-gradient-stops:
    var(--tw-gradient-from), rgb(79 70 229), var(--tw-gradient-to);
}

.to-blue-600 {
  --tw-gradient-to: rgb(37 99 235);
}
.to-purple-600 {
  --tw-gradient-to: rgb(147 51 234);
}
.to-indigo-600 {
  --tw-gradient-to: rgb(79 70 229);
}
.from-emerald-500 {
  --tw-gradient-from: rgb(16 185 129);
  --tw-gradient-to: rgb(16 185 129 / 0);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.via-emerald-600 {
  --tw-gradient-to: rgb(5 150 105 / 0);
  --tw-gradient-stops:
    var(--tw-gradient-from), rgb(5 150 105), var(--tw-gradient-to);
}
.to-teal-600 {
  --tw-gradient-to: rgb(13 148 136);
}
.from-slate-800 {
  --tw-gradient-from: rgb(30 41 59);
  --tw-gradient-to: rgb(30 41 59 / 0);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.to-slate-900 {
  --tw-gradient-to: rgb(15 23 42);
}
.from-blue-50 {
  --tw-gradient-from: rgb(239 246 255);
  --tw-gradient-to: rgb(239 246 255 / 0);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.to-indigo-100 {
  --tw-gradient-to: rgb(224 231 255);
}
.from-gray-50 {
  --tw-gradient-from: rgb(249 250 251);
  --tw-gradient-to: rgb(249 250 251 / 0);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.to-slate-100 {
  --tw-gradient-to: rgb(241 245 249);
}
.from-emerald-50 {
  --tw-gradient-from: rgb(236 253 245);
  --tw-gradient-to: rgb(236 253 245 / 0);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.to-teal-100 {
  --tw-gradient-to: rgb(204 251 241);
}
.from-blue-500 {
  --tw-gradient-from: rgb(59 130 246);
  --tw-gradient-to: rgb(59 130 246 / 0);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.to-purple-600 {
  --tw-gradient-to: rgb(147 51 234);
}
.from-indigo-500 {
  --tw-gradient-from: rgb(99 102 241);
  --tw-gradient-to: rgb(99 102 241 / 0);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.to-purple-600 {
  --tw-gradient-to: rgb(147 51 234);
}

/* Borders */
.border {
  border-width: 1px;
}
.border-2 {
  border-width: 2px;
}
.border-b {
  border-bottom-width: 1px;
}
.border-t {
  border-top-width: 1px;
}
.border-gray-100 {
  border-color: rgb(243 244 246);
}
.border-gray-200 {
  border-color: rgb(229 231 235);
}
.border-gray-300 {
  border-color: rgb(209 213 219);
}
.border-gray-700 {
  border-color: rgb(55 65 81);
}
.border-blue-200 {
  border-color: rgb(191 219 254);
}
.border-blue-500 {
  border-color: rgb(59 130 246);
}
.border-emerald-200 {
  border-color: rgb(167 243 208);
}
.border-red-200 {
  border-color: rgb(254 202 202);
}
.border-white {
  border-color: rgb(255 255 255);
}
.border-dashed {
  border-style: dashed;
}
.border-opacity-25 {
  border-color: rgba(255, 255, 255, 0.25);
}
.border-opacity-30 {
  border-color: rgba(255, 255, 255, 0.3);
}
.border-opacity-40 {
  border-color: rgba(255, 255, 255, 0.4);
}
.rounded-md {
  border-radius: 6px;
}
.rounded-lg {
  border-radius: 0.5rem;
}
.rounded-xl {
  border-radius: 0.75rem;
}
.rounded-2xl {
  border-radius: 1rem;
}
.rounded-full {
  border-radius: 9999px;
}
.ring-offset-2 {
  --tw-ring-offset-width: 2px;
}
.ring-offset-white {
  --tw-ring-offset-color: #fff;
}

/* Effects */
.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);
}
.shadow-xl {
  box-shadow:
    0 20px 25px -5px rgb(0 0 0 / 0.1),
    0 8px 10px -6px rgb(0 0 0 / 0.1);
}
.shadow-2xl {
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}
.backdrop-blur-sm {
  backdrop-filter: blur(4px);
}
.opacity-90 {
  opacity: 0.9;
}
.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;
}
.duration-200 {
  transition-duration: 200ms;
}
.duration-300 {
  transition-duration: 300ms;
}

/* Interactive States */
.hover\:border-gray-300:hover {
  border-color: rgb(209 213 219);
}
.hover\:border-gray-400:hover {
  border-color: rgb(156 163 175);
}
.hover\:border-indigo-400:hover {
  border-color: rgb(129 140 248);
}
.hover\:bg-opacity-20:hover {
  background-color: rgba(255, 255, 255, 0.2);
}
.hover\:bg-opacity-25:hover {
  background-color: rgba(255, 255, 255, 0.25);
}
.hover\:bg-opacity-30:hover {
  background-color: rgba(255, 255, 255, 0.3);
}
.hover\:shadow-md:hover {
  box-shadow:
    0 4px 6px -1px rgb(0 0 0 / 0.1),
    0 2px 4px -2px rgb(0 0 0 / 0.1);
}
.hover\:shadow-lg:hover {
  box-shadow:
    0 10px 15px -3px rgb(0 0 0 / 0.1),
    0 4px 6px -4px rgb(0 0 0 / 0.1);
}
.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\:shadow-2xl:hover {
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}
.hover\:shadow-blue-100\/50:hover {
  box-shadow:
    0 10px 15px -3px rgb(219 234 254 / 0.5),
    0 4px 6px -4px rgb(219 234 254 / 0.5);
}
.hover\:shadow-emerald-100\/50:hover {
  box-shadow:
    0 10px 15px -3px rgb(209 250 229 / 0.5),
    0 4px 6px -4px rgb(209 250 229 / 0.5);
}
.hover\:bg-indigo-50:hover {
  background-color: rgb(238 242 255);
}
.active\:scale-95:active {
  transform: scale(0.95);
}
.focus\:border-blue-500:focus {
  border-color: rgb(59 130 246);
}
.focus\:border-green-500:focus {
  border-color: rgb(34 197 94);
}
.focus\:border-purple-500:focus {
  border-color: rgb(168 85 247);
}
.focus\:border-orange-500:focus {
  border-color: rgb(249 115 22);
}
.focus\:ring-4:focus {
  --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(4px + 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\:ring-blue-100:focus {
  --tw-ring-color: rgb(219 234 254);
}
.focus\:ring-green-100:focus {
  --tw-ring-color: rgb(220 252 231);
}
.focus\:ring-purple-100:focus {
  --tw-ring-color: rgb(243 232 255);
}
.focus\:ring-orange-100:focus {
  --tw-ring-color: rgb(255 237 213);
}
.outline-none {
  outline: 2px solid transparent;
  outline-offset: 2px;
}
.cursor-pointer {
  cursor: pointer;
}

/* Positioning */
.relative {
  position: relative;
}
.z-10 {
  z-index: 10;
}

/* Overflow */
.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.overflow-hidden {
  overflow: hidden;
}
.overflow-x-auto {
  overflow-x: auto;
}
.overflow-y-auto {
  overflow-y: auto;
}
.overflow-y-hidden {
  overflow-y: hidden;
}

/* Object Fit */
.object-contain {
  object-fit: contain;
}

/* Responsive Breakpoints */
@media (min-width: 640px) {
  .sm\:pt-8 {
    padding-top: 2rem;
  }
  .sm\:pb-12 {
    padding-bottom: 3rem;
  }
  .sm\:px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .sm\:px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  .sm\:mb-3 {
    margin-bottom: 0.75rem;
  }
  .sm\:mb-6 {
    margin-bottom: 1.5rem;
  }
  .sm\:mb-12 {
    margin-bottom: 3rem;
  }
  .sm\:mt-12 {
    margin-top: 3rem;
  }
  .sm\:space-y-5 > * + * {
    margin-top: 1.25rem;
  }
  .sm\:gap-3 {
    gap: 0.75rem;
  }
  .sm\:gap-4 {
    gap: 1rem;
  }
  .sm\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sm\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .sm\:text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
  }
  .sm\:text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }
  .sm\:rounded-2xl {
    border-radius: 1rem;
  }
  .sm\:shadow-xl {
    box-shadow:
      0 20px 25px -5px rgb(0 0 0 / 0.1),
      0 8px 10px -6px rgb(0 0 0 / 0.1);
  }
  .sm\:p-4 {
    padding: 1rem;
  }
  .sm\:p-5 {
    padding: 1.25rem;
  }
  .sm\:p-6 {
    padding: 1.5rem;
  }
  .sm\:p-8 {
    padding: 2rem;
  }
  .sm\:py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
  .sm\:min-h-\[3rem\] {
    min-height: 3rem;
  }
  .sm\:w-72 {
    width: 18rem;
  }
  .sm\:min-h-\[40px\] {
    min-height: 40px;
  }
}

@media (min-width: 768px) {
  .md\:px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  .md\:pb-12 {
    padding-bottom: 3rem;
  }
  .md\:p-6 {
    padding: 1.5rem;
  }
  .md\:text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
  }
  .md\:min-h-\[3\.5rem\] {
    min-height: 3.5rem;
  }
  .md\:w-80 {
    width: 20rem;
  }
}

@media (min-width: 1024px) {
  .lg\:text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }
}

/* Additional hover states for gradients */
.hover\:from-emerald-600:hover {
  --tw-gradient-from: rgb(5 150 105);
  --tw-gradient-to: rgb(5 150 105 / 0);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.hover\:to-teal-700:hover {
  --tw-gradient-to: rgb(15 118 110);
}
.hover\:from-blue-600:hover {
  --tw-gradient-from: rgb(37 99 235);
  --tw-gradient-to: rgb(37 99 235 / 0);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.hover\:to-indigo-700:hover {
  --tw-gradient-to: rgb(67 56 202);
}
