.btn-geo-location {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border: 1.5px solid #14b8a6;
  border-radius: 999px;
  background: linear-gradient(135deg, #ecfdf9 0%, #e0f7f2 100%);
  color: #0f766e;
  font-family: "Kanit", "Sarabun", sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition:
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.15s ease;
  box-shadow: 0 1px 2px rgba(15, 118, 110, 0.08);
}

.btn-geo-location i {
  font-size: 0.95rem;
  color: #0d9488;
  transition: transform 0.25s ease;
}

.btn-geo-location:hover {
  background: linear-gradient(135deg, #0d9488 0%, #14b8a6 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.25);
  transform: translateY(-1px);
}

.btn-geo-location:hover i {
  color: #ffffff;
  transform: scale(1.15);
  animation: geoPulse 1s ease-in-out infinite;
}

.btn-geo-location:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(15, 118, 110, 0.15);
}

.btn-geo-location:focus-visible {
  outline: 2px solid #0d9488;
  outline-offset: 2px;
}

.btn-geo-location:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background: #f1f5f9;
  color: #94a3b8;
  border-color: #cbd5e1;
  box-shadow: none;
  transform: none;
}

.btn-geo-location:disabled i {
  color: #94a3b8;
  animation: none;
}

@keyframes geoPulse {
  0%,
  100% {
    transform: scale(1.15);
  }

  50% {
    transform: scale(1.3);
  }
}

@media (max-width: 576px) {
  .btn-geo-location {
    width: 100%;
    justify-content: center;
  }
}
