.hnr-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
}

.hnr-modal.is-open {
    display: block;
}

.hnr-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.55);
}

.hnr-modal__dialog {
    position: relative;
    z-index: 2;
    width: min(1200px, calc(100% - 32px));
    max-height: calc(100vh - 32px);
    margin: 16px auto;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,.2);
}

.hnr-modal__content {
    max-height: calc(100vh - 32px);
    overflow: auto;
    padding: 24px;
}

.hnr-modal__close {
    position: absolute;
    top: 12px;
    right: 14px;
    z-index: 5;
    border: 0;
    background: transparent;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
}

body.hnr-modal-open {
    overflow: hidden;
}

.hnr-form-wrap .container-fluid {
    padding-left: 0;
    padding-right: 0;
}