/* ServiHub — estilos globais */
* { -webkit-tap-highlight-color: transparent; }
body { font-family: 'Inter', system-ui, sans-serif; }

/* Glassmorphism */
.glass-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 1.25rem; border-radius: 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  transition: transform .25s ease, border-color .25s ease;
}
.glass-card:hover { transform: translateY(-3px); border-color: rgba(139,92,246,0.4); }

.step-card {
  padding: 2rem; border-radius: 1.25rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  transition: all .3s ease;
}
.step-card:hover { border-color: rgba(139,92,246,0.35); transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgba(139,92,246,0.3); }
.step-icon {
  width: 3.25rem; height: 3.25rem; border-radius: 1rem;
  display: grid; place-items: center; font-size: 1.3rem;
  margin-bottom: 1.25rem; transition: transform .3s ease;
}

/* Skeleton loading */
.skeleton {
  background: linear-gradient(90deg, rgba(255,255,255,0.04) 25%, rgba(255,255,255,0.09) 50%, rgba(255,255,255,0.04) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* Animações de entrada */
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.animate-fade-up { animation: fadeUp .45s ease both; }
@keyframes slideIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: translateX(0); } }
.animate-slide-in { animation: slideIn .3s ease both; }

/* Toast */
.toast {
  padding: .8rem 1.2rem; border-radius: .9rem; font-size: .875rem; font-weight: 500;
  backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,0.12);
  animation: slideIn .3s ease; max-width: 340px; box-shadow: 0 10px 30px rgba(0,0,0,.4);
}
.toast-success { background: rgba(16,185,129,0.15); border-color: rgba(16,185,129,0.35); color: #6ee7b7; }
.toast-error { background: rgba(239,68,68,0.15); border-color: rgba(239,68,68,0.35); color: #fca5a5; }
.toast-info { background: rgba(139,92,246,0.15); border-color: rgba(139,92,246,0.35); color: #c4b5fd; }

/* Inputs */
.input {
  width: 100%; padding: .75rem 1rem; border-radius: .8rem;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  color: white; outline: none; transition: border-color .2s;
}
.input:focus { border-color: rgba(139,92,246,0.6); }
.input::placeholder { color: rgb(100,116,139); }
select.input option { background: #0f172a; }

.btn-primary {
  background: linear-gradient(to right, #7c3aed, #c026d3);
  font-weight: 600; padding: .75rem 1.5rem; border-radius: .8rem;
  transition: all .2s; box-shadow: 0 8px 20px -8px rgba(124,58,237,0.5);
}
.btn-primary:hover { filter: brightness(1.15); }
.btn-primary:disabled { opacity: .5; cursor: not-allowed; }
.btn-ghost {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12);
  font-weight: 600; padding: .75rem 1.5rem; border-radius: .8rem; transition: all .2s;
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); }

/* Badge */
.badge { font-size: .65rem; font-weight: 700; padding: .2rem .55rem; border-radius: 99px; display: inline-flex; align-items: center; gap: .3rem; }
.badge-verified { background: rgba(59,130,246,0.15); color: #93c5fd; border: 1px solid rgba(59,130,246,0.3); }
.badge-premium { background: rgba(245,158,11,0.15); color: #fcd34d; border: 1px solid rgba(245,158,11,0.3); }
.badge-urgent { background: rgba(239,68,68,0.15); color: #fca5a5; border: 1px solid rgba(239,68,68,0.3); }

/* Chat bubbles */
.bubble-me { background: linear-gradient(135deg, #7c3aed, #a855f7); border-radius: 1.1rem 1.1rem .25rem 1.1rem; }
.bubble-other { background: rgba(255,255,255,0.08); border-radius: 1.1rem 1.1rem 1.1rem .25rem; }

/* Leaflet dark mode */
.leaflet-container { background: #0f172a; border-radius: 1rem; }
.leaflet-popup-content-wrapper, .leaflet-popup-tip { background: #1e293b; color: white; }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.2); }

/* Light mode */
html.light body { background: #f8fafc; color: #0f172a; }
html.light .glass-card, html.light .step-card { background: rgba(255,255,255,0.75); border-color: rgba(15,23,42,0.08); }
html.light .input { background: white; border-color: rgba(15,23,42,0.12); color: #0f172a; }
html.light .bubble-other { background: rgba(15,23,42,0.06); }
