/* media queries for responsive design */

@media (max-width: 768px) {
    .price-input-image {
        display: block;
        width: 100%;
    }
    .dropzone-area{
        display: none;
    }
}

@media screen and (min-width: 769px) {
    .dropzone-area {
        display: flex;
    }
    .price-input-image {
        display: none;
        width: 100%;
    }
}



.custom-dropzone {
    border: 2px dashed #007bff;
    border-radius: 5px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
}

.custom-dropzone:hover {
    background-color: #f8f9fa;
}

.dropzone-area.dragover {
    background-color: #e0e0e0;
    /* Change to your desired hover color */
}

.dropzone-area {
    padding: 20px;
}

.file-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.file-preview.padded {
    padding: 5px;
}

.file-preview img {
    width: 60px;
    height: auto;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 5px;
    position: relative;
}

.file-preview .delete-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(255, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

/* Mobile helper */
.upload-touch-helper {
    pointer-events: auto;
}
.upload-touch-helper .tap-to-upload {
    font-size: 0.75rem;
}