* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    background-color: #F8FFFA;
    /* padding-top: 80px; */
}

/* header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
} */

.main-content{
    max-width: 56.25rem;
    margin: 0 auto;
}

.logos-div{
  display: flex;
  gap: 1rem;
  align-items: center;
}

.logo {
  width: fit-content;
}

.navbar {
  min-height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 10px;
}

h1 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    padding-top: 1.5rem;
    text-align: center;
}

.instructions-div {
    width: 100%;
    padding: 0.313rem 1.5rem;
    /* margin-bottom: 0.625rem; */
}

.instructions-div p {
    text-align: justify;
    font-size: 0.8rem;
    font-style: italic;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.leaflet-container {
  z-index: 0 !important;
}

/* Container do mapa com padding */
.map-container {
    padding: 0 1.5rem; /* Espaçamento lateral */
    margin-bottom: 1.5rem;
}

/* Mapa responsivo */
#map {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    border: 1px solid #ccc;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Mapa responsivo */
/* #map {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    border: 1px solid #ccc;
    padding: 0rem 1rem !important;
} */


/* Formulário */
.data-form {
    display: flex;
    flex-direction: column;
    /* gap: 1rem; */
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Inputs e labels */
.data-form label {
    font-weight: 600;
    font-size: 0.95rem;
    /* margin-bottom: 0.3rem; */
}

.data-form p>label {
    font-weight: 600;
    font-size: 0.95rem;
    /* margin-bottom: 0.3rem; */
}

.data-form input[type="number"],
.data-form input[type="text"],
.data-form input[type="file"],
.data-form select,
.data-form textarea {
    width: 100%;
    padding: 0.6rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
}

.mbt, #id_latitude, #id_longitude, #id_files{
    margin-bottom: 1.5rem;
}

.data-form p>input {
    width: 100%;
    padding: 0.6rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
}

.form-buttons {
    width: 100%;
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
    /* align-items: center; */
    gap: 20px;
}

.form-buttons .btn-forms,
.form-buttons #submit-button, .form-buttons .go-back-btn {
    padding: 12px 20px;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
}

.form-buttons button {
    background-color: #3B7A57;

}

.form-buttons a {
    text-align: center;
    background-color: #6c757d;
    text-decoration: none;
}

.animal-suggest{
    position: relative;
}

.autocomplete-suggestions {
    position: absolute;
    background-color: white;
    border: 1px solid #ccc;
    border-top: none;
    max-height: 200px;
    overflow-y: auto;
    z-index: 999;
    width: 100%;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Itens individuais da lista */
.autocomplete-suggestions div {
    padding: 10px;
    cursor: pointer;
    font-size: 0.95rem;
    border-bottom: 1px solid #f0f0f0;
}

/* Efeito hover */
.autocomplete-suggestions div:hover {
    background-color: #f1f1f1;
}

#id_notes{
    padding: 0.625rem;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 0.5rem;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
    height: 12.5rem;
    /* max-height: 31.25rem; */
    overflow-y: auto;
}

#id_notes:focus{
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
    outline: none;
}

#submit-button:hover {
    background-color: #266d46;
}

#btn_buscar_localizacao {
    background-color: #6c63ff;
}

#btn_buscar_localizacao:hover {
    background-color: #524ae0;
}

.messages {
    margin: 1rem auto;
    width: 90%;
    max-width: 600px;
    text-align: center;
}

.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-weight: bold;
}

.alert.error {
    background-color: #ffe0e0;
    color: #c00;
    border: 1px solid #c00;
}

.active>span {
  background-color: #3b7457;
}

.asterisc{
 color: #c00;   
}

/* Responsivo extra */
@media (max-width: 480px) {
    /* form {
        padding: 1rem;
    } */

    button {
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
    z-index: 1100; /* acima do header */
  }

  .nav-menu {
    position: fixed;
    top: 70px; /* abaixo do header */
    left: -100%;
    width: 100%;
    background-color: #3b7457;
    flex-direction: column;
    text-align: center;
    transition: 0.3s;
    padding: 1rem 0;
    z-index: 999; /* abaixo do hamburger mas acima do mapa */
  }

  .nav-menu.active {
    left: 0;
  }

  /* .nav-item {
    margin: 16px 0;
  } */
}

@media (min-width: 1024px) {
  h1{
    font-size: 2rem;
  }

  /* .breadcrumb{
    margin-top: 110px;
  } */
}