.wpcf7-form p {
    margin: 0;
}

.wpcf7-form br {
    display: none;
}

.wpcf7-form .wpcf7-not-valid-tip {
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    color: var(--error);
    font-size: 0.875rem;
    padding-top: 2px;
}

.wpcf7-form .wpcf7-form-control.wpcf7-not-valid {
    border-color: var(--error);
}

.wpcf7-form .wpcf7-checkbox {
    position: relative;
}

.wpcf7-form .wpcf7-checkbox .wpcf7-list-item {
    display: block;
    margin: 0;
}

.wpcf7-form .wpcf7-checkbox input {
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    width: 0;
    height: 0;
    visibility: hidden;
    opacity: 0;
}

.wpcf7-form .wpcf7-checkbox input:checked + .wpcf7-list-item-label {
    color: var(--text);
}

.wpcf7-form .wpcf7-checkbox input:checked + .wpcf7-list-item-label::before {
    border-color: var(--text);
}

.wpcf7-form .wpcf7-checkbox input:checked + .wpcf7-list-item-label::after {
    opacity: 1;
}

.wpcf7-form .wpcf7-checkbox .wpcf7-list-item-label {
    position: relative;
    line-height: 1.4rem;
    font-weight: var(--font-weight);
    margin: 0;
    font-size: 1rem;
    display: flex;
    cursor: pointer;
    color: var(--placeholder);
    transition: color 0.2s;
}

.wpcf7-form .wpcf7-checkbox .wpcf7-list-item-label a {
    display: inline-flex;
    text-decoration: none;
    font-weight: bold;
}

.wpcf7-form .wpcf7-checkbox .wpcf7-list-item-label a:hover {
    text-decoration: underline;
}

.wpcf7-form .wpcf7-checkbox .wpcf7-list-item-label::before {
    content: "";
    display: block;
    width: 1.5rem;
    height: 1.5rem;
    min-width: 1.5rem;
    margin-right: 0.625rem;
    border: 1px solid var(--border);
    border-radius: 50%;
    transition: border-color 0.2s;
}

.wpcf7-form .wpcf7-checkbox .wpcf7-list-item-label::after {
    content: "";
    position: absolute;
    left: 0.25rem;
    top: 0.25rem;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background-color: var(--text);
    opacity: 0;
    transition: opacity 0.2s;
}

.wpcf7 form .wpcf7-response-output {
    margin-left: 0;
    margin-right: 0;
    padding: 0.5rem 1rem;
    border: 1px solid var(--border);
}

.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
    border: 1px solid var(--error);
}

.wpcf7 form.failed .wpcf7-response-output, .wpcf7 form.aborted .wpcf7-response-output {
    border-color: var(--error);
}

.wpcf7 form.sent .wpcf7-response-output::after {
    opacity: 1;
}