.mapboxgl-popup {
    max-width: 350px !important;
    z-index: 2 !important;
    height: 600px;
}

.mapboxgl-popup-content {
    overflow: scroll;
    padding-top: 20px !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    background-color: #f9fafb !important;
}

#locations {
    list-style-type: none;
    padding: 0;
}

#locations li {
    margin: 10px 0;
    cursor: pointer;
}

#map {
    flex-grow: 1;
    height: 600px;
    border-radius: 25px;
}

.container {
    width: 100%;
    display: flex;
}

.mapboxgl-popup-tip {
    border: none !important;
}

.mapboxgl-popup {
    transform: none !important;
}

.button-group {
    position: absolute;
    top: 10px;
    left: 280px;
    display: flex;
    flex-direction: row;
    gap: 10px;
    z-index: 1;
}

.custom-button {
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    cursor: pointer;
    width: 150px;
    text-align: center;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.custom-button.selected {
    background-color: rgba(0, 255, 0, 0.7);
}

.hidden {
    display: none;
}

.location-distance-hide {
    display: none !important;
}

.location-distance-show {
    display: block !important;
}

.location-table-date {
    text-transform: capitalize;
}

details {
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    background: #f9f9f9;
}

summary {
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1em;
    outline: none;
}

summary::marker {
    color: #0078d7;
}

details[open] {
    background: #eef6ff;
}

details p {
    margin: 10px 0 0 0;
}

.location-sidebar-image {
    height: 150px;
    background-size: cover;
    background-position: center;
    border-radius: 6px;
    margin-bottom: 10px;
}

.location-sidebar-title {
    color: #003d6a;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 10px;
}

.location-sidebar-address {
    color: #003d6a;
    font-size: 13px;
    margin-bottom: 10px;
}

.location-sidebar-link {
    margin-bottom: 10px;
}

.location-sidebar-button a {
  display: inline-block;
  padding: 0.75em 1.5em;
  color: #003d6a;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  border-radius: 6px;
  width: 100%;
  margin-bottom: 10px;
}

.location-sidebar-button-blue a {
    background-color: #93d5dd;
}

.location-sidebar-button-yellow a{
    background-color: #ffdd69;
}

.location-sidebar-button a:hover {
  background-color: #5b8f21;
  color: #fff !important;
}