/**
 * Manual CSS equivalent of Tailwind classes used in step1.html and step2.html.
 * Theme: primary #0284c7, background-light #f8fafc, Inter font.
 */
.mcc-widget {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

:root {
  --primary: #0284c7;
  --background-light: #f8fafc;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --emerald-500: #10b981;
  --emerald-700: #047857;
  --sky-600: #0284c7;
  --sky-700: #0369a1;
}

/* Layout */
.max-w-6xl { max-width: 72rem; margin-left: auto; margin-right: auto; }
.max-w-4xl { max-width: 56rem; margin-left: auto; margin-right: auto; }
.max-w-3xl { max-width: 48rem; margin-left: auto; margin-right: auto; }
.max-w-xl { max-width: 36rem; margin-left: auto; margin-right: auto; }
.mx-auto { margin-left: auto; margin-right: auto; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.p-0 { padding: 0; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.p-1 { padding: 0.25rem; }
.pt-4 { padding-top: 1rem; }
.pt-8 { padding-top: 2rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mt-0\.5 { margin-top: 0.125rem; }
.mb-0\.5 { margin-bottom: 0.125rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.ml-3 { margin-left: 0.75rem; }

/* Background & text */
.bg-background-light { background-color: var(--background-light); }
.bg-white { background-color: #fff; }
.bg-transparent { background-color: transparent; }
.bg-primary { background-color: var(--primary); }
.bg-white { background-color: #ffffff; }
.bg-slate-50 { background-color: var(--slate-50); }
.bg-slate-100 { background-color: var(--slate-100); }
.bg-slate-200 { background-color: var(--slate-200); }
.bg-slate-900 { background-color: var(--slate-900); }
.bg-emerald-100 { background-color: #d1fae5; }
.bg-emerald-500 { background-color: var(--emerald-500); }
.bg-emerald-600 { background-color: #059669; }
.bg-sky-50 { background-color: #f0f9ff; }
.bg-sky-100 { background-color: #e0f2fe; }
.bg-sky-600 { background-color: #0284c7; }
.bg-primary\/10 { background-color: rgba(2, 132, 199, 0.1); }

.text-slate-400 { color: var(--slate-400); }
.text-slate-500 { color: var(--slate-500); }
.text-slate-600 { color: var(--slate-600); }
.text-slate-700 { color: var(--slate-700); }
.text-slate-900 { color: var(--slate-900); }
.text-primary { color: var(--primary); }
.text-white { color: #fff; }
.text-emerald-500 { color: var(--emerald-500); }
.text-emerald-600 { color: #059669; }
.text-emerald-700 { color: var(--emerald-700); }
.text-sky-600 { color: #0284c7; }
.text-sky-700 { color: #0369a1; }

/* Typography */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-\[10px\] { font-size: 10px; }

.font-bold { font-weight: 700; }
.font-black { font-weight: 900; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.uppercase { text-transform: uppercase; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-tight { letter-spacing: -0.025em; }
.italic { font-style: italic; }
.leading-relaxed { line-height: 1.625; }
.leading-normal { line-height: 1.5; }

/* Flex & Grid */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1 1 0%; }
.flex-grow { flex-grow: 1; }
.flex-shrink-0 { flex-shrink: 0; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.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; }
.gap-x-4 { column-gap: 1rem; }
.gap-x-8 { column-gap: 2rem; }
.gap-y-4 { row-gap: 1rem; }

.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)); }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-5 > * + * { margin-top: 1.25rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }

@media (min-width: 768px) {
  .md\:py-12 { padding-top: 3rem; padding-bottom: 3rem; }
  .md\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .md\:flex-row { flex-direction: row; }
  .md\:items-center { align-items: center; }
  .md\:text-right { text-align: right; }
  .md\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .md\:p-10 { padding: 2.5rem; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:text-5xl { font-size: 3rem; line-height: 1; }
}
@media (min-width: 1024px) {
  .lg\:col-span-5 { grid-column: span 5 / span 5; }
  .lg\:col-span-7 { grid-column: span 7 / span 7; }
  .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
}

/* Sizing */
.w-full { width: 100%; }
.w-8 { width: 2rem; }
.w-10 { width: 2.5rem; }
.w-11 { width: 2.75rem; }
.h-6 { height: 1.5rem; }
.h-8 { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-24 { height: 6rem; }
.h-full { height: 100%; }
.h-map { height: 400px; }
.h-px { height: 1px; }

/* Border & radius */
.border { border-width: 1px; border-style: solid; }
.border-0 { border-width: 0; }
.border-slate-100 { border-color: var(--slate-100); }
.border-slate-200 { border-color: var(--slate-200); }
.border-slate-300 { border-color: var(--slate-300); }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }
.rounded { border-radius: 0.25rem; }
.rounded-md { border-radius: 0.375rem; }

/* Shadow */
.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-sky-500\/20 { box-shadow: 0 0 0 1px rgba(14, 165, 233, 0.2); }

/* Position */
.relative { position: relative; }
.absolute { position: absolute; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-4 { top: 1rem; }
.left-4 { left: 1rem; }
.right-4 { right: 1rem; }
.bottom-4 { bottom: 1rem; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-0 { z-index: 0; }

/* Display */
.block { display: block; }
.hidden { display: none; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.min-h-screen { min-height: 100vh; }

@media (min-width: 640px) {
  .sm\:block { display: block; }
  .sm\:inline { display: inline; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Focus & transition */
.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; transition-duration: 200ms; }
.transition-transform { transition-property: transform; transition-duration: 150ms; }
.transform { transform: translateZ(0); }
.focus\:ring-0:focus { outline: none; box-shadow: none; }
.focus\:ring-2:focus { box-shadow: 0 0 0 2px var(--primary); }
.focus\:ring-primary:focus { --tw-ring-color: var(--primary); }
.focus\:border-transparent:focus { border-color: transparent; }
.focus\:border-primary:focus { border-color: var(--primary); }
.placeholder-slate-400::placeholder { color: var(--slate-400); }

/* Hover / active */
.hover\:border-primary:hover { border-color: var(--primary); }
.hover\:bg-sky-700:hover { background-color: var(--sky-700); }
.hover\:bg-sky-600:hover { background-color: #0284c7; }
.hover\:scale-105:hover { transform: scale(1.05); }
.hover\:scale-\[1\.02\]:hover { transform: scale(1.02); }
.hover\:scale-110:hover { transform: scale(1.1); }
.hover\:underline:hover { text-decoration: underline; }
.active\:scale-95:active { transform: scale(0.95); }
.active\:scale-\[0\.98\]:active { transform: scale(0.98); }

/* Composite button helpers used in templates */
.mcc-btn-lg {
  width: 100%;
  background-color: var(--primary);
  color: #fff;
  font-weight: 900;
  padding-top: 1.25rem; /* py-5 */
  padding-bottom: 1.25rem;
  padding-left: 2rem; /* px-8 */
  padding-right: 2rem;
  border-radius: 1rem; /* rounded-2xl */
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
  position: relative;
  transition: transform 150ms cubic-bezier(0.4,0,0.2,1), box-shadow 150ms;
  transform: translateZ(0);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem; /* gap-3 */
  font-size: 1.25rem; /* text-xl */
  margin-top: 1rem; /* mt-4 */
}
.mcc-btn-lg:hover { background-color: var(--sky-600); transform: scale(1.02); }
.mcc-btn-lg:active { transform: scale(0.98); }
.mcc-btn-lg .material-symbols-outlined { display: inline-block; }

/* Text link style */
.mcc-link-primary { color: var(--primary); font-weight: 600; }
.mcc-link-primary:hover { text-decoration: underline; }

/* Opacity */
.opacity-50 { opacity: 0.5; }

/* Toggle (peer) */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0; }
.peer:checked ~ .peer-checked\:bg-primary { background-color: var(--primary); }
.peer-focus\:outline-none:focus { outline: 2px solid transparent; outline-offset: 2px; }
.peer-checked\:after\:translate-x-full { }
.peer-checked\:after\:translate-x-full::after { transform: translateX(100%); }
.after\:content-\[\'\'\]:after { content: ''; }
.after\:absolute:after { position: absolute; }
.after\:top-\[2px\]:after { top: 2px; }
.after\:left-\[2px\]:after { left: 2px; }
.after\:bg-white:after { background-color: #fff; }
.after\:border:after { border-width: 1px; border-style: solid; }
.after\:rounded-full:after { border-radius: 9999px; }
.after\:h-5:after { height: 1.25rem; }
.after\:w-5:after { width: 1.25rem; }
.after\:transition-all:after { transition: all 150ms; }
.w-11.h-6.rounded-full .after\:content-\[\'\'\]:after { content: ''; position: absolute; top: 2px; left: 2px; width: 1.25rem; height: 1.25rem; background: #fff; border: 1px solid var(--slate-300); border-radius: 9999px; transition: transform 150ms; }
.peer:checked ~ .after\:translate-x-full { }
input.peer:checked ~ div.after\:translate-x-full::after { transform: translateX(1.25rem); }

/* Pill toggle active state */
.mcc-pill-toggle button.is-active { background-color: #fff; color: var(--primary); box-shadow: 0 1px 2px rgb(0 0 0 / 0.05); }
.mcc-pill-toggle button:not(.is-active) { background: transparent; color: var(--slate-500); }

/* Step panels */
.mcc-step-panel { display: none; }
.mcc-step-panel.is-active { display: block; }

/* Stepper card: when step 2 is active, first pill is muted and second is active */
/* .mcc-widget .mcc-stepper-card .mcc-step-pill-1.opacity-50 .mcc-step-num { background: var(--slate-200); color: var(--slate-500); } */
.mcc-widget .mcc-stepper-card .mcc-step-pill-2.opacity-50 .mcc-step-num { background: var(--slate-200); color: var(--slate-500); }
.mcc-widget .mcc-stepper-card .mcc-step-pill-:not(.opacity-50) .w-8 { background: var(--primary); color: #fff; }
.mcc-widget .mcc-stepper-card .mcc-step-pill-2:not(.opacity-50) .w-8 { background: var(--primary); color: #fff; }

/* Custom range slider */
.custom-slider { -webkit-appearance: none; appearance: none; height: 8px; background: var(--slate-200); border-radius: 9999px; }
.custom-slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 24px; height: 24px; background: var(--primary); cursor: pointer; border-radius: 50%; border: 4px solid white; box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1); }
.custom-slider::-moz-range-thumb { width: 24px; height: 24px; background: var(--primary); cursor: pointer; border-radius: 50%; border: 4px solid white; box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1); }
input[type="range"].custom-slider { accent-color: var(--primary); }

/* Material icons */
.material-icons, .material-symbols-outlined { font-family: 'Material Icons', 'Material Symbols Outlined', sans-serif; font-weight: normal; font-style: normal; display: inline-block; }
.text-base { font-size: 1rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }

/* Status messages */
.mcc-status.is-success { color: var(--emerald-700); }
.mcc-status.is-error { color: #b91c1c; }

/* Form inputs and selects – ensure padding and consistent look inside widget */
.mcc-widget input[type="text"],
.mcc-widget input[type="email"],
.mcc-widget input[type="tel"],
.mcc-widget input[type="date"],
.mcc-widget input[type="number"],
.mcc-widget select,
.mcc-widget textarea {
  box-sizing: border-box;
  padding: 0.75rem 1rem;
  min-height: 2.75rem;
}

.mcc-widget select {
  appearance: auto;
  -webkit-appearance: menulist;
  -moz-appearance: menulist;
}

/* Inputs with p-0 (e.g. map overlay address fields) keep no padding */
.mcc-widget input.p-0 {
  padding: 0 !important;
  min-height: 0;
}

/* Specific padding overrides for inputs with icons */
.mcc-widget input.pl-11 {
  padding-left: 2.75rem !important;
}

.mcc-widget input.pr-4 {
  padding-right: 1rem !important;
}

/* Grid layouts for step 2 */
@media (min-width: 1024px) {
  .lg\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .lg\:col-span-2 { grid-column: span 2 / span 2; }
  .lg\:col-span-3 { grid-column: span 3 / span 3; }
  .lg\:sticky { position: sticky; }
  .lg\:top-4 { top: 1rem; }
  .lg\:gap-8 { gap: 2rem; }
}

/* Additional utility classes for step 2 */
.max-w-7xl { max-width: 80rem; margin-left: auto; margin-right: auto; }
.pl-11 { padding-left: 2.75rem; }
.pr-4 { padding-right: 1rem; }
.-translate-y-1\/2 { transform: translateY(-50%); }
.top-1\/2 { top: 50%; }
.left-3 { left: 0.75rem; }

/* Icon inside input field styling - absolute positioning */
.mcc-widget .relative {
  position: relative;
}

.mcc-widget .absolute {
  position: absolute;
}

.mcc-widget .material-symbols-outlined.absolute {
  pointer-events: none;
  z-index: 1;
}

/* Additional sizes */
.w-8 { width: 2rem; }
.h-8 { height: 2rem; }
.w-10 { width: 2.5rem; }
.h-10 { height: 2.5rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }

/* Date input with icon */
input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0;
  position: absolute;
  right: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

input[data-mcc-date] {
  padding-right: 2.5rem !important;
}

/* Material Symbols Outlined icon font */
.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Positioning utilities */
.absolute { position: absolute; }
.relative { position: relative; }
.right-3 { right: 0.75rem; }
.top-1\/2 { top: 50%; }
.-translate-y-1\/2 { transform: translateY(-50%); }

/* Pointer events */
.pointer-events-none { pointer-events: none; }

/* Additional slate colors */
.text-slate-400 { color: #94a3b8; }

