/* Регистрация на мастер-классы (модуль medplant.masterclass) */
.mp-mc { margin: 24px 0 8px; }
.mp-mc-lock, .mp-mc-lock body { overflow: hidden; }
.mp-mc__overlay {
    position: fixed; inset: 0; z-index: 3010;
    display: flex; align-items: flex-start; justify-content: center;
    padding: 40px 16px; overflow-y: auto;
    background: rgba(0, 0, 0, .55);
}
.mp-mc__overlay[hidden] { display: none; }
.mp-mc__dialog {
    position: relative; width: 100%; max-width: 480px;
    padding: 32px 32px 28px; border-radius: 6px;
    background: #fff; color: #333; box-shadow: 0 10px 40px rgba(0, 0, 0, .25);
    font-size: 14px; line-height: 1.45;
}
.mp-mc__close {
    position: absolute; top: 8px; right: 10px;
    width: 36px; height: 36px; padding: 0; border: 0; background: none;
    font-size: 28px; line-height: 36px; color: #999; cursor: pointer;
}
.mp-mc__close:hover { color: #333; }
.mp-mc__title { margin: 0 32px 20px 0; font-size: 22px; font-weight: 600; line-height: 1.25; }
.mp-mc__group { margin: 0 0 16px; padding: 0; border: 0; min-width: 0; }
.mp-mc__group legend { margin: 0 0 8px; padding: 0; border: 0; font-size: 14px; font-weight: 600; width: auto; }
.mp-mc__label { display: block; margin: 0 0 6px; font-weight: 600; }
.mp-mc__req { color: #e03131; }
.mp-mc__input { width: 100%; box-sizing: border-box; margin: 0 !important; }
.mp-mc__input.error { background-color: #fff !important; }
/* Метки штатной валидации Aspro внутри окна не нужны: ошибки показывает своя проверка. */
.mp-mc__overlay label.error { display: none !important; }
.mp-mc__check { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 8px; font-weight: 400; cursor: pointer; }
.mp-mc__check input { flex: 0 0 auto; width: 18px; height: 18px; margin: 1px 0 0; }
.mp-mc__consent { font-size: 13px; color: #666; }
.mp-mc__error { display: none; margin-top: 4px; font-size: 13px; color: #e03131; }
.mp-mc__group--error .mp-mc__error, .mp-mc__error--form:not(:empty) { display: block; }
.mp-mc__group--error .mp-mc__input { border-color: #e03131; }
.mp-mc__error--form { margin: 0 0 12px; }
.mp-mc__submit { width: 100%; }
.mp-mc__submit[disabled] { opacity: .6; cursor: wait; }
.mp-mc__trap { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.mp-mc__done-title { font-size: 18px; font-weight: 600; margin: 0 0 8px; }
.mp-mc__done ul { margin: 0 0 12px; padding-left: 20px; }
@media (max-width: 600px) {
    .mp-mc__overlay { padding: 16px 8px; }
    .mp-mc__dialog { padding: 24px 16px 20px; }
    .mp-mc__title { font-size: 19px; }
    .mp-mc .mp-mc__open { width: 100%; }
}
