/* Address autocomplete suggestions dropdown -- source: ledgerwise-app
   create-fields.tsx AddressSearchField menu (measured 2026-07-24):
   4px below the field, 8px radius, hairline border, white card, card shadow,
   4px vertical padding, rows = 16px pin + street (14px foreground) over
   remainder (12px muted), active/hover row = accent fill.
   Global (not scoped) because azure-maps.js builds the dropdown on body. */

.azure-maps-autocomplete-dropdown {
    position: fixed;
    z-index: 9999;
    margin-top: 4px;
    background: var(--lw-white, #fff);
    border: 1px solid var(--lw-border, rgba(145, 158, 171, 0.2));
    border-radius: var(--lw-radius-card, 8px);
    box-shadow: var(--lw-shadow-card, 0 6px 10px rgba(2, 11, 43, 0.05));
    max-height: 256px;
    overflow-y: auto;
    padding: 4px 0;
    display: none;
}

.azure-maps-autocomplete-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 8px 12px;
    cursor: pointer;
    background: transparent;
    transition: background-color 0.1s ease;
}

.azure-maps-autocomplete-item.active,
.azure-maps-autocomplete-item:hover {
    background: var(--lw-accent, #f0f3f6);
}

.azure-maps-autocomplete-item__pin {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    color: var(--lw-gray-space, #9da2b3);
}

.azure-maps-autocomplete-item__text {
    min-width: 0;
    flex: 1;
}

.azure-maps-autocomplete-item__street {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    line-height: 20px;
    color: var(--lw-text-primary, #1e1e24);
}

.azure-maps-autocomplete-item__rest {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;
    line-height: 16px;
    color: var(--lw-gray-space, #9da2b3);
}
