/* Định nghĩa các màu sắc chính */
:root {
    --main-bg-color: #1f2937; /* Nền chính */
    --sidebar-bg-color: #111827; /* Nền sidebar */
    --text-color: #e2980f; /* Màu chữ */
    --highlight-color: #3b82f6; /* Màu nổi bật */
    --highlight-hover: #2563eb; /* Màu nổi bật khi hover */
    --border-color: #e5e7eb; /* Màu viền */
    --error-color: #ef4444; /* Màu lỗi */
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Đổ bóng */
    --radius: 8px; /* Độ bo góc */
  }
  .exit{
    --text-color: #e2980f; /* Màu chữ */
  }
  
  /* Reset mặc định */
  body, h2, ul, li, a, button, table, th, td, p {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    box-sizing: border-box;
  }
  
  body {
    background-color: var(--main-bg-color);
    color: var(--text-color);
    font-size: 16px;
    line-height: 1.5;
  }
  
  /* Container chính */
  .container {
    display: flex;
    height: 100vh;
  }
  
  /* Sidebar */
  .sidebar {
    width: 250px;
    background-color: var(--sidebar-bg-color);
    padding: 20px;
    box-shadow: var(--box-shadow);
  }
  
  .sidebar h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--highlight-color);
    text-align: center;
  }
  
  .sidebar ul {
    list-style: none;
  }
  
  .sidebar li {
    padding: 10px 15px;
    margin-bottom: 10px;
    color: var(--text-color);
    background-color: transparent;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
  }
  
  .sidebar li:hover {
    background-color: var(--highlight-hover);
    color: #fff;
  }
  
  /* Main Content */
  .main-content {
    flex: 1;
    background-color: #f3f4f6;
    padding: 20px;
    overflow-y: auto;
  }
  
  .main-content header {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-bottom: 20px;
  }
  
  .main-content header .nav-links a {
    color: var(--highlight-color);
    text-decoration: none;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: var(--radius);
    transition: background-color 0.3s;
  }
  
  .main-content header .nav-links a:hover {
    background-color: var(--highlight-hover);
    color: #fff;
  }
  
  /* Content Areas */
  .content {
    display: none;
  }
  
  .content.active {
    display: block;
  }
  
  .content h2 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #111827;
  }
  
  .content p {
    font-size: 18px;
    color: #4b5563;
  }
  
  /* Bảng sản phẩm */
  table {
    width: 100%;
    border-collapse: collapse;
    background-color: #f4f5f8;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
  
  }
  
  table th, table td {
    text-align: center;
    padding: 10px;
    border-bottom: 3px solid var(--border-color);
    
  }
  
  table th {
    background-color: var(--main-bg-color);
    color: var(--text-color);
    font-weight: bold;
    
  }
  
  table tr:hover {
    background-color: #628de2;
  }
  
  table td img {
    border-radius: var(--radius);
  }
  
  /* Nút hành động */
  button {
    padding: 10px 15px;
    border: none;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
  }
  
  button:hover {
    transform: translateY(-2px);
  }
  
  button:active {
    transform: translateY(0);
  }
  
  button {
    background-color: var(--highlight-color);
    color: #fff;
  }
  
  button:hover {
    background-color: var(--highlight-hover);
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .container {
      flex-direction: column;
    }
  
    .sidebar {
      width: 100%;
      position: relative;
    }
  
    .main-content {
      margin-top: 20px;
    }
  }
  #revenueChart {
    width: 100% !important;
    height: 400px !important;
  }
  