:root {
    --cf7-modal-backdrop: rgba(14, 25, 44, 0.6);
    --cf7-card-bg: #fff;
    --cf7-card-radius: 16px;
    --cf7-card-shadow: 0 25px 60px rgba(0,0,0,0.2);
    --cf7-success: #2bb673;
    --cf7-error: #e6676b
}

.wpcf7 .wpcf7-response-output {
    display: none!important
}

.cf7-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none
}

.cf7-modal[aria-hidden=false] {
    display: grid;
    place-items: center
}

.cf7-modal-backdrop {
    position: absolute;
    inset: 0;
    background: var(--cf7-modal-backdrop)
}

.cf7-modal-card {
    position: relative;
    background: var(--cf7-card-bg);
    box-shadow: var(--cf7-card-shadow);
    width: min(92vw,560px);
    max-width: 560px;
    padding: 28px 24px 24px;
    text-align: center
}

.cf7-modal-close {
    position: absolute;
    right: 14px;
    top: 10px;
    width: 36px;
    height: 36px;
    border: 0;
    background: 0 0;
    font-size: 28px;
    line-height: 1;
    color: #999;
    cursor: pointer
}

.cf7-modal-close:hover {
    color: #333
}

.cf7-icon {
    width: 94px;
    height: 94px;
    margin: 0 auto 12px;
    display: grid;
    place-items: center
}

.cf7-title {
    font-size: 24px;
    font-weight: 700;
    margin: 8px 0 4px;
    color: #333
}

.cf7-message {
    font-size: 16px;
    color: #555;
    margin: 0
}

.cf7-modal.success .cf7-icon svg .circle,.cf7-modal.success .cf7-icon svg .mark {
    stroke: var(--cf7-success)
}

.cf7-modal.error .cf7-icon svg .circle,.cf7-modal.error .cf7-icon svg .mark {
    stroke: var(--cf7-error)
}

@media (max-width:420px) {
    .cf7-modal-card {
        padding: 24px 18px
    }

    .cf7-title {
        font-size: 20px
    }

    .cf7-message {
        font-size: 15px
    }
}
