.channel {
    padding: 20px;
    border: 1px solid black;
}

.channel-name {
    display: block;
    font-weight: bold;
    margin-bottom: 10px;
}

.channel-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.channel-message {
    margin-left: 10px;  /* Разделително пространство между името на канала и съобщението */
}

/* ... предходният код ... */

.timeline {
    height: 20px; /* Увеличаваме височината на лентата */
    
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.mark {
    position: absolute;
    height: 8px;  /* Увеличаваме височината на малките маркери */
    width: 1px;
    background: black;
    bottom: 0;
}
/* ... предходният код ... */

.mark.small {
    height: 8px; /* Най-малък размер на маркера */
}

.mark.medium {
    height: 12px; /* Среден размер на маркера */
}

.mark.big {
    height: 15px; /* Голям размер на маркера */
}

.mark.biggest {
    height: 18px; /* Най-голям размер на маркера */
}

.marked-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 20px; /* Adjust the height as needed */
    background-color: rgba(255, 255, 255, 0.315); /* Transparent black, adjust alpha as needed */
    z-index: 1; /* Higher z-index to be above the colors */
  }
.filling {
    background-color: #3498db; 
    width: 0;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1; 
}

@keyframes fillTimeline {
    from { width: 0%; }
    to { width: 100%; }
}
.filling.red {
    background-color: #FF0000; 
}

.filling.blue {
    background-color: #1291e6; 
}

.filling.green {
    background-color: #17a552; 
}

.filling.yellow {
    background-color: #F1C40F; 
}
.color-element {
    position: absolute;
    /* Set top, left, right, or other positioning properties */
    background-color: blue; /* Example color */
    z-index: 1; /* Lower z-index than the marked line */
  }


  .monitoring-widget {
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin: 0px;
    padding: 10px;
 
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.widget-header {
    text-align: center;
    margin-bottom: 10px;
}

.metric {
    margin-bottom: 10px;
}

.metric-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

h3 {
    margin: 0;
}

.progress-bar {
    background-color: #ccc;
    height: 10px;
    border-radius: 0px;
    position: relative;
}

.progress-fill {
    height: 100%;
    border-radius: 0px;
    width: 0;
    background-color: #4CAF50;
    transition: width 0.5s ease-in-out;
}

span {
    display:block;
    text-align: center;
}

/* Style for memory progress bars */
.memory-fill {
    background-color: #007bff; /* Blue color */
  }
  
  /* Additional styling for GPU information */
  .gpu-container {
    margin-top: 20px;
  }
  
  .gpu-container h3 {
    margin-top: 5px;
    margin-bottom: 5px;
  }
  
  .gpu-container .progress-bar {
    margin-bottom: 10px;
  }
  
  .red-progress {
    background-color: red;
  }
  .play-btn {
    font-size: 1.4rem !important;
    padding: 0.4rem 1.2rem !important;
    line-height: 1 !important;
  }

  .float-right {
    float: right;
  }
  .inline-right {
    float: right;
    display: inline;
  }
  

  .blue-text {
    color: blue;
  }

  .red-text {
    color: red;
  }

  /* ── PWA Mobile Optimizations ── */

  /* Sidebar — hidden on mobile by default, slide-in on demand */
  @media (max-width: 1024px) {
    /* Dark overlay behind sidebar — tapping it closes the menu */
    .filament-sidebar-close-overlay {
      z-index: 39;
      background: rgba(0, 0, 0, 0.5) !important;
      opacity: 1 !important;
    }
    aside.filament-sidebar {
      z-index: 40;
    }
    /* Give more space to content when sidebar is hidden */
    .filament-main {
      padding-left: 0 !important;
      width: 100% !important;
    }
  }

  /* ── Compact mobile UI ── */
  @media (max-width: 768px) {

    /* Tighter page padding */
    .filament-main-content {
      padding: 0.25rem !important;
    }

    /* Smaller page header */
    .filament-header {
      padding: 0.5rem 0.75rem !important;
      margin-bottom: 0.25rem !important;
    }
    .filament-header h1,
    .filament-header-heading {
      font-size: 1.1rem !important;
    }

    /* Compact topbar */
    .filament-topbar {
      height: auto !important;
      min-height: 40px !important;
    }
    .filament-topbar nav {
      padding: 0.25rem 0.5rem !important;
    }

    /* Hide breadcrumbs on mobile */
    .filament-breadcrumbs {
      display: none !important;
    }

    /* Hide bulk-action checkboxes on mobile */
    .filament-tables-checkbox-cell {
      display: none !important;
    }

    /* Compact tables */
    .filament-tables-table-container {
      overflow-x: auto;
    }
    .filament-tables-table th,
    .filament-tables-table td {
      padding: 0.35rem 0.5rem !important;
      font-size: 0.8rem !important;
    }
    .filament-tables-header {
      padding: 0.5rem !important;
    }
    .filament-tables-pagination {
      padding: 0.25rem !important;
    }
    .filament-tables-actions-cell {
      padding: 0.25rem !important;
    }

    /* Compact cards & widgets */
    .filament-widget {
      margin-bottom: 0.25rem !important;
    }
    .filament-stats-overview-card {
      padding: 0.5rem !important;
    }
    .filament-stats-overview-card-value {
      font-size: 1.25rem !important;
    }

    /* Compact forms */
    .filament-forms-component-container {
      gap: 0.5rem !important;
    }
    .filament-forms-field-wrapper {
      padding: 0 !important;
    }

    /* Smaller global search */
    .filament-global-search-input {
      font-size: 0.85rem !important;
    }

    /* Tighter notification badges */
    .filament-icon-button {
      width: 32px !important;
      height: 32px !important;
    }

    /* Process page buttons — still touch-friendly but compact */
    .proc-btn {
      min-height: 40px;
      min-width: 40px;
      padding: 0.4rem 0.75rem;
      font-size: 0.85rem;
    }

    /* Stats cards on pipeline logs */
    .stats-row {
      flex-wrap: wrap;
      gap: 0.25rem !important;
    }

    /* Dashboard error widget table */
    .pipeline-errors-table td,
    .pipeline-errors-table th {
      padding: 0.35rem;
      font-size: 0.75rem;
    }

    /* Monitoring widgets */
    .monitoring-widget {
      margin-bottom: 0.35rem;
      padding: 6px !important;
    }

    /* Modal dialogs */
    .filament-modal-window {
      margin: 0.5rem !important;
      max-height: 90vh !important;
    }

    /* Tabs — scrollable instead of wrapping */
    .filament-tabs {
      overflow-x: auto;
      flex-wrap: nowrap !important;
    }
    .filament-tabs-tab {
      white-space: nowrap;
      font-size: 0.8rem !important;
      padding: 0.35rem 0.6rem !important;
    }
  }

  /* Extra small phones */
  @media (max-width: 380px) {
    .filament-tables-table th,
    .filament-tables-table td {
      padding: 0.25rem 0.35rem !important;
      font-size: 0.75rem !important;
    }
    .filament-header h1,
    .filament-header-heading {
      font-size: 1rem !important;
    }
  }

  /* Safe area padding for notched phones */
  @supports (padding: env(safe-area-inset-top)) {
    .filament-app-layout .filament-main {
      padding-left: env(safe-area-inset-left);
      padding-right: env(safe-area-inset-right);
    }
  }

  /* PWA standalone mode */
  @media (display-mode: standalone) {
    .filament-app-layout {
      padding-top: env(safe-area-inset-top, 0);
    }
  }
  