/* Sokroma — booking path (see booking.js): header dropdown and custom modal with the Bnovo widget,
   labels for the date fields of "Забронировать онлайн", validation message. */

/* header dropdown (.bnovo-menu-cnt, hidden by the theme) opened by "Бронировать" */
.bnovo-menu-cnt.sk-open { display: block; padding: 18px 0 24px; background: var(--sand, #f3efe8); border-top: 1px solid var(--line, #e7e2d9); }

/* custom modal of the promo/Anapa pages (.modal-my, hidden by the theme) */
.modal-my.active {
  display: flex; position: fixed; inset: 0; z-index: 1050; align-items: flex-start; justify-content: center;
  padding: 6vh 16px; background: rgba(46, 42, 37, .55); overflow-y: auto;
}
.modal-my.active .modal-my-box {
  position: relative; width: 100%; max-width: 760px; background: #fff; border-radius: 22px;
  padding: 48px 20px 20px; box-shadow: 0 20px 60px rgba(46, 42, 37, .25);
}
.modal-my .close-my { cursor: pointer; }
body.sk-modal-open { overflow: hidden; }

[id^="_bn_widget_"] { scroll-margin-top: 24px; }

/* date fields: the placeholder ("Заезд"/"Выезд") is not shown by <input type=date>, so it becomes a label */
form[data-sk-booking] [data-sk-label]::before {
  content: attr(data-sk-label); display: block; margin: 0 0 4px 4px;
  font-size: 12px; font-weight: 600; line-height: 1.3; color: var(--ink-2, #4a453e);
}
form[data-sk-booking] input[type="date"] { cursor: pointer; }
form[data-sk-booking] .bnovo__icon.i-calendar, form[data-sk-booking] .calendar-img { display: none !important; }

.sk-booking-msg {
  margin: 0 0 12px; padding: 10px 14px; border-radius: 12px;
  background: #fff3f0; color: #9b2c1f; font-size: 14px; line-height: 1.4;
}
form[data-sk-booking] [aria-invalid="true"] { border-color: #e36d5d; }
