/* ============================================================
   ScoutData - GEO (panel derecho mapa)
   Versión INLINE:
   - Fila: [Buscar] + [Resultado/Warning] en la misma línea (40px)
   - Confirmar aparece debajo (derecha) cuando hay resultado válido
   ============================================================ */

/* Panel derecho del mapa */
.sd-geo-panel{
  display: flex;
  flex-direction: column;

  /* 👇 ANTES estaba fijo a 32vh + overflow hidden (eso cortaba el botón) */
  height: 100%;
  min-height: 0;
  max-height: none;

  gap: 8px;

  /* 👇 para que no recorte el botón */
  overflow: visible;            /* si prefieres scroll: overflow-y:auto; overflow-x:hidden; */
}

/* Botón buscar centrado dentro de su Col */
.sd-search-center{
  display: flex;
  justify-content: center;
  width: 100%;
}

.sd-btn--search{
  width: min(420px, 100%);
}

/* ==========================
   FIX: input "aplastado"
   ========================== */
.sd-input.form-control{
  height: 40px !important;
  min-height: 40px !important;
  padding: 0 14px !important;
  line-height: 40px !important;
  box-sizing: border-box !important;
}

/* ==========================
   Resultado inline (40px)
   ========================== */

/* Slot inline a la derecha del botón */
.sd-geo-slot{
  min-height: 40px;
  height: 40px;
  margin-top: 0 !important;
  display: flex;
  align-items: center;
  width: 100%;
}

/* Resultado tipo dropdown (azul suave) */
.sd-geo-result{
  height: 40px;
  min-height: 40px;
  width: 100%;
  border-radius: 9999px;
  padding: 0 12px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;

  background: linear-gradient(180deg, rgba(0,231,255,0.14) 0%, rgba(0,231,255,0.06) 100%);
  border: 1px solid rgba(0,231,255,0.38);
  box-shadow:
    0 6px 16px rgba(0,0,0,0.35),
    0 0 10px rgba(0,231,255,0.16),
    inset 0 0 10px rgba(0,231,255,0.06);
}

/* Fila izquierda: icon + dirección */
.sd-geo-row{
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1 1 auto;
}

/* Icono */
.sd-geo-icon{
  flex: 0 0 auto;
}

/* Dirección con ellipsis */
.sd-geo-text{
  color: rgba(255,255,255,0.92);
  font-weight: 800;
  font-size: 13px;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Link “pill” a la derecha */
.sd-geo-link{
  flex: 0 0 auto;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 9999px;
  background: rgba(0,231,255,0.12);
  border: 1px solid rgba(0,231,255,0.35);
  color: rgba(0,231,255,0.95);
}

/* ==========================
   Warning inline (40px)
   ========================== */
.sd-geo-hint{
  height: 40px;
  min-height: 40px;
  width: 100%;
  border-radius: 9999px;
  padding: 0 12px;

  display: flex;
  align-items: center;

  color: rgba(255,255,255,0.88);
  font-weight: 800;
  font-size: 13px;

  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sd-geo-hint--warn{
  border-color: rgba(255,193,7,0.38);
  background: linear-gradient(180deg, rgba(255,193,7,0.10) 0%, rgba(255,193,7,0.04) 100%);
}

/* ==========================
   Confirmar (debajo, derecha)
   ========================== */
.sd-confirm-row{
  margin-top: 10px;
  display: flex;
  justify-content: flex-end;
  overflow: visible;
}

.sd-btn--confirm{
  min-width: 220px;
}
