﻿.image-dropzone {
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    background: #f8f9fa;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .image-dropzone:hover {
        border-color: #0d6efd;
        background: #e7f3ff;
    }

    .image-dropzone.dragover {
        border-color: #198754;
        background: #d1e7dd;
        transform: scale(1.02);
    }

.dropzone-content {
    pointer-events: none;
}

.dropzone-icon {
    font-size: 3rem;
    color: #6c757d;
    margin-bottom: 1rem;
}

.preview-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.image-preview {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
}

    .image-preview img {
        width: 100%;
        height: 120px;
        object-fit: cover;
        display: block;
    }

    .image-preview .remove-btn {
        position: absolute;
        top: 5px;
        right: 5px;
        background: rgba(220, 53, 69, 0.9);
        color: white;
        border: none;
        border-radius: 50%;
        width: 25px;
        height: 25px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        font-size: 12px;
        transition: all 0.2s ease;
    }

        .image-preview .remove-btn:hover {
            background: #dc3545;
            transform: scale(1.1);
        }

    .image-preview .image-info {
        padding: 0.5rem;
        font-size: 0.8rem;
        color: #6c757d;
        background: white;
    }

.file-input {
    display: none;
}

.upload-stats {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #6c757d;
}

.error-message {
    color: #dc3545;
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

.success-message {
    color: #198754;
    font-size: 0.8rem;
    margin-top: 0.5rem;
}
