/* Gracia Dental WhatsApp intent confirmation modal */
.gd-wa-modal[hidden] { display: none !important; }
.gd-wa-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  font-family: inherit;
}
.gd-wa-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 25, 21, 0.58);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.gd-wa-modal__panel {
  position: relative;
  width: min(100%, 540px);
  max-height: calc(100vh - 40px);
  overflow: auto;
  background: #fff;
  border-radius: 24px;
  padding: 30px 28px 26px;
  box-shadow: 0 24px 70px rgba(0,0,0,.24);
  color: #183b2a;
}
.gd-wa-modal__handle {
  width: 42px;
  height: 4px;
  border-radius: 99px;
  background: #d9dfdb;
  margin: -12px auto 22px;
}
.gd-wa-modal__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border-radius: 999px;
  background: #eff8f2;
  color: #1c7a48;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 14px;
}
.gd-wa-modal__eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #28b66f;
  flex: 0 0 auto;
}
.gd-wa-modal__title {
  margin: 0 0 12px;
  color: #173d2a;
  font-size: clamp(22px, 4.7vw, 29px);
  line-height: 1.17;
  font-weight: 750;
  letter-spacing: -0.02em;
}
.gd-wa-modal__copy {
  margin: 0;
  color: #536158;
  font-size: 15px;
  line-height: 1.65;
}
.gd-wa-modal__actions {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}
.gd-wa-modal__button {
  appearance: none;
  border: 0;
  width: 100%;
  min-height: 52px;
  padding: 13px 18px;
  border-radius: 13px;
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  font-weight: 750;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.gd-wa-modal__button:focus-visible {
  outline: 3px solid rgba(35,174,101,.28);
  outline-offset: 2px;
}
.gd-wa-modal__button--primary {
  background: #27ad68;
  color: #fff;
  box-shadow: 0 8px 20px rgba(39,173,104,.18);
}
.gd-wa-modal__button--primary:hover { background: #20965a; transform: translateY(-1px); }
.gd-wa-modal__button--secondary { background: #f1f4f2; color: #3d5045; }
.gd-wa-modal__button--secondary:hover { background: #e8eeea; }
body.gd-wa-modal-open { overflow: hidden !important; }
@media (max-width: 600px) {
  .gd-wa-modal { align-items: flex-end; padding: 12px; }
  .gd-wa-modal__panel { border-radius: 24px 24px 18px 18px; padding: 26px 20px 20px; }
}
@media (prefers-reduced-motion: no-preference) {
  .gd-wa-modal:not([hidden]) .gd-wa-modal__panel { animation: gdWaModalIn .18s ease-out both; }
  @keyframes gdWaModalIn { from { opacity: 0; transform: translateY(12px) scale(.985); } to { opacity: 1; transform: none; } }
}
