/* CLIK.ma (22 Nov): « Me localiser » in a publishing form's « Lieu » (__clik_locate.tpl, clik-locate.js).
   23 Nov (the owner: "add locate me circle inside the all location fields"): the round button INSIDE the field at its end -
   the microphone's size, 2 px from the field's edges, placed by clik-locate.js (left / top / width / height in its box);
   a soft CLIK blue so it reads apart from the grey clear ×, which sits 4 px before it */
.clik-loc-btn{position:absolute;z-index:3;left:0;top:0;width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;padding:0;margin:0;border:0;border-radius:50%;background:#e7f0ff;color:#0866FF;cursor:pointer;transition:background-color .15s ease,color .15s ease,box-shadow .15s ease,scale .12s ease}
.clik-loc-btn svg{display:block;width:55%;height:55%;max-width:20px;max-height:20px;padding:0;background:none;pointer-events:none}
.clik-loc-btn:hover{background:#d4e4ff;box-shadow:0 0 0 1px rgba(8,102,255,.35)}
.clik-loc-btn:active{background:#0866FF;color:#fff;scale:.93}
.clik-loc-btn:focus{outline:none}
.clik-loc-btn:focus-visible{box-shadow:0 0 0 3px rgba(8,102,255,.45)}
.clik-loc-btn.is-busy{color:#0866FF;cursor:progress}
.clik-loc-btn.is-busy::after{content:"";position:absolute;inset:-2px;border-radius:50%;background:conic-gradient(#0A5CFF,#F5104F,#FFD200,#0A5CFF);-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 3px),#000 calc(100% - 2.5px));mask:radial-gradient(farthest-side,transparent calc(100% - 3px),#000 calc(100% - 2.5px));animation:clik-loc-spin 1s linear infinite}
@keyframes clik-loc-spin{to{rotate:360deg}}
input.has-clik-loc.is-lit{box-shadow:0 0 0 3px rgba(22,163,74,.35);transition:box-shadow .3s ease}
.clik-loc-note{margin:8px 0 0;font-size:13px;line-height:1.35;color:#65676b}
.clik-loc-note[hidden]{display:none}
.clik-loc-note.is-ok{color:#15803d}
.clik-loc-note.is-err{color:#b91c1c}
body.night-mode .clik-loc-btn{background:#233a5e;color:#6aa8ff}
body.night-mode .clik-loc-btn:hover{background:#2c4a78}
body.night-mode .clik-loc-btn:active{background:#0866FF;color:#fff}
body.night-mode .clik-loc-note{color:#b0b3b8}
body.night-mode .clik-loc-note.is-ok{color:#4ade80}
body.night-mode .clik-loc-note.is-err{color:#f87171}
/* the place kept 10 minutes - « Actualiser » reads the position again */
.clik-loc-again{display:inline;padding:0;margin:0;border:0;background:none;font:inherit;font-weight:700;color:#0866FF;cursor:pointer;text-decoration:underline;text-underline-offset:2px}
.clik-loc-again:focus{outline:none}
.clik-loc-again:focus-visible{border-radius:4px;box-shadow:0 0 0 2px rgba(8,102,255,.45)}
body.night-mode .clik-loc-again{color:#4C9AFF}
.clik-qs-f + .clik-loc-note{margin:-4px 0 0}
@media (prefers-reduced-motion:reduce){.clik-loc-btn.is-busy::after{animation:none}.clik-loc-btn,input.has-clik-loc.is-lit{transition:none}}
