.address-geo-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-family: sans-serif;
}

.address-inputs {
    flex: 1;
    min-width: 300px;
}

.map-column {
    flex: 1;
    min-width: 300px;
}

.geo-map-container {
    height: 300px;
    width: 100%;
    border: 1px solid #dcdcdc;
    margin-bottom: 10px;
    z-index: 0;
}

.geo-field-row {
    margin-bottom: 10px;
}

.geo-field-row input {
    width: 100%;
    /* Ensure frontend forms don't override this too aggressively */
    max-width: 100%; 
}

.coord-inputs {
    display: flex;
    gap: 10px;
}

/* Custom button style for frontend (FormBuilder) usage */
button.geo-lookup-btn {
    width: 100%;
    margin-top: 5px;
    padding: 8px 15px;
    cursor: pointer;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 4px;
    color: #333;
    font-size: 14px;
}

button.geo-lookup-btn:hover {
    background-color: #e0e0e0;
}

/* Loader state */
button.geo-lookup-btn.ui-state-active {
    background-color: #fffbc2;
    cursor: wait;
}

.geo-feedback {
    margin-top: 10px;
    font-size: 0.9em;
}

.geo-results-list {
    background: #f0f0f0;
    border: 1px solid #ccc;
    padding: 0;
    border-radius: 4px;
}

.geo-results-list ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.geo-results-list li {
    padding: 8px;
    cursor: pointer;
    border-bottom: 1px solid #ddd;
}

.geo-results-list li:hover {
    background: #e0e0e0;
    color: #000;
}

.geo-results-list li:last-child {
    border-bottom: none;
}
