/* Custom Dropzone styles for passport upload - targeting specific form */

/* Hide the empty details/status section */
.woocommerce .p-dropzone.dropzone .dz-preview .dz-details {
    display: none !important;
}

/* Remove white/gray background from image preview */
.woocommerce .p-dropzone.dropzone .dz-preview.dz-file-preview .dz-image {
    background: transparent !important;
    background-image: none !important;
}

.woocommerce .p-dropzone.dropzone .dz-preview .dz-image {
    background: transparent !important;
    background-image: none !important;
    border-radius: 8px;
    box-shadow: none;
}

/* Force transparent background with higher specificity */
.woocommerce .p-dropzone.dropzone .dz-preview.dz-image-preview {
    background: transparent !important;
}

/* Make sure images display properly */
.woocommerce .p-dropzone.dropzone .dz-preview .dz-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* Style the remove link */
.woocommerce .p-dropzone.dropzone .dz-preview .dz-remove {
    color: #e74c3c;
    font-weight: 500;
    margin-top: 5px;
    text-decoration: none;
}

.woocommerce .p-dropzone.dropzone .dz-preview .dz-remove:hover {
    color: #c0392b;
    text-decoration: underline;
}

/* Hide filename on hover effects */
.woocommerce .p-dropzone.dropzone .dz-preview:hover .dz-image img {
    transform: none !important;
    filter: none !important;
}

/* Adjust preview spacing */
.woocommerce .p-dropzone.dropzone .dz-preview {
    margin: 10px;
}

/* Success/Error marks positioning */
.woocommerce .p-dropzone.dropzone .dz-preview .dz-success-mark,
.woocommerce .p-dropzone.dropzone .dz-preview .dz-error-mark {
    top: 35px;
    left: 50%;
    transform: translateX(-50%);
}

/* Clean up the upload area border */
.woocommerce .p-dropzone.dropzone {
    border: 2px dashed #ccc;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.woocommerce .p-dropzone.dropzone.dz-drag-hover {
    border-color: #3498db;
    background-color: #f8f9fa;
}