.zc-crm-form-container .cwf-field-wrap {
    position: relative
}

.zc-crm-form-container .cwf-container .cwf-wrap .cwf-field-wrap:not(:has(.cwf-radio-control)):not(:has(.cwf-checkbox-control)) .cwf-label-control {
    font-family: var(--zf-primary-medium);
    font-size: 12px;
    position: absolute;
    top: 13px;
    left: 15px;
    padding: 0 4px;
    transition: top .3s ease;
    background-color: #fff;
    z-index: 10;
    color: #716f6f
}

.zc-crm-form-container .cwf-container .cwf-wrap fieldset.cwf-field-wrap.cwf-label-top-file label {
    top: -10px !important;
    left: 42% !important;
    text-align: center;
    letter-spacing: .2px;
}

.zc-crm-form-container .cwf-label-top-datetime-local label.cwf-label-control,
.cwf-label-top-date label.cwf-label-control {
    visibility: hidden
}

.zc-crm-form-container .cwf-container .cwf-elements .cwf-field-row .cwf-field-wrap:has(.cptacha-inline input[name="enterdigest"]) .cwf-label-control {
    top: 20px
}

.zc-crm-form-container .cwf-container .cwf-wrap .cwf-field-col .cwf-field-wrap:has(.cwf-input:focus) .cwf-label-control,
.cwf-container .cwf-wrap .cwf-field-col .cwf-field-wrap:has(.cwf-textarea:focus) .cwf-label-control {
    top: -10px;
    color: #000
}

.zc-crm-form-container .cwf-container .cwf-title-form-wrap .cwf-wrap .cwf-field-col .cwf-field-wrap:has(.added-placeholder) label.cwf-label-control,
.cwf-elements .cwf-field-row .cwf-field-col .cwf-field-wrap.cwf-not-empty .cwf-label-control {
    top: -10px;
    color: #000
}

.zc-crm-form-container .cwf-field-wrap:has(.cwf-select-control select) label {
    opacity: 0
}

.zc-crm-form-container .cwf-field-wrap:has(.cwf-select-control select) label.cwf-error-msg {
    opacity: 1
}

.zc-crm-form-container input[type="radio"],
.zc-crm-form-container input[type="checkbox"] {
    accent-color: #008452;
}

.zc-crm-form-container .cwf-container .cwf-wrap .cwf-checkbox-control,
.cwf-container .cwf-wrap .cwf-radio-control {
    gap: 20px
}

.zc-crm-form-container input[type="checkbox"] {
    height: 12px;
    margin: 0;
    margin-top: 2px;
    margin-right: 6px;
    border-radius: 3px;
}

.zc-crm-form-container input:-webkit-autofill,.zc-crm-form-container textarea:-webkit-autofill {
    box-shadow: 0 0 0 1000px #fff inset
}

.zc-crm-form-container form a,
.zc-crm-form-container .cwf-container .cwf-wrap .cwf-file-control .cwf-file-drop-container .cwf-drop-text .cwf-drop-link {
    color: #008452;
    border-color: #008452
}

.zc-crm-form-container .cwf-container .cwf-wrap .cwf-input,
.zc-crm-form-container .cwf-container .cwf-wrap .cwf-single-select-control .cwf-select {
    transition: border-color .3s ease;
    border-radius: 50px;
    height: 45px;
    font-size: 12px;
    -webkit-appearance: none !important;
}

.zc-crm-form-container .cwf-container .cwf-wrap .cwf-textarea-control .cwf-textarea {
    border-radius: 20px;
    font-size: 14px;
    transition: border-color .3s ease
}

.zc-crm-form-container .cwf-container .cwf-wrap .cwf-captcha-control.cptacha-separate .cwf-captcha-img {
    border-radius: 50px
}

.zc-crm-form-container .cwf-container .cwf-wrap .cwf-input {
    padding-left: 20px
}

.zc-crm-form-container .cwf-captcha-control.cptacha-separate {
    display: flex;
    align-items: center;
    gap: 10px
}

.zc-crm-form-container .cwf-field-row .cwf-field-col fieldset.cwf-field-wrap:has(.cwf-captcha-control.cptacha-separate),
.cwf-container .cwf-wrap .cwf-captcha-control.cptacha-separate .cwf-captcha-img {
    max-height: 50px;
    min-height: 50px;
    margin: 0
}

.zc-crm-form-container .cwf-field-row .cwf-field-col fieldset.cwf-field-wrap:has(.cwf-captcha-control.cptacha-separate) label.cwf-label-control {
    top: 16px;
}

.zc-crm-form-container .cwf-container .cwf-wrap .cwf-captcha-control.cptacha-separate .cwf-reload {
    right: 25px;
    bottom: 15px;
    left: auto;
}

.zc-crm-form-container .cwf-container .cwf-wrap .cwf-captcha-control.cptacha-separate .cwf-reload::after {
    top: 5px
}

.zc-crm-form-container .cwf-captcha-control.cptacha-separate input[name="enterdigest"] {
    width: 250px
}

.zc-crm-form-container .cwf-container .cwf-wrap .cwf-input::placeholder {
    color: transparent
}

.zc-crm-form-container .cwf-container .cwf-wrap .cwf-file-control .cwf-file-upload-list li {
    font-size: 12px;
    border-radius: 20px;
    border-color: #008452;
    background: #e1faec;
    padding: 4px 30px 4px 15px;
}


.zc-crm-form-container .cwf-container .cwf-wrap .cwf-file-control .cwf-file-upload-list .cwf-delete-icon {
    top: 7px;
    right: 7px;
    width: 12px;
    height: 12px
}

.zc-crm-form-container .cwf-container .cwf-wrap .cwf-input:focus,
.zc-crm-form-container .cwf-container .cwf-wrap .cwf-single-select-control .cwf-select:focus,
.zc-crm-form-container .cwf-container .cwf-wrap .cwf-textarea-control .cwf-textarea:focus {
    border: 1px solid #000;
    outline: 0;
    box-shadow: none
}

.zc-crm-form-container .cwf-container .cwf-wrap .cwf-button-control .cwf-button[type=submit],
.zc-crm-form-container .cwf-container .cwf-wrap .cwf-button-control .cwf-button[type=submit]:hover,
.zc-crm-form-container .cwf-container .cwf-wrap .cwf-button-control .cwf-button.loading .cwf-button-loader {
    background: var(--color-green-bright);
    border-radius: 50px;
    border: 1px solid #000;
    color: #000;
    text-transform: none;
    width: 100%
}

.zc-crm-form-container .cwf-container .cwf-wrap .cwf-button-control .cwf-button[type=submit]:hover {
    background: var(--color-green-bright)
}

.zc-crm-form-container .cwf-container.cwf-on-popup .cwf-title-form-wrap,
.zc-crm-form-container .cwf-container .cwf-wrap .cwf-file-control .cwf-file-drop-container {
    border-radius: 20px
}

/* Sliding form */

.zc-crm-form-container .cwf-container.cwf-on-slide .cwf-title-form-wrap {
    border-radius: 20px;
    margin: 25px
}

.zc-crm-form-container .cwf-container.cwf-on-slide.cwf-form-active .cwf-close-button {
    right: 40px;
    top: 40px;
    width: 18px;
    height: 18px;
}

/* popup form */
.cwf-container.cwf-on-popup.cwf-form-active .cwf-close-button {
    top: -160px;
    background: #fff;
    width: 20px;
    height: 20px;
    left: calc(50% + 195px);
    position: absolute;
}

@media(max-width: 768px) {

    .zc-crm-form-container .cwf-label-top-date label.cwf-label-control,
    .zc-crm-form-container .cwf-label-top-datetime-local label.cwf-label-control {
        visibility: visible;
        transition: visibility .3s ease
    }

    .zc-crm-form-container .cwf-field-wrap.cwf-label-top-date.cwf-focused label.cwf-label-control,
    .cwf-field-wrap.cwf-label-top-date.cwf-not-empty label.cwf-label-control,
    .cwf-field-wrap.cwf-label-top-datetime-local.cwf-not-empty label.cwf-label-control,
    .cwf-field-wrap.cwf-label-top-datetime-local.cwf-focused label.cwf-label-control {
        visibility: hidden
    }

    .zc-crm-form-container .cwf-drop-text {
        padding-top: 20px
    }

    .zc-crm-form-container .cwf-captcha-control.cptacha-separate {
        flex-direction: column;
        height: auto
    }

    .zc-crm-form-container .cwf-captcha-control.cptacha-separate input[name="enterdigest"] {
        width: 100%
    }

    .zc-crm-form-container .cwf-container .cwf-wrap .cwf-captcha-control.cptacha-separate .cwf-captcha-img,
    .zc-crm-form-container .cwf-field-row .cwf-field-col fieldset.cwf-field-wrap:has(.cwf-captcha-control.cptacha-separate) {
        height: auto;
        max-height: 100%;
        min-width: 100%
    }

    .zc-crm-form-container .cwf-container .cwf-wrap .cwf-captcha-control.cptacha-separate .cwf-captcha-img {
        max-height: 50px
    }

    .zc-crm-form-container .cwf-container .cwf-wrap fieldset.cwf-field-wrap.cwf-label-top-file label {
        left: 30px !important
    }

}

@media (max-width: 480px) {
    .zc-crm-form-container .cwf-container.cwf-on-slide .cwf-title-form-wrap {
        margin: 0
    }

    .zc-crm-form-container .cwf-container .cwf-elements .cwf-field-row .cwf-field-wrap:has(.cptacha-inline input[name="enterdigest"]) .cwf-label-control {
        top: 13px;
    }


   .zc-crm-form-container .cwf-container .cwf-elements .cwf-field-row .cwf-field-wrap:has(.cptacha-inline input[name="enterdigest"]).cwf-focused .cwf-label-control, .zc-crm-form-container .cwf-container .cwf-elements .cwf-field-row .cwf-field-wrap:has(.cptacha-inline input[name="enterdigest"]).cwf-not-empty .cwf-label-control {
        top:-10px;
    }


    .zc-crm-form-container .cwf-container .cwf-wrap .cwf-captcha-control.cptacha-inline .cwf-input {
        height: 45px
    }

    .zc-crm-form-container .cwf-container .cwf-wrap .cwf-captcha-control.cptacha-inline .cwf-captcha-img {
        border-radius: 50px;
        max-width: 100%;
        width: 85%;
        height: 52px;
    }

    .cwf-container.cwf-on-popup.cwf-form-active .cwf-close-button {
        top: 40px;
        left: calc(50% + 180px);
    }
}

@media (max-width: 375px) {
    .cwf-container.cwf-on-popup.cwf-form-active .cwf-close-button {
        left: calc(50% + 160px);
    }
}