.calendar-item{
    line-height: 150%;
    text-align: justify;
}

.apag-table-responsive {
  border-top: 1px solid #ccc;
  border-left: 1px solid #ccc;
  background-color: #fff;
}

.apag-table-responsive .row-header,
.apag-table-responsive .row-data {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid #ccc;
}

.cell {
  flex: 1;
  padding: 8px;
  box-sizing: border-box;
  border-right: 1px solid #ddd;
}

/* Cột 1 có độ rộng cố định */
.cell.fixed {
  flex: 0 0 100px;
}

.cell.header{
    font-weight: bold;
    
    background-color: rgba(33, 37, 41, 0.03);
}
/* Đảm bảo hàng cuối không có border phải */
.row-header .cell:last-child,
.row-data .cell:last-child {

}
.text-date{
  font-weight: bold;
}
.row-sat, .row-sun, .row-holiday{
    background-color: #ffdddd;
}

.event-status-draff{
    background-color: #ddd;
}

.event-status-reviewing{
  background-color:lightcyan;
}

.event-status-rejected {
  background-color:#f3a638;
}
/* Responsive: chuyển thành dạng hàng dọc trên mobile */
@media (max-width: 768px) {
  .apag-table-responsive .row-header,
  .apag-table-responsive .row-data {
    flex-direction: column;
  }

  .cell {
    flex: 100%;
    
    border-bottom: 1px solid #eee;
  }

  .cell.fixed {
    flex: 100%;
  }
}
.cal_code{
  padding: 1px 10px;
  border-radius: 5px;
  font-weight: bold;
  background-color: antiquewhite;
}

div.cal_code{
  display: block;
  text-align: center;
  width: 55px;
}
div.item-meta{
  margin: 3px 0;
  padding: 3px 0;
  border-top: 1px dashed #ccc;
  
  color:#8a8989;
  font-size:xx-small;
}

.item-selecting{
  cursor: pointer;
  border: 1px dashed #F00;
}

.item-selected{
  cursor: pointer;
  background-color: #ffdddd;
}

.bg-dark {
    --bs-bg-opacity: 1;
    background-color: rgb(42 43 125) !important;
}
.navbar-dark, .navbar[data-bs-theme="dark"] {
    --bs-navbar-color: rgba(255, 255, 255, 1);
}

.dropdown-header {
  padding-left: 8px;
  font-size: inherit;
  font-weight: bold;
  color: #000;
}

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 15px;
        padding-left: 5px;
    }
}

@media print {
    table.apag-table{
        border: 1px solid #000 !important;
        border-collapse: collapse !important;
    }
    th.apag-th, td.apag-td {
        border: 1px solid #000 !important;
        border-collapse: collapse !important;
        vertical-align: top !important;
    }

    div.evt_action {
      display: none;
    }
    .text-center {
      text-align: center;
    }
}

.split-wrapper {
  height: 70vh;
  display: flex;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fafafa;
}
.pane {
  overflow-x: hidden;
  overflow-y: scroll;
  padding: 0.7rem;
}
.resizer {
  width: 10px;
  cursor: col-resize;
  background: rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}
.resizer:hover { background: rgba(0,0,0,0.1); }
.resizer::before {
  content:"";
  width:2px;
  height:32px;
  background:rgba(0,0,0,0.3);
  border-radius:1px;
}
.dragging { user-select: none; }

/*EVALUATION MODULE*/
tr.crit-row-tieuchuan, tr.crit-row-tieuchuan td{
  font-weight: bold;
  color: blue;
}
.crit-cell-tieuchi{
  padding-left: 20px !important;
}

table th{
  background-color: #f8f8f8 !important;
}

.sticky-header th {
  position: sticky;
  top: -1px;               /* dính ở đỉnh container */
  z-index: 10;           /* để header nằm trên nội dung */
  border-bottom: 1px solid #000;
  box-shadow: 0 2px 0 0 #000;
}
