:root {
  --border: #e5e7eb;
  --text: #111827;
  --muted: #6b7280;
  --bg: #ffffff;
  --bg-soft: #f9fafb;
  --accent: #2563eb;
  --accent-soft: rgba(37, 99, 235, 0.12);
  --radius: 14px;
  --xlText: 25px;
  --largeText: 22px;
  --smallText: 16px;
  --xsText: 12px;

}

body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  margin: 0;
  color: var(--text);
  font-size: 16px;

}

.wrap {
  max-width: 980px;
  margin: 32px auto 10px;
  padding: 0 16px;
}

@media (max-width:450px) {
  .wrap {
    margin: 0;
    padding: 0;
    margin: 20px 3px;
  }
}



.calendar {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  overflow: hidden;

}

.cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

@media (max-width: 700px) {
  .cal-header {
    flex-direction: column;
  }
}

.cal-title {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.2;
}

.cal-title h2 {
  margin: 0;
  font-size: var(--xlText);
  font-weight: 700;
}

@media(max-width:400px) {
  .cal-title h2 {
    font-size: var(--largeText);
  }
}

.cal-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

button {
  appearance: none;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  padding: 8px 10px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
}

.calendar-button {
  font-size: 14px;
  font-weight: normal;
  text-transform: none;
  height: fit-content;
  padding: 5px 25px;
}

button:hover {
  border-color: #cbd5e1;
  background: #fcfcfd;
}

button.primary {
  border-color: transparent;
  background: var(--accent);
  color: white;
}

button.primary:hover {
  filter: brightness(0.95);
}

.weekday-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.weekday {
  padding: 10px 12px;
  font-size: var(--xsText);
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
}

.cell {
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 10px 10px 12px;
  background: var(--bg);
  position: relative;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
}



.cell:nth-child(7n) {
  border-right: none;
}

.cell.is-past,
.cell.is-unavailable {
  background-color: #fafafa;
  color: #9ca3af;
}

.cell.is-unavailable {
  /* 
  background-image: url("unavailable_icon.png");

  background-size: cover;        
  background-position: center;    */

  /* height: 30px; */

  background: linear-gradient(to bottom right,
      transparent calc(50% - 0.5px),
      currentColor calc(50% - 0.5px),
      currentColor calc(50% + 0.5px),
      transparent calc(50% + 0.5px));
}

.cell.is-promo {
  background: #f5ebeb;

}

.cell.is-today {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.cell.is-selected {
  background: var(--accent-soft);
}

.day-num {
  font-weight: 800;
  font-size: var(--smallText);
}

.day-num-even {
  color: var(--extraDark);
}

.odd-month {
  /* color: var(--dark); */
  color: #0a5669;

}

.flag-unavailable {
  font-size: 11px;
  color: rgb(186, 78, 78);
}

.promo-text {
  font-size: 11px;
  text-decoration: line-through;
  color: var(--muted);
}

/* .spacer {
  font-size: 11px;
  opacity: 0;
} */

/* Placeholder for price / info row */
.rate-text {
  margin-top: auto;
  font-size: 14px;
  /* color: var(--extraDark); */
  /* color: var(--muted); */
}


.xl-text {
  font-size: var(--xlText);
}

.main-price-line {
  margin: 5px 10px;
  text-align: left;
  font-size: var(--smallText);
  line-height: 1.2;
}

.title {
  font-size: var(--xlText);
  text-align: center;
  font-weight: bold;
  text-decoration: underline;
}

.selected-date {
  font-weight: 700;
  width: 100%;
}

@media (max-width:350px) {

  .calendar,
  /* .cal-header, */
  .weekday-row,

  .grid,
  .cell {
    padding: 0;
    margin: 0;
  }

  .cell,
  .weekday {
    margin: 0;
    padding-left: 5px;
  }

}

.white-line {
  height: 1px;
  width: 100%;
  background-color: white;
}




.image-thumbnail {
  width: 100px;
  margin: auto !important;
  z-index: 1001;
  display: flex;

}

.thumb-container {
  width: 100%;
  position: sticky;
  bottom: 20%;
  z-index: 1000;
  display: none;
}

select.small-input {
  width: 100% !important;
}

.formline-prices {
  margin: 10px;
  display: grid;
  grid-template-columns: 6fr 1fr;

  grid-column-gap: 25px;
  grid-row-gap: 15px;
}

.formline-prices label {
  margin: auto !important;
  display: flex;
}

.formline-prices input,
.formline-prices select {
  margin: auto !important;
  display: flex;
}



@media (min-width: 500px) {
  select.small-input {
    width: 50px !important;
    display: flex;
    margin: 0 auto;
  }

}



.pulse {
  animation: pulse 400ms infinite;
}

@keyframes pulse {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }

  100% {
    opacity: 1;
  }
}

#long_date_text {
  padding: 0 !important;
  margin: 0px !important;
  font-weight: bold;
}

#availability_text {
  padding: 0;
  margin: 0;
}

#price_overview_container {
  margin: 0 25px;
}

#example_label,
#price_overview {
  text-decoration: underline;
  padding: 0;
  margin: 0 0 10px 0;

}



#service-map-wrapper {
  z-index: 1000;
  margin: auto;
  max-height: 70vh;
  max-width: 90vw;

  position: sticky;
  bottom: 5vh;
  user-select: none;
  display: none;

}



/* Map Container */
#service_map_container {
  position: relative;
  background-color: transparent;
  max-height: 70vh;
  max-width: 90vw;

  overflow-x: scroll;
  overflow-y: scroll;


  z-index: 1001;
  cursor: grab;
  /* Hide scrollbars cross-browser */
  scrollbar-width: none;
  /* Firefox */
  user-select: none;
  margin: 0% !important;
  padding: 0%;
  border-radius: 20px;

}

#service_map_container.active {
  cursor: grabbing;
}


/* Hide scrollbars for Webkit browsers */
#service_map_container::-webkit-scrollbar {
  display: none;
  scroll-behavior: smooth;

}

/* Map Image */
#service_map {
  display: block;
  min-width: 70vw;
  /* Fixed map width */

  width: 100%;
  max-width: none;
  max-height: 100%;
  height: auto;
  margin: 0 !important;
  padding: 0;

  user-select: none;
  pointer-events: none;
}

@media (max-width:500px) {
  #service_map {
    min-width: 70vh;
  }
}

.map_close_button {
  position: absolute;
  right: 0%;
  top: 0%;
  z-index: 1100;
  width: 75px;
  opacity: .7;

}

/* Bottom Buttons Wrapper */
.map_bottom_buttons {
  position: absolute;
  opacity: .7;
  bottom: 10px;

  left: 50%;
  transform: translateX(-50%);
  width: fit-content;
  padding: 0 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1100;
}

/* Bottom Buttons */
.map_bottom_buttons img {
  width: 75px;
  cursor: pointer;
  user-select: none;
  margin: 0 25px
}

.map_thumb {
  margin: auto !important;
  justify-content: space-between;
  display: flex;
  align-items: center;
  width: 200px;
}

.map_thumb p {
  font-weight: bold;
  font-size: 17px;
  text-decoration: underline;
  padding-bottom: 10px;
}

.map_thumb img {
  max-width: 40px;
  margin: 10px;
}

.prices-grid-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(auto, 1fr);
  row-gap: 0px;
  column-gap: 0px;
  margin: 0 25px 10px
}

.prices-grid-item-left,
.prices-grid-item-right {
  width: 100%;
  display: flex;
  align-items: left;
  justify-content: left;
  font-size: 16px;
}

.prices-grid-item-right {
  align-items: right;
  justify-content: right;
}

@media (max-width: 600px) {

  form,
  fieldset,
  .prices-form {
    box-sizing: border-box;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    font-size: var(--smallText);
  }
}

.prices-form {
  position: relative;
  color: white;
  opacity: .95;
  font-size: 20px;
  width: 100%;
}

.prices-form fieldset {
  border: 1px solid var(--hoverGreen);
  justify-content: center;
  display: grid;
  width: 100%;
  background-color: #094659;
  width: 100%;
  margin: 0;
  padding: 0;
  border-radius: 10px;
  max-width: 980px;
  margin: 1px 0;

}


.pop-primary {
  font-size: 35px;
  font-weight: bold;
}

.pop {
  font-size: 20px;
  font-weight: bold;
}




.seniors-discount-line {
  color: wheat;
  text-align: center;
  margin: 0 10px;
  font-size: 15px;
  opacity: .9;
}

.top-margin {
  margin-top: 15px;
}

.next-step {
  text-align: center;
  margin-top: 18px;
  color: white;
}

.next-step h3 {
  font-size: var(--largeText);
  margin: 0;
}

.tiny-text {
  font-size: var(--xsText);
}

.total-line {
  font-size: 18px;
  font-weight: bold;
}


/* === PRICES PAGE: Primary CTA (Next Step) =========================
   Goal: Make the CTA feel like the natural continuation after TOTAL,
   without looking pushy. Uses your existing palette/variables.
   --------------------------------------------------------------- */

/* Container that holds the CTA button + contact line */




/* Contact line under the button */
.next-step-contact {
  margin-top: 10px;
  font-size: 0.85rem;
  opacity: 0.9;
}

.next-step-contact a {
  font-weight: 700;
  text-decoration: underline;
  color: var(--dark);
  /* keep your existing link accent */
}

.big-br {
  margin: 15px;
}