.tabs-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.schedule-container {
  margin: 30px 0;
  border-left: 1px solid #e5e5e5;
  border-right: 1px solid #e5e5e5;
}

.abgstab {
  min-width: 120px;
  padding: 10px;
  text-align: center;
  cursor: pointer;
  border-radius: 8px;
  background: #f5f5f5;
  color: #000;
  transition: all 0.25s ease;
}

.tabs-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.abgstabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-behavior: smooth;
}

.abgstabs::-webkit-scrollbar {
  display: none;
}

.day-name {
  font-weight: 600;
  color: #000;
}

.day-date {
  font-size: 12px;
  opacity: 0.7;
  color: #000;
  font-weight: 500;
}

.abgstab .day-date {
  font-size: 12px;
  opacity: 0.7;
  color: #000;
  font-weight: 500;
}

/* ✅ ACTIVE TAB */
.abgstab.active {
  background: #333;
}

/* ✅ ACTIVE TEXT */
.abgstab.active .day-name,
.abgstab.active .day-date {
  color: #fff;
  opacity: 1;
}

.abgstab:hover {
  background: #999;
}

.arrow {
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  margin-left: -30px;
}
.arrow.right {
  margin-right: -30px;
}
.abgclass-item.row {
  display: grid;
  grid-template-columns: 200px 1fr 200px;
  gap: 12px;
  align-items: center;
  padding: 20px 12px;
  border-bottom: 1px solid #e5e5e5;
}
.abgclass-item.row:hover {
  background: rgba(229, 229, 229, 0.3);
}

.abgclass-item.row:first-of-type {
  border-top: 1px solid #e5e5e5;
}

.abgclass-item .time {
  white-space: nowrap;
  text-align: left;
  padding-left: 10px;
  font-family: arial;
}

.abgclass-item .trainer {
  text-align: right;
  opacity: 0.8;
  padding-right: 10px;
}
#downloadPdf {
  padding: 15px;
  margin-bottom: 30px;
  border-radius: 5px;
  border: 1px solid #333;
  font-weight: 600;
}
#downloadPdf:hover {
  background: #000;
  color: #efefef;
  border: 1px solid #efefef;
}

@media (max-width: 768px) {
  .abgclass-item.row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .abgclass-item .trainer {
    text-align: center;
  }
  .abgclass-item .time {
    text-align: center;
  }
  .tabs-wrapper {
    width: 100%;
  }

  .abgstabs {
    overflow-x: hidden;
    max-width: calc(110px * 3 + 20px);
  }
  
  .arrow {
    margin-left: -25px;
  }
  .arrow.right {
    margin-right: -25px;
  }
}
