/* OwnDirectory near-me button. Prefix .od-, theme colours inherited. */
.od-near-me-wrap { display: inline-flex; flex: 0 0 auto; flex-direction: column; gap: .25rem; vertical-align: middle; max-width: max-content; }
.od-near-me { display: inline-flex; align-items: center; gap: .45em; cursor: pointer; white-space: nowrap; width: auto; }
.od-near-me[disabled] { cursor: progress; opacity: .7; }
.od-near-me-icon { display: inline-flex; align-items: center; justify-content: center; width: 1em; height: 1em; flex: none; font-size: .95em; }
.od-near-me[data-od-state="locating"] .od-near-me-icon { animation: od-pulse 1s ease-in-out infinite; }
.od-near-me-msg { font-size: .85em; line-height: 1.3; color: #b32d2e; }
.od-near-me-msg:empty { display: none; }
@keyframes od-pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.7); opacity: .5; } }

/* Inside the core search form the button sits in the Location field (positioned by cards.css when
   the catalogue root is present; otherwise it follows the field as a compact control). */
.geodir-search-container .od-near-me-wrap { margin: .35rem 0 0; }
.geodir-search-container .od-near-me { padding-top: .3rem; padding-bottom: .3rem; }
