#prenota-appuntamento {
  background: radial-gradient(
      48.03% 98.54% at 50% 50%,
      #4e4e4e 0%,
      #000000 100%
    )
    no-repeat;
  width: calc(100% - 64px);
  min-height: fit-content;
  place-content: center;
  place-self: center;
  border-radius: 4px;
  padding: 45px;
}

.title {
  font-weight: 300;
  font-style: Light;
  font-size: 66px;
  line-height: 100%;
  letter-spacing: 2%;
  text-align: center;
  color: #fff;
  margin: 30px 0 0 0;
}

@media (max-width: 768px) {
  #prenota-appuntamento {
    width: 100%;
    padding: 45px 0px;
  }

  .title {
    font-size: 40px;
  }

  .subtitle {
    font-size: 24px;
  }
}

.subtitle {
  font-family: "IvyPresto Disp Lt", serif;
  font-weight: 300;
  font-style: Light;
  font-size: 27px;
  line-height: 34px;
  letter-spacing: 2%;
  text-align: center;
  color: #fff;
  margin: 8px 0 42px 0;
}

.subtitle b {
  font-weight: 600;
  font-family: "IvyPresto Disp Semi Bd";
}

.form-section {
  position: relative;
  z-index: 1;
}

.box-wrapper {
  overflow: clip;
  display: flex;
  /* flex-wrap: wrap; */
  gap: 42px;
  align-items: center;
  justify-content: center;
  margin: 0 0 42px 0;
}
@media (max-width: 991px) {
  .box-wrapper {
    flex-direction: column-reverse;
    align-items: center;
  }
}
.appointment-box {
  width: 525px;
  height: 517px;
  border-radius: 4px;
  overflow: clip;
  position: relative;
}
.appointment-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.appointment-box:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    204.36deg,
    rgba(0, 0, 0, 0) 48.4%,
    #181919 83.83%
  );
}

.appointment-box .text {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 40px;
  z-index: 1;
  height: auto;
  color: #fff;
  padding: 40px;
}

.appointment-box h2 {
  z-index: 1;
  margin: 0;
  font-weight: 300;
  font-style: Light;
  font-size: 34px;
  leading-trim: NONE;
  line-height: 40px;
  letter-spacing: 1%;
  vertical-align: middle;
}
.appointment-box button {
  z-index: 1;
  display: block;
  background: transparent;
  width: fit-content;
  color: #fff;
  border: none;
  padding: 0 0 4px 0;
  font-family: Bicyclette;
  font-weight: 400;
  font-style: Regular;
  font-size: 16px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: 0%;
  vertical-align: middle;
  border-bottom: 1px solid #fff;
}

.appointment-box button::after {
  content: url(/assets/img/icons/white-link.svg);
  margin-left: 6px;
}

.appointment-box button[aria-pressed="true"]::after {
  content: url(/assets/img/icons/green-link.svg);
}

.appointment-box button:focus-visible {
  outline: 3px solid var(--accessible-focus-inverse);
  outline-offset: 4px;
}

.appointment-box button[aria-pressed="true"] {
  color: var(--acid-green);
  border-bottom-color: var(--acid-green);
}

.tecma-form-widget:focus {
  outline: none;
}

.tecma-load-error {
  margin: 0;
  padding: 24px;
  text-align: center;
  color: var(--text);
}

.calendar-wrapper {
  background: #fdfdf7;
  padding: 30px;
  border-right: 1px solid var(--grey-2);
}

.form-wrapper {
  /* background-color: #fff;
  padding: 30px; */
}

.change-appointment {
  background: transparent;
  border: none;
  color: var(--acid-green);
  font-family: Bicyclette;
  font-weight: 400;
  font-style: Regular;
  font-size: 16px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: 0%;
  vertical-align: middle;
  margin: 0 0 20px 0;
  border-bottom: 1px solid var(--acid-green);
  padding: 0 0 4px 0;
}

.change-appointment::before {
  content: url(/assets/img/icons/green-link.svg);
  margin-right: 6px;
  rotate: 180deg;
  display: inline-block;
}

.form-group {
  margin: 0 0 20px 0;
}

.tecma-split-header h3,
.tecma-split-appointment-details h4 {
  font-family: bicyclette, sans-serif;
}

/* Questa regola nostra vince sul `--tf-label-color` del widget, che sarebbe
   gia' conforme: le 8 label del form erano a 3,84:1 per colpa nostra, non di
   Tecma. Sfuggita a B-09b. */
.tecma-form-field label {
  text-align: center;
  color: var(--accessible-grey-text);
  width: 100%;
  font-weight: 400;
  margin-bottom: 10px;
}

.tecma-split-header,
.tecma-timeslots-title {
  text-align: center;
}

.tecma-calendar-day.selected {
  color: inherit !important;
}

@media (max-width: 992px) {
  /* #tecma-form-widget .tecma-split-screen-left {
    padding: 20px 16px;
  }

  #tecma-form-widget .tecma-split-screen-right {
    padding: 20px 16px;
  } */

  .tecma-form-widget .tecma-split-screen-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 468px) {
  .tecma-form-widget .tecma-calendar-day {
    min-width: 25px;
    aspect-ratio: unset;
  }
}

.tecma-calendar-day.disabled {
  pointer-events: none;
}
