html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: Arial, sans-serif;
}

#container {
  display: flex;
  height: 100%;
  width: 100%;
}

#locations-panel {
  width: 300px;
  height: 100%;
  background-color: #3164B6;
  box-shadow: 2px 0 5px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  transition: width 0.3s;
  overflow: hidden;
}

#locations-panel.hidden {
  width: 0;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  border-bottom: 1px solid #ddd;
  background-color: #3164b6;
  color: #ffffff
}

.panel-header h2 {
  margin: 0;
  font-size: 1.2em;
  white-space: nowrap;
}

#toggle-panel-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  border-radius: 45%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
}

#locations-panel.hidden #toggle-panel-button {
  transform: rotate(180deg);
}

#locations-list {
  list-style: none;
  padding: 0;
  margin: 0;
  overflow-y: auto;
  flex-grow: 1;
}

#locations-list li {
  padding: 15px 20px;
  border-bottom: 1px solid #fffefe;
  cursor: pointer;
  transition: background-color 0.2s;
}

#locations-list li:hover {
  background-color: #3e81ec;
}

#locations-list .location-name {
  font-size: 0.9em;
  font-weight: semi-bold;
  color: #ffffff;
  margin: 0 0 5px 0;
}

#locations-list .location-address {
  font-size: 0.85em;
  color: #d5e8fc;
  margin: 0;
}

#map {
  flex-grow: 1;
  height: 100%;
  filter: grayscale(25%);
}