.upload-box {
    border: 2px dashed #4a4a4a;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.05);
    position: relative;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.upload-box:hover, .upload-box.dragover {
    border-color: #de2573;
    background: rgba(222, 37, 115, 0.05);
}
.upload-message i {
    font-size: 3em;
    color: #de2573;
    margin-bottom: 15px;
}
.upload-message p {
    color: #b8b8b8;
    margin: 0;
    font-size: 1.1em;
}
#imagePreview {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
#previewImg {
    max-width: 100%;
    max-height: 250px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.remove-btn {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #ff4757;
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 10;
}

/* Result Grid Styles */
.image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}
.download-all-container {
    text-align: center;
    margin-top: 20px;
}
@media (max-width: 768px) {
    .image-grid {
        grid-template-columns: 1fr;
    }
}

