.cancel-mode-banner {
  display: none;
  margin: 0 0 12px;
  padding: 12px 14px;
  border: 1px solid #f1b56d;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff7ed, #fff3e0);
  color: #7c2d12;
  font-weight: 750;
  line-height: 1.35;
}

.cancel-mode-banner.is-active {
  display: block;
}

.cancel-mode-banner strong {
  display: block;
  margin-bottom: 4px;
  color: #9a3412;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 13px;
}

.cancel-mode-banner span {
  display: block;
  color: #431407;
  font-weight: 850;
}

.booking-card.is-cancel-mode {
  border-color: #f1b56d;
  box-shadow: 0 18px 45px rgba(180, 83, 9, .14);
}

.booking-card.is-cancel-mode .selected-turno {
  border-color: #f1b56d;
  background: #122236;
  color: #f8fafc;
}

.booking-card.is-cancel-mode .selected-turno-kicker {
  color: #bfdbfe;
}

.booking-card.is-cancel-mode .selected-turno-date,
.booking-card.is-cancel-mode .selected-turno-time {
  color: #ffffff;
}

#bookingForm button.is-cancel-mode,
#bookingForm button.button-danger.is-cancel-mode {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(220, 38, 38, 0.28);
}

#bookingForm button.is-cancel-mode:hover,
#bookingForm button.button-danger.is-cancel-mode:hover {
  background: linear-gradient(135deg, #b91c1c, #991b1b);
}

@media (max-width: 760px) {
  #bookingForm button[type="submit"] {
    position: fixed;
    left: 18px;
    right: 18px;
    bottom: calc(18px + env(safe-area-inset-bottom));
    z-index: 50;
    width: auto;
    min-height: 58px;
    border-radius: 18px;
  }

  #bookingForm:invalid button[type="submit"],
  #bookingForm button[type="submit"]:disabled {
    display: none;
  }

  #bookingForm:invalid,
  #bookingForm:has(button[type="submit"]:disabled) {
    padding-bottom: 0;
  }

  #bookingForm:valid:not(:has(button[type="submit"]:disabled)) {
    padding-bottom: 92px;
  }
}

@media (prefers-color-scheme: dark) {
  .cancel-mode-banner {
    border-color: #92400e;
    background: linear-gradient(135deg, #3b2614, #2b2118);
    color: #fed7aa;
  }

  .cancel-mode-banner strong,
  .cancel-mode-banner span {
    color: #ffedd5;
  }

  .booking-card.is-cancel-mode .selected-turno {
    border-color: #f1b56d;
    background: #122236;
    color: #f8fafc;
  }
}
