input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none; /* Para navegadores baseados em WebKit (Chrome, Safari, Opera) */
  margin: 0; /* Remove o espaço que as setas ocupavam */
}

input[type="number"] {
  -moz-appearance: textfield; /* Para navegadores baseados em Mozilla (Firefox) */
  appearance: none; /* Propriedade padrão para navegadores modernos */
}
* {
  font-family: Arial, Helvetica, sans-serif;
}


.container,
.container-fluid,
main {
  margin: 0;
  width: 100%;
}

main{
  padding: 0 !important;
}
.container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
padding: 0;
}

.navbar {
  position: initial;
  z-index: initial;
  display: flex;
  justify-self: center;
  align-items: center;
  width: 100%;
  height: max-content;
  padding: 1px;
  border-radius: 0;
}

footer {
  background-color: aliceblue;
  display: flex;
  position: initial;
  justify-self: center;
  flex-direction: row;
  align-items: center;
  z-index: initial;
  border-radius: initial;
  width: 100%;
  justify-content: center;
  height: max-content;
  gap: 1vw;
  padding: 0.5vw;
}
footer a:hover {
  text-decoration: none;
  transition: 0.5s;
  color: gray;
  transform: scale(1.05);
}
footer a {
  text-decoration: underline;
  transition: 0.5s;
}

#map {
  width: 100%;
  height: 100dvh;
}


#logo:hover {
  transform: scale(1.1);
  transition: 0.5s;
}

#logo {
  margin: 0.5vw;
  height: 5vh;
  transition: 0.5s;
}


body,
html {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  scrollbar-color: #1a538f transparent;
  scrollbar-width: thin;
  scroll-behavior: smooth;
}

/* Fundo suave global */
body {
  background-color: #f6f8fb;
  color: #333;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}



/* Usamos um seletor mais forte para ganhar do Bootstrap */
button.btn-outline-secondary,
.btn-outline-secondary {
  color: black;
  animation: pulseBorder 4s infinite !important;
  transition: 0.5s; !important;
}
button.btn-outline-secondary:hover,
.btn-outline-secondary:hover{

  animation: none !important;
  transition: 0.5s; !important;
}
@keyframes pulseBorder {
   0% {
     box-shadow: 0 0 0 0px rgba(105, 105, 105, 0);
   }
   50% {
     box-shadow: 0 0 0 2px rgba(105, 105, 105, 0.5);
   }
   100% {
     box-shadow: 0 0 0 0px rgba(105, 105, 105, 0);
   }
 }
/* Aplique 'animation: pulseBorder 2s infinite alternate !important;' no botão */
.navbar {
  transition: all 0.3s ease;
  background-color: rgba(255, 255, 255, 0.90) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  height: 60px;
}

.navbar-brand b {
  font-size: 1.3rem;
  letter-spacing: -1px;
  color: #222;
}

.brand-i {
  color: #8aaf6a;
}

/* Verde */
.brand-b {
  color: #4c7cac;
}

/* Azul */
#logo {
  height: 30px;
}

/* Ajuste do conteúdo principal para não ficar escondido atrás do header */
main {
  flex: 1;
  padding-top: 60px;
}

/* Remove padding extra apenas na Home para o mapa ser full-screen */
.container-full-map {
  padding: 0 !important;
  margin: 0 !important;
  width: 100%;
}

/* --- BOTÕES FLUTUANTES GLOBAIS --- */

/* Botão Menu (Inferior Esquerdo - Branco) */
.menupop {
  position: fixed;
  bottom: 25px;
  left: 25px;
  width: 55px;
  height: 55px;
  background: #ffffff;
  color: #333;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1040;
  /* Acima do mapa */
  transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid #eee;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.menupop:hover {
  transform: scale(1.1);
  color: #0d6efd;
  border-color: #0d6efd;
}


/* --- MENU LATERAL (DRAWER) --- */
.menu-drawer {
  border-radius: 0 24px 24px 0;
  border: none;
  width: 300px !important;
}

.menu-item {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  margin-bottom: 8px;
  border-radius: 12px;
  color: #444;
  text-decoration: none;
  transition: 0.2s;
  font-weight: 500;
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
}

.menu-item:hover {
  background-color: #f1f5f9;
  color: #0d6efd;
}

.menu-item i {
  font-size: 1.2rem;
  margin-right: 12px;
  width: 24px;
  text-align: center;
}

.user-card {
  background: #f8fafc;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
  border: 1px solid #f1f5f9;
}

@media (max-width: 650px) {
  #txt-search {
    display: none;
  }
}

/* Camada que cobre a tela */
.transition-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #ffffff; /* Cor da transição */
  z-index: 9999;
  pointer-events: none;
  transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
  opacity: 1;
}

/* Estado quando a página carregou (sai da tela) */
.transition-layer.is-hidden {
  opacity: 0;
  transition: 0.5s;
}

/* Estado de saída (entra na tela vindo de baixo) */
.transition-layer.is-leaving {
  opacity: 1;
  transition: 0.5s;
}

.btn-back-home {
  position: fixed;
  top: 60px;
  left: 20px;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50px;
  padding: 8px 16px;
  font-weight: 600;
  color: #444;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-back-home:hover {
  background: #fff;
  transform: translateX(-5px);
  color: #0d6efd;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}
.rich-editor .toolbar {
  display: flex;
  gap: 5px;
  margin-bottom: 8px;
}

.rich-editor .toolbar button {
  border: none;
  background: #f1f1f1;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.2s;
}

.rich-editor .toolbar button:hover {
  background: #ddd;
}
.rich-editor .toolbar button.active {
  background: #dbeafe;
  border-color: #60a5fa;
}

.rich-editor .toolbar {
  display: flex;
  gap: 5px;
  margin-bottom: 8px;
}

.rich-editor .toolbar button {
  border: none;
  background: #f1f1f1;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.2s;
}

.rich-editor .toolbar button:hover {
  background: #ddd;
}