.card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-radius: 0.75rem;
    overflow: hidden;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.card.dragging {
    opacity: 0.5;
    transform: scale(0.95);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.card.drag-over {
    border: 2px dashed #0ea5e9;
    transform: translateY(0);
    background-color: rgba(14, 165, 233, 0.05);
}
.image-container {
    position: relative;
    overflow: hidden;
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
    width: 100%;
    height: 200px; 
}
.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
    transition: transform 0.3s ease;
}
.image-container:hover img {
    transform: scale(1.05);
}

.image-container .overlay {
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.8) 100%);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-container:hover .overlay {
    opacity: 1;
}

.status-badge {
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    display: inline-flex;
    align-items: center;
}

.status-badge .indicator {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    margin-right: 0.375rem;
}

.download-btn {
    background-color: #000;
    color: #fff;
    transition: all 0.3s ease;
}

.download-btn:hover {
    background-color: #333;
    transform: scale(1.05);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

#drop-area-container {
    opacity: 0;
    transform: scale(0.95);
}


@media (max-width: 550px) {
    .flex.gap-4 {
        gap: 0.5rem !important;
    }
    
    button:has(.fa-download),
    button:has(.fa-trash) {
        padding: 0.75rem;
        justify-content: center;
    }
    
    button:has(.fa-download) span,
    button:has(.fa-trash) span {
        display: none;
    }
    
    button:has(.fa-download) i,
    button:has(.fa-trash) i {
        margin-right: 0;
    }
}

@media (min-width: 551px) {
    button:has(.fa-download),
    button:has(.fa-trash) {
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
    }
}


button:has(.fa-download):hover {
    background-color: #22c55e !important;
}

button:has(.fa-trash):hover {
    background-color: #ef4444 !important;
}