turbo-frame#forecast_list {
  position: relative;
  display: block;
}

turbo-frame#forecast_list[aria-busy="true"]::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: 10;
}

turbo-frame#forecast_list[aria-busy="true"]::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border: 4px solid rgba(255, 255, 255, 0.8);
  border-bottom-color: transparent;
  border-radius: 50%;
  z-index: 11;
  animation: loader-rotation 1s linear infinite;
}

.forecast-list {
  /* border: 1px solid #dddddd;
  border-radius: 1rem;
  padding: 1rem;
  background-color: white;
  margin-top: 1rem;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08); */

  margin-bottom: var(--margin-bottom-list);

  & .forecast__time {
    /* font-weight: bold; */
    text-align: center;
  }

  & .forecast__wind {
    font-weight: bold;
  }

  & .forecast__wave {
    font-weight: bold;
  }

  & .forecast__weather {
    font-weight: bold;
  }

  & .forecast__temp {
    font-weight: bold;
  }

  & .forecast__cloud {
    font-weight: bold;
  }

  & .forecast__rain {
    font-weight: bold;
  }
}

.forecast-list--scrollable {
  overflow-x: auto;
  /* NOTE: to prevent scrollbar from overlapping content */
  padding-bottom: 2rem; 
}
