.wpcf7-form .input-field,
.wpcf7-form .wpcf7-form-control-wrap,
.wpcf7-form .input {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.wpcf7-form .wpcf7-form-control-wrap {
    display: block;
}

.wpcf7-form .input-field::before,
.wpcf7-form .input-field::after {
    display: none;
}

.wpcf7-form .input {
    height: 56px;
    padding: 0 18px !important;
    border: 1px solid #e1e3e6;
    border-radius: 10px;
    background: #f8f8f9;
    color: #5a5b60 !important;
    outline: none;
    transition: border-color 250ms ease, box-shadow 250ms ease, background-color 250ms ease;
}

.wpcf7-form .input::placeholder {
    color: rgba(90, 91, 96, 0.68) !important;
    opacity: 1;
}

.wpcf7-form .input:hover {
    border-color: #b9bdc3;
    background: #fff;
}

.wpcf7-form .input:focus {
    border-color: #eb1717;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(235, 23, 23, 0.1);
}

.wpcf7-form textarea.input {
    height: 120px;
    max-height: none;
    padding: 16px 18px !important;
    resize: vertical;
}

.wpcf7-form .wpcf7-not-valid {
    border-color: #eb1717 !important;
}

.wpcf7-form .wpcf7-not-valid-tip {
    display: block;
    margin-top: 7px;
    color: #d40808;
    font-size: 14px;
    line-height: 1.35;
}

.wpcf7-form .wpcf7-response-output {
    max-width: 100%;
    margin: 20px 0 0 !important;
    padding: 12px 16px !important;
    border-radius: 8px;
    color: #5a5b60 !important;
    overflow-wrap: break-word;
}

.wpcf7-form.invalid .wpcf7-response-output,
.wpcf7-form.unaccepted .wpcf7-response-output,
.wpcf7-form.spam .wpcf7-response-output {
    background: #fff8e8;
}

.wpcf7-form.sent .wpcf7-response-output {
    background: #eef9f0;
}

@media (max-width: 767px) {
    .wpcf7-form .input {
        height: 52px;
        padding-inline: 15px !important;
    }

    .wpcf7-form textarea.input {
        height: 110px;
        padding: 14px 15px !important;
    }
}
