.ip-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 24px;
    border: 1px solid #ed4b00;
    border-radius: 7px;
    background: #ed4b00;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
}

.ip-button:hover,
.ip-button:focus {
    background: #c93f00;
    border-color: #c93f00;
    color: #fff;
}

.ip-modal-open {
    overflow: hidden;
}

.ip-modal[hidden] {
    display: none;
}

.ip-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    place-items: center;
    padding: 20px;
}

.ip-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 0, 76, .72);
}

.ip-modal__panel {
    position: relative;
    width: min(100%, 520px);
    max-height: calc(100vh - 40px);
    overflow: auto;
    padding: 38px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 20px 80px rgba(0, 0, 0, .2);
}

.ip-modal__panel h2 {
    margin: 0 28px 24px 0;
    color: #04004c;
    font-size: 25px;
    font-weight: 700;
}

.ip-modal__close {
    position: absolute;
    top: 12px;
    right: 16px;
    border: 0;
    background: none;
    color: #04004c;
    font-size: 32px;
    line-height: 1;
}

.ip-modal__panel form {
    display: grid;
    gap: 14px;
}

.ip-modal__panel form>label:not(.ip-modal__trap) {
    display: grid;
    gap: 5px;
    color: #04004c;
    font-weight: 600;
}

.ip-modal__panel textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d8d8e0;
    border-radius: 4px;
    font: inherit;
}

.ip-modal__consent {
    grid-template-columns: 18px 1fr;
    align-items: start;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 400 !important;
}

.ip-modal__consent input {
    margin-top: 2px;
}

.ip-modal__consent a {
    color: #ed4b00;
}

.ip-modal__trap {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
}

.ip-modal__status {
    min-height: 18px;
    margin: 0;
    color: #b82e00;
    font-size: 13px;
}

.ip-modal__status.is-success {
    color: #167544;
}

.ip-modal__captcha {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ip-modal__captcha img {
    display: block;
    width: 150px;
    height: 40px;
    border: 1px solid #d8d8e0;
}

.ip-modal__captcha button {
    border: 0;
    background: none;
    color: #ed4b00;
    font-size: 28px;
}

.ip-modal__panel .ip-button {
    border: 0;
}

@media (max-width: 480px) {
    .ip-modal__panel {
        padding: 28px 20px;
    }
}