/**
 * Styles pour l'autocomplétion d'adresses
 */

.lemon-address-wrapper {
    position: relative;
    width: 100%;
}

.lemon-address-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #fff;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    max-height: 300px;
    overflow-y: auto;
}

.lemon-address-item {
    padding: 10px 12px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.15s ease;
}

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

.lemon-address-item:hover,
.lemon-address-item.active {
    background-color: #f7f7f7;
}

.lemon-address-label {
    display: block;
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

.lemon-address-context {
    display: block;
    font-size: 12px;
    color: #888;
    margin-top: 2px;
}

/* Animation d'apparition */
.lemon-address-dropdown {
    animation: lemonDropdownFade 0.15s ease;
}

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