.SmartCaptcha-Shield {
    display: none !important;
}


.wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wpcf7-form-control-wrap {
    margin-bottom: 10px;
}

.wpcf7-form input {
    width: 100%;
}

.wpcf7-form-control-wrap:has(.wpcf7-not-valid-tip) input {
    border-color: #dc3545;
}

.wpcf7-not-valid-tip {
    position: absolute;
    top: 100%;
    z-index: 5;
    max-width: 100%;
    padding: .5rem;
    margin-top: .1rem;
    font-size: .875rem;
    line-height: 1;
    color: #fff;
    background-color: rgba(220, 53, 69, .8);
    border-radius: .2rem;
}

/* Вплывающее уведомление */
.wpcf7 form .wpcf7-response-output {
    position: absolute;
    font-size: 16px;
    font-weight: 600;
    line-height: 140%;
    padding: 10px 16px 12px 16px;
    background: #fff;
    color: #000;
    bottom: 0;
    right: 0;
    left: 0;
    transform: translateY(-100%);
    margin: auto;
    width: fit-content;
    height: fit-content;
    max-width: 90vw;
    border-radius: 5px;
    border: 5px solid #fff;
    z-index: 1000;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
    overflow: hidden;
    box-shadow: rgba(0, 0, 0, 0.1) 0 1px 10px 1px;
}

.wpcf7 form.sent .wpcf7-response-output {
    color: #46b450;
    border: 5px solid #f7fff7;
    background: #f7fff7;
    top: 0;
}

.wpcf7 form.invalid .wpcf7-response-output {
    border: 5px solid #fffef2;
    background: #fffef2;
}

.wpcf7 form.failed .wpcf7-response-output {
    color: #dc3232;
    border: 5px solid #fff4f4;
    background: #fff4f4;
}

/* Spinner */
.wpcf7 form .wpcf7-spinner {
    position: absolute;
    inset: 0;
    z-index: 5;
    width: 100%;
    height: 100%;
    border-radius: 0;
    margin: 0;
    opacity: 0.5;
    background-color: #fff;
}

.wpcf7 form .wpcf7-spinner:before {
    display: none;
}

    /* Полоса-таймер */
.wpcf7 form .wpcf7-timer-bar {
    position: absolute;
    bottom: 0;
    right: 0;
    height: 3px;
    margin-left: auto;
    background-color: #aaa;
    border-radius: 5px;
}

.wpcf7 form.invalid .wpcf7-timer-bar {
    background-color: #ffb900;
}

.wpcf7 form.failed .wpcf7-timer-bar {
    background-color: #dc3232;
}

.wpcf7 form.sent .wpcf7-timer-bar {
    background-color: #46b450;
}

.wpcf7-response-output {
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

.wpcf7-response-output.hidden {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}


/* Edit Admin Form */
.wpcf7-form:has(.acf-btn-edit) {
    position: relative;
}

.wpcf7-form:has(>.acf-btn-edit):hover {
    outline: 2px solid #3582c4;
}

.wpcf7-form:has(.acf-btn-edit):hover .acf-btn-edit {
    opacity: 1;
}

.wpcf7-form .acf-btn-edit {
    background: #3582c4!important;
    border: 0;
    border-radius: 0;
    box-sizing: border-box;
    display: inline-flex !important;
    height: 40px;
    width: 40px;
    position: absolute;
    transform: translate(50%, -50%);
    right: 0;
    top: 0;
    color: #fff;
    cursor: pointer;
    font-size: 18px;
    line-height: 1!important;
    min-height: 30px;
    min-width: 30px;
    opacity: 0;
    padding: 0 3px 3px 3px;
    text-align: center;
    z-index: 999 !important
}

.acf-btn-edit svg {
    fill: #fff;
    height: 20px;
    margin: auto;
    min-height: 20px;
    min-width: 20px;
    width: 20px
}

.acf-btn-link {
    align-items: center;
    background: #1d2327;
    border-radius: 0 0 10px 0;
    color: #fff;
    display: flex;
    font-size: 15px;
    gap: 10px;
    left: 0;
    outline: 0;
    padding: 5px 15px;
    position: absolute;
    top: 0
}

.acf-btn-link span {
    height: 20px;
    width: 20px
}

.acf-btn-link span svg {
    height: 100%;
    width: 100%
}