.stream-category {
  background: #f8f9fa;
  border: 1px solid #dcdcdc;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 30px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
.stream-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 10px;
  flex-wrap: wrap; /* на всякий випадок, якщо маленький екран */
}

.category-title {
  font-weight: bold;
  font-size: 1.2em;
  color: #333;
  margin-bottom: 6px;
  flex-grow: 1;
}

.stream-list {
  list-style: none;
  padding-left: 0;
}

.stream-item {
  background-color: #ffffff;
  border: 1px solid #ccc;
  border-left: 5px solid #007bff;
  border-radius: 6px;

  padding: 12px 16px;
  margin-bottom: 12px;
  position: relative;
  transition: transform 0.2s ease;
  cursor: pointer;

}
.stream-title {
  font-weight: bold;
  font-size: 1.2em;
  color: #333;
  margin-bottom: 6px;
}

.stream-item:hover {
  transform: scale(1.01);
  background-color: #f1f8ff;
}

.stream-item a {
  font-weight: bold;
  font-size: 1.1em;
  color: #007bff;
  text-decoration: none;
}

.stream-item a:hover {
  text-decoration: underline;
}

.stream-datetime small {
  color: #555;
}

.badge {
  display: inline-block;
  white-space: nowrap;
  font-size: 0.75em;
  padding: 4px 8px;
  border-radius: 8px;
  white-space: nowrap;
}

.badge-warning {
  background-color: #f0ad4e;
  color: white;
}

.badge-info {
  background-color: #5bc0de;
  color: white;
}

.badge-success {
  background-color: #5cb85c;
  color: white;
}

/* Зміна розміру плеєра залежно від ширини екрана */
@media (max-width: 768px) {
    .stream-category { padding: 5px;}
    .stream-list {margin-bottom: 5px;}
    }
