.upload-container {
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    background-color: #f8f9fa;
    cursor: pointer;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.upload-container:hover {
    border-color: #0d6efd;
    background-color: #f1f8ff;
}

.upload-icon {
    font-size: 48px;
    color: #6c757d;
    margin-bottom: 15px;
}

.file-selected {
    border-color: #28a745;
    background-color: #f0fff4;
}

.file-selected .upload-icon {
    color: #28a745;
}

#file-name {
    font-weight: 500;
    margin-top: 10px;
    color: #495057;
}

.progress-container {
    display: none;
    margin: 20px 0;
}

.instructions {
    border-left: 4px solid #0d6efd;
    padding: 10px 15px;
    background-color: #f8f9fa;
    margin-bottom: 20px;
}

.instructions h4 {
    color: #0d6efd;
    margin-top: 0;
}

.instructions ul {
    padding-left: 20px;
    margin-bottom: 0;
}

.sample-download {
    margin-bottom: 20px;
}

.alert {
    position: relative;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
}

.alert-info {
    color: #055160;
    background-color: #cff4fc;
    border-color: #b6effb;
}

.alert-success {
    color: #0f5132;
    background-color: #d1e7dd;
    border-color: #badbcc;
}

.alert-danger {
    color: #842029;
    background-color: #f8d7da;
    border-color: #f5c2c7;
}

    /* Bootstrap Icons - Add this if not already included */
    @import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.0/font/bootstrap-icons.css");

    /* Additional smooth animations */
    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: scale(0.9);
        }
        to {
            opacity: 1;
            transform: scale(1);
        }
    }

    .badge {
        animation: fadeIn 0.3s ease;
    }

    /* Group Selection Styles */
    .group-search-container {
        position: relative;
    }

    .group-dropdown {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        max-height: 300px;
        overflow-y: auto;
        background: white;
        border: 1px solid #ddd;
        border-radius: 4px;
        z-index: 1000;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        display: none;
    }

    .group-dropdown.show {
        display: block;
    }

    .group-item {
        padding: 12px 15px;
        cursor: pointer;
        border-bottom: 1px solid #f0f0f0;
        transition: background-color 0.2s;
    }

    .group-item:hover {
        background-color: #f8f9fa;
    }

    .group-item.selected {
        background-color: #e7f5ff;
        color: #0066cc;
    }

    .group-item:last-child {
        border-bottom: none;
    }

    .no-results {
        padding: 20px;
        text-align: center;
        color: #999;
    }

    .selected-groups-container {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 15px;
    }

    .group-badge {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        padding: 10px 15px;
        border-radius: 20px;
        font-size: 0.9rem;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .group-badge:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
    }

    .group-badge .remove-btn {
        background: rgba(255, 255, 255, 0.3);
        border: none;
        color: white;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        font-size: 14px;
        transition: background 0.2s;
    }

    .group-badge .remove-btn:hover {
        background: rgba(255, 255, 255, 0.5);
    }

    .empty-groups-message {
        padding: 20px;
        text-align: center;
        color: #999;
        border: 2px dashed #ddd;
        border-radius: 8px;
        margin-top: 15px;
    }