body {
  font-size: 1.3rem;
}

button {
  border-radius: 6px;
  border: none;
  background-color: #2196f3;
  color: white;
  cursor: pointer;
  height: 40px;
}

button:hover {
  background-color: #1976d2;
}

.auth-container {
  margin-bottom: 20px;

}

.auth-box {
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 15px;
  background: #f9f9f9;
}

.auth-title {
  text-align: left;
  margin-bottom: 10px;
  font-weight: bold;
}
#authForm {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.input-group {
  display: flex;
  flex-direction: column;
}

.input-group input{
  height: 32px;
}


.auth-box button {
  width: 100%;
  padding: 8px;
}

.auth-toggle {
  margin-top: 10px;
  text-align: center;
  color: #2196f3;
  cursor: pointer;
  font-size: 1.2rem;
}

.auth-toggle:hover {
  text-decoration: underline;
}
.hidden {
  display: none !important;
}

.welcome-message {
  margin-top: 15px;
  font-weight: bold;
  text-align: center;
}

.auth-box .logout-btn {
  margin-top: 10px;
  width: 100%;
  padding: 8px;
  border: none;
  border-radius: 6px;
  background-color: #e53935;
  color: white;
  cursor: pointer;
}

.auth-box .logout-btn:hover {
  background-color: #c62828;
}

/* DESKTOP */
@media (min-width: 768px) {
  #authForm {
    flex-direction: row;
    align-items: flex-end;
    gap: 15px;
  }

  .input-group {
    flex: 1;
  }

  #authButton {
    width: 12%;
    height: 38px;
  }

  .auth-title {
    width: 100%;
    margin-bottom: 15px;
  }

  .auth-toggle {
    text-align: right;
    width: fit-content;
    place-self: end;
  }

  .welcome-message,
  .logout-btn {
    width: auto;
    margin-left: auto;
    margin-right: 0;
  }

  .auth-box .logout-btn {
    width: 30%;
    margin-left: 35%;
}

}

.map-container {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.map-wrapper {
  flex: 1 1 400px;
  display: flex;
  flex-direction: column;
}

#map1, #map2 {
  height: 500px;
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.map-title {
  font-weight: bold;
  font-size: 25px;
  margin-bottom: 6px;
  text-align: center;
}

.buttons-container {
  margin-top: 30px;
  display: flex;
  flex-direction: row;
  gap: 8px;
}

.buttons-container button{
  width: 50%;
}


.filters-container {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filters-container input {
  margin-left: 5px;
}

.filters-container button {
  margin-top: 6px;
  padding: 6px;
}

@media (max-width: 800px) {
  .map-container {
    flex-direction: column;
  }
}

.leaflet-popup-content-wrapper {
 padding: 0;   
}
.leaflet-popup-content {
    margin: 0;
}
.quake-popup {
  font-family: Arial, sans-serif;
  line-height: 1.4;
  padding: 5px;
  border-radius: 12px;
}

.quake-title {
  margin: 0 0 8px 0;
  font-size: 16px;
  text-align: center;
}

.quake-popup p {
  margin: 4px 0;
  font-size: 13px;
}

.fav-btn {
display: none;
  margin-top: 10px;
  margin-bottom: 6px;
  width: 100%;
  padding: 6px;
  border: none;
  border-radius: 6px;
  background-color: white;
  color: black;
  cursor: pointer;
  font-size: 13px;
}

.fav-btn.show {
    display: block;
}

.fav-btn:hover {
  background-color: #e68900;
}
