.geofenceAutoDiscoveryPanel{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:14px 16px;
  border:1px solid rgba(87,216,208,.22);
  border-radius:15px 15px 5px 15px;
  background:linear-gradient(135deg,rgba(87,216,208,.08),rgba(109,167,255,.05));
  box-shadow:0 14px 34px rgba(0,0,0,.12);
}

.geofenceAutoDiscoveryLead{display:flex;align-items:center;gap:12px;min-width:0}
.geofenceAutoDiscoveryIcon{
  position:relative;
  width:38px;
  height:38px;
  flex:0 0 38px;
  border:1px solid rgba(87,216,208,.32);
  border-radius:12px 12px 4px 12px;
  background:rgba(87,216,208,.11);
}
.geofenceAutoDiscoveryIcon::before,.geofenceAutoDiscoveryIcon::after{content:"";position:absolute;border-radius:50%}
.geofenceAutoDiscoveryIcon::before{inset:9px;border:2px solid #57d8d0}
.geofenceAutoDiscoveryIcon::after{left:16px;top:16px;width:6px;height:6px;background:#57d8d0;box-shadow:0 0 0 5px rgba(87,216,208,.14)}
.geofenceAutoDiscoveryCopy{display:grid;gap:3px;min-width:0}
.geofenceAutoDiscoveryTitle{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.geofenceAutoDiscoveryTitle b{color:var(--gf-text,#f3f8fb);font-size:12px}
.geofenceAutoDiscoveryBadge{padding:3px 6px;border:1px solid rgba(113,212,156,.26);border-radius:999px;background:rgba(113,212,156,.09);color:#71d49c;font-size:8px;font-weight:950;letter-spacing:.06em;text-transform:uppercase}
.geofenceAutoDiscoveryCopy p{margin:0;color:var(--gf-muted,#91a8bb);font-size:9px;font-weight:750;line-height:1.4}
.geofenceAutoDiscoveryMeta{display:flex;gap:10px;flex-wrap:wrap;color:#bad0df;font-size:8px;font-weight:850}
.geofenceAutoDiscoveryMeta strong{color:#57d8d0}
.geofenceAutoDiscoveryActions{display:flex;align-items:center;gap:10px;flex:0 0 auto}
.geofenceAutoDiscoveryState{display:flex;align-items:center;gap:6px;color:#9fb5c5;font-size:9px;font-weight:900;white-space:nowrap}
.geofenceAutoDiscoveryState i{width:8px;height:8px;border-radius:50%;background:#71d49c;box-shadow:0 0 0 4px rgba(113,212,156,.11)}
.geofenceAutoDiscoveryPanel.running .geofenceAutoDiscoveryState i{background:#f3bd62;box-shadow:0 0 0 4px rgba(243,189,98,.12);animation:geofenceAutoPulse 1s ease-in-out infinite}
.geofenceAutoDiscoveryPanel.error{border-color:rgba(255,125,134,.28);background:rgba(255,125,134,.06)}
.geofenceAutoDiscoveryPanel.error .geofenceAutoDiscoveryState i{background:#ff7d86;box-shadow:0 0 0 4px rgba(255,125,134,.12)}
.geofenceAutoDiscoveryButton{
  min-height:35px;
  padding:0 12px;
  border:1px solid rgba(87,216,208,.28);
  border-radius:10px 10px 3px 10px;
  background:rgba(87,216,208,.09);
  color:#7cebe4;
  font-size:9px;
  font-weight:950;
  cursor:pointer;
}
.geofenceAutoDiscoveryButton:hover:not(:disabled){border-color:#57d8d0;background:rgba(87,216,208,.15)}
.geofenceAutoDiscoveryButton:disabled{opacity:.55;cursor:wait}

html[data-ro-theme="light"] .geofenceAutoDiscoveryPanel{border-color:rgba(14,146,151,.2);background:linear-gradient(135deg,rgba(14,146,151,.07),rgba(40,103,216,.035));box-shadow:0 12px 28px rgba(33,57,79,.08)}
html[data-ro-theme="light"] .geofenceAutoDiscoveryTitle b{color:#102034}
html[data-ro-theme="light"] .geofenceAutoDiscoveryCopy p{color:#61758a}
html[data-ro-theme="light"] .geofenceAutoDiscoveryMeta{color:#506a80}
html[data-ro-theme="light"] .geofenceAutoDiscoveryMeta strong{color:#087f86}
html[data-ro-theme="light"] .geofenceAutoDiscoveryState{color:#506a80}
html[data-ro-theme="light"] .geofenceAutoDiscoveryButton{border-color:rgba(14,146,151,.23);background:#f2fbfb;color:#087f86}

@keyframes geofenceAutoPulse{50%{opacity:.45;transform:scale(.8)}}

@media(max-width:900px){
  .geofenceAutoDiscoveryPanel{align-items:flex-start;flex-direction:column}
  .geofenceAutoDiscoveryActions{width:100%;justify-content:space-between}
}

@media(max-width:560px){
  .geofenceAutoDiscoveryPanel{padding:12px}
  .geofenceAutoDiscoveryActions{align-items:stretch;flex-direction:column}
  .geofenceAutoDiscoveryButton{width:100%}
  .geofenceHeroStats{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

@media(prefers-reduced-motion:reduce){.geofenceAutoDiscoveryPanel.running .geofenceAutoDiscoveryState i{animation:none}}
