.sidebar {

  position: relative;
  font-family: "Roboto Condensed", sans-serif;

  color: #ffffff;
  padding: 0 1px;
  font-weight: 400;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 30px;
  padding: 1px 10px 2px 4px;
  font-size: 16px;
  cursor: pointer;
  background-color: #0088cc;
  color: white;
  font-family: "Roboto Condensed", sans-serif;
}

.icon {
  font-weight: bold;
  position: relative;
  bottom: 1px;
}

.items {
  font-family: "Roboto Condensed", sans-serif;
  background-color: rgb(187 187 187);
  color: black;
  align-items: left;
}

.items a {
  all: unset;
}

.item {
  display: flex;
  padding: 2px 15px;
  font-size: 14px;
  cursor: pointer;
  font-weight: 400;
  background-color: #bbbbbb;
  border-bottom: 1px solid #9e9e9e;
}

.blink {
  animation: blink 1.1s infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

.modalContainer {
  position: absolute;
  top: 0;
  left: 100%;
  /* Position to the right of the sidebar */
  width: 280px;
  /* Slightly wider */
  background-color: white;
  border: 1px solid #ccc;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  max-height: 500px;
  overflow-y: auto;
  color: black;
  font-family: "Roboto Condensed", sans-serif;
}

.modalHeader {
  background-color: #fff;
  padding: 15px;
  font-size: 18px;
  font-weight: 700;
  color: #000;
  border-bottom: 1px solid #ddd;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modalList {
  list-style: none;
  padding: 5px 0;
  margin: 0;
}

.modalItem {
  padding: 8px 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  font-size: 15px;
  color: #000;
  transition: background-color 0.2s;
}

.modalItem:hover {
  background-color: #f0f0f0;
  text-decoration: underline;
}

.modalTime {
  font-weight: 500;
  margin-right: 10px;
  min-width: 45px;
}

.modalName {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Accordion Styles */
.accordionContent {
  background-color: #e0e0e0;
  border-bottom: 1px solid #ccc;
}

.loading {
  padding: 10px;
  font-style: italic;
  font-size: 13px;
  color: #555;
  text-align: center;
}

.seriesGroup {
  border-bottom: 1px solid #9e9e9e;
}

.seriesHeader {
  padding: 3px 18px 2px 25px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  background-color: #bbbbbb;
  color: #333;
}

.seriesHeader:hover {
  background-color: #d0d0d0;
}

.seriesEvents {
  background-color: #f5f5f5;
}

.eventItem {
  padding: 3px 15px 3px 40px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  color: #333333;
  border-bottom: 1px solid #bbbbbb;
  background-color: #bbbbbb;
}

.eventItem:hover {
  background-color: #e8e8e8;
  color: #000;
}

/* Search Styles */
.searchContainer {
  display: flex;
  align-items: center;
  padding: 10px;
  background-color: #f0f0f0;
  border-bottom: 1px solid #ccc;
}

@media (min-width: 769px) {
  .searchContainer {
    display: none;
  }
}

.searchInput {
  flex: 1;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-right: 10px;
  font-size: 14px;
}

.closeButton {
  color: #333;
  cursor: pointer;
}

.searchResults {
  background-color: #fff;
  color: #333;
  max-height: 300px;
  /* Limit height */
  overflow-y: auto;
  position: absolute;
  top: 50px;
  /* Adjust based on search input height */
  left: 0;
  right: 0;
  z-index: 1001;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid #ccc;
}

.sportGroup {
  border-bottom: 1px solid #eee;
}

.sportHeader {
  background-color: #34495e;
  color: white;
  padding: 8px 12px;
  font-weight: bold;
  font-size: 14px;
}

.resultItem {
  padding: 8px 12px;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
}

.resultItem:hover {
  background-color: #f9f9f9;
}

.eventName {
  font-weight: 700;
  color: #333;
  font-size: 14px;
}

.eventTime {
  font-size: 12px;
  color: #555;
  margin-top: 2px;
}

.noResults {
  padding: 15px;
  text-align: center;
  color: #666;
}