/* =========================
   Reset & Base
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}
* {
  font-family: 'Google Sans', sans-serif;
}

html,
body {
  height: 100%;
  overflow: hidden;
  background-color: #f9f9f9;
}

/* =========================
   Layout Structure
========================= */
body {
  display: flex;
  flex-direction: column;
  transition: background-color 0.3s ease, color 0.3s ease;

}

.wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}
body.z-black .footer {
  color: #999;
}


/* =========================
   Loader
========================= */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100%;
  background: #f9f9f9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 100000;
  /* ❌ Removed: animation: loaderEntrance */
  transition: opacity 0.4s ease;
  opacity: 1;
}

#loader.fade-out {
  opacity: 0;
  pointer-events: none;
}

.gear {
  width: 100px;
  height: 100px;
  animation: rotate 2s linear infinite;
}

@keyframes rotate {
  to {
    transform: rotate(360deg);
  }
}

.loading-text {
  margin-top: 20px;
  font-size: 2.2rem;
  font-weight: 700;
  color: #007bff;
  letter-spacing: 2px;
  animation: fadeBlink 1.5s ease-in-out infinite alternate;
}

@keyframes fadeBlink {
  from {
    opacity: 0.6;
    transform: translateY(1px);
  }

  to {
    opacity: 1;
    transform: translateY(-2px);
  }
}

/* =========================
   Map Section (70%)
========================= */
.map-container {
  flex: 0 0 70%;
  width: 100%;
  min-height: 0;
}

/* =========================
   Scrollable Bottom (30%)
========================= */
.scrollable-section {
  flex: 0 0 30%;
  overflow-y: auto;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease-in-out;
}

/* =========================
   Services
========================= */
.services-section {
  padding: 20px 10px 10px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  justify-items: center;
}

.service-card {
  text-align: center;
  padding: 20px;
  background-color: #fff;
  border-radius: 15px;
  width: 100%;
  max-width: 180px;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  background-color: #eef5ff;
  box-shadow: 0 8px 16px rgba(0, 120, 255, 0.3);
}

.service-card img {
  max-width: 35px;
  height: auto;
}

.service-card h3 {
  margin-top: 10px;
  margin-bottom: 5px;
  font-size: 1rem;
}

.service-card p {
  font-size: 0.85rem;
  color: #666;
}

/* =========================
   Footer
========================= */
.footer {
  text-align: center;
  font-size: 0.85rem;
  color: #000000;
  background-color: #ffffff;
  padding: 15px;
  margin-top: auto;
  /* 🔥 This makes it stay at the bottom */
}

.fab {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9998;
  background: #ffffff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: 0.3s ease;
}

.fab img {
  width: 32px;
  height: 32px;
}

/* Radial menu container */
.radial-menu {
  position: fixed;
  top: 50px;
  right: 50px;
  width: 200px;
  z-index: 9998;
  height: 200px;
  pointer-events: none;
}

.radial-menu a {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  transition: all 0.3s ease;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  font-size: 20px;
  align-items: center;
  justify-content: center;
}

.radial-menu.active a {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.radial-menu.active a:nth-child(1) {
  bottom: 0;
  left: 80px;
}

.radial-menu.active a:nth-child(2) {
  bottom: 60px;
  left: 40px;
}

.radial-menu.active a:nth-child(3) {
  bottom: 60px;
  left: -40px;
}

.radial-menu.active a:nth-child(4) {
  bottom: 0;
  left: -80px;
}

.fab-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #fff;
  color: #333;
  font-size: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  text-decoration: none;
  transform: scale(0);
  opacity: 0;
  transition: all 0.3s ease;
}

.fab-item:hover {
  box-shadow: 0 0 12px 4px rgba(0, 123, 255, 0.6), 0 0 20px 8px rgba(1, 31, 63, 0.3);
  color: #fff;
  transform: scale(1.1);
}

.fab-item::after {
  content: attr(data-title);
  position: absolute;
  top: 50%;
  right: 110%;
  transform: translateY(-50%);
  background: #333;
  color: #fff;
  padding: 10px 10px;
  border-radius: 6px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease-in-out;
  z-index: 9999;
}

.fab-item:hover::after {
  opacity: 1;
}

.fab::after {
  content: attr(data-title);
  position: absolute;
  top: 50%;
  right: 110%;
  transform: translateY(-50%) translateX(10px);
  /* slight slide */
  background: #333;
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 9999;
}

.fab.show-tooltip::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
  /* slide in */
}

/* ✨ Signup Dialog Modal */
.signup-modal {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.6);
  z-index: 10002;
  animation: fadeInUp 0.4s ease-out;

}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hidden {
  display: none !important;
}

.signup-card {
  background: rgba(20, 20, 20, 0.65);
  /* Better contrast than pure white */
  backdrop-filter: blur(20px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 40px;
  width: 100%;
  max-width: 400px;
  z-index: 1;
  box-shadow: 0 0 30px rgba(35, 105, 255, 0.3);
  color: #fff;
  animation: fadeIn 0.8s ease-in-out;
  position: relative;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.signup-card h2 {
  margin-bottom: 8px;
}

.signup-card p {
  font-size: 0.9rem;
  margin-bottom: 24px;
  color: #ccc;
}

.signup-card input {
  width: 100%;
  margin-bottom: 16px;
  padding: 12px;
  border: none;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  transition: background-color 0.3s;
}

.signup-card input:focus {
  background-color: rgba(255, 255, 255, 0.15);
  outline: none;
}

.signup-card input::placeholder {
  color: #ccc;
}

.signup-card small {
  color: #999;
  display: block;
  margin-bottom: 16px;
}

.signup-card button[type="submit"] {
  width: 100%;
  background: #4b7bff;
  color: #fff;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  margin-bottom: 16px;
  transition: transform 0.2s, background 0.3s;
}

.signup-card button[type="submit"]:hover {
  background: #5044ff;
  transform: scale(1.03);
}

.oauth {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.oauth button img {
  width: 20px;
  height: 20px;
  pointer-events: none;
  object-fit: contain;
}

.oauth button {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.oauth button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.oauth button::before,
.oauth button::after {
  display: none !important;
  content: none !important;
}

.oauth .google {
  background: #fff;
  color: #000;
}

.oauth .apple {
  background: #000;
  color: #fff;
  border: 1px solid #555;

}


.oauth button i {
  pointer-events: none;
  font-size: 16px;
  line-height: 1;
}

.close-modal {
  position: absolute;
  /* 🔥 Missing — required to anchor it */
  top: 12px;
  right: 12px;
  width: 30px;
  height: 30px;
  font-size: 16px;
  padding: 0;
  line-height: 1;
  background: rgba(255, 255, 255, 0.08);
  /* Optional: slight visible bg */
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: 0.2s ease;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-modal:hover {
  background: rgba(255, 255, 255, 0.2);
}

body.modal-open .fab,
body.modal-open .radial-menu {
  display: none !important;
}


/* =========================
   Reparo Modal*/

.reparo-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
  /* Slightly stronger for contrast */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10002;
}

.reparo-modal.hidden {
  display: none;
}

.reparo-modal-content {
  background: rgba(20, 20, 20, 0.65);
  /* Better contrast than pure white */
  backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  box-shadow: 0 0 30px rgba(35, 105, 255, 0.3);
  padding: 30px 25px;
  width: 90%;
  max-width: 400px;
  color: #fff;
  animation: fadeInUp 0.4s ease-out;
  position: relative;
  text-align: left;
}

.reparo-modal-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.reparo-modal-content p {
  font-size: 0.95rem;
  color: #d0d0d0;
  margin-bottom: 18px;
}

.reparo-modal-content textarea {
  width: 100%;
  height: 90px;
  background-color: rgba(255, 255, 255, 0.05);
  border: none;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 0.95rem;
  color: #ffffff;
  outline: none;
  resize: none;
  margin-bottom: 20px;
}

.reparo-modal-content textarea::placeholder {
  color: #aaaaaa;
}

.reparo-modal-content button:not(.modal-close) {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(to right, #4f46e5, #3b82f6);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.reparo-modal-content button:not(.modal-close):hover {
  transform: scale(1.03);
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
  background: linear-gradient(to right, #3b82f6, #2563eb);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 20px;
  background: transparent;
  color: #bbb;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
  z-index: 10;
}

.modal-close:hover {
  color: #fff;
  transform: scale(1.2);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Enhanced glow when typing */
.reparo-modal-content textarea:focus {
  border: 1px solid #60a5fa;
  box-shadow: 0 0 8px rgba(96, 165, 250, 0.4);
}

/* Button loading + success feedback */
button.loading::after {
  content: "";
  margin-left: 10px;
  border: 2px solid white;
  border-top: 2px solid transparent;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  display: inline-block;
  animation: spin 1s linear infinite;
  vertical-align: middle;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Toast style (optional) */
.reparo-toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: #10b981;
  color: white;
  padding: 10px 20px;
  border-radius: 12px;
  font-weight: 500;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.3);
  opacity: 0;
  transition: opacity 0.4s ease, bottom 0.4s ease;
  z-index: 10003;
}

.reparo-toast.show {
  opacity: 1;
  bottom: 50px;
}

/* =========================
   Emergency Button*/

.emergency-btn {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: #ffffff;
  color: #000000;
  padding: 10px 16px;
  border-radius: 12px;
  font-weight: 600;
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.4);
  animation: pulse 2s infinite;
  cursor: pointer;
  z-index: 10001;
  border: none;
}

.emergency-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.6);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.4);
  }

  50% {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.7);
  }

  100% {
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.4);
  }
}

/* =========================
   Search Bubble*/

.search-bubble,
.location-search-bar {
  height: 48px;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.2);
  border: none;
  outline: none;
  transition: background 0.3s ease, transform 0.2s ease;
}

/* 🧠 Individual search bubble adjustments */
.search-bubble {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  color: #000000;
  cursor: pointer;
  min-width: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  white-space: nowrap;
  overflow: hidden;
  z-index: 10001;
}

.search-bubble:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateX(-50%) scale(1.02);
}

.search-bubble .cursor {
  font-weight: bold;
  animation: blink 1s step-end infinite;
  color: #292929;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

/* 📍 Input wrapper */
.location-search-wrapper {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  z-index: 10002;
  transition: all 0.4s ease;
}

/* 🔎 Location input defaults (light mode) */
.location-search-bar {
  width: 100%;
  background: #ffffff;
  color: #000000;
}

/* 🌑 Dark Mode compatibility */
body.z-black .location-search-bar {
  background: rgb(0, 0, 0);
  color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.12);
}

body.z-black .search-bubble {
  background: rgb(0, 0, 0);
  color: #ffffff;
}

body.z-black .search-bubble .cursor {
  color: #ffffff;
}

.location-search-wrapper.expanded {
  width: 90vw;
  max-width: 700px;
}

#closeLocationSearch {
  display: none;
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  color: #555;
  font-size: 20px;
  border: none;
  cursor: pointer;
}

.location-search-wrapper.expanded #closeLocationSearch {
  display: block;
}

/* Utility */
.hidden {
  display: none !important;
}




/* =========================
   Theme Switcher*/

.theme-switcher {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #ffffff;
  color: #292929;
  border: none;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  font-size: 13px;
  /* 👈 reduced from 16px */
  animation: pulse 6s infinite;
  z-index: 10001;
  transition: background 0.3s ease, transform 0.2s ease;
}

.theme-switcher:hover {
  transform: scale(1.1);
  background: #f2f2f2;
}


/* =========================
   Z-BLACK DARK MODE (OLED)
========================= */

body.z-black {
  background-color: #000;
  color: #fff;
}

/* Frosted modals & cards */
body.z-black .signup-card,
body.z-black .reparo-modal-content {
  background-color: rgba(0, 0, 0, 0.9);
  color: #fff;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

body.z-black .signup-card h2,
body.z-black .reparo-modal-content h2 {
  color: #ffffff;
}

body.z-black .signup-card p,
body.z-black .reparo-modal-content p,
body.z-black small {
  color: #bbbbbb;
}

/* Inputs/Textareas */
body.z-black input,
body.z-black textarea {
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: none;
}

body.z-black input::placeholder,
body.z-black textarea::placeholder {
  color: #888;
}

/* Buttons */
body.z-black .signup-card button[type="submit"],
body.z-black .reparo-modal-content button {
  background-color: #4b7bff;
  color: white;
}



body.z-black .signup-card button[type="submit"]:hover,
body.z-black .reparo-modal-content button:hover {
  background-color: #1d4ed8;
}

/* Scrollable Section */
body.z-black .scrollable-section {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  box-shadow: 0 -2px 10px rgba(255, 255, 255, 0.05);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Service Cards */
body.z-black .service-card {
  background-color: #0a0a0a;
  color: #fff;
}

body.z-black .service-card p {
  color: #bbb;
}

body.z-black .service-card:hover {
  background-color: #121212;
  box-shadow: 0 8px 16px rgba(0, 120, 255, 0.3);
}

/* Search bubble */
body.z-black .search-bubble {
  background-color: rgba(0, 0, 0, 0.9);
  color: #ffffff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

body.z-black .search-bubble .cursor {
  color: #fff;
}

/* Emergency button */
body.z-black .emergency-btn {
  background-color: #111;
  color: #fff;
  box-shadow: 0 0 12px rgba(0, 255, 255, 0.15);
}

body.z-black .emergency-btn:hover {
  box-shadow: 0 6px 16px rgba(0, 255, 255, 0.2);
}

/* Theme switcher */
body.z-black .theme-switcher {
  background-color: #111;
  color: #fff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.1);
}

/* FAB */
body.z-black .fab {
  background-color: #000;
}

body.z-black .fab-item {
  background-color: #111;
  color: #fff;
}

body.z-black .fab-item:hover {
  background-color: #4b7bff;
  color: #fff;
}

body.z-black .reparo-modal-content .modal-close {
  color: #f3f4f6;
  /* tailwind gray-100 for better contrast */
  font-weight: bold;
  background-color: #f7f7f700 !important;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}

body.z-black .reparo-modal-content .modal-close:hover {
  color: #fff;
  background-color: #f7f7f700 !important;
  transform: scale(1.2);
}

/* Voice FAB */
body.z-black .voice-map-fab {
  background-color: #111;
  color: #fff;
}

.voice-tooltip-wrapper {
  position: absolute;
  top: 62%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
}

.voice-map-fab {
  background-color: white;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.voice-map-fab:hover {
  transform: scale(1.08);
}

.voice-map-fab img {
  width: 40px;
  height: 40px;
}

/* Tooltip itself */
.voice-tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 10px;
  background: #2b2b2b;
  color: #fff;
  padding: 8px 14px;
  font-size: 13px;
  border-radius: 6px;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;

}

.voice-tooltip-wrapper:hover .voice-tooltip {
  opacity: 1;
}

.voice-map-fab.listening {
  box-shadow: 0 0 20px 2px #42a6f8;
  animation: pulse 1.5s infinite;
}

@media (max-width: 768px) {
  /* 🌐 Map */
  .map-container {
    height: 320px !important;
  }
 .search-bubble {
    position: fixed;
    top: 20px;
    left: 50px; /* ✅ Shifted slightly right */
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-radius: 50%;
    padding: 0;
    justify-content: center;
    align-items: center;
    display: flex;
    font-size: 22px;
    background: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 10001;
    overflow: hidden;
    transition: all 0.3s ease;
  }

  /* Hide smart text in collapsed */
  .search-bubble span,
  .search-bubble .cursor {
    display: none;
  }

  /* Expanded bubble */
  .search-bubble.expanded {
    min-width: 320px;
    width: auto;
    height: auto;
    border-radius: 16px;
    padding: 12px 20px;
    justify-content: flex-start;
    font-size: 1rem;
    gap: 6px;
    left: 50%;
    transform: translateX(-50%);
  }

  .search-bubble.expanded span,
  .search-bubble.expanded .cursor {
    display: inline;
  }


  /* 🧭 Search Expansion */
  .location-search-wrapper {
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
  }

  .location-search-bar {
    font-size: 1rem;
    padding: 12px 16px;
  }

  /* 🧱 Scrollable Content Area */
  .scrollable-section {
    max-height: calc(100vh - 340px);
    padding: 16px 12px 60px;
    overflow-y: auto;
  }

  /* 🎤 Voice Button */
  .voice-map-fab {
    width: 55px;
    height: 55px;
    bottom: 140px;
  }

  .voice-map-fab img {
    width: 32px;
    height: 32px;
  }

  .voice-tooltip {
    font-size: 13px;
    padding: 6px 12px;
  }

  /* ⚙️ Radial Menu */
  
  /* 📱 Modal Sizing */
  .reparo-modal-content,
  .signup-card {
    width: 94% !important;
    padding: 20px 16px !important;
  }

  /* 🆘 Buttons */
  .theme-switcher,
  .emergency-btn {
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 10px;
    bottom: 16px;
  }

  /* 🧠 Tooltip & Transition */
  #fabBtn, #radialMenu {
    transition: opacity 0.3s ease;
  }

  /* 🧩 Service Cards */
.services-grid {
  display: flex;
  overflow-x: auto;
  padding: 10px;
  gap: 16px;
  scroll-snap-type: x mandatory;
}
.service-card {
  flex: 0 0 auto;
  scroll-snap-align: start;
}


  /* 🦶 Footer */
  .footer {
    font-size: 12px;
    padding: 10px;
    text-align: center;
  }
}
