.wa-booking-visual {
  display: grid;
  justify-items: center;
  gap: 14px;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  padding: clamp(18px, 4vw, 34px);
  border: 1px solid #e1ebe4;
  border-radius: 28px;
  background:
    radial-gradient(circle at 12% 14%, rgba(67, 157, 117, .13), transparent 34%),
    linear-gradient(145deg, #f5faf6, #edf4ef);
  font-family: Arial, Helvetica, sans-serif;
}

.wa-booking-phone {
  width: min(100%, 300px);
  aspect-ratio: .52;
  padding: 8px;
  border: 1px solid #1c302c;
  border-radius: 42px;
  background: #15231f;
  box-shadow: 0 22px 48px rgba(17, 46, 34, .2), 0 3px 8px rgba(17, 46, 34, .12);
  transform: none;
}

.wa-booking-screen {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 34px;
  background: #efeae2;
  color: #1d2925;
}

.wa-booking-status {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 27px;
  padding: 2px 17px 0;
  background: #075e54;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
}

.wa-booking-header {
  flex: none;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 10px;
  min-height: 62px;
  padding: 8px 15px;
  background: #075e54;
  color: #fff;
}

.wa-booking-brand { width: 31px; height: 31px; color: #25d366; }
.wa-booking-header strong,
.wa-booking-header small { display: block; }
.wa-booking-header strong { font-size: 14px; line-height: 1.25; }
.wa-booking-header small { margin-top: 2px; color: rgba(255,255,255,.78); font-size: 11px; line-height: 1.25; }
.wa-booking-more { align-self: start; margin-top: 2px; color: rgba(255,255,255,.88); font-size: 20px; line-height: 1; text-align: center; }

.wa-booking-messages {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-height: 0;
  overflow: hidden;
  padding: 13px 10px 11px;
  background-color: #efeae2;
  background-image: radial-gradient(rgba(56, 91, 70, .07) .8px, transparent .8px);
  background-size: 16px 16px;
}

.wa-booking-date {
  align-self: center;
  margin: 0 0 3px;
  padding: 5px 12px;
  border: 1px solid rgba(54, 73, 63, .08);
  border-radius: 999px;
  background: #fffaf2;
  color: #6c766f;
  font-size: 10px;
  line-height: 1;
}

.wa-booking-bubble {
  position: relative;
  max-width: 89%;
  padding: 8px 10px 19px;
  border: 1px solid rgba(27, 51, 40, .06);
  border-radius: 11px;
  box-shadow: 0 1px 1px rgba(24, 42, 33, .08);
  font-size: 12px;
  line-height: 1.38;
}

.wa-booking-bubble p { margin: 0; overflow-wrap: anywhere; }
.wa-booking-bubble small { display: block; margin-bottom: 3px; color: #08705c; font-size: 10px; font-weight: 700; }
.wa-booking-bubble time { position: absolute; right: 8px; bottom: 4px; color: #75817a; font-size: 9px; line-height: 1; }
.wa-booking-bubble--patient { align-self: flex-end; border-top-right-radius: 3px; background: #d9fdd3; }
.wa-booking-bubble--mia { align-self: flex-start; border-top-left-radius: 3px; background: #fff; }

.wa-booking-compose {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  margin: 0;
  padding: 5px 8px 6px 14px;
  background: #f7f5f0;
  color: #86918b;
  font-size: 12px;
}

.wa-booking-compose span { flex: 1; padding: 10px 12px; border-radius: 20px; background: #fff; }
.wa-booking-compose i { display: grid; place-items: center; width: 30px; height: 30px; margin-left: 7px; border-radius: 50%; background: #075e54; color: #fff; font-size: 13px; font-style: normal; }
.wa-booking-visual figcaption { color: #52655b; font-size: 13px; line-height: 1.5; text-align: center; }

@media (max-width: 640px) {
  .wa-booking-visual { max-width: 390px; padding: 18px 14px; border-radius: 22px; }
  .wa-booking-phone { width: min(100%, 284px); }
}
