/*  visual distinction of live vs offline channels: */
.live-channel {
  color: #28a745;
  font-weight: bold;
}

.offline-channel {
  color: #6c757d;
}

optgroup {
  font-weight: bold;
  margin-top: 10px;
}

/* Stream Monitor Styles */
.stream-monitor-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: #f8f9fa;
  }
  
  /* Monitor display area */
  .monitor-display-container {
    flex: 1;
    position: relative;
    background-color: #000;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Player container styling */
  .monitor-player-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Video element styling */
  .monitor-video {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #000;
  }
  
  /* Holding slide styling */
  .monitor-holding-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 10;
    text-align: center;
    color: white;
    padding: 1rem;
  }
  
  .monitor-holding-slide.hidden {
    display: none;
  }
  
  /* Loading indicator */
  .monitor-loading-indicator {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 20;
  }
  
  /* Status bar styling */
  .monitor-status-bar {
    border-top: 1px solid rgba(0, 0, 0, 0.125);
  }
  
  /* Media queries for responsive design */
  @media (max-width: 768px) {
    .monitor-controls .row {
      flex-direction: column;
    }
    
    .monitor-controls .col, 
    .monitor-controls .col-auto {
      width: 100%;
      margin-bottom: 0.5rem;
    }
    
    .monitor-display-container {
      min-height: 180px;
    }
  }
  
  /* Make sure the monitor tab doesn't disrupt other content */
  #monitor-tab-content {
    height: 100%;
    overflow: hidden;
  }
  
  /* Ensure proper spacing in controls */
  .monitor-controls .form-select,
  .monitor-controls .form-control,
  .monitor-controls .btn {
    width: 100%;
  }
  
  @media (min-width: 768px) {
    .monitor-controls .form-control,
    .monitor-controls .btn {
      width: auto;
    }
  }