#map { 
  position: absolute; 
  top: 0; 
  bottom: 0; 
  left: 0; 
  right: 0; 
}

.layer-control { 
  position: absolute; 
  z-index: 1000; 
  background: white; 
  padding: 10px; 
  border-radius: 5px; 
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  top: 10px;
  right: 10px;
}

.base-layer-control { 
  position: absolute; 
  z-index: 1000; 
  background: white; 
  padding: 10px; 
  border-radius: 5px; 
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  top: 10px;
  left: 10px;
}

.base-toggle-btn {
  padding: 8px 12px;
  margin: 2px;
  border: 1px solid #ccc;
  background: #f8f9fa;
  cursor: pointer;
  display: block;
  width: 120px;
  text-align: left;
}

.toggle-btn {
  padding: 8px 12px;
  margin: 2px;
  border: 1px solid #ccc;
  background: #f8f9fa;
  cursor: pointer;
}

.base-toggle-btn.active {
  background: #28a745;
  color: white;
  border-color: #1e7e34;
}

.toggle-btn.active {
  background: #007bff;
  color: white;
  border-color: #0056b3;
}

.control-title {
  font-weight: bold;
  margin-bottom: 5px;
  display: block;
}


.legend {
  padding: 6px 8px;
  font: 14px Arial, Helvetica, sans-serif;
  background: white;
  background: rgba(255, 255, 255, 0.8);
  /*box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);*/
  /*border-radius: 5px;*/
  line-height: 24px;
  color: #555;
}
.legend h4 {
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  margin: 2px 12px 2px; /*top, right+left, bottom*/
  /*color: #777;*/
}

.legend h5 {
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  margin: 1px 12px 8px;
  /*color: #777;*/
}

.legend span {
  position: relative;
  bottom: 3px;
}

.legend i {
  width: 14px;
  height: 14px;
  float: left;
  margin: 0 8px 0 0;
  opacity: 0.7;
}

.legend i.icon {
  background-size: 18px;
  background-color: rgba(255, 255, 255, 1);
}
/*  Title Box Styles */
.title-box {
    background: white;
    padding: 12px 15px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    border-left: 4px solid #2C7BB6;
    max-width: 280px;
    margin-bottom: 10px;
}

.title-box h2 {
    margin: 0 0 8px 0;
    font-size: 1.2rem;
    color: #000000;
    font-weight: 600;
    line-height: 1.3;
}

.title-box p {
    margin: 0;
    font-size: 0.9rem;
    color: #404040;
    line-height: 1.4;
}

/* Abstract Control Styles */
.abstract {
    background: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    font-weight: bold;
    font-size: 1rem;
    margin-top: 5px;
}

.abstractUncollapsed {
    background: white;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    max-width: 700px;
    cursor: pointer;
    margin-top: 5px;
    border-left: 4px solid #FDAE61;
}

.abstractUncollapsed h4 {
    margin: 0 0 12px 0;
    font-size: 1.1rem;
    color: #000000;
    font-weight: 600;
}

.abstractUncollapsed p {
    margin: 0 0 10px 0;
    font-size: 0.85rem;
    color: #404040;
    line-height: 1.4;
}

.abstractUncollapsed ul {
    margin: 0 0 10px 0;
    padding-left: 15px;
    font-size: 0.8rem;
    color: #404040;
    line-height: 1.4;
}

.abstractUncollapsed li {
    margin-bottom: 5px;
}

.abstractUncollapsed em {
    font-size: 0.75rem;
    color: #666;
}

