.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{
    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;
}

@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;
    }
}