 /* General Styles */
 /* General Styles */
 body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    height: 100%;
    display: flex;
}

  /* Container */
  .container {
    display: flex;
    height: 100vh;
  }

  /* Navbar Styles */
  .navbar {
    width: 250px;
    background-color: #1f2937; /* Tailwind's gray-800 */
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .navbar-header {
    padding: 16px;
    font-size: 28px;
    font-weight: bold;
    border-bottom: 2px solid #374151; /* Tailwind's gray-700 */
    display: flex;
    justify-content: center;
  }

  .navbar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
  }

  .menu-item {
    padding: 16px;
    transition: background-color 0.3s;
  }

  .menu-item a {
    text-decoration: none; /* Remove underline */
    color: inherit; /* Inherit color from parent */
    display: block; /* Make the entire item clickable */
  }

  .menu-item:hover {
    background-color: aqua; /* Tailwind's gray-700 */
    transition: 0.7s;
  }

  .menu-item a:hover {
    color: #d1d5db; /* Tailwind's gray-300 */
  }

  .navbar-footer {
    padding: 16px;
    border-top: 1px solid #374151; /* Tailwind's gray-700 */
    text-align: center;
  }

.content {
    flex-grow: 1;
    padding: 20px;
    overflow-y: auto; /* เพิ่ม Scrollbar หากเนื้อหาเยอะ */
    height: 100vh;
    box-sizing: border-box; /* รวม padding ในขอบเขต */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

h2 {
    margin-top: 0;
}

table {
    width: 100%; /* ครอบคลุมพื้นที่แทบทั้งหมดของ Content */
    max-width: 1600px;  
    margin: 0 auto;
    border-collapse: collapse;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-size: 18px; /* เพิ่มขนาดฟอนต์ของตาราง */
    table-layout: fixed;
}

table th {
    background-color: #06bbbb; /* สีเขียว */
    color: white;
    padding: 20px; /* เพิ่ม padding ให้ header ใหญ่ขึ้น */
    text-transform: uppercase;
    font-size: 18px; /* เพิ่มขนาดฟอนต์ของหัวตาราง */
}

table td {
    padding: 20px; /* เพิ่ม padding ให้เซลล์ใหญ่ขึ้น */
    border-bottom: 1px solid #ddd;
    word-wrap: break-word; /* บังคับข้อความในเซลล์ให้ตัดบรรทัด */
    text-align: center; /* จัดข้อความให้อยู่ตรงกลาง */
    min-height: 60px; /* กำหนดความสูงขั้นต่ำของแถว */
}

table tr:hover {
    background-color: #f1f1f1;
}

table tr:nth-child(even) {
    background-color: #f9f9f9;
}

table tr:nth-child(odd) {
    background-color: #ffffff;
}