/* Booking overlay + advertiser booking UI */

.gw2d-booking-overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  /* Above .uo-cta-bar (100040) and .uo-bottom-nav (100050). */
  z-index: 100080;
  display: none !important;
  visibility: hidden;
  pointer-events: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
  background: transparent !important;
  background-color: transparent !important;
}

.gw2d-booking-overlay.is-open {
  display: flex !important;
  visibility: visible;
  pointer-events: auto;
  background: transparent !important;
  background-color: transparent !important;
}

.gw2d-booking-overlay__backdrop {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  background: rgba(15, 23, 42, 0.55) !important;
  background-color: rgba(15, 23, 42, 0.55) !important;
}

.gw2d-booking-overlay__panel {
  position: relative;
  z-index: 1;
  flex: 0 1 auto;
  align-self: center;
  width: min(720px, calc(100vw - 32px));
  max-width: 100%;
  max-height: min(90vh, 760px);
  margin: auto;
  overflow: auto;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  padding: 24px 28px 22px;
  box-sizing: border-box;
}

.gw2d-booking-overlay__close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: transparent;
  color: #64748b;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.gw2d-booking-overlay__badge {
  display: inline-block;
  background: #0f766e;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 4px 10px;
  margin-bottom: 10px;
}

.gw2d-booking-overlay__header {
  margin-bottom: 4px;
}

.gw2d-booking-overlay__header h3 {
  margin: 0 0 4px;
  color: #0f172a;
  font-size: 1.35rem;
}

.gw2d-booking-overlay__subtitle,
.gw2d-booking-overlay__summary,
.gw2d-booking-overlay__info {
  color: #475569;
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 0 0 10px;
}

.gw2d-booking-overlay__summary {
  margin: 2px 0 10px;
  font-size: 0.84rem;
}

.gw2d-booking-overlay__errors {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 12px;
  font-size: 0.88rem;
}

.gw2d-booking-overlay__form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.gw2d-booking-overlay__dates,
.gw2d-booking-overlay__guests,
.gw2d-booking-overlay__contact {
  display: grid;
  gap: 10px 14px;
  margin-bottom: 4px;
}

.gw2d-booking-overlay__dates {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gw2d-booking-overlay__guests {
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
}

.gw2d-booking-overlay__contact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.gw2d-booking-overlay__contact .gw2d-field--name,
.gw2d-booking-overlay__contact .gw2d-field--message {
  grid-column: 1 / -1;
}

.gw2d-booking-overlay .gw2d-field {
  display: block;
  margin-bottom: 8px;
}

.gw2d-booking-overlay .gw2d-field span {
  display: block;
  margin-bottom: 4px;
  color: #334155;
  font-size: 0.84rem;
  font-weight: 600;
}

.gw2d-booking-overlay .gw2d-field span em {
  font-style: normal;
  font-weight: 500;
  color: #94a3b8;
}

.gw2d-booking-overlay .gw2d-field input,
.gw2d-booking-overlay .gw2d-field textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #dbe3ee;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.95rem;
  color: #0f172a;
  background: #fff;
}

/* Keep native date picker usable (value + calendar icon). */
.gw2d-booking-overlay input[type="date"],
.gw2d-booking-fallback-form input[type="date"],
.gw2d-booking-fallback-form input.gw2d-booking-date {
  min-height: 44px;
  line-height: 1.25;
  color: #0f172a !important;
  color-scheme: light;
  -webkit-appearance: auto;
  appearance: auto;
}

.gw2d-booking-overlay input[type="date"]::-webkit-calendar-picker-indicator,
.gw2d-booking-fallback-form input[type="date"]::-webkit-calendar-picker-indicator,
.gw2d-booking-fallback-form input.gw2d-booking-date::-webkit-calendar-picker-indicator {
  opacity: 1;
  cursor: pointer;
  display: block;
}

.gw2d-booking-overlay .gw2d-field textarea {
  min-height: 64px;
  resize: vertical;
}

.gw2d-booking-overlay .gw2d-field--consent {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 6px 0 10px;
}

.gw2d-booking-overlay .gw2d-field--consent input {
  width: auto;
  margin-top: 3px;
  flex-shrink: 0;
}

.gw2d-booking-overlay .gw2d-field--consent span {
  margin: 0;
  font-weight: 500;
  font-size: 0.84rem;
  line-height: 1.35;
  color: #475569;
}

.gw2d-booking-honeypot {
  position: absolute !important;
  left: -9999px !important;
  height: 0 !important;
  overflow: hidden !important;
}

.gw2d-booking-overlay__submit,
.botao-reserva {
  display: inline-block;
  border: 0;
  border-radius: 999px;
  background: #0f766e;
  color: #fff !important;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 12px 18px;
  cursor: pointer;
  text-decoration: none !important;
  text-align: center;
}

.gw2d-booking-overlay__back {
  display: inline-block;
  border: 0;
  background: transparent;
  color: #0f766e;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0 0 12px;
  cursor: pointer;
  text-align: left;
}

.gw2d-booking-overlay__back:hover {
  color: #0d9488;
  text-decoration: underline;
}

.gw2d-booking-overlay__units {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 4px 0 8px;
}

.gw2d-booking-overlay__unit {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #dbe3ee;
  border-radius: 12px;
  background: #fff;
  padding: 12px;
  cursor: pointer;
  text-align: left;
  color: #0f172a;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.gw2d-booking-overlay__unit:hover,
.gw2d-booking-overlay__unit:focus {
  border-color: #0f766e;
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
  outline: none;
}

.gw2d-booking-overlay__unit-media {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  border-radius: 10px;
  overflow: hidden;
  background: #e2e8f0;
}

.gw2d-booking-overlay__unit-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gw2d-booking-overlay__unit-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  min-width: 0;
  flex: 1;
}

.gw2d-booking-overlay__unit strong {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

.gw2d-booking-overlay__unit-meta {
  color: #64748b;
  font-size: 0.86rem;
  line-height: 1.35;
}

.gw2d-booking-overlay__unit-price {
  color: #0f766e;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.35;
}

.gw2d-booking-overlay__unit-cta {
  margin-top: 4px;
  color: #0f766e;
  font-size: 0.88rem;
  font-weight: 700;
}

.gw2d-booking-overlay__listing-wrap {
  margin: 0 0 14px;
}

.gw2d-booking-overlay__listing {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
  padding: 12px 14px;
}

.gw2d-booking-overlay__listing-title {
  margin: 0 0 8px;
  font-size: 0.98rem;
  font-weight: 700;
  color: #0f172a;
}

.gw2d-booking-overlay__listing-facts,
.gw2d-booking-overlay__listing-price,
.gw2d-booking-overlay__listing-schedule {
  margin: 0 0 4px;
  font-size: 0.82rem;
  color: #475569;
  line-height: 1.35;
}

.gw2d-booking-overlay__listing-price {
  color: #0f766e;
  font-weight: 600;
}

.gw2d-booking-overlay__listing .uo-amenity-row {
  margin: 6px 0 0;
  flex-wrap: wrap;
  gap: 6px;
}

.gw2d-booking-overlay__unit .uo-amenity-row {
  margin-top: 4px;
}

.gw2d-booking-overlay__info {
  margin-bottom: 8px;
}

.gw2d-booking-overlay__track {
  display: inline-flex;
  margin: 10px 10px 10px 0;
  border: 1px solid #0d9488;
  border-radius: 999px;
  padding: 10px 16px;
  color: #0d9488 !important;
  font-weight: 800;
  text-decoration: none;
}

.gw2d-booking-overlay__submit {
  width: 100%;
  margin-top: 2px;
  padding: 13px 18px;
}

.botao-reserva {
  margin-top: 10px;
  width: 100%;
  box-sizing: border-box;
}

.botao-reserva:hover,
.gw2d-booking-overlay__submit:hover {
  background: #0d9488;
  color: #fff !important;
}

body.gw2d-booking-overlay-open {
  overflow: hidden;
}

/* Sticky chrome must not sit on top of the booking dialog. */
body.gw2d-booking-overlay-open .uo-cta-bar,
body.gw2d-booking-overlay-open .uo-bottom-nav,
body:has(.gw2d-booking-overlay.is-open) .uo-cta-bar,
body:has(.gw2d-booking-overlay.is-open) .uo-bottom-nav {
  display: none !important;
}

.gw2d-booking-fallback,
.gw2d-booking {
  margin: 0 auto;
  padding: 0 0 2rem;
}

/* Full-page fallback (contato/reserva/%) — same visual language as the overlay. */
.gw2d-booking-fallback {
  max-width: 640px;
  margin: 1.5rem auto 2.5rem;
  padding: 1.5rem 1.35rem 1.75rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
  box-sizing: border-box;
}

.gw2d-booking-fallback h2 {
  margin: 0 0 0.35rem;
  color: #0f172a;
  font-size: 1.35rem;
  font-weight: 800;
  text-align: left;
  text-transform: none;
  letter-spacing: 0;
}

.gw2d-booking-fallback > p,
.gw2d-booking-fallback-form > p {
  margin: 0 0 1rem;
  color: #475569;
  font-size: 0.95rem;
}

.gw2d-booking-fallback-form .form-item {
  margin: 0 0 0.85rem;
}

.gw2d-booking-fallback-form label {
  display: block;
  margin-bottom: 0.35rem;
  color: #334155;
  font-size: 0.84rem;
  font-weight: 600;
}

.gw2d-booking-fallback-form input.form-text,
.gw2d-booking-fallback-form textarea.form-textarea,
.gw2d-booking-fallback-form input[type="text"],
.gw2d-booking-fallback-form input[type="email"],
.gw2d-booking-fallback-form input[type="tel"],
.gw2d-booking-fallback-form input[type="date"],
.gw2d-booking-fallback-form input[type="number"],
.gw2d-booking-fallback-form textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border: 1px solid #dbe3ee;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.95rem;
  color: #0f172a;
  background: #fff;
}

.gw2d-booking-fallback-form .form-type-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.gw2d-booking-fallback-form .form-type-checkbox input {
  width: auto;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.gw2d-booking-fallback-form .form-type-checkbox label {
  margin: 0;
  font-weight: 500;
  font-size: 0.84rem;
  line-height: 1.35;
  color: #475569;
}

.gw2d-booking-fallback-form .form-actions {
  margin: 1rem 0 0;
}

.gw2d-booking-fallback-form .form-submit,
.gw2d-booking-fallback-form input[type="submit"] {
  display: inline-block;
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 13px 18px;
  background: #00aac8;
  color: #fff !important;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
}

.gw2d-booking-fallback-form .form-submit:hover,
.gw2d-booking-fallback-form input[type="submit"]:hover {
  background: #0096b0;
}

.gw2d-booking__topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.gw2d-booking__topbar h1 {
  margin: 0;
  color: #0f172a;
  font-size: 1.55rem;
}

.gw2d-booking__filters,
.gw2d-booking__manual-block {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: end;
  margin-bottom: 1rem;
  padding: 14px 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}

.gw2d-booking__filters label,
.gw2d-booking__manual-block label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #334155;
}

.gw2d-booking__status {
  display: inline-block;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.78rem;
  font-weight: 700;
  background: #fff7ed;
  color: #c2410c;
}

.gw2d-booking__status--em_analise {
  background: #eff6ff;
  color: #1d4ed8;
}

.gw2d-booking__status--pre_aprovada {
  background: #ecfdf5;
  color: #047857;
}

.gw2d-booking__status--paga {
  background: #dcfce7;
  color: #166534;
}

.gw2d-booking__status--recusada,
.gw2d-booking__status--expirada,
.gw2d-booking__status--cancelada {
  background: #f1f5f9;
  color: #475569;
}

.gw2d-booking__detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 16px;
}

.gw2d-booking__detail-main,
.gw2d-booking__detail-side {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 18px;
}

.gw2d-booking__meta {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 8px 12px;
}

.gw2d-booking__meta dt {
  color: #64748b;
  font-weight: 700;
}

.gw2d-booking__meta dd {
  margin: 0;
  color: #0f172a;
}

.gw2d-booking__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gw2d-booking__btn {
  display: block;
  text-align: center;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 700;
  text-decoration: none;
  background: #eef6f6;
  color: #0f766e;
}

.gw2d-booking__btn--pre_aprovada {
  background: #0f766e;
  color: #fff;
}

.gw2d-booking__btn--recusada,
.gw2d-booking__btn--cancelada {
  background: #fee2e2;
  color: #b91c1c;
}

.gw2d-booking__events {
  list-style: none;
  margin: 0;
  padding: 0;
}

.gw2d-booking__events li {
  border-top: 1px solid #eef2f7;
  padding: 8px 0;
  font-size: 0.9rem;
  color: #334155;
}

.gw2d-booking__events time {
  display: block;
  color: #64748b;
  font-size: 0.8rem;
}

.gw2d-booking__config-links,
.gw2d-booking-config-link {
  margin: 0 0 1rem;
  font-size: 0.92rem;
}

.gw2d-crm__channel--reserva {
  background: #ecfdf5;
  color: #047857;
}

.gw2d-crm__stat--reserva .gw2d-crm__stat-value {
  color: #0f766e;
}

@media only screen and (max-width: 900px) {
  .gw2d-booking__detail-grid {
    grid-template-columns: 1fr;
  }
}

@media only screen and (max-width: 699px) {
  .gw2d-booking-overlay.is-open {
    align-items: flex-end;
    padding: 0;
  }

  .gw2d-booking-overlay__panel {
    width: 100%;
    max-width: 100%;
    max-height: 90vh;
    margin: 0;
    /* CTA/bottom-nav are hidden while overlay is open — no extra chrome gap. */
    padding: 18px 16px calc(16px + env(safe-area-inset-bottom, 0px));
    border-radius: 18px 18px 0 0;
  }

  .gw2d-booking-overlay__dates,
  .gw2d-booking-overlay__guests,
  .gw2d-booking-overlay__contact {
    grid-template-columns: 1fr;
  }

  .gw2d-booking-overlay__contact .gw2d-field--name,
  .gw2d-booking-overlay__contact .gw2d-field--message {
    grid-column: auto;
  }

  .gw2d-booking-overlay__submit {
    position: sticky;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 8px);
    z-index: 3;
    margin-top: 6px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
  }
}

/* Advertiser dashboard */
.gw2d-booking {
  color: #172033;
  font-size: 15px;
  line-height: 1.5;
}

.gw2d-booking h1,
.gw2d-booking h2,
.gw2d-booking p {
  overflow-wrap: anywhere;
}

.gw2d-booking h1 {
  margin: 3px 0 7px;
  color: #111827;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.12;
}

.gw2d-booking h2 {
  color: #172033;
  font-size: 20px;
  line-height: 1.25;
}

.gw2d-booking__eyebrow {
  display: block;
  color: #0f766e;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.gw2d-booking__topbar {
  margin-bottom: 24px;
}

.gw2d-booking__topbar > div:first-child {
  max-width: 680px;
}

.gw2d-booking__topbar p,
.gw2d-booking__settings-head p {
  margin: 0;
  color: #64748b;
  font-size: 15px;
}

.gw2d-booking__topbar-actions {
  display: flex;
  gap: 10px;
}

.gw2d-booking__primary-link,
.gw2d-booking__secondary-link,
.gw2d-booking__row-action {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  border-radius: 10px;
  padding: 9px 16px;
  font-weight: 800;
  text-decoration: none !important;
}

.gw2d-booking__primary-link {
  background: #0f766e;
  color: #fff !important;
  box-shadow: 0 5px 14px rgba(15, 118, 110, .18);
}

.gw2d-booking__primary-link:hover {
  background: #0d625c;
}

.gw2d-booking__secondary-link {
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #334155 !important;
}

.gw2d-booking__back {
  margin: 0 0 18px;
}

.gw2d-booking__back a {
  color: #475569;
  font-weight: 700;
  text-decoration: none;
}

.gw2d-booking__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.gw2d-booking__stats a {
  position: relative;
  display: flex;
  min-height: 116px;
  flex-direction: column;
  box-sizing: border-box;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
  padding: 17px 18px;
  color: #334155;
  text-decoration: none !important;
  box-shadow: 0 3px 12px rgba(15, 23, 42, .04);
  transition: transform .15s ease, box-shadow .15s ease;
}

.gw2d-booking__stats a:hover {
  transform: translateY(-2px);
  box-shadow: 0 9px 24px rgba(15, 23, 42, .09);
}

.gw2d-booking__stats span {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.gw2d-booking__stats strong {
  margin: 3px 0 1px;
  color: #0f172a;
  font-size: 30px;
  line-height: 1.15;
}

.gw2d-booking__stats a:first-child strong {
  color: #c2410c;
}

.gw2d-booking__stats small {
  color: #64748b;
  font-size: 13px;
}

.gw2d-booking__tabs {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 16px;
  scrollbar-width: thin;
}

.gw2d-booking__tabs a {
  flex: 0 0 auto;
  border-bottom: 3px solid transparent;
  padding: 10px 14px 9px;
  color: #64748b;
  font-weight: 700;
  text-decoration: none;
}

.gw2d-booking__tabs a:hover,
.gw2d-booking__tabs a.is-active {
  border-bottom-color: #0f766e;
  color: #0f766e;
}

.gw2d-booking__filters,
.gw2d-booking__agenda-filters {
  align-items: end;
  border-color: #e2e8f0;
  background: #f8fafc;
}

.gw2d-booking__filter-title {
  width: 100%;
  color: #172033;
  font-weight: 800;
}

.gw2d-booking__filters select,
.gw2d-booking__agenda-filters select,
.gw2d-booking__manual-block input {
  min-height: 42px;
  box-sizing: border-box;
  border: 1px solid #cbd5e1;
  border-radius: 9px;
  background: #fff;
  padding: 8px 34px 8px 11px;
  color: #172033;
  font-size: 14px;
}

.gw2d-booking__filters .form-submit,
.gw2d-booking__manual-block .form-submit {
  min-height: 42px;
  border: 0;
  border-radius: 9px;
  background: #0f766e;
  padding: 9px 18px;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.gw2d-booking__clear {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  color: #64748b;
  font-weight: 700;
}

.gw2d-booking__table-wrap {
  overflow-x: auto;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(15, 23, 42, .04);
}

.gw2d-booking__table {
  width: 100%;
  margin: 0 !important;
  border-collapse: collapse;
}

.gw2d-booking__table th {
  border: 0;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
  padding: 12px 14px;
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-align: left;
  text-transform: uppercase;
}

.gw2d-booking__table td {
  border: 0;
  border-bottom: 1px solid #eef2f7;
  padding: 15px 14px;
  color: #334155;
  vertical-align: middle;
}

.gw2d-booking__table tr:last-child td {
  border-bottom: 0;
}

.gw2d-booking__table tbody tr:hover {
  background: #f8fbfb;
}

.gw2d-booking__table small {
  color: #7c899b;
}

.gw2d-booking__row-action {
  min-height: 34px;
  border: 1px solid #b7ddd9;
  padding: 6px 11px;
  color: #0f766e !important;
  white-space: nowrap;
}

.gw2d-booking__request-cards {
  display: none;
}

.gw2d-booking__empty {
  border: 1px dashed #cbd5e1;
  border-radius: 14px;
  background: #f8fafc;
  padding: 48px 20px;
  text-align: center;
}

.gw2d-booking__empty > span {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #ccfbf1;
  color: #0f766e;
  font-size: 22px;
  font-weight: 800;
}

body.gw2d-area-interna #page .gw2d-booking__empty h2 {
  margin: 13px 0 5px;
  text-align: center !important;
}

.gw2d-booking__empty p {
  margin: 0;
  color: #64748b;
}

.gw2d-booking__config-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid #dbe6ea;
  border-radius: 14px;
  margin-top: 24px;
  background: #f4fbfb;
  padding: 16px 18px;
}

.gw2d-booking__config-links > span,
.gw2d-booking__config-links small {
  display: block;
}

.gw2d-booking__config-links small {
  color: #64748b;
}

.gw2d-booking__config-links > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gw2d-booking__config-links a {
  border: 1px solid #b7ddd9;
  border-radius: 999px;
  background: #fff;
  padding: 7px 12px;
  color: #0f766e;
  font-weight: 700;
  text-decoration: none;
}

.gw2d-booking__status {
  padding: 5px 10px;
  white-space: nowrap;
}

/* Reservation details */
.gw2d-booking__trip-summary {
  display: grid;
  grid-template-columns: 1.15fr auto 1.15fr 1fr 1fr 1fr;
  align-items: center;
  gap: 16px;
  border: 1px solid #dbe6ea;
  border-radius: 14px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, #f0fdfa, #fff);
  padding: 18px 20px;
}

.gw2d-booking__trip-summary > div:not(.gw2d-booking__trip-arrow) {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.gw2d-booking__trip-summary span {
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.gw2d-booking__trip-summary strong {
  color: #172033;
  font-size: 16px;
}

.gw2d-booking__trip-arrow {
  color: #0f766e;
  font-size: 22px;
}

.gw2d-booking__detail-grid {
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
}

.gw2d-booking__detail-main,
.gw2d-booking__detail-side {
  border-color: #e2e8f0;
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, .04);
}

.gw2d-booking__detail-main h2,
.gw2d-booking__detail-side h2 {
  margin-top: 0;
}

.gw2d-booking__meta {
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 0;
  margin-bottom: 20px;
}

.gw2d-booking__meta dt,
.gw2d-booking__meta dd {
  border-bottom: 1px solid #eef2f7;
  padding: 10px 0;
}

.gw2d-booking__meta dt {
  color: #64748b;
}

.gw2d-booking__contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  border-top: 1px solid #eef2f7;
  padding-top: 18px;
}

.gw2d-booking__contact-actions a {
  display: inline-flex;
  min-height: 39px;
  align-items: center;
  border: 1px solid #cbd5e1;
  border-radius: 9px;
  padding: 7px 12px;
  color: #334155;
  font-weight: 700;
  text-decoration: none;
}

.gw2d-booking__btn {
  border-radius: 9px;
  padding: 11px 14px;
}

.gw2d-booking__deadline {
  display: flex;
  flex-direction: column;
  border: 1px solid #fed7aa;
  border-radius: 11px;
  margin-bottom: 18px;
  background: #fff7ed;
  padding: 12px 14px;
}

.gw2d-booking__deadline span {
  color: #9a3412;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.gw2d-booking__deadline strong {
  color: #7c2d12;
  font-size: 18px;
}

.gw2d-booking__deadline small {
  margin-top: 3px;
  color: #9a3412;
  line-height: 1.35;
}

.gw2d-booking__muted {
  color: #64748b;
}

.gw2d-booking__history-title {
  border-top: 1px solid #e2e8f0;
  margin: 24px 0 8px !important;
  padding-top: 20px;
}

.gw2d-booking__events li {
  position: relative;
  display: flex;
  gap: 10px;
  border: 0;
  padding: 9px 0;
}

.gw2d-booking__event-dot {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border: 3px solid #ccfbf1;
  border-radius: 50%;
  margin-top: 4px;
  background: #0f766e;
}

.gw2d-booking__events strong {
  display: block;
  color: #334155;
  font-size: 13px;
}

.gw2d-booking__calendar-day.is-busy {
  cursor: pointer;
}

.gw2d-booking__calendar-day.is-busy:hover {
  background: #f0fdfa;
}

.gw2d-booking__calendar-day.is-selected {
  box-shadow: inset 0 0 0 2px #0f766e;
  background: #f0fdfa;
}

.gw2d-booking__calendar-day.is-selected > time {
  border-radius: 50%;
  background: #0f766e;
  color: #fff;
}

.gw2d-booking__flash {
  border: 1px solid #99f6e4;
  border-radius: 12px;
  margin-bottom: 14px;
  background: #f0fdfa;
  padding: 12px 14px;
  color: #0f766e;
  font-size: 14px;
  font-weight: 700;
}

.gw2d-booking__flash.is-error {
  border-color: #fecaca;
  background: #fef2f2;
  color: #b91c1c;
}

.gw2d-booking__row-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.gw2d-booking__row-action--agenda {
  border-color: #cbd5e1;
  color: #334155 !important;
}

body.gw2d-booking-agenda-modal-open {
  overflow: hidden;
}

.gw2d-booking-agenda-modal[hidden] {
  display: none !important;
}

.gw2d-booking-agenda-modal {
  position: fixed;
  z-index: 1200;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.gw2d-booking-agenda-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .45);
}

.gw2d-booking-agenda-modal__dialog {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(520px, calc(100vw - 24px));
  max-height: min(88vh, 720px);
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(15, 23, 42, .22);
}

.gw2d-booking-agenda-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #eef2f7;
  padding: 18px 18px 14px;
}

.gw2d-booking-agenda-modal__head h2 {
  margin: 2px 0 0;
  color: #0f172a;
  font-size: 22px;
  line-height: 1.2;
}

.gw2d-booking-agenda-modal__close {
  display: inline-flex;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #fff;
  color: #334155;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.gw2d-booking-agenda-modal__body {
  overflow: auto;
  padding: 16px 18px 18px;
}

.gw2d-booking-agenda-modal__foot {
  border-top: 1px solid #eef2f7;
  padding: 0;
}

.gw2d-booking-agenda-modal__loading,
.gw2d-booking-agenda-modal__empty {
  margin: 8px 0;
  color: #64748b;
  font-size: 14px;
}

.gw2d-booking-agenda-modal__body .is-error {
  color: #b91c1c;
  font-weight: 700;
}

.gw2d-booking-agenda-modal__item {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  margin-bottom: 12px;
  background: #fff;
  padding: 14px;
}

.gw2d-booking-agenda-modal__item:last-child {
  margin-bottom: 0;
}

.gw2d-booking-agenda-modal__item-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.gw2d-booking-agenda-modal__item-head strong {
  color: #0f172a;
  font-size: 16px;
}

.gw2d-booking-agenda-modal__badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.gw2d-booking-agenda-modal__badge.is-booking {
  background: #dbeafe;
  color: #1d4ed8;
}

.gw2d-booking-agenda-modal__badge.is-block {
  background: #e2e8f0;
  color: #475569;
}

.gw2d-booking-agenda-modal__meta {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 6px 12px;
  margin: 0 0 12px;
}

.gw2d-booking-agenda-modal__meta dt {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.gw2d-booking-agenda-modal__meta dd {
  margin: 0;
  color: #0f172a;
  font-size: 14px;
  font-weight: 600;
}

.gw2d-booking-agenda-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gw2d-booking-agenda-modal__actions .gw2d-booking__primary-link,
.gw2d-booking-agenda-modal__unlock {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.gw2d-booking__calendar-event {
  pointer-events: none;
}

/* Availability calendar */
.gw2d-booking__agenda-filters {
  display: flex;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  margin-bottom: 16px;
  padding: 12px 14px;
}

.gw2d-booking__agenda-filters label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #475569;
  font-size: 12px;
  font-weight: 800;
}

.gw2d-booking__calendar-card {
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(15, 23, 42, .05);
}

.gw2d-booking__calendar-toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 18px;
}

.gw2d-booking__calendar-toolbar h2 {
  min-width: 220px;
  margin: 0;
  text-align: center;
  text-transform: capitalize;
}

.gw2d-booking__month-nav {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid #cbd5e1;
  border-radius: 50%;
  color: #334155;
  font-size: 26px;
  text-decoration: none;
}

.gw2d-booking__legend {
  display: flex;
  justify-content: center;
  gap: 20px;
  border-top: 1px solid #eef2f7;
  padding: 10px 16px 13px;
  color: #64748b;
  font-size: 12px;
}

.gw2d-booking__legend span::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-right: 6px;
}

.gw2d-booking__legend .is-request::before,
.gw2d-booking__calendar-event.is-request {
  background: #dbeafe;
  color: #1d4ed8;
}

.gw2d-booking__legend .is-approved::before,
.gw2d-booking__calendar-event.is-approved {
  background: #ccfbf1;
  color: #0f766e;
}

.gw2d-booking__legend .is-blocked::before,
.gw2d-booking__calendar-event.is-blocked {
  background: #e2e8f0;
  color: #475569;
}

.gw2d-booking__calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border-top: 1px solid #e2e8f0;
}

.gw2d-booking__weekday {
  background: #f8fafc;
  padding: 9px 6px;
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.gw2d-booking__calendar-day {
  min-width: 0;
  min-height: 112px;
  box-sizing: border-box;
  border-top: 1px solid #eef2f7;
  border-right: 1px solid #eef2f7;
  background: #fff;
  padding: 7px;
}

.gw2d-booking__calendar-day:nth-child(7n) {
  border-right: 0;
}

.gw2d-booking__calendar-day > time {
  display: inline-flex;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  color: #475569;
  font-size: 12px;
  font-weight: 800;
}

.gw2d-booking__calendar-day.is-today > time {
  border-radius: 50%;
  background: #0f766e;
  color: #fff;
}

.gw2d-booking__calendar-day.is-outside {
  background: #f8fafc;
}

.gw2d-booking__day-events {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
  margin-top: 4px;
}

.gw2d-booking__calendar-event {
  display: block;
  overflow: hidden;
  border-radius: 5px;
  padding: 4px 5px;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gw2d-booking__manual-card {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  margin-top: 20px;
  background: #fff;
  padding: 20px;
}

.gw2d-booking__manual-card h2 {
  margin: 3px 0;
}

.gw2d-booking__manual-card p {
  margin: 0;
  color: #64748b;
}

.gw2d-booking__manual-block {
  margin: 0;
}

/* Settings */
.gw2d-booking--settings form,
form .gw2d-booking--settings {
  min-width: 0;
}

.gw2d-booking__settings-head {
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 20px;
  padding-bottom: 18px;
}

.gw2d-booking--settings .gw2d-booking__availability {
  border: 1px solid #b7ddd9;
  border-radius: 14px;
  margin-bottom: 18px;
  background: #f0fdfa;
  padding: 15px 18px;
}

.gw2d-booking--settings .gw2d-booking__availability .form-item {
  margin: 0;
}

.gw2d-booking--settings .gw2d-booking__availability label {
  color: #134e4a;
  font-size: 16px;
  font-weight: 800;
}

.gw2d-booking--settings fieldset.gw2d-booking__settings-card {
  display: inline-block;
  width: calc(50% - 11px);
  min-width: 0;
  vertical-align: top;
  box-sizing: border-box;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  margin: 0 16px 16px 0;
  background: #fff;
  padding: 12px 18px 18px;
}

.gw2d-booking--settings fieldset.gw2d-booking__settings-card:nth-of-type(even),
.gw2d-booking--settings fieldset.gw2d-booking__settings-card--wide {
  margin-right: 0;
}

.gw2d-booking--settings fieldset.gw2d-booking__settings-card--wide {
  width: 100%;
}

.gw2d-booking--settings fieldset legend {
  padding: 0 8px;
  color: #172033;
  font-size: 18px;
  font-weight: 800;
}

.gw2d-booking--settings fieldset > .fieldset-wrapper > .fieldset-description {
  margin-bottom: 14px;
  color: #64748b;
  font-size: 13px;
}

.gw2d-booking--settings fieldset .form-item {
  margin: 0 0 14px;
}

.gw2d-booking--settings fieldset label {
  color: #334155;
  font-weight: 700;
}

.gw2d-booking--settings input.form-text,
.gw2d-booking--settings textarea {
  width: 100%;
  min-height: 42px;
  box-sizing: border-box;
  border: 1px solid #cbd5e1;
  border-radius: 9px;
  padding: 9px 11px;
  color: #172033;
  font-size: 14px;
}

.gw2d-booking__settings-actions {
  position: sticky;
  z-index: 5;
  bottom: 0;
  display: flex;
  justify-content: flex-end;
  border-top: 1px solid #e2e8f0;
  background: rgba(255, 255, 255, .96);
  padding: 14px 0;
}

.gw2d-booking__settings-actions .form-submit {
  min-height: 44px;
  border: 0;
  border-radius: 9px;
  background: #0f766e;
  padding: 10px 20px;
  color: #fff;
  font-weight: 800;
}

@media only screen and (max-width: 900px) {
  .gw2d-booking__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gw2d-booking__trip-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gw2d-booking__trip-arrow {
    display: none;
  }

  .gw2d-booking__detail-grid,
  .gw2d-booking__manual-card {
    grid-template-columns: 1fr;
  }
}

@media only screen and (max-width: 720px) {
  .gw2d-booking {
    padding-top: 8px;
  }

  .gw2d-booking__topbar {
    align-items: flex-start;
  }

  .gw2d-booking__topbar-actions,
  .gw2d-booking__primary-link {
    width: 100%;
  }

  .gw2d-booking__stats {
    gap: 9px;
  }

  .gw2d-booking__stats a {
    min-height: 102px;
    padding: 14px;
  }

  .gw2d-booking__table-wrap {
    display: none;
  }

  .gw2d-booking__request-cards {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .gw2d-booking__request-card {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 11px;
    border: 1px solid #e2e8f0;
    border-radius: 13px;
    background: #fff;
    padding: 14px;
  }

  .gw2d-booking__avatar {
    display: flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #ccfbf1;
    color: #0f766e;
    font-size: 17px;
    font-weight: 800;
  }

  .gw2d-booking__request-main {
    display: flex;
    min-width: 0;
    flex-direction: column;
    color: #64748b;
  }

  .gw2d-booking__request-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }

  .gw2d-booking__request-head strong {
    color: #172033;
  }

  .gw2d-booking__request-period {
    color: #334155;
    font-weight: 700;
  }

  .gw2d-booking__request-main small {
    margin-top: 4px;
  }

  .gw2d-booking__request-card > .gw2d-booking__row-actions {
    display: grid;
    grid-column: 1 / -1;
    gap: 8px;
  }

  .gw2d-booking__request-card > .gw2d-booking__row-actions .gw2d-booking__row-action {
    width: 100%;
  }

  .gw2d-booking-agenda-modal__meta {
    grid-template-columns: 1fr;
  }

  .gw2d-booking-agenda-modal__meta dt {
    margin-top: 4px;
  }

  .gw2d-booking__request-card > .gw2d-booking__row-action {
    grid-column: 1 / -1;
  }

  .gw2d-booking__config-links {
    align-items: flex-start;
    flex-direction: column;
  }

  .gw2d-booking__trip-summary {
    gap: 13px;
    padding: 15px;
  }

  .gw2d-booking__meta {
    grid-template-columns: 1fr;
  }

  .gw2d-booking__meta dt {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .gw2d-booking__meta dd {
    padding-top: 2px;
  }

  .gw2d-booking__calendar-card {
    overflow-x: auto;
  }

  .gw2d-booking__calendar-toolbar,
  .gw2d-booking__legend {
    min-width: 650px;
  }

  .gw2d-booking__calendar {
    width: 650px;
  }

  .gw2d-booking__calendar-day {
    min-height: 96px;
  }

  .gw2d-booking--settings fieldset.gw2d-booking__settings-card {
    width: 100%;
    margin-right: 0;
  }

  .gw2d-booking__filters label,
  .gw2d-booking__filters select,
  .gw2d-booking__filters .form-submit {
    width: 100%;
  }
}

/* Final contrast and alignment pass. */
body.gw2d-area-interna .gw2d-booking h1,
body.gw2d-area-interna .gw2d-booking h2,
body.gw2d-area-interna .gw2d-booking__detail-main h2,
body.gw2d-area-interna .gw2d-booking__detail-side h2 {
  text-align: left !important;
}

body.gw2d-area-interna .gw2d-booking__primary-link,
body.gw2d-area-interna .gw2d-booking__primary-link:visited,
body.gw2d-area-interna .gw2d-booking__primary-link:hover,
body.gw2d-area-interna .gw2d-booking__primary-link:focus,
body.gw2d-area-interna .gw2d-booking__btn--pre_aprovada,
body.gw2d-area-interna .gw2d-booking__btn--pre_aprovada:visited {
  background: #0f766e;
  color: #fff !important;
}

body.gw2d-area-interna .gw2d-booking__primary-link:hover,
body.gw2d-area-interna .gw2d-booking__primary-link:focus {
  background: #0d625c;
}

body.gw2d-area-interna .gw2d-booking__contact-actions a:hover,
body.gw2d-area-interna .gw2d-booking__secondary-link:hover,
body.gw2d-area-interna .gw2d-booking__row-action:hover {
  border-color: #0f766e;
  background: #f0fdfa;
  color: #0f766e !important;
}

body.gw2d-area-interna .gw2d-booking__contact-actions a[href*="wa.me"],
body.gw2d-area-interna .gw2d-booking__contact-actions a[href*="wa.me"]:visited,
body.gw2d-area-interna .gw2d-booking__contact-actions a[href*="wa.me"]:hover {
  border-color: #25d366;
  background: #25d366;
  color: #fff !important;
}

/* Guest (tourist) booking list — cards visible on all viewports */
.gw2d-booking--guest-list .gw2d-booking__request-cards--guest {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gw2d-booking--guest-list .gw2d-booking__request-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  border: 1px solid #e2e8f0;
  border-radius: 13px;
  background: #fff;
  padding: 14px;
}

.gw2d-booking--guest-list .gw2d-booking__avatar {
  display: flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #ccfbf1;
  color: #0f766e;
  font-size: 17px;
  font-weight: 800;
}

.gw2d-booking--guest-list .gw2d-booking__request-main {
  display: flex;
  min-width: 0;
  flex-direction: column;
  color: #64748b;
}

.gw2d-booking--guest-list .gw2d-booking__request-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.gw2d-booking--guest-list .gw2d-booking__request-head strong {
  color: #172033;
}

.gw2d-booking--guest-detail .gw2d-booking__muted {
  margin-top: 12px;
  color: #64748b;
  font-size: 0.92em;
}
