/* MangoDiv Booking. Colours and fonts come from the Elementor kit variables; the value after each comma is the
   Developer Guide fallback. The calendar, weekday row, day circles and time buttons are the approved mockup's (contact page). */
.mdb { --ink: var(--heading, #0B0B0A); --mango: var(--brand-primary, #F15A24); --mango-dk: var(--accent-hover, #DC4E1C); --mango-tint: var(--accent-tint, #FDEBE3); --mango-deep: var(--accent-text, #A93A12); --graphite: var(--body-text, #4A4A48); --mist: var(--surface, #F4F4F2); --mdb-line: var(--line, #E2E2DE); --mdb-error: var(--error, #C0362C);
  font-family: var(--font-body, 'Instrument Sans'), system-ui, sans-serif; font-size: 16px; line-height: 1.5; color: var(--ink); width: 100%; min-height: 420px; }
.mdb *, .mdb *::before, .mdb *::after { box-sizing: border-box; }
.mdb p, .mdb label { margin: 0; padding: 0; }
.mdb label { display: block; line-height: inherit; }
.mdb [hidden] { display: none !important; }
.mdb button, .mdb button:hover, .mdb button:focus { background: none; border: 0; border-radius: 0; color: inherit; font: inherit; padding: 0; text-align: center; white-space: normal; text-decoration: none; }
.mdb button { cursor: pointer; transition: none; }
.mdb :focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.mdb.is-loading .mdb-cal, .mdb.is-loading .mdb-slots { opacity: .45; pointer-events: none; }
/* Month */
.mdb .mdb-cal-h { display: flex; justify-content: space-between; align-items: center; font-weight: 600; margin-bottom: 16px; min-height: 36px; }
.mdb .mdb-nav { display: inline-flex; gap: 8px; }
.mdb .mdb-arrow, .mdb .mdb-arrow:hover, .mdb .mdb-arrow:focus { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid var(--mdb-line); border-radius: 50%; background: #fff; color: var(--ink); }
.mdb .mdb-arrow::before { content: ""; width: 16px; height: 16px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 6l-6 6 6 6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 6l-6 6 6 6'/%3E%3C/svg%3E") center / contain no-repeat; }
.mdb .mdb-next::before { transform: rotate(180deg); }
.mdb .mdb-arrow:hover:not(:disabled) { border-color: var(--ink); }
.mdb .mdb-arrow:disabled { opacity: .35; cursor: default; }
.mdb .mdb-cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; text-align: center; font-size: 14px; transition: opacity .2s; }
.mdb .mdb-wd { display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; padding-bottom: 6px; color: var(--graphite); }
.mdb .mdb-day, .mdb .mdb-day:hover, .mdb .mdb-day:focus { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; width: 100%; border-radius: 50%; color: var(--graphite); font-size: 14px; }
.mdb .mdb-day:disabled { cursor: default; }
.mdb .mdb-day.is-av, .mdb .mdb-day.is-av:focus { background: var(--mango-tint); color: var(--mango-deep); font-weight: 600; transition: background-color .2s, color .2s, box-shadow .2s; }
.mdb .mdb-day.is-av:hover { background: var(--mango-tint); color: var(--mango-deep); box-shadow: inset 0 0 0 1.5px var(--mango-deep); }
.mdb .mdb-day.is-sel, .mdb .mdb-day.is-sel:hover, .mdb .mdb-day.is-sel:focus { background: var(--ink); color: #fff; font-weight: 600; box-shadow: none; }
/* Times */
.mdb .mdb-slots-h { font-size: 14px; font-weight: 600; margin: 24px 0 10px; }
.mdb .mdb-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; transition: opacity .2s; }
.mdb .mdb-slot, .mdb .mdb-slot:focus { display: flex; align-items: center; justify-content: center; min-height: 44px; border: 1.5px solid var(--mdb-line); border-radius: 12px; background: #fff; font-weight: 600; font-size: 14px; color: var(--ink); transition: border-color .2s, background-color .2s, color .2s; }
.mdb .mdb-slot:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.mdb .mdb-note { margin-top: 14px; font-size: 13px; line-height: 1.5; color: var(--graphite); }
/* Details */
.mdb .mdb-form { display: flex; flex-direction: column; gap: 16px; margin: 0; }
.mdb .mdb-chosen { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 14px 16px; border-radius: 14px; background: var(--mist); }
.mdb .mdb-chosen-t { font-weight: 600; font-size: 15px; }
.mdb .mdb-link, .mdb .mdb-link:hover, .mdb .mdb-link:focus { font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.mdb .mdb-link:hover { color: var(--mango-deep); }
.mdb .mdb-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.mdb .mdb-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.mdb .mdb-field label { font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--ink); }
.mdb .mdb-req { color: var(--mango-deep); }
.mdb .mdb-opt { font-weight: 400; color: var(--graphite); }
.mdb .mdb-input { width: 100%; height: 44px; padding: 0 16px; background: #fff; border: 1px solid var(--mdb-line); border-radius: 14px; color: var(--ink); font: 400 16px/1.4 var(--font-body, 'Instrument Sans'), system-ui, sans-serif; transition: border-color .2s, box-shadow .2s; box-shadow: none; }
.mdb textarea.mdb-input { height: auto; min-height: 96px; padding: 12px 16px; resize: vertical; }
.mdb .mdb-input:hover { border-color: var(--graphite); }
.mdb .mdb-input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--mango-tint); }
.mdb .mdb-error { display: none; color: var(--mdb-error); font-size: 14px; line-height: 1.5; }
.mdb .mdb-field.has-error .mdb-input { border-color: var(--mdb-error); }
.mdb .mdb-field.has-error .mdb-error { display: block; }
.mdb .mdb-form-error:not(:empty) { display: block; }
.mdb .mdb-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.mdb .mdb-btn, .mdb .mdb-btn:focus { display: inline-flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 0 8px 0 26px; border-radius: 999px; background: var(--mango); color: #fff; font-weight: 600; font-size: 16px; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.mdb .mdb-btn:hover { background: var(--mango-dk); color: #fff; }
.mdb .mdb-btn:disabled { opacity: .6; cursor: default; }
.mdb .mdb-chip { flex: 0 0 36px; width: 36px; height: 36px; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F15A24' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .45s cubic-bezier(.34,1.56,.64,1); }
.mdb .mdb-btn:hover:not(:disabled) .mdb-chip { transform: scale(1.1); }
.mdb .mdb-btn-line, .mdb .mdb-btn-line:focus { justify-content: center; min-height: 44px; padding: 0 20px; background: transparent; border: 1.5px solid var(--ink); color: var(--ink); font-size: 15px; }
.mdb .mdb-btn-line:hover { background: var(--ink); color: #fff; }
/* Confirmation */
.mdb .mdb-done { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; outline: none; }
.mdb .mdb-tick { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: var(--mango-tint); margin-bottom: 6px; }
.mdb .mdb-tick::before { content: ""; width: 22px; height: 22px; background: var(--mango-deep); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / contain no-repeat; }
.mdb .mdb-done-t { font-family: var(--font-display, 'Outfit'), system-ui, sans-serif; font-weight: 600; font-size: 22px; line-height: 1.3; letter-spacing: -.02em; }
.mdb .mdb-done-w { font-weight: 600; font-size: 17px; }
.mdb .mdb-done .mdb-note { margin-top: 0; font-size: 15px; }
.mdb .mdb-done-act { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
@media (max-width: 767px) { .mdb { min-height: 0; } .mdb .mdb-row { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .mdb * { transition: none !important; } }
/* Time zone picker */
.mdb .mdb-tzrow { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.mdb .mdb-tzrow label { flex: 0 0 auto; font-size: 14px; font-weight: 600; }
.mdb .mdb-tzrow .mdb-input { height: 40px; padding: 0 40px 0 14px; font-size: 14px; flex: 1 1 auto; min-width: 0; cursor: pointer; -webkit-appearance: none; -moz-appearance: none; appearance: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B0B0A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center / 16px no-repeat; text-overflow: ellipsis; }
.mdb .mdb-note:empty { display: none; }
/* Dates and times screens */
.mdb .mdb-status { margin-top: 16px; }
.mdb .mdb-times-h { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; min-height: 36px; }
.mdb .mdb-times-h .mdb-slots-h { margin: 0; font-size: 16px; }
.mdb .mdb-other { margin-top: 18px; }
.mdb .mdb-pane.mdb-in { animation: mdb-in .28s cubic-bezier(.2,.7,.2,1); }
.mdb [data-pane="times"].mdb-in { animation-name: mdb-in-r; }
@keyframes mdb-in { from { opacity: 0; transform: translateX(-16px); } to { opacity: 1; transform: none; } }
@keyframes mdb-in-r { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .mdb .mdb-pane.mdb-in { animation: none; } }
