.acf-geocodage-field {
    position: relative;
}

.acf-geocodage-input-wrapper {
    position: relative;
}

.acf-geocodage-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 14px;
}

.acf-geocodage-input:focus {
    border-color: #0073aa;
    outline: none;
    box-shadow: 0 0 0 1px #0073aa;
}

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

.acf-geocodage-suggestions ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.acf-geocodage-suggestions li {
    padding: 10px 12px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.15s ease;
}

.acf-geocodage-suggestions li:last-child {
    border-bottom: none;
}

.acf-geocodage-suggestions li:hover {
    background-color: #f0f0f0;
}

.acf-geocodage-result {
    margin-top: 10px;
    padding: 10px 12px;
    background: #f0f9ff;
    border: 1px solid #bee3f8;
    border-radius: 3px;
    font-size: 13px;
    line-height: 1.6;
}

.acf-geocodage-result strong {
    color: #1a5490;
}

.acf-geocodage-loader {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-top: none;
    padding: 10px 12px;
    font-size: 13px;
    color: #666;
    z-index: 999;
    margin-top: -1px;
}

.acf-geocodage-loader::before {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    border: 2px solid #ddd;
    border-top-color: #0073aa;
    border-radius: 50%;
    animation: acf-geocodage-spin 0.6s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes acf-geocodage-spin {
    to { transform: rotate(360deg); }
}