

.original-preview {
    position: relative;
    border: 1px solid var(--border, #1A1A1A);
    border-radius: var(--radius-md, 8px);
    overflow: hidden;
    background: var(--gray-950, #0A0A0A);
    width: 60%;
    margin: 0 auto;
    z-index: 2;
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 10px;
    background: var(--gray-900, #111111);
    border-bottom: 1px solid var(--border, #1A1A1A);
    font-size: 11px;
    font-weight: bold;
    color: var(--accent, #F97316);
}

.icon-btn {
    background: none;
    border: none;
    color: var(--muted, #777777);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm, 4px);
    transition: all 0.2s ease;
    z-index: 10;
}

.icon-btn:hover {
    background: var(--gray-800, #1A1A1A);
    color: var(--danger, #ef4444);
}

#preview-img,
#previewImg {
    width: 100%;
    height: auto;
    display: block;
    max-height: 160px;
    object-fit: contain;
}
