/*
 * Shared styling for the bulk geocode / bulk reverse geocode panels
 * (BulkGeocode.razor and BulkReverseGeocode.razor). Kept as a single global
 * stylesheet rather than per-component scoped CSS so updates apply to both
 * components automatically.
 */

.bulk-geocode-panel {
    display: flex;
    flex-direction: column;
    background-color: var(--frg-secondary-color);
}

.bulk-geocode-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    padding-bottom: 0.5rem;
}

.bulk-geocode-source-inline {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-right: 3rem;
}

.bulk-geocode-source-inline li.list-group-item {
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
}

.bulk-geocode-source-inline .dynamic-inline-select {
    min-width: 10rem;
}

.bulk-geocode-error-banner {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.5rem;
    padding: 0.85rem 1rem;
    border-radius: 0.375rem;
    background-color: rgba(220, 53, 69, 0.15);
    border: 1px solid rgba(220, 53, 69, 0.35);
    color: var(--text-color);
    font-size: 0.875rem;
}

.bulk-geocode-error-banner i {
    font-size: 1.1rem;
    flex-shrink: 0;
    color: var(--action-delete-hover);
}

.bulk-geocode-spinner {
    color: var(--btn-highlight-color);
    opacity: 1;
}

.bulk-geocode-empty {
    margin-top: 0.5rem;
    padding: 1rem;
    border: 1px dashed var(--btn-disable-color);
    border-radius: 0.375rem;
    color: var(--text-color);
    opacity: 0.8;
    text-align: center;
}

.bulk-geocode-dialog-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.bulk-geocode-dialog-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding-top: 0.75rem;
}

.bulk-geocode-status-message {
    font-size: 1rem;
    min-height: 2rem;
    display: flex;
    align-items: center;
}

.bulk-geocode-action-buttons {
    margin-left: auto;
    display: flex;
    justify-content: flex-end;
}

.bulk-geocode-action-buttons .btn {
    min-width: 8rem;
}
