.gmbc-booking {
  --gmbc-bg: #ffffff;
  --gmbc-text: #102244;
  --gmbc-muted: rgba(16, 34, 68, .72);
  --gmbc-border: rgba(16, 34, 68, .16);
  --gmbc-accent: #102244;
  --gmbc-accent-dark: #0b1830;
  --gmbc-soft: #f7faff;
  --gmbc-soft-blue: #dcecff;
  --gmbc-calendar-bg: #fbfdff;
  --gmbc-free: #0ea5a4;
  --gmbc-free-bg: #ecfeff;
  --gmbc-busy: #d1d9e6;
  --gmbc-busy-bg: #fcfcfd;

  width: 100%;
  color: var(--gmbc-text);
  font-family: "DM Sans", Arial, sans-serif;
}

.gmbc-booking *,
.gmbc-booking input,
.gmbc-booking button,
.gmbc-booking select,
.gmbc-booking textarea {
  font-family: "DM Sans", Arial, sans-serif;
  box-sizing: border-box;
}

.gmbc-card {
  max-width: 960px;
  margin: 0 auto;
  padding: 36px;
  border: 1px solid var(--gmbc-border);
  border-radius: 28px;
  background: var(--gmbc-bg);
  box-shadow: 0 20px 60px rgba(16, 34, 68, .10);
  color: var(--gmbc-text);
}

.gmbc-header {
  margin-bottom: 26px;
}

.gmbc-kicker {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gmbc-accent);
}

.gmbc-header h2 {
  margin: 0 0 12px;
  font-family: "Times New Roman", Times, serif;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
  color: var(--gmbc-text);
}

.gmbc-header p {
  margin: 0;
  color: var(--gmbc-muted);
  font-size: 16px;
  line-height: 1.6;
}

.gmbc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.gmbc-form label span {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  font-size: 14px;
  color: var(--gmbc-text);
}

.gmbc-form input[type="email"],
.gmbc-form input[type="date"] {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--gmbc-border);
  border-radius: 14px;
  padding: 11px 14px;
  background: #ffffff;
  color: var(--gmbc-text);
  font-size: 15px;
  outline: none;
}

.gmbc-form input[type="email"]:focus,
.gmbc-form input[type="date"]:focus {
  border-color: var(--gmbc-accent);
  box-shadow: 0 0 0 4px rgba(16, 34, 68, .10);
  background: #ffffff;
}

.gmbc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.gmbc-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border: 1px solid var(--gmbc-accent);
  border-radius: 999px;
  padding: 0 24px;
  background: var(--gmbc-accent);
  color: #ffffff;
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease, opacity .18s ease;
}

.gmbc-button:hover {
  transform: translateY(-1px);
  background: var(--gmbc-soft-blue);
  color: var(--gmbc-accent);
}

.gmbc-button:disabled {
  opacity: .45;
  cursor: not-allowed;
  transform: none;
}

.gmbc-button-confirm {
  background: #ffffff;
  color: var(--gmbc-accent);
}

.gmbc-button-confirm:not(:disabled):hover {
  background: var(--gmbc-accent);
  color: #ffffff;
}

.gmbc-message {
  margin-top: 16px;
  min-height: 22px;
  color: var(--gmbc-muted);
  font-size: 15px;
  font-weight: 600;
}

.gmbc-message-success {
  color: #047857;
}

.gmbc-message-error {
  color: #b91c1c;
}

.gmbc-message-info {
  color: var(--gmbc-accent);
}

.gmbc-calendar-wrap {
  margin-top: 26px;
}

.gmbc-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: 20px;
  color: var(--gmbc-muted);
  font-size: 13px;
  font-weight: 700;
}

.gmbc-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.gmbc-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.gmbc-dot-free {
  background: var(--gmbc-free);
}

.gmbc-dot-busy {
  background: var(--gmbc-busy);
}

.gmbc-dot-muted {
  background: rgba(16, 34, 68, .28);
}

.gmbc-month {
  margin-top: 24px;
}

.gmbc-month-title {
  margin: 0 0 14px;
  font-family: "Times New Roman", Times, serif;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.05;
  color: var(--gmbc-text);
  text-transform: capitalize;
}

.gmbc-weekdays,
.gmbc-calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}

.gmbc-weekdays {
  margin-bottom: 10px;
}

.gmbc-weekdays span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border-radius: 12px;
  background: #f3f8ff;
  color: rgba(16, 34, 68, .75);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.gmbc-calendar {
  padding: 18px;
  border: 1px solid rgba(16, 34, 68, .08);
  border-radius: 24px;
  background: var(--gmbc-calendar-bg);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .8),
    0 12px 40px rgba(16, 34, 68, .06);
}

.gmbc-day {
  position: relative;
  min-height: 88px;
  border: 1px solid rgba(16, 34, 68, .08);
  border-radius: 18px;
  background: #ffffff;
  color: var(--gmbc-text);
  cursor: pointer;
  overflow: hidden;
  text-align: left;
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease,
    background .18s ease;
}

.gmbc-day strong {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
}

.gmbc-day span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  font-size: 11px;
  font-weight: 700;
  opacity: .78;
}

.gmbc-day::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 4px;
  background: transparent;
  transition: background .18s ease;
}

.gmbc-day.is-free {
  background: #ffffff;
  color: var(--gmbc-text);
}

.gmbc-day.is-free::after {
  background: var(--gmbc-free);
}

.gmbc-day.is-free:hover {
  transform: translateY(-3px);
  border-color: rgba(16, 34, 68, .16);
  box-shadow: 0 18px 40px rgba(16, 34, 68, .12);
}

.gmbc-day.is-busy {
  background: var(--gmbc-busy-bg);
  color: rgba(16, 34, 68, .42);
  cursor: not-allowed;
}

.gmbc-day.is-busy::after {
  background: var(--gmbc-busy);
}

.gmbc-day.is-muted {
  background: transparent;
  border-style: dashed;
  color: rgba(16, 34, 68, .20);
  cursor: default;
}

.gmbc-day.is-muted::after {
  display: none;
}

.gmbc-day:disabled {
  pointer-events: none;
}

.gmbc-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.gmbc-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 34, 68, .55);
  backdrop-filter: blur(5px);
}

.gmbc-modal-card {
  position: relative;
  width: min(560px, 100%);
  max-height: 85vh;
  overflow: auto;
  padding: 34px;
  border-radius: 32px;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .55);
  box-shadow:
    0 30px 100px rgba(16, 34, 68, .22),
    inset 0 1px 0 rgba(255, 255, 255, .7);
}

.gmbc-modal-kicker {
  margin: 0 0 10px;
  color: var(--gmbc-accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.gmbc-modal-card h3 {
  margin: 0 0 24px;
  font-family: "Times New Roman", Times, serif;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.02;
  color: var(--gmbc-text);
  text-transform: capitalize;
}

.gmbc-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(16, 34, 68, .08);
  border-radius: 999px;
  background: rgba(255, 255, 255, .75);
  backdrop-filter: blur(8px);
  color: var(--gmbc-accent);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.gmbc-modal-slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(135px, 1fr));
  gap: 10px;
}

.gmbc-slot {
  border: 1px solid var(--gmbc-border);
  border-radius: 14px;
  background: var(--gmbc-soft);
  color: var(--gmbc-accent);
  padding: 13px 14px;
  cursor: pointer;
  font-weight: 800;
  transition: background .18s ease, border-color .18s ease, transform .18s ease, color .18s ease;
}

.gmbc-slot:hover,
.gmbc-slot.is-selected {
  border-color: var(--gmbc-accent);
  background: var(--gmbc-accent);
  color: #ffffff;
  transform: translateY(-1px);
}

.gmbc-empty {
  margin: 0;
  color: var(--gmbc-muted);
}

.entry-title,
.page-title {
  display: none !important;
}

@media (max-width: 760px) {
  .gmbc-card {
    padding: 24px;
    border-radius: 22px;
  }

  .gmbc-grid {
    grid-template-columns: 1fr;
  }

  .gmbc-actions {
    flex-direction: column;
  }

  .gmbc-button {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .gmbc-weekdays,
  .gmbc-calendar {
    gap: 5px;
  }

  .gmbc-calendar {
    padding: 10px;
    border-radius: 18px;
  }

  .gmbc-weekdays span {
    min-height: 30px;
    border-radius: 8px;
    font-size: 10px;
  }

  .gmbc-day {
    min-height: 54px;
    border-radius: 10px;
  }

  .gmbc-day strong {
    top: 8px;
    left: 8px;
    font-size: 14px;
  }

  .gmbc-day span {
    left: 8px;
    bottom: 8px;
    font-size: 9px;
  }

  .gmbc-modal-card {
    padding: 24px;
    border-radius: 22px;
  }
}