/* Power Pages Address Finder Control Styles - Unified with NZBN Control */
.address-finder-container {
    position: relative;
    width: 100%;
}

.address-finder-input {
    border-radius: 0.375rem;
    border: 1px solid #ced4da;
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
}

.address-finder-input:focus {
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Unified dropdown styling to match NZBN control */
.address-suggestions {
    position: absolute;
    width: 100%;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    z-index: 999;
    max-height: 300px;
    overflow-y: auto;
}

/* Unified suggestion item styling */
.suggestion-item {
    padding: 0.75rem 1rem;
    cursor: pointer;
    border-bottom: 1px solid #dee2e6;
    background-color: white;
    color: #212529;
}

.suggestion-item:hover,
.suggestion-item.active {
    background-color: #f8f9fa;
}

.suggestion-item:last-child {
    border-bottom: none;
}

/* Input group button styling - match NZBN */
.address-finder-container .btn {
    border-radius: 0 0.375rem 0.375rem 0;
}

/* Alert styling for messages - unified approach */
.address-finder-container .alert {
    font-size: 0.875rem;
    padding: 0.75rem 1rem;
    margin-bottom: 0;
    border-radius: 0.375rem;
}

/* Remove complex animations and transitions */
.address-finder-container .alert,
.suggestion-item {
    transition: none;
}

/* Simplified responsive design */
@media (max-width: 576px) {
    .suggestion-item {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
}

/* Accessibility improvements */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}