/* Стили только для попапа "Запись онлайн" (footer.php .record_online_frame) */

.record_online_frame.jqmWindow {
    left: 50%;
    top: 80px;
    transform: translateX(-50%);
    z-index: 3000;
    max-width: 90%;
    max-height: 85vh;
    overflow-y: auto;
}

/* Крестик закрытия — в левый верхний угол */
.record_online_frame .form-header {
    position: relative;
}

.record_online_frame .form-header .title {
    padding-right: 0;
    padding-left: 40px;
}

.record_online_frame .jqmClose {
    position: absolute;
    top: 20px;
    left: 20px;
    cursor: pointer;
}

/* Чекбокс согласия CF7 не виден — общие стили .bx_filter скрывают input,
   рассчитывая на другую (не-CF7) разметку, поэтому возвращаем чекбокс явно */
.record_online_frame .wpcf7-acceptance input[type="checkbox"] {
    display: inline-block !important;
    visibility: visible !important;
    position: static !important;
    width: 16px !important;
    height: 16px !important;
    margin: 2px 8px 0 0 !important;
    flex-shrink: 0;
}

.record_online_frame .wpcf7-acceptance .wpcf7-list-item {
    margin: 0;
}

.record_online_frame .wpcf7-acceptance label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
}
