.cf7dz {
    display: block;
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
}

.cf7dz *,
.cf7dz *::before,
.cf7dz *::after {
    box-sizing: border-box;
}

.cf7dz-drop {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    min-height: 175px;
    padding: 22px 16px;
    border: 2px dashed #aac8e8;
    border-radius: 12px;
    background: #f7fbff;
    cursor: pointer;
    text-align: center;
    transition: background .2s ease, border-color .2s ease;
}

.cf7dz-drop:hover,
.cf7dz.is-dragover .cf7dz-drop {
    background: #edf6ff;
    border-color: #0b72e7;
}

.cf7dz-drop:focus-visible {
    outline: 3px solid #0b72e7;
    outline-offset: 3px;
}

.cf7dz-title {
    display: block;
    font-size: 14px;
    line-height: 25px;
    font-weight: 700;
    color: #2C2C2C;
}

.cf7dz-browse {
    color: #0072DD;
    text-decoration: none
}

.cf7dz-meta {
    display: block;
    font-size: 12px;
    line-height: 1.6;
    color: #5c6c7d;
    overflow-wrap: anywhere;
}
.cf7dz-meta {
    display: block;
    font-size: 14px;
    line-height: 22px;
    color: #2C2C2C;
    overflow-wrap: anywhere;
}

.cf7dz-input {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
}

.cf7dz-previews {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.cf7dz-item {
    position: relative;
    display: inline-flex;
    width: 85px;
    height: 85px;
    border: 1px solid #e0e6ed;
    border-radius: 8px;
    background: #f5f8fa;
}

.cf7dz-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 5px;
    border-radius: 8px;
    object-fit: cover;
    color: #26476c;
    font-size: 12px;
    font-weight: 700;
    overflow: hidden;
    overflow-wrap: anywhere;
}

.cf7dz-remove {
    position: absolute;
    right: -7px;
    top: -7px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 23px;
    height: 23px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #0a0a0a;
    color: #fff;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
}

.cf7dz-remove:hover {
    background: #ad1521;
}

.cf7dz-remove:focus-visible {
    outline: 2px solid #0b72e7;
    outline-offset: 2px;
}

.cf7dz-error {
    display: block;
    margin-top: 8px;
    color: #bf2028;
    font-size: 13px;
}

.cf7dz-error:empty {
    display: none;
}

.cf7dz-error>span {
    display: block;
}

.cf7dz.wpcf7-not-valid .cf7dz-drop {
    border-color: #bf2028;
}

@media (max-width: 480px) {
    .cf7dz-drop {
        min-height: 150px;
        padding: 18px 12px;
    }

    .cf7dz-item {
        width: 72px;
        height: 72px;
    }
}