/* Форма заявки — в цветах шаблона (#1dc8cc) */
[data-mc-booking] { margin: 20px 0; }
.mcb-form, .mcb-done {
  box-sizing: border-box; max-width: 720px; padding: 22px 24px; border: 1px solid #d7eeee;
  border-radius: 6px; background: #f6fcfc; font-family: Arial, sans-serif; color: #333; line-height: 1.4;
}
.mcb-title { font-size: 20px; font-weight: bold; color: #222; margin: 0 0 6px; }
.mcb-lead { margin: 0 0 16px; color: #555; font-size: 14px; }
.mcb-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.mcb-f { display: flex; flex-direction: column; font-size: 13px; color: #555; }
.mcb-f span { margin-bottom: 4px; }
.mcb-wide { grid-column: 1 / -1; }
.mcb-f input, .mcb-f select, .mcb-f textarea {
  box-sizing: border-box; width: 100% !important; height: auto !important; padding: 9px 10px !important; font: 15px Arial, sans-serif;
  color: #222; background: #fff !important; border: 1px solid #c9dcdc !important; border-radius: 4px; margin: 0 !important;
}
.mcb-f input:focus, .mcb-f select:focus, .mcb-f textarea:focus { outline: none; border-color: #1dc8cc !important; box-shadow: 0 0 0 2px rgba(29,200,204,.2); }
.mcb-f input::placeholder, .mcb-f textarea::placeholder { color: #a3b3b3 !important; opacity: 1; }
.mcb-consent input[type=checkbox] {
  display: inline-block !important; float: none !important; width: 16px !important; height: 16px !important;
  margin: 1px 0 0 !important; padding: 0 !important; position: static !important; opacity: 1 !important; -webkit-appearance: checkbox; appearance: auto;
}
.mcb-consent a { color: #00a0a4; }
.mcb-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.mcb-consent { display: flex; gap: 8px; align-items: flex-start; margin: 14px 0; font-size: 13px; color: #555; cursor: pointer; }
.mcb-consent input { margin-top: 2px; flex: none; }
.mcb-btn {
  display: inline-block; padding: 12px 26px; border: 0; border-radius: 4px; cursor: pointer;
  background: #1dc8cc !important; color: #fff !important; font: bold 15px Arial, sans-serif; text-transform: uppercase;
}
.mcb-btn:hover { background: #00a0a4 !important; }
.mcb-btn:disabled { opacity: .6; cursor: default; }
.mcb-msg { margin-top: 10px; font-size: 14px; }
.mcb-err { color: #c0392b; }
.mcb-alt { margin: 12px 0 0; font-size: 14px; color: #555; }
.mcb-alt a { color: #00a0a4; font-weight: bold; white-space: nowrap; }
.mcb-done p { margin: 6px 0; }
.mcb-modal { position: fixed; inset: 0; z-index: 100000; display: none; align-items: center; justify-content: center; background: rgba(0,0,0,.55); padding: 16px; }
.mcb-modal.mcb-open { display: flex; }
.mcb-modal-box { position: relative; width: 100%; max-width: 640px; max-height: 92vh; overflow: auto; }
.mcb-modal-box [data-mc-booking] { margin: 0; }
.mcb-modal-box .mcb-form, .mcb-modal-box .mcb-done { max-width: none; background: #fff; }
.mcb-close { position: absolute; right: 8px; top: 4px; border: 0; background: none !important; font-size: 28px; line-height: 1; color: #888 !important; cursor: pointer; padding: 4px 8px; }
/* скрываем вход/регистрацию — личного кабинета в копии нет */
#s5_loginreg, #s5_responsive_mobile_sidebar_login_register_wrap, #s5_responsive_mobile_toggle_click_login,
#s5_responsive_mobile_toggle_click_register, .s5boxhidden, #favorite_form, #specialistsFilterBlock { display: none !important; }
.mc-note { padding: 14px 18px; background: #f6fcfc; border-left: 4px solid #1dc8cc; color: #444; }
.mc-note a { color: #00a0a4; font-weight: bold; }
img[data-photo-missing] { background: #eef8f8; }
/* кнопки «Записаться» в списках врачей (стиль компонента ttfsp не сохранился в архиве) */
.ttfspspec .readmore_ttfsp_offices .btn, #ttfsp-detail .btn-primary {
  display: inline-block; margin-top: 12px; padding: 11px 24px; border-radius: 4px; border: 0;
  background: #1dc8cc !important; color: #fff !important; font: bold 14px Arial, sans-serif; text-transform: uppercase; text-decoration: none;
}
.ttfspspec .readmore_ttfsp_offices .btn:hover { background: #00a0a4 !important; }
.ttfspspec .one_spec_block { padding: 10px 0; border-bottom: 1px solid #eef3f3; }
/* компактный вариант для узких колонок (модули сайдбара) */
.mcb-compact { padding: 14px; background: transparent; border: 0; }
.mcb-compact .mcb-grid { grid-template-columns: 1fr; }
.mcb-compact .mcb-title { font-size: 16px; }
.mcb-compact .mcb-btn { width: 100%; }
@media (max-width: 600px) {
  .mcb-grid { grid-template-columns: 1fr; }
  .mcb-form, .mcb-done { padding: 16px; }
  .mcb-btn { width: 100%; }
}
