/* Container for the Geoapify autocomplete widget */
.geoapify-autocomplete-container {
    position: relative;
}

/* Loading spinner inside input field */
input.geoapify-loading {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10' stroke-dasharray='31.4 31.4' stroke-linecap='round'%3E%3CanimateTransform attributeName='transform' type='rotate' dur='0.8s' from='0 12 12' to='360 12 12' repeatCount='indefinite'/%3E%3C/circle%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 18px 18px;
    padding-right: 36px !important;
}

/* Ensure the autocomplete dropdown is visible inside modals */
.modal-body .geoapify-autocomplete-container .geoapify-autocomplete-items {
    z-index: 100000;
}

/* Validation messages */
.geoapify-validation-message {
    margin-top: 8px;
    font-size: 0.875rem;
}

.geoapify-validation-message.success {
    color: #198754;
}

.geoapify-validation-message.warning {
    color: #b7791f;
}

.geoapify-validation-message.error {
    color: #c53030;
}
