/* CALPO appointments: a quiet, white form with the existing gold accent. */
.header-advice {
  background: #fff;
  white-space: nowrap;
}
.appointment-dialog {
  width: min(660px, calc(100% - 32px));
  padding: 32px;
}
.appointment-dialog .dialog-top h2 {
  font-size: 38px;
}
.appointment-dialog #appointment-intro {
  max-width: 48ch;
  margin-bottom: 24px;
}
.appointment-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
}
.appointment-fields label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  min-width: 0;
}
.appointment-fields label > span {
  font-weight: 400;
  color: #555;
}
.appointment-fields input,
.appointment-fields select,
.appointment-fields textarea {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 48px;
  border: 1px solid #888;
  border-radius: 0;
  background: #fff;
  padding: 12px;
  margin-top: 7px;
  font:
    16px/1.4 Arial,
    sans-serif;
  color: #000;
}
.appointment-fields textarea {
  resize: vertical;
}
.appointment-fields small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: #555;
  margin-top: 5px;
}
.appointment-wide {
  grid-column: 1/-1;
}
.appointment-note {
  margin: 20px 0 14px;
}
.appointment-dialog .button {
  width: 100%;
  justify-content: space-between;
}
.appointment-status {
  margin: 14px 0 0;
}
.appointment-status:empty {
  display: none;
}
.appointment-continue {
  margin-top: 8px;
}
.menu-dialog .mobile-advice {
  width: 100%;
  background: #fff;
  text-align: left;
  min-height: 48px;
  padding: 16px 0;
  color: #000;
  font:
    22px Georgia,
    serif;
}
.whatsapp-float {
  position: fixed;
  z-index: 9;
  right: max(24px, env(safe-area-inset-right));
  bottom: max(24px, env(safe-area-inset-bottom));
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #075e54;
  color: #fff;
  box-shadow: 0 4px 18px #0002;
}
.whatsapp-float svg {
  width: 29px;
  height: 29px;
}
.whatsapp-float span {
  position: absolute;
  right: calc(100% + 12px);
  padding: 8px 14px;
  border-radius: 4px;
  background: #fff;
  color: #000;
  font-size: 12px;
  white-space: nowrap;
  box-shadow: 0 3px 14px #0002;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.whatsapp-float:focus-visible {
  outline: 3px solid #8a6520;
  outline-offset: 4px;
}
.whatsapp-float:focus-visible span {
  opacity: 1;
  visibility: visible;
}
body:has(dialog[open]) .whatsapp-float {
  visibility: hidden;
}
@media (hover: hover) {
  .whatsapp-float:hover {
    background: #064d44;
  }
  .whatsapp-float:hover span {
    opacity: 1;
    visibility: visible;
  }
}
@media (max-width: 560px) {
  .appointment-dialog {
    padding: 22px;
    width: calc(100% - 24px);
    max-height: calc(100dvh - 24px);
  }
  .appointment-dialog .dialog-top h2 {
    font-size: 32px;
  }
  .appointment-fields {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .whatsapp-float {
    width: 54px;
    height: 54px;
    right: max(16px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
  }
}
