

.leaflet-popup-content-wrapper,
.leaflet-control-measure-toggle,
.leaflet-control-measure-interaction
{
    background: white !important;
    color: black !important;
    border: 2px solid #3498db;
}

.js-start, .js-cancel, .js-finish,
.js-deletemarkup, .js-zoomto{
    background: transparent;
}

.leaflet-control-zoom-in,
.leaflet-control-zoom-out{
    display: none !important;
}


.leaflet-control-measure{
  display: none;
}

.leaflet-control-layers{
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
}

.leaflet-control-layers-list{
    padding: 0 !important;
}


@media (max-width: 600px) {
    .leaflet-popup-content-wrapper {
        font-size: 8px;          
    }
    .leaflet-popup-tip {
        display: none;
    }
}

.leaflet-control-measure{
    border: 2px solid #3498db;
}

/* Styling the chatbot*/ 
.chatbot-container {
  position: fixed;
  width: 350px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  z-index: 1000;
  font-family: 'Segoe UI', sans-serif;
  overflow: hidden;
  display: none; /* Hidden by default */
}

.chatbot-header {
  background: #1e2a38;
  color: white;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chatbot-messages {
  height: 300px;
  overflow-y: auto;
  padding: 15px;
  background: #f9f9f9;
}

.message {
  margin-bottom: 15px;
  max-width: 95%;
  padding: 10px 15px;
  border-radius: 18px;
  line-height: 1.4;
}

.user-message {
  background: #3498db;
  color: white;
  margin-left: auto;
  border-bottom-right-radius: 5px;
}

.bot-message {
  background: #e5e5ea;
  color: black;
  margin-right: auto;
  border-bottom-left-radius: 5px;
}

.chatbot-input {
  display: flex;
  padding: 10px;
  border-top: 1px solid #ddd;
}

#user-input {
  flex: 1;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 20px;
  outline: none;
}

#send-message {
  background: #3498db;
  color: white;
  border: none;
  border-radius: 20px;
  padding: 0 15px;
  margin-left: 10px;
  cursor: pointer;
}

/* Toggle button */
.chatbot-toggle {
  position: fixed;
  background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
  color: white;
  top: 450px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  z-index: 999;
}

.close-chat{
    color: black;
    background: white;
    padding: 4px;
    border-radius: 40px;
    cursor: pointer;
}