/**
 * Styles pour l'auto-complétion d'adresse
 */

#address-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-top: 2px;
}

#address-suggestions .list-group-item {
    padding: 10px 15px;
    border: none;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

#address-suggestions .list-group-item:hover,
#address-suggestions .list-group-item.active {
    background-color: #f8f9fa;
}

#address-suggestions .list-group-item:last-child {
    border-bottom: none;
}

#address-suggestions .list-group-item.text-muted {
    color: #6c757d;
    font-style: italic;
    cursor: default;
}

#address-suggestions .list-group-item.text-muted:hover {
    background-color: transparent;
}

/* Animation pour l'apparition des suggestions */
#address-suggestions {
    animation: fadeIn 0.2s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive design */
@media (max-width: 768px) {
    #address-suggestions {
        max-height: 150px;
    }
    
    #address-suggestions .list-group-item {
        padding: 8px 12px;
        font-size: 14px;
    }
}
