/* Lumaprints Thumbnail Management Styles */
.thumbnail-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.thumbnail-management {
    margin-top: 1.5rem;
}

.category-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.tab-btn:hover {
    border-color: #ff6b35;
    background: rgba(255, 107, 53, 0.1);
}

.tab-btn.active {
    background: #ff6b35;
    color: white;
    border-color: #ff6b35;
}

.thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
    min-height: 200px;
    padding: 1rem;
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.2);
}

.thumbnail-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.thumbnail-item:hover {
    transform: translateY(-2px);
    border-color: #ff6b35;
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.thumbnail-item:hover .thumbnail-overlay {
    opacity: 1;
}

.thumbnail-actions {
    display: flex;
    gap: 0.5rem;
}

.thumbnail-actions button {
    padding: 0.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    color: white;
    font-size: 0.875rem;
}

.thumbnail-actions .btn-danger {
    background: #dc3545;
}

.thumbnail-actions .btn-primary {
    background: #007bff;
}

.upload-section {
    margin-top: 2rem;
}

.upload-dropzone {
    border: 3px dashed #ff6b35;
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    background: rgba(255, 107, 53, 0.05);
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.upload-dropzone:hover {
    background: rgba(255, 107, 53, 0.1);
    border-color: #e55a2b;
}

.upload-dropzone.dragover {
    background: rgba(255, 107, 53, 0.15);
    border-color: #e55a2b;
}

.dropzone-content i {
    font-size: 3rem;
    color: #ff6b35;
    margin-bottom: 1rem;
}

.dropzone-content h3 {
    margin: 0 0 0.5rem 0;
    color: #ffffff;
}

.dropzone-content p {
    margin: 0;
    color: #cccccc;
}

.upload-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.thumbnail-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-style: italic;
    grid-column: 1 / -1;
    padding: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .category-tabs {
        justify-content: center;
    }
    
    .tab-btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    .thumbnail-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
    
    .upload-actions {
        flex-direction: column;
        align-items: center;
    }
}
