/* Only enqueued for the booking page. Keep parent theme rules outside the form. */
body.page-id-6927 { background: #f7f8fa; }
body.page-id-6927 #main { background: #f7f8fa; }
body.page-id-6927 #header { background: #fff; }
body.page-id-6927 .header_default.header_4 { padding: 0; }
body.page-id-6927 #footer { border-top: 1px solid #e4e7ec; background: #fff; }
@media (min-width: 992px) {
  body.page-id-6927 .header_default.header_4 .header_top {
    height: auto !important;
    padding: 18px 0 !important;
  }
  body.page-id-6927 .header_default.header_4 .logo-unit {
    width: 100% !important;
    height: auto !important;
  }
  body.page-id-6927 .header_default.header_4 .logo-unit img {
    width: 88px !important;
    height: 88px !important;
    max-height: 88px !important;
    object-fit: contain;
  }
  body.page-id-6927 .header_default.header_4 .header_bottom { margin-bottom: 0; padding-bottom: 0; }
  body.page-id-6927 .header_main_menu_wrapper { padding: 0 !important; }
}

#mec-booking {
  --mec-red: #d71920;
  --mec-dark: #19222e;
  --mec-muted: #596574;
  --mec-border: #dce1e8;
  --mec-soft: #f7f8fa;
  box-sizing: border-box;
  max-width: 920px;
  margin: 0 auto;
  padding: 48px 24px 72px;
  color: var(--mec-dark);
  font-family: Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
}
#mec-booking *, #mec-booking *::before, #mec-booking *::after { box-sizing: border-box; }
#mec-booking h1, #mec-booking h2, #mec-booking h3, #mec-booking p { font-family: inherit; letter-spacing: normal; text-transform: none; }
#mec-booking .mec-booking-header { text-align: center; margin-bottom: 30px; }
#mec-booking .mec-eyebrow { display: block; color: var(--mec-muted); font-size: 11px; font-weight: 700; letter-spacing: .12em; line-height: 1.5; }
#mec-booking h1 { margin: 12px 0 16px; color: var(--mec-dark); font-size: clamp(28px, 3.2vw, 40px); line-height: 1.18; font-weight: 750; letter-spacing: -.035em; }
#mec-booking h1 span { color: var(--mec-red); }
#mec-booking .mec-booking-header p { max-width: 620px; margin: 0 auto; color: var(--mec-muted); font-size: 16px; line-height: 1.7; }
#mec-booking .mec-progress-bar { display: flex; justify-content: center; align-items: center; gap: 14px; margin: 0 0 24px; }
#mec-booking .mec-progress-step { display: flex; align-items: center; gap: 9px; color: var(--mec-muted); font-size: 13px; font-weight: 600; }
#mec-booking .mec-progress-circle { display: grid; place-items: center; flex-shrink: 0; width: 30px; height: 30px; border: 1px solid #c8d0da; border-radius: 50%; background: #fff; }
#mec-booking .mec-progress-step.active { color: var(--mec-red); }
#mec-booking .active .mec-progress-circle { border-color: var(--mec-red); background: var(--mec-red); color: #fff; }
#mec-booking .done .mec-progress-circle { background: #e8f3ee; border-color: #c3dfd2; color: #216347; }
#mec-booking .mec-progress-line { width: 48px; height: 1px; background: var(--mec-border); }
#mec-booking .mec-progress-line.done { background: #77aa90; }
#mec-booking .mec-booking-card { padding: 32px; border: 1px solid var(--mec-border); border-radius: 18px; background: #fff; box-shadow: 0 8px 32px #19222e06; }
#mec-booking .mec-booking-step { display: none; scroll-margin-top: 24px; }
#mec-booking .mec-booking-step.active { display: block; }
#mec-booking .mec-step-heading { margin-bottom: 28px; }
#mec-booking h2 { margin: 7px 0 8px; color: var(--mec-dark); font-size: 25px; font-weight: 700; line-height: 1.3; }
#mec-booking .mec-step-heading p { margin: 0; color: var(--mec-muted); font-size: 14px; line-height: 1.6; }
#mec-booking .mec-form-group { min-width: 0; margin-bottom: 24px; }
#mec-booking .mec-form-group > label, #mec-booking .mec-field-label { display: block; margin: 0 0 10px; color: #344054; font-size: 14px; font-weight: 600; line-height: 1.5; }
#mec-booking button { font-family: inherit; font-size: inherit; text-transform: none; letter-spacing: normal; line-height: 1.5; }
#mec-booking .mec-contact-methods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
#mec-booking .mec-contact-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-height: 136px; padding: 18px; border: 1px solid var(--mec-border); border-radius: 12px; background: #fff; color: var(--mec-dark); cursor: pointer; text-align: left; transition: border-color .15s, background .15s; }
#mec-booking .mec-contact-card .icon { display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 4px; border-radius: 9px; background: var(--mec-soft); color: var(--mec-dark); }
#mec-booking .icon svg { display: block; width: 22px; height: 22px; }
#mec-booking .mec-contact-title { font-size: 15px; font-weight: 700; }
#mec-booking .mec-contact-description { color: var(--mec-muted); font-size: 12px; line-height: 1.5; }
#mec-booking .mec-date-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
#mec-booking .mec-time-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
#mec-booking .mec-date-slot, #mec-booking .mec-time-slot { min-width: 0; min-height: 46px; padding: 10px 6px; border: 1px solid var(--mec-border); border-radius: 8px; background: #fff; color: var(--mec-dark); font-size: 13px; font-weight: 600; text-align: center; cursor: pointer; }
#mec-booking .mec-contact-card:hover, #mec-booking .mec-date-slot:hover, #mec-booking .mec-time-slot:hover { border-color: #9aa4b2; background: #f9fafb; }
#mec-booking .mec-contact-card.selected, #mec-booking .mec-date-slot.selected, #mec-booking .mec-time-slot.selected { border-color: var(--mec-red); background: #fff5f5; color: var(--mec-red); box-shadow: inset 0 0 0 1px var(--mec-red); }
#mec-booking .mec-contact-card.selected::after { content: '✓'; position: absolute; top: 14px; right: 14px; color: var(--mec-red); font-weight: 700; }
#mec-booking .mec-contact-card.selected .icon { background: #ffe4e5; color: var(--mec-red); }
#mec-booking .mec-time-slot:disabled { border-color: #e7eaee; background: #f4f5f7; color: #697586; text-decoration: line-through; cursor: not-allowed; box-shadow: none; }
#mec-booking .mec-time-status { margin: 0 0 10px; padding: 14px 16px; border: 1px dashed var(--mec-border); border-radius: 8px; background: var(--mec-soft); color: var(--mec-muted); font-size: 13px; line-height: 1.6; }
#mec-booking .mec-time-status[hidden] { display: none; }
#mec-booking .mec-retry { display: inline; margin-left: 8px; padding: 0; border: 0; background: transparent; color: var(--mec-red); text-decoration: underline; cursor: pointer; }
#mec-booking .mec-form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
#mec-booking input[type=text], #mec-booking input[type=tel], #mec-booking input[type=email], #mec-booking select, #mec-booking textarea { display: block; width: 100%; height: auto; min-height: 48px; margin: 0; padding: 12px 14px; border: 1px solid #c8d0da; border-radius: 8px; background: #fff; color: var(--mec-dark); font: inherit; box-shadow: none; }
#mec-booking select { appearance: auto; }
/* MasterStudy enhances the selects with Select2 after DOM ready. */
#mec-booking .select2-container { width: 100% !important; font-family: inherit; font-size: 15px; }
#mec-booking .select2-container .select2-selection--single { height: 48px; border: 1px solid #c8d0da; border-radius: 8px; background: #fff; font-family: Arial, sans-serif; }
#mec-booking .select2-container .select2-selection__rendered { padding: 0 32px 0 14px; color: var(--mec-dark); font-family: inherit; font-size: 15px; font-weight: 400; line-height: 46px; }
#mec-booking .select2-container .select2-selection__arrow { height: 46px; }
#mec-booking .select2-container--focus .select2-selection { outline: 3px solid #2463a7; outline-offset: 3px; }
#mec-booking textarea { min-height: 100px; resize: vertical; }
#mec-booking input::placeholder, #mec-booking textarea::placeholder { color: #667085; }
#mec-booking :is(button, a, input, select, textarea):focus-visible { outline: 3px solid #2463a7; outline-offset: 3px; }
#mec-booking h2:focus { outline: none; }
#mec-booking .mec-check-group { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
#mec-booking .mec-check-item { display: flex; align-items: flex-start; gap: 10px; margin: 0; padding: 12px; border: 1px solid var(--mec-border); border-radius: 8px; color: #344054; font-size: 14px; font-weight: 400; line-height: 1.5; cursor: pointer; }
#mec-booking .mec-check-item.selected { border-color: var(--mec-red); background: #fff5f5; }
#mec-booking input[type=checkbox] { appearance: auto; flex-shrink: 0; width: 17px; height: 17px; margin: 3px 0 0; accent-color: var(--mec-red); }
#mec-booking .mec-summary-title { margin: 28px 0 12px; font-size: 16px; color: var(--mec-dark); }
#mec-booking .mec-summary { padding: 8px 18px; border-radius: 10px; background: var(--mec-soft); }
#mec-booking .mec-summary-row { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--mec-border); font-size: 14px; }
#mec-booking .mec-summary-row:last-child { border: 0; }
#mec-booking .mec-summary-row strong { text-align: right; }
#mec-booking .mec-consent { margin-top: 20px; }
#mec-booking .mec-consent label { display: block; color: #475467; font-size: 13px; font-weight: 400; line-height: 1.7; }
#mec-booking .mec-consent input { float: left; margin-right: 10px; }
#mec-booking .mec-consent a { color: var(--mec-red); text-decoration: underline; }
#mec-booking .mec-btn-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; padding-top: 24px; border-top: 1px solid #eceff3; }
#mec-booking .mec-free-note { color: var(--mec-muted); font-size: 12px; }
#mec-booking .mec-btn { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 48px; padding: 12px 24px; border: 1px solid transparent; border-radius: 8px; font-size: 14px; font-weight: 700; line-height: 1.5; text-align: center; cursor: pointer; text-decoration: none; }
#mec-booking .mec-btn-primary { background: var(--mec-red); color: #fff; }
#mec-booking .mec-btn-primary:hover { background: #b9151b; color: #fff; }
#mec-booking .mec-btn-ghost { border-color: var(--mec-border); background: #fff; color: var(--mec-dark); }
#mec-booking .mec-btn-ghost:hover { background: var(--mec-soft); }
#mec-booking .mec-btn:disabled { opacity: .6; cursor: wait; }
#mec-booking .mec-error { display: none; margin-top: 12px; padding: 12px 14px; border-left: 3px solid var(--mec-red); border-radius: 4px; background: #fff1f1; color: #b5181f; font-size: 14px; }
#mec-booking .mec-error.show { display: block; }
#mec-booking .mec-loading { display: none; padding: 20px; text-align: center; color: var(--mec-muted); }
#mec-booking .mec-loading.show { display: block; }
#mec-booking .spinner { width: 28px; height: 28px; margin: 0 auto 8px; border: 3px solid var(--mec-border); border-top-color: var(--mec-red); border-radius: 50%; animation: mec-spin .8s linear infinite; }
#mec-booking .mec-success { padding: 32px 0; text-align: center; }
#mec-booking .mec-success > .icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; background: #e8f3ee; color: #216347; font-size: 32px; }
#mec-booking .mec-success p { max-width: 580px; margin: 16px auto; color: var(--mec-muted); line-height: 1.7; }
@keyframes mec-spin { to { transform: rotate(360deg); } }
@media (max-width: 991px) {
  body.page-id-6927 .header_default.header_4 .header_top { height: auto !important; padding: 16px 0 !important; }
  body.page-id-6927 .header_default.header_4 .logo-unit { height: 80px !important; margin-top: 12px !important; }
  body.page-id-6927 .header_default.header_4 .logo-unit img { width: 80px !important; height: 80px !important; max-height: 80px !important; object-fit: contain; }
  body.page-id-6927 .header_default.header_4 .header_top_phone { font-size: 16px; }
  body.page-id-6927 .stm_header_4_phone_inner { font-size: 16px; white-space: nowrap; }
  body.page-id-6927 #header-mobile .header_mobile { padding: 12px 0; }
  body.page-id-6927 #header-mobile .logo-unit img { width: 80px; height: 80px; max-height: 80px; object-fit: contain; }
}
@media (max-width: 640px) {
  #mec-booking { padding: 28px 16px 40px; }
  #mec-booking .mec-booking-header p { font-size: 14px; }
  #mec-booking .mec-booking-card { padding: 24px 18px; border-radius: 14px; }
  #mec-booking h2 { font-size: 22px; }
  #mec-booking .mec-progress-bar { gap: 8px; }
  #mec-booking .mec-progress-step { flex-direction: column; gap: 6px; flex: 1; font-size: 11px; text-align: center; }
  #mec-booking .mec-progress-line { width: 18px; margin-bottom: 22px; }
  #mec-booking .mec-contact-methods { grid-template-columns: 1fr; gap: 8px; }
  #mec-booking .mec-contact-card { display: grid; grid-template-columns: 36px 1fr; column-gap: 12px; row-gap: 2px; min-height: 76px; padding: 12px 36px 12px 14px; }
  #mec-booking .mec-contact-card .icon { grid-row: span 2; align-self: center; margin: 0; }
  #mec-booking .mec-contact-title { align-self: end; font-size: 14px; }
  #mec-booking .mec-contact-description { font-size: 11px; }
  #mec-booking .mec-date-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #mec-booking .mec-time-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  #mec-booking .mec-form-row, #mec-booking .mec-check-group { grid-template-columns: 1fr; gap: 0; }
  #mec-booking .mec-check-group { gap: 8px; }
  #mec-booking .mec-btn-row { flex-wrap: wrap; gap: 12px; }
  #mec-booking .mec-btn-row .mec-free-note { flex-basis: 100%; }
  #mec-booking .mec-btn-row .mec-btn { flex: 1; padding: 12px 16px; }
  #mec-booking .mec-summary-row { flex-direction: column; gap: 4px; }
  #mec-booking .mec-summary-row strong { text-align: left; }
  #mec-booking .mec-consent label { display: block; }
  #mec-booking .mec-consent input { float: left; margin-right: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  #mec-booking *, #mec-booking *::before, #mec-booking *::after { animation: none; transition: none; }
}
