.comment-form-image {
    margin-top: 12px;
}

.vdht-upload-zone {
    --vdht-upload-accent: #f2711c;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 260px;
    min-height: 120px;
    margin-top: 8px;
    padding: 16px;
    border: 1.5px dashed #d6d6d6;
    border-radius: 12px;
    background: #fafafa;
    cursor: pointer;
    transition: border-color .15s ease, background-color .15s ease;
}

.vdht-upload-zone:hover,
.vdht-upload-zone.is-dragging {
    border-color: var(--vdht-upload-accent);
    background: #fff8f2;
}

.vdht-upload-zone .vdht-upload-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.vdht-upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #8a8a8a;
    text-align: center;
    font-size: 13px;
    line-height: 1.4;
}

.vdht-upload-placeholder svg {
    color: #b5b5b5;
}

.vdht-upload-zone:hover .vdht-upload-placeholder,
.vdht-upload-zone:hover .vdht-upload-placeholder svg,
.vdht-upload-zone.is-dragging .vdht-upload-placeholder,
.vdht-upload-zone.is-dragging .vdht-upload-placeholder svg {
    color: var(--vdht-upload-accent);
}

.vdht-upload-preview {
    position: relative;
    display: none;
}

.vdht-upload-zone.has-image .vdht-upload-placeholder {
    display: none;
}

.vdht-upload-zone.has-image .vdht-upload-preview {
    display: block;
}

.vdht-upload-preview img {
    display: block;
    max-width: 220px;
    max-height: 220px;
    border-radius: 8px;
    object-fit: cover;
}

.vdht-upload-remove {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: #333;
    color: #fff;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
}

.vdht-upload-remove:hover {
    background: var(--vdht-upload-accent);
}

.vdht-comment-image {
    margin-top: 10px;
}

.vdht-comment-image img {
    max-width: 220px;
    max-height: 220px;
    border-radius: 10px;
    object-fit: cover;
    display: block;
}
