* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Ubuntu', sans-serif;
  }
  
  body {
    background: #e3e4e9;
    color: #333;
  }
  
  .max-width {
    max-width: 2200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  /* Navbar */
  .navbar {
    background: rgb(255 255 255);
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }
  
  .navbar .logo a {
    font-size: 24px;
    font-weight: bold;
    color: #ef629f;
    text-decoration: none;
  }
  
  .navbar .menu {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    gap: 20px;
  }
  
  .navbar .menu li a {
    color: #141e30;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 500;
    transition: color 0.3s ease;
  }
  
  .navbar .menu li a:hover {
    color: #3751c3;
  }
  
  /* Filters */
  .traffic-filters {
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 20px;
    justify-content: center;
  }
  
  .filter-section label {
    font-weight: bold;
    margin-right: 10px;
  }
  
  .filter-section select {
    padding: 5px 10px;
    border: 1px solid #fdfdfd;
    border-radius: 4px;
  }
  
  /* Status and Signal Icons */
  
  
  .status-icons, .signal-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    list-style: none;
    padding: 0;
  }
  
 /* General styling for signal icons */
.signal-icons {
    list-style: none;
    display: flex;
    gap: 15px;
    padding: 0;
  }
  
  .signal-icons li {
    font-size: 20px;
  }
  
  .signal-strong i {
    color: green;
  }
  
  .signal-medium i {
    color: orange;
  }
  
  .signal-weak i {
    color: red;
  }

  /* Combined hover effect */
  .signal-icons li {
    transition: transform 0.3s ease, background-color 0.3s ease;
    padding: 5px;
    border-radius: 5px;
  }
  
  .signal-icons li:hover {
    transform: scale(1.2); /* Zoom effect */
    background-color: rgba(0, 0, 0, 0.1); /* Pale background */
  }

  * General styling for status icons */
.status-icons {
  list-style: none;
  display: flex;
  gap: 15px;
  padding: 0;
}

.status-icons li {
  font-size: 20px;
}

/* Individual status colors */
.status-icons li:nth-child(1) .icon {
  color: green; /* ✔️ - Online */
}

.status-icons li:nth-child(2) .icon {
  color: grey; /* 🔌 - Power Fail */
}

.status-icons li:nth-child(3) .icon {
  color: red; /* ❌ - Error */
}

.status-icons li:nth-child(4) .icon {
  color: blue; /* 🌐 - Network */
}

.status-icons li:nth-child(5) .icon {
  color: grey; /* ⭕ - Disabled */
}

/* Combined hover effect */
.status-icons li {
    transition: transform 0.3s ease, background-color 0.3s ease;
    padding: 5px;
    border-radius: 5px;
  }
  
  .status-icons li:hover {
    transform: scale(1.2); /* Zoom effect */
    background-color: rgba(0, 0, 0, 0.1); /* Pale background */
  }

/* Added */
.ont-container {
    margin: 20px auto;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }
  
  .stats-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
  }
  
  .ont-table {
    width: 100%;
    border-collapse: collapse;
  }
  
  .ont-table th, .ont-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
  }
  
  .ont-table th {
    background-color: #f8f9fa;
  }
  
  .status-indicator {
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: bold;
  }
  
  .status-indicator.online {
    background-color: #d4edda;
    color: #155724;
  }
  
  .status-indicator.offline {
    background-color: #f8d7da;
    color: #721c24;
  }
  
  .detail-btn {
    background: #4a90e2;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  
  .detail-btn:hover {
    background: #357abd;
  }
  
  .pagination-controls {
    display: flex;
    gap: 10px;
    align-items: center;
  }
  
  .pagination-controls button {
    padding: 6px 12px;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }  


/* Add to style.css */
.chart-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
  }
  
  canvas {
    max-height: 400px;
    background: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }
  
  .container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 20px;
  }  
  
  .loader {
    display: none;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
  }

  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }

  .selection-context {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    gap: 25px;
    align-items: center;
  }

  .context-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }

  .context-label {
    font-size: 0.9em;
    color: #6c757d;
  }

  .context-value {
    font-weight: 500;
    color: #212529;
  }

  .error-message {
    color: #dc3545;
    padding: 10px;
    display: none;
    text-align: center;
  }  