.element__inner-wrapper .column-element div:nth-child(3){
    --column-width: 24%;
    display: flex;
    justify-content: flex-end;
    align-items: center;    
}

.element__inner-wrapper .column-element div:nth-child(3)

{
    --column-width: 15% !important;
}

.element__inner-wrapper .column-element div:nth-child(3) .text-element.element p{
  max-width: 80px;       /* Giới hạn chiều rộng */
  white-space: nowrap;   /* Không xuống dòng */
  overflow: hidden;      /* Ẩn phần dư */
  text-overflow: ellipsis; /* Hiển thị dấu ... */
  text-align: right;     /* Căn phải */
    font-weight: 600;
}

.element__inner-wrapper .column-element div:nth-child(3) .text-element.element p {
  margin: 0; /* bỏ margin mặc định của <p> */
}

.element__inner-wrapper .column-element div:nth-child(2)

{
    --column-width: auto !important;
}

.menu-element__container {

    display: flex;
  gap: 10px; /* khoảng cách giữa các item */
  padding: 0px 0;
  flex-wrap: nowrap; /* không rớt dòng */
  overflow-x: auto; /* nếu quá dài thì cuộn ngang */
}

.menu-element__menu-item-link a {
  font-family: "Segoe UI", Tahoma, sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #333;
  text-decoration: none !important; /* bỏ underline */
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.25s ease;
  white-space: nowrap; /* giữ 1 dòng */
  display: inline-block;
}

/* hover: nền nhạt + đổi màu chữ */
.menu-element__menu-item-link a:hover {
  background: rgba(255, 152, 0, 0.1); /* vàng cam nhạt */
  color: #ff5722;
}

/* link đang active */
.menu-element__menu-item-link a.ab-link--force-active {
  background: #ff9800;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* ========================================
   MODERN PROFESSIONAL TABLE CSS
   Compact, Clean, Beautiful Design
======================================== */

/* Table Container */
.baserow-table-wrapper.ab-table {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
  margin: 20px 0;
}

/* Table Base */
.baserow-table {
  width: 100%;
  border-collapse: collapse;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Header Styles */
.baserow-table thead {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.baserow-table thead .baserow-table__row {
  border-bottom: 2px solid #e2e8f0;
}

.ab-table__header-cell {
  padding: 10px 12px;
  font-weight: 600;
  font-size: 13px;
  color: #374151;
  text-align: left;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  border: none;
  position: relative;
}

.ab-table__header-cell:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 25%;
  height: 50%;
  width: 1px;
  background: #e2e8f0;
}

/* Body Styles */
.baserow-table tbody .baserow-table__row {
  transition: all 0.2s ease;
  border-bottom: 1px solid #f1f5f9;
}

.baserow-table tbody .baserow-table__row:hover {
  background: linear-gradient(135deg, #f8fafc 0%, #f0f9ff 100%);
}

.baserow-table tbody .baserow-table__row:last-child {
  border-bottom: none;
}

/* Cell Styles */
.ab-table__cell {
  padding: 10px 12px;
  border: none;
  vertical-align: middle;
}

.ab-table__cell-content {
  display: flex;
}

/* Text Content */
.ab-table__cell .ab-text {
  color: #1f2937;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  margin: 0;
}

/* First column - Lesson titles */
.ab-table__cell:first-child .ab-text {
  font-weight: 600;
  color: #111827;
  max-width: 350px;
}

/* Second column - Pass codes */
.ab-table__cell:nth-child(2) .ab-text {
  font-family: 'Monaco', 'Menlo', 'Courier New', monospace;
  background: #f3f4f6;
  padding: 3px 6px;
  border-radius: 4px;
  font-size: 12px;
  color: #2563eb;
  font-weight: 600;
}

/* Third column - Links */
.ab-table__cell:last-child {
  max-width: 250px;
}

.ab-table__cell .ab-link {
  color: #2563eb;
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  background: #eff6ff;
  padding: 6px 8px;
  border-radius: 6px;
  border: 1px solid #dbeafe;
  display: inline-block;
  transition: all 0.2s ease;
  word-break: break-all;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ab-table__cell .ab-link:hover {
  background: #dbeafe;
  border-color: #93c5fd;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(37, 99, 235, 0.1);
}

.ab-table__cell .ab-link:active {
  transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .baserow-table-wrapper.ab-table {
    border-radius: 8px;
    margin: 16px 0;
  }
  
  .ab-table__header-cell,
  .ab-table__cell {
    padding: 8px 10px;
  }
  
  .ab-table__header-cell {
    font-size: 12px;
  }
  
  .ab-table__cell .ab-text {
    font-size: 12px;
  }
  
  .ab-table__cell:first-child .ab-text {
    max-width: 180px;
  }
  
  .ab-table__cell:last-child {
    max-width: 120px;
  }
  
  .ab-table__cell .ab-link {
    font-size: 11px;
    padding: 4px 6px;
  }
}

@media (max-width: 480px) {
  .ab-table__header-cell,
  .ab-table__cell {
    padding: 10px 12px;
  }
  
  .ab-table__cell:first-child .ab-text {
    max-width: 150px;
    font-size: 12px;
  }
  
  .ab-table__cell:last-child {
    max-width: 100px;
  }
  
  .ab-table__cell .ab-link {
    font-size: 11px;
    padding: 4px 8px;
  }
}

/* Loading Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.baserow-table tbody .baserow-table__row {
  animation: fadeInUp 0.3s ease-out;
}

/* Hover Effect Enhancement */
.baserow-table tbody .baserow-table__row:hover .ab-table__cell:first-child .ab-text {
  color: #2563eb;
}

/* Focus States for Accessibility */
.ab-table__cell .ab-link:focus {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

/* Custom Scrollbar for Long Content */
.ab-table__cell-content::-webkit-scrollbar {
  height: 4px;
}

.ab-table__cell-content::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 2px;
}

.ab-table__cell-content::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 2px;
}

.ab-table__cell-content::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}