
.loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(0 0 0 / 29%);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.loader {
  border: 8px solid #f3f3f3;
  border-top: 8px solid #3498db;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.h2_title{
  color: #808080;
  font-weight: 600;
  font-size: 18px;
  text-transform: uppercase;
  margin-bottom: 10px;
  border-bottom: solid 2px #808080;
  display: inline-block;
}
.menu-grid {
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 30px;
}
.menu-grid .heading-mn {
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: #fff;
    border-radius: 5px;
    padding: 10px;
    display: block;
    background: #017e84;
}
.menu-grid .menu-grid-child {
    margin-bottom: 10px;
    padding: 15px;
    display: block;
    background: #ddd;
    color: #000;
    border-radius: 4px;
}
.task-container {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

.task-header h2 {
    margin: 0;
    color: #333;
}

.task-status {
    margin-top: 10px;
    color: green;
    font-size: 0.9em;
}

.task-status .status-icon {
    font-weight: bold;
    color: green;
}

.task-dates p {
    margin: 5px 0;
    font-size: 0.9em;
}

.task-user {
    display: flex;
    align-items: center;
    margin: 20px 0;
}

.user-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 10px;
}

.user-details p {
    margin: 2px 0;
    color: green;
}

.task-details hr {
    margin: 10px 0;
    border: 0;
    height: 1px;
    background-color: #ccc;
}

.task-details .no-file {
    color: #777;
}

.file-actions a {
    color: #0073e6;
    text-decoration: none;
}

.task-result p {
    font-size: 1.2em;
    color: green;
    font-weight: bold;
}

.task-subtasks {
    margin-top: 20px;
}

.subtask {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9em;
}

.subtask-icon {
    color: green;
    font-weight: bold;
}

.subtask-text {
    flex-grow: 1;
    margin: 7px 10px;
    font-size: 16px;
    width: 40%;
}

.subtask-date {
    display: flex;
    color: #777;
    font-size: 16px;
    align-items: center;
    justify-content: space-between;
}
.subtask-date .avatar-task-con {
    width: 25px;
    height: 25px;
    border-radius: 50%;
}
.task-header h2{
  font-size: 22px;
  color: #017e84;
}
.mo_ta{
    width: 100%;
    padding: 10px;
    border: solid 1px #dcdcdc;
    border-radius: 10px;
    background: #fbfbfb;
    max-height: 450px;
    min-height: 50px;
    overflow-y: auto;
}

.mo_ta::-webkit-scrollbar {
    width: 7px;
    height: 7px;
    background-color: #f1f1f1;
}
/* Track nền thanh cuộn */
.mo_ta::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(83, 83, 83, 0.07);
  background-color: #f1f1f1;
}

/* Thumb kéo */
.mo_ta::-webkit-scrollbar-thumb {
  background-color: #2c9499;
  border-radius: 10px;
}

/* Hover vào thumb */
.mo_ta::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8 !important;
}

/* Ẩn mũi tên đầu/cuối */
.mo_ta::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}

.mo_ta img {
    height: auto;
    max-width: 100%;
}


.task-container h3{
  margin-bottom: 10px;
}
.them_ngang{
  font-size: 11px;
  color: green !important;
  margin-left: 10px;
}
.buttons {
    overflow: hidden;
    font-size: 12px;
    color: #267cde;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    float: left;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
    -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
    border-radius: 20px;
    background-color: #fff;
    height: 24px;
}
.buttons .button {
    float: left;
    font-size: 12px;
    font-weight: 500;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 5px 12px;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
    height: 24px;
}
.buttons .button:last-child {
    border: none;
}
.buttons .button:hover {
    color: #fff;
    background-color: #267cde;
    cursor: pointer;
}
#modal_add input {
    border: none;
    border-bottom: 1px dotted #ccc;
    padding: 7px 9px;
    padding-left: 0px;
    background-color: transparent;
    -moz-box-shadow: 0px 0px 0px transparent;
    -webkit-box-shadow: 0px 0px 0px transparent;
    box-shadow: 0px 0px 0px transparent;
    -moz-border-radius: 0px;
    -webkit-border-radius: 0px;
    border-radius: 0px;
    background-color: transparent;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='transparent', endColorstr='transparent');
    background: -moz-linear-gradient(top, transparent 0%, transparent 100%);
    background: -webkit-gradient(
      linear,
      left top,
      left bottom,
      color-stop(0%, transparent),
      color-stop(100%, transparent)
  );
    background: -webkit-linear-gradient(
      top,
      color-stop(0%, transparent),
      color-stop(100%, transparent)
  );
    background: -o-linear-gradient(top, transparent 0%, transparent 100%);
    background: -ms-linear-gradient(top, transparent 0%, transparent 100%);
    background: linear-gradient(top, transparent 0%, transparent 100%);
}
#modal_add label {
    font-weight: 500;
    font-size: 12px;
    color: #333;
    position: relative;
    display: block;
    -webkit-transition-property: all;
    -moz-transition-property: all;
    -o-transition-property: all;
    transition-property: all;
    -webkit-transition-duration: 0.3s;
    -moz-transition-duration: 0.3s;
    -o-transition-duration: 0.3s;
    transition-duration: 0.3s;
    padding-bottom: 5px;
}
#modal_add label {
    font-size: 13px;
}
.data.list-radio {
    margin-top: 10px;
}
.list-radio .options {
    font-size: 14px;
    color: #333;
}
.list-radio .options .opt {
    display: block;
    position: relative;
    cursor: pointer;
    padding-left: 27px;
    padding-bottom: 13px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
}
.list-radio .options .opt.selected2 {
    font-weight: bold;
    color: #111;
}
.list-radio .options .opt .circle {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 12px;
    height: 12px;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    border-radius: 8px;
    border: 2px solid #bbb;
}
.list-radio .options .opt.selected2 .circle {
    border-color: #42b814;
}
.list-radio .options .opt .circle .cin {
    position: absolute;
    width: 5px;
    height: 5px;
    top: 2px;
    left: 2px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}
.list-radio .options .opt.selected2 .circle .cin {
    background-color: #42b814;
}
.clear {
    clear: both !important;
}
.-bg-danger {
    background-color: red;
}
.-bg-warning {
    background-color: #f0ad4e;
}

.task-complete {
    color: green;
}
.task-late {
    color: red;
}
.task-info {
    font-size: 13px;
    color: #777;
}
.sidebar {
    background: #fff;
    padding: 15px;
}
.sidebar h4 {
    margin-top: 0;
}
.-no-project {
    opacity: 0.9;
}
.-no-project.tag-alt0, .has_parent_task {
    background-color: #f3f3f3;
    color: #aaa;
    margin-top: 10px;
    padding: 5px;
}

.has_parent_task:hover {
    background-color: #d5b0b0;
    color: #fff;
}
.timebox {
    position: absolute;
    right: 105px;
    top: 12px;
}
.timebox .duration {
    padding: 2px 6px;
    font-size: 12px;
    color: #999;
    margin-top: -2px;
}
.assign {
    right: 0px;
    top: 9px;
    position: absolute;
    color: #888;
    cursor: pointer;
    padding-left: 26px;
    padding-top: 4px;
/*    width: 45px;*/
}
.assign > .avatar {
    width: 18px;
    height: 18px;
    position: absolute;
    overflow: hidden;
    -moz-border-radius: 9px;
    -webkit-border-radius: 9px;
    border-radius: 9px;
    left: 0px;
    top: 1px;
}
.avatar > .image {
    overflow: hidden;
}
.assign > .avatar .imagew {
    height: 100%;
}
.assign > .avatar img {
    width: 20px;
    height: 20px;
    object-fit: cover;
}
.assign .fname {
    font-size: 12px;
    font-weight: normal;
}
.-infobox {
    position: absolute;
    text-align: center;
    display: none;
    left: 50%;
    z-index: 100;
}
.-infobox.-up {
    bottom: 100%;
    margin-bottom: 10px;
}
.-infobox.-w200 {
    width: 200px;
    margin-left: -100px;
}
.-infobox .-box {
    padding: 4px 5px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    background: rgba(0, 0, 0, 0.9);
    display: inline-block;
    font-size: 12px;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
}
.normal,
.ap-normal {
    font-weight: normal !important;
}
.relative,
.ap-relative {
    position: relative;
}
#project-side-canvas {
    overflow: hidden;
    width: 100%;
    background-color: #eee;
    border: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 18888;
    right: 0px;
    -webkit-transition-property: all;
    -moz-transition-property: all;
    -o-transition-property: all;
    transition-property: all;
    -webkit-transition-duration: 0.2s;
    -moz-transition-duration: 0.2s;
    -o-transition-duration: 0.2s;
    transition-duration: 0.2s;
}
#project-side {
    overflow: hidden;
    padding: 8px;
}
#project-side .section {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.13);
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    -moz-box-shadow: 0 2px 2px 0px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0 2px 2px 0px rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 2px 0px rgba(0, 0, 0, 0.1);
}
#project-side .box {
    position: relative;
    padding: 13px 15px;
}
#project-side .overview .projinfo.-with-image .image {
    overflow: hidden;
    width: 40px;
    height: 40px;
    -webkit-border-radius: 20px;
    border-radius: 20px;
}
#project-side .overview .projinfo.-with-image .image img {
    width: 100%;
    height: 100%;
}
#project-side .overview .projinfo .projname {
    font-weight: normal;
    font-size: 20px;
    padding: 0px 0 6px 0;
}
#project-side .overview .projinfo.-with-image .projdesc,
#project-side .overview .projinfo.-with-image .projname {
    padding-left: 15px;
}
#project-side .overview .projinfo.-with-image .projname {
    padding-bottom: 2px;
    padding-top: 2px;
}
#project-side .overview .projinfo .projdesc {
    font-size: 13px;
    color: #333;
    position: relative;
    line-height: 20px;
    padding-left: 20px;
}

#project-side .overview .projinfo .khung_infor_task .icon {
    font-size: 14px;
}
.ficon-check-square-o:before {
    font: normal 14px / 1 "FontAwesome";
    content: "\f772";
}
#project-side .overview .projinfo .khung_infor_task .v {
    font-weight: normal;
    color: #111;
    font-size: 13px;
}
#project-side .overview .projinfo .khung_infor_task .v.inline {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    word-wrap: normal;
    -moz-border-radius: 13px;
    -webkit-border-radius: 13px;
    border-radius: 13px;
    max-width: 110px;
    margin-top: -1px;
    padding: 2px 8px;
}
#project-side .overview .bar {
    height: 5px;
    position: relative;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.1);
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    margin: 5px 0px 5px 0px;
    width: 100%;
}
#project-side .overview .bar .c {
    position: absolute;
    top: 0px;
    left: 0px;
    bottom: 0px;
}
#project-side .overview .projinfo .khung_infor_task {
    display: flex;
    align-items: center;
    font-weight: normal;
    color: #888;
    font-size: 12px;
    justify-content: space-between;
}
#project-side .overview .projinfo .khung_infor_task .v.-full {
    left: 20px;
}
#project-side .subsection .subheader {
    padding: 10px 15px;
    position: relative;
}
#project-side .subsection .subheader:before {
    position: absolute;
    top: 0px;
    left: 15px;
    right: 15px;
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
    content: "";
}
#project-side .subsection .subheader .icon {
    font-size: 14px;
    position: absolute;
    color: #aaa;
    left: 15px;
    top: 9px;
}
#project-side .subsection .subheader .title {
    font-size: 12px;
    position: relative;
    cursor: pointer;
    font-weight: normal;
    color: #333;
    padding-left: 20px;
}
#project-side .subsection .subheader .title.-dd:before {
    font: normal 14px / 1 "FontAwesome";
    content: "\f054";
    position: absolute;
    font-size: 12px;
    color: #aaa;
    top: 1px;
    right: 3px;
}
.actions {
    position: absolute;
    font-size: 14px;
    color: #aaa;
    right: -2px;
    top: 29px;
    z-index: 1;
}
.actions .icon {
    position: relative;
    float: left;
    cursor: pointer;
    display: block;
    padding: 6px;
}

.header_task_1{
    display: flex;
    justify-content: space-between;
}


.cre_but {
    display: flex
    ;
    gap: 10px;
    align-items: center;
    cursor: pointer;
}


.cre_but .avatar-7i9 {
    overflow: hidden;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(38,124,222,0.9);
    transition-property: all;
    transition-duration: 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
}


.cre_but:hover .avatar-7i9  { 
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1); 
    transform: rotate(90deg); 
    -ms-transform: rotate(90deg); 
    -webkit-transform: rotate(90deg); 
    -o-transform: rotate(90deg); 
    -moz-transform: rotate(90deg); 
    background-color: #1c70ce;
} 

.cre_but .avatar-7i9::before {
    font-family: "FontAwesome";
    content: "\f067";
    font-size: 16px;
    color: #fff;
}


.cre_but .lmpjh {
    font-size: 13px;
    color: #aaa;
}


.cre_but .lmpjh .act-85c {
    color: #267cde;
}


.imp_css{
    display: flex;
    gap: 10px; 
    align-items: center;
}


.imp_css a{
    color: #267cde;
}
.task-status {
    display: block;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    cursor: pointer;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.4);
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    width: 100%;
    height: 100%;
    background-color: #fff;
}
.task-status.-done {
    background-color: #42b814;
    border: 1px solid #3ba710 !important;
}
.check .task-status {
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
}
.task-status.-done:after {
    position: absolute;
    font-size: 10px;
    font: normal 14px / 1 "FontAwesome";
    content: "\f00c";
    top: 2px;
    left: 2px;
    -webkit-transition-property: all;
    -moz-transition-property: all;
    -o-transition-property: all;
    transition-property: all;
    -webkit-transition-duration: 0.5s;
    -moz-transition-duration: 0.5s;
    -o-transition-duration: 0.5s;
    transition-duration: 0.5s;
    color: #fff;
}
.check .task-status.-done:after {
    left: 5px;
    top: 5px;
}
/*Của Hoàng*/
.task-form {
  background: white;
  width: 600px;
  margin: auto;
  padding: 20px 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.form-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.form-header h3 {
  margin: 0;
}

.close-btn {
  font-size: 20px;
  cursor: pointer;
}

.form-group {
  margin-bottom: 20px;
}

    /*.form-group input,
    .form-group textarea,*/
    .form-select select {
      width: 100%;
      /*padding: 10px;*/
      border: 1px solid #ccc;
      border-radius: 6px;
      border: none;
  }

  .form-group .title_task_add {
    border: none;
    font-size: 20px;
    font-weight: 600;
    padding: 10px;
    width: 100%;
}

.form-select .selection .select2-selection {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 6px;
    border: none;
    font-size: 16px;
    background-color: transparent;
}

.form-select select:focus, .form-select .selection .select2-selection:focus {
    outline: none !important;
    /*border: 1px solid rgba(30, 136, 229, 1) !important;
    box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.3);*/
}

    /*.select2-dropdown {
        border: 1px solid rgba(30, 136, 229, 1) !important;
        box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.3);
        margin-top: 10px;
    }*/


    .form-group textarea {
      height: 80px;
      resize: vertical;
  }

  .form-row {
    /*  display: flex;
      align-items: center;
      gap: 10px;*/
      margin-bottom: 15px;
  }

  .form-select {
      display: flex;
      align-items: center;
      gap: 5px;
      flex: 1;
  }
  .deadline-options {
    display: flex;
    align-items: center;
    margin-left: 5px;
    gap: 10px;
}
#deadlineOptions{
    display: flex;
    align-items: center;
    margin-left: 1px;
}
.deadline-options .due {
    color: #757575;
    font-size: 16px;
    white-space: nowrap;
}

.deadline-options .option {
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
    padding: 0px 5px;
    margin: 0px 5px;
}
.deadline-options .option.-b::before {
    content: ' ';
    position: absolute;
    width: 1px;
    height: 16px;
    background-color: #DDDDDD;
    right: -5px;
    top: 7px;
}

.base-icon.-fixed-size svg {
    width: 100%;
    height: 100%;
    fill: currentcolor;
}

.fr-content {
    display: flex;
    align-items: center;
}

.value {
    padding: 0px;
    border: unset;
    margin-left: 0;
    margin-right: 10px;
    min-height: 22px;
    background-color: unset;
    margin-top: 20px;
    font-size: 16px;
}
.value .table tr, .form-footer .table tr { 
    border: 1px solid #d5c6c6;
}
.value .table tr:hover { 
    background-color: #eeeeee;
}
.value .table tr td, .form-footer .table tr td{ 
    border: none;
}

.value .table tr td:last-child, .form-footer .table tr td:last-child { 
    text-align: right;
}

.value .table tr td:first-child, .form-footer .table tr td:first-child { 
    text-align: left;
}

span.content-minimize {
    color: #757575;
    width: unset;
    padding-top: 0;
    display: inline-flex;
    align-items: center;
    padding: 0 6px;
    border-radius: 5px;
    font-weight: 400;
    cursor: pointer;
    position: relative;
}
span.content-minimize.-before::before {
    content: ' ';
    position: absolute;
    width: 1px;
    height: 16px;
    background-color: #DDDDDD;
    right: -9px;
}
.content-minimize .base-icon {
    margin-right: 2px;
}
.base-icon {
    color: #888;
}

span.content-minimize:hover {
    background-color: #eeeeee;
}

.form-footer {
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 15px;
}

.footer-options button {
  background: none;
  border: none;
  color: #555;
  cursor: pointer;
  margin-right: 10px;
}

.footer-actions {
    text-align: end;
}

.footer-actions button {
  padding: 8px 16px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
}

.cancel-btn {
  background: #f0f0f0;
  margin-right: 10px;
}

.create-btn {
  background: #2196F3;
  color: white;
}

@media (min-width: 991.98px) {
    .modal-dialog {
        width: 950px !important;
        margin-top: 60px;
    }
    #modal_dialog_wework_calendar {
        width: 1200px !important;
        margin-top: 60px;
    }
}


.container-khung {
  display: flex;
}

.main_add {
  flex: 3;
  padding-right: 10px;
}

.sidebar_add {
  flex: 1;
  background: transparent;
  border-radius: 8px;
  height: fit-content;
}

.section_add {
    background: white;
    margin: 0px 0px 5px 2px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
}
.container-khung .main_add .section_add .js-task-main {
    padding: 10px 0px;
    position: relative;
    margin: 0 3%;
}
.container-khung .js-task-main .actions {
    position: absolute;
    right: 0px;
    top: 18px;
    z-index: 888;
}
.container-khung .js-task-main .title.f13 {
    font-size: 15px;
    color: black;
    position: relative;
    font-weight: 500;
    line-height: 25px;    
}

.section_add h3 {
    text-transform: uppercase;
    margin-top: 0;
    font-size: 15px;
    color: #1f79c0;
}

.task-header h2 {
  color: black;
}

.info-line {
  display: flex;
  align-items: center;
  margin-bottom: 6px;
  font-size: 14px;
  color: #444;
}

.info-line span {
  margin-right: 10px;
}

.assigned {
  display: flex;
  align-items: center;
  margin-top: 15px;
}

.assigned img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  margin-right: 10px;
}

.checklist-btn, .child-task-btn {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid #ddd;
  background: #f9f9f9;
  border-radius: 4px;
  font-size: 13px;
  cursor: pointer;
}

.sidebar_add h4 {
  margin-top: 0;
  font-size: 16px;
  border-bottom: 1px solid #eee;
  padding-bottom: 6px;
  margin-bottom: 10px;
}

.sidebar_add .block {
  margin-bottom: 20px;
}

.sidebar_add .block div {
  margin-bottom: 8px;
  font-size: 14px;
}

.comment-box {
  margin-top: 15px;
}

.comment-box input {
  width: 100%;
  padding: 8px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.sub-actions {
  margin-top: 10px;
  display: flex;
  gap: 10px;
}

.sub-actions button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
}
.desc-task-wrapper .desc-task-item {
    display: flex;
    font-size: 13px;
    gap: 10px;
    align-items: center;
}
.desc-task-wrapper .desc-task-item .desc-label .base-icon {
    top: -1px;
    position: absolute;
}
.desc-task-wrapper .desc-task-item .desc-label {
    position: relative;
    min-width: 170px;
    height: 25px;
    display: flex;
    align-items: center;
    color: #999999;
}
.desc-task-wrapper .desc-task-item .desc-label .txt {
    margin-left: 30px;
}
.desc-task-wrapper .desc-task-item .desc-content {
    /*flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: calc(100% - 200px);*/
}
.desc-task-wrapper .desc-task-item .desc-content .-project {
    position: relative;
}
.desc-task-wrapper .desc-task-item .desc-content .-divider {
    color: #757575;
}
.desc-task-wrapper .desc-task-item .desc-content._project .-project:last-child {
    padding-right: 16px;
}

.desc-task-wrapper .desc-task-item .time-picker .alias-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: -3px;
}

.desc-task-wrapper .desc-task-item .time-picker .alias-wrapper .alias-item span.url {
    padding: 3px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    color: #1E88E5;
}
.desc-task-wrapper .desc-task-item .time-picker .-ap {
    margin-top: -3px;
}
.-ap, .ap {
    font-family: 'ap' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.cke_chrome {
    width: 100% !important;
}
.section_add .js-task-main .upload_file {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    background: white;
    color: black;
    /*border: 1px solid #ccc;*/
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
}

.section_add .js-task-main .upload_file:hover {
    background-color: #eeeeee;
}
.section_add .js-task-main .upload_file input[type="file"], .fr-content .value .upload_file input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.project-header {
    font-size: 18px;
    font-weight: bold;
    margin: 20px 0;
}

.project-row {
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
}

.status-btn {
    background-color: #4caf50;
    color: #fff;
    border: none;
    padding: 5px 10px;
}

.progress {
    margin-bottom: 0;
    height: 8px;
}

.checkbox-custom {
    margin-top: 0;
}

.options-btn {
    border: 1px solid #ccc;
    background: #fff;
    padding: 5px 10px;
}

.search-box {
    width: 200px;
    margin-left: 20px;
}

.stage {
    color: #fff;
    padding: 7px 0;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    text-align: center;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: bold;
    width: 110px;
}
.-bg-success {
    background-color: #42b814;
}
.stage.-edge {
    color: #000;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
    background-color: #fff;
}
.priority {
    border: 1px solid #bbb;
    width: 18px;
    height: 18px;
    position: relative;
    background-color: #f9f9f9;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
}
.priority.-on {
    background-color: #42b814;
    border: 1px solid #42b814;
}
.priority.-on:after {
    content: "\f00c";
    color: #fff;
    position: absolute;
    font-size: 14px;
    top: 2px;
    left: 2px;
    font: normal 14px / 1 "FontAwesome";
}
.bar {
    position: relative;
    width: 100%;
    background: rgba(0, 0, 0, 0.1);
    height: 3px;
    margin-top: 25px;
}
.bar .stats {
    position: absolute;
    color: #aaa;
    text-transform: lowercase;
    top: -20px;
    left: 0px;
    right: 0px;
    font-size: 12px;
}
.bar .stats .left {
    width: 80px;
    display: inline-block;
}
.bar b {
    color: #111;
}
.bar .stats .right {
    position: absolute;
    right: 0px;
    top: 0px;
    width: 65px;
}
.bar .complete {
    background-color: #267cde;
    top: 0px;
    left: 0px;
    height: 3px;
    position: absolute;
}
.color_mo {
    font-weight: 500;
    font-size: 12px;
    text-transform: uppercase;
    color: #888;
    padding: 9px 10px;
    text-align: left;
    background-color: #eee;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}
.ap-xdot {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    word-wrap: normal;
}

.li .title_url {
    font-size: 13px;
    font-weight: bold;
    padding-bottom: 4px;
    color: #000000;
}
.text-8 {
    color: #888;
}
#collection .table .li .info {
    font-weight: normal;
    font-size: 12px;
    color: #888;
    overflow: hidden;
}
.li .users {
    padding-left: 5px;
    overflow: hidden;
    height: 100%;
    display: contents;
}
.li .users .avatar {
    float: left;
    position: relative;
    margin-left: -5px;
}
.avatar >.image {
    overflow: hidden;
}
.avatar.avatar-24.-circled > .image {
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
}
.avatar.avatar-24 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.li .users .avatar:after {
    position: absolute;
    width: 100%;
    height: 100%;
    -moz-border-radius: 60%;
    -webkit-border-radius: 60%;
    border-radius: 60%;
    border: 3px solid #fff;
    content: "";
    top: 0px;
    left: 0px;
}
.clear-fix:after {
    content: " ";
    clear: both;
    display: block;
}
.progress-circle {
    width: 25px;
    height: 25px;
}
.progress-circle circle {
    transition: stroke-dashoffset 0.3s ease;
}
.table-scroll .dropdown-menu{
    left: unset;
    right: 10px;
    top: unset;
    margin-top: 10px;
}
.border-none{
    border: none;
}
.-item {
    padding: 10px 15px 10px 42px;
    font-size: 13px;
    position: relative;
    cursor: pointer;
    color: #555;
    text-align: left;
    display: block;
}
.-item {
    padding-left: 15px;
}
.-item:hover {
    background-color: #f3f3f3;
    color: #000;
}
.-item {
    padding-top: 7px;
    padding-bottom: 7px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    margin-top: 3px;
}
.-item:hover {
    background: rgba(38, 124, 222, 0.8);
    color: #fff;
}
.-cmenu-scroll {
    padding: 4px 6px;
}
.scroll-y {
    scrollbar-width: thin;
    overflow-y: auto ;
}
.-item.active {
    font-weight: bold;
    color: #111;
}
.label_thoi_gian_tao {
    text-transform: uppercase;
    font-weight: 500;
    font-size: 11px;
    color: #aaa;
    padding: 10px 0;
}
.avatar.avatar-24{
    width: 30px;
    height: 30px;
}
.filter {
    position: relative;
    color: #666;
    float: left;
    display: flex
    ;
    flex-direction: row;
    align-items: center;
    column-gap: 2px;
}
.filter:hover {
    color: #111;
    background-color: transparent;
}
.js-project{
    min-height: 65px;
}

/*siderbar*/
.accordion {
    position: relative;
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    /*overflow: hidden;*/
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    margin-bottom: 10px;
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background-color: #fff;
  color: #017e84;
  font-weight: bold;
  cursor: pointer;
  border-bottom: 1px solid #eee;
}

.accordion-header:hover {
  background-color: #f8f8f8;
}

.accordion-body {
  display: block;
  padding: 12px 16px;
  background: #fff;
}

.accordion-project {
  border: none;
  margin-bottom: 5px;
}

.accordion-group {
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 8px;
  margin-top: 8px;
}



.accordion-project.open .accordion-title {
  background: transparent;
}

.accordion-body-project {
  display: none;
  padding: 0 12px 12px;
  background: white;
}

.accordion-project.open .accordion-body-project {
    display: block;
    /*overflow-y: scroll;*/
}

.accordion-project.open .accordion-body-project::-webkit-scrollbar {
  width: 7px;
  background-color: #f1f1f1;
}

/* Track nền thanh cuộn */
.accordion-project.open .accordion-body-project::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(83, 83, 83, 0.07);
  background-color: #f1f1f1;
}

/* Thumb kéo */
.accordion-project.open .accordion-body-project::-webkit-scrollbar-thumb {
  background-color: #2c9499;
  border-radius: 10px;
}

/* Hover vào thumb */
.accordion-project.open .accordion-body-project::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8 !important;
}

/* Ẩn mũi tên đầu/cuối */
.accordion-project.open .accordion-body-project::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}

.accordion-project.open .arrow-project {
  transform: rotate(90deg);
}
.title-left {
  display: flex;
  align-items: center;
}

.title-left:hover>span:last-child {
    text-decoration: underline;
}

.add-task {
    font-size: 14px;
    color: #007bff;
    cursor: pointer;
}

.user-info {
    display: flex;
    align-items: center;
    padding-bottom: 12px;
    min-height: 35px;
    border-bottom: 1px solid #ddd;
}

.user-info .ma_nhan_vien {
    margin-top: 5px;
}

#follower-infor {
    max-width: 330px;
    overflow-x: scroll;
    overflow-y: hidden;
    margin-top: 10px;
}

@media (max-width: 991.98px) {
    #follower-infor {
        max-width: 100%;
    }
}

#follower-infor::-webkit-scrollbar, .avatar-group::-webkit-scrollbar {
    height: 8px;
    background-color: #f1f1f1;
}
/* Track nền thanh cuộn */
#follower-infor::-webkit-scrollbar-track, .avatar-group::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(83, 83, 83, 0.07);
  background-color: #f1f1f1;
}

/* Thumb kéo */
#follower-infor::-webkit-scrollbar-thumb, .avatar-group::-webkit-scrollbar-thumb {
  background-color: #2c9499;
  border-radius: 10px;
}

/* Hover vào thumb */
#follower-infor::-webkit-scrollbar-thumb:hover, .avatar-group::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8 !important;
}

/* Ẩn mũi tên đầu/cuối */
#follower-infor::-webkit-scrollbar-button, .avatar-group::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}

.arrow-project {
  margin-right: 8px;
}

.user-info img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 5px;
}

.user-name {
  font-weight: bold;
}

.user-role {
  font-size: 13px;
  color: #888;
}

.arrow, .arrow-project {
  transition: transform 0.2s;
}

.arrow.rotate {
  transform: rotate(180deg);
}

#arrow_show_list.down {
  transform: rotate(0deg);
  transition: transform 0.3s ease;
}

.action-buttons {
  display: flex;
  justify-content: space-around;
  margin-top: 10px;
}

.action-buttons button {
  background: none;
  border: none;
  color: #666;
  font-weight: bold;
  cursor: pointer;
}
.action-buttons button:hover {
  color: #000;
}
.activity-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
  font-size: 13px;
}

.activity-item img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  margin-right: 8px;
}

.activity-content {
  line-height: 1.4;
}

.activity-time {
  color: #999;
  margin-left: 5px;
}

.activity-date {
  font-size: 12px;
  font-weight: bold;
  color: #666;
  margin-bottom: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid #ddd;
}
.time-info {
  width: 100%;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 14px;
  color: #333;
}

.time-row {
  display: flex;
  align-items: center;
  padding: 5px;
}

.time-row:last-child {
  margin-bottom: 0;
}

.time-row i {
  margin-right: 8px;
  color: #999;
}

.time-row span {
  font-weight: bold;
  color: #000;
}

.divider {
  height: 1px;
  background-color: #eee;
  margin: 5px 0;
}
/* SEARCH BOX POPUP */
.search-box-popup, .search-box-assgin-project {
    position: absolute;
    top: 150px;
    right: 0;
    width: 100%;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 12px;
    z-index: 9999;
    display: none;
}

.search-box-assgin {
    position: absolute;
    top: 55px;
    left: 0px;
    width: 350px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 12px;
    z-index: 9999;
    display: none;
}

.search-box-reviewer {
    position: absolute;
    top: 55px;
    left: 0px;
    width: 350px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 12px;
    z-index: 9999;
    display: none;
}

.search-box-popup input, .search-box-assgin input, .search-box-assgin-project input, .search-box-reviewer input {
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.search-result {
  display: flex;
  align-items: center;
  padding: 6px 0;
  border-top: 1px solid #eee;
}

.search-result img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  margin: 0 10px;
}

.search-result label {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 10px;
  margin-bottom: 0;
}

.search-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.search-actions button {
  padding: 6px 14px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.btn-cancel {
  background: #f0f0f0;
}

.btn-add {
  background: #007bff;
  color: #fff;
}
/*CMT công việc*/
.comment-input {
  width: 100%;
  border: none;
  outline: none;
  font-size: 16px;
}

.attach-icon {
  position: absolute;
  right: 10px;
  top: 69%;
  transform: translateY(-50%);
  cursor: pointer;
}

.hidden-file-input {
  display: none !important;
}
#show_list_detail, #show_list_assign, #show_list, #show_list_assigned, #show_list_reviewer {
    max-height: 200px;
    overflow-y: auto;
}
#show_list_reviewer .search-result:hover, #show_list_assign .search-result:hover {
    background-color: #ddd;
    margin-bottom: 0;
}
.task-row {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    position: relative;
    padding: 0px 10px;
}
.status-box-task {
    display: flex;
    align-items: center;
    min-width: 170px;
    padding: 5px 20px 5px 20px;        
    color: #fff;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 14px;
    border-radius: 5px;
}
.status-box-task .circle{
    margin-bottom: 0px;
}
.select_assign{
    border: solid 1px #dcdcdc;
    border-radius: 5px;
    padding: 2px 10px;
    cursor: pointer;
    background: #eeeeee;
}
.status-doing {
    background-color: #e7f0fa;
    color: #007bff;
    border:  1px solid rgba(38,124,222,0.3);
}
.status-expiring-soon {
    background-color: #ed820d;
    border:  1px solid rgba(38,124,222,0.3);
}
.status-expired {
    background-color: #e51e1e;
    border:  1px solid rgba(38,124,222,0.3);
}
.status-doing:hover {
    background-color: rgb(189 215 245);
    border:  1px solid rgba(38,124,222,0.3);
}
.status-done {
    background-color: #4dcc33;
    color: white;
}
.status-box-task .circle {
    background-color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-right: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.status-doing .circle, .status-expiring-soon .circle, .status-expired .circle {
    border-color: rgba(38, 124, 222, 0.3);
    color: transparent;
}
.status-done .circle {
    background-color: white;
    color: green;
}
.member-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 7px;
    flex: 1;
}
.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #b8b8f1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}
.member-name {
    font-weight: bold;
}
.member-role {
    font-size: 13px;
    color: #333;
}
select[readonly].select2-hidden-accessible + .select2-container {
    pointer-events: none;
    touch-action: none;
}

select[readonly].select2-hidden-accessible + .select2-container .select2-selection {
    background: #eee;
    box-shadow: none;
}

select[readonly].select2-hidden-accessible + .select2-container .select2-selection__arrow,
select[readonly].select2-hidden-accessible + .select2-container .select2-selection__clear {
    display: none;
}
.js-project .fa-circle-exclamation{
    color: red;
}
#box_title_task, #box_title_project {
    display: none;
    align-items: center;
    margin: 0 0 10px 0;
}
.-no-project-danger.tag-alt0 {
    background-color: #ffa249;
    color: #fff;
    margin-top: 10px;
    padding: 5px;
}
.task-item {
    background: #fff;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 4px;
    border-left: none;
    border-right: none;
    border-top: none;
}
.task-item .label {
    padding: 5px;
    -moz-border-radius: 15px;
    -webkit-border-radius: 15px;
    border-radius: 15px;
    display: inline-block;
    text-align: center;
    cursor: pointer;
    font-size: 10px;
    position: relative;
    margin-right: 5px;
}
.task-item {
    position: relative;
    padding: 11px 15px 9px 40px;
    margin-left: 10px;
}
.task-item .name {
    cursor: pointer;
    position: relative;
    color: #111;
    font-size: 14px;
}
.task-item.-done > .name {
    color: #308e0b;
}
.task-item .labels {
    display: inline-block;
    position: relative;
    margin-right: 5px;
    margin-top: 0px;
}
.tag-alt1-edge {
    box-shadow: inset 0 0 0 1px rgba(38, 124, 222, 0.2);
    color: #267cde;
    background: rgba(38, 124, 222, 0.1);
    margin-top: 10px;
    padding: 5px !important;
}

.task-item > .check {
    width: 24px;
    height: 24px;
    left: 0px;
    top: 20px;
    font-size: 24px;
    cursor: pointer;
    position: absolute;
    color: rgba(0, 0, 0, 0.3);
}
.task-item > .check:hover {
    color: #42b814;
}

.task-item > .check_hover {
    color: #42b814;
}
#title_display {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
#title_display .chuc_nang {
    margin: 0 5px;
    cursor: pointer;
}
.d-none {
    position: absolute;
    left: -9999px;
    top: -9999px;
}
.header_task{
    display: flex;
}
.header_task_left{
    flex: 3;
    
}
.header_task_right{
    flex: 7;
    text-align: right;
}
.subtask-icon {
    position: relative;
    padding: 0px 15px 23px 5px;
}
.subtask-icon > .check {
    width: 24px;
    height: 24px;
    left: 0px;
    top: 0px;
    font-size: 20px;
    cursor: pointer;
    position: absolute;
    color: rgba(0, 0, 0, 0.3);
}
.subtask-icon > .check_hover {
    color: #42b814;
}
.my-title {
  color: red;
  font-size: 20px;
}

.my-html {
  font-style: italic;
  font-size: 18px;
}

.my-confirm {
  background: red !important;
  color: white;
}

.my-cancel {
  background: gray !important;
  color: white;
}
.swal2-popup {
  width: 600px !important;    /* Chiều rộng cụ thể */
  padding: 10px !important;   /* Khoảng cách bên trong */
  border-radius: 12px;        /* Bo góc */
  font-size: 16px;
  box-shadow: 0 5px 30px rgba(0,0,0,0.2);
  margin-top: -150px;
}
.user-popup {
  background: #fff;
  border: 1px solid #ccc;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  width: 320px;
  position: absolute;
  z-index: 9999;
}

.popup-inner, .delete_followers {
  display: flex;
  align-items: center;
  padding: 5px 10px;
}

.popup-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 12px;
}

.popup-text {
  flex: 1;
}

.popup-name {
  font-size: 15px;
  font-weight: bold;
}

.popup-sub {
  font-size: 13px;
  color: #666;
  margin: 5px 0;
}

.popup-info {
  font-size: 12px;
  color: #999;
}
.accordion-body h4 {
  margin: 0;
  font-size: 14px;
  font-weight: normal;
  color: #888;
}

.task-status-project {
  display: flex;
  justify-content: space-between;
  padding: 12px 0 8px;
  font-size: 13px;
}

.task-status-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.task-status-item .num_status_item span:last-child {
  font-weight: bold;
  font-size: 18px;
}

.task-status-item .num_status_item .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-top: 6px;
  margin-right: 5px;
}

.task-status-item .num_status_item {
    display: flex;
}
.task-card h2 {
  margin: 0;
  font-size: 18px;
  font-weight: bold;
  color: #333;
}

.dot.green { background: #2ECC71; }
.dot.red { background: #E74C3C; }
.dot.blue { background: #6C5CE7; }
.dot.gray { background: #aaa; }
.dot.yellow { background: #F1C40F; }
.dot.lightgreen { background: #B6F542; }
.dot.brown { background: #A52A2A; }

.divider {
  height: 1px;
  background: #eee;
  margin: 10px 0;
}

.section {
  font-size: 14px;
  padding: 6px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.section.red {
  color: #d00;
  font-weight: bold;
}

.section .icon {
  font-size: 12px;
}
.task-status-project .task-status-item .status_text {
    text-align: center;
}

.info-summary {
  display: flex;
  flex-direction: column;
}

.info-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.chart-containers {
  width: 100px;
  height: 100px;
}

.legend {
  font-size: 13px;
  flex: 1;
  margin-top: 5px;
}

.legend div {
  display: flex;
  align-items: center;
  margin-bottom: 4px;
}

.legend span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 8px;
  display: inline-block;
}
.progress {
  height: 6px;
  background: #eee;
  border-radius: 4px;
  margin: 6px 0;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: #2ecc71;
  width: 50%;
}

.status-tag-on-time, .status-tag-late {
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: bold;
}

.status-tag-on-time {
    background: #e8f5e9;
    color: #2ecc71;
}
.status-tag-late {
    background: #f5e8e8;
    color: #cc2e2e;
}

.avatar-group {
  overflow: scroll;
  display: flex;
  overflow-y: hidden;
  gap: 4px;
  margin-top: 4px;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.avatar-project {
  width: 30px;
  height: 30px;
  margin-right:  -10px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #ccc;
}

.toggle-member-stats .avatar-project {
    width: 20px;
    height: 20px;
}

.modal_body_cat_project {
  padding: 15px 0 0;
}

.modal_body_cat_project label {
  font-weight: bold;
  display: block;
  margin-bottom: 6px;
}

.modal_body_cat_project input[type="text"],
.modal_body_cat_project textarea
{
  width: 100%;
  padding: 5px 0 12px 0;
  border: none;
  border-bottom: 1px solid #ccc;
  color: #666;
  margin-bottom: 20px;
}

.modal_body_cat_project .select2-container
{
  width: 100%;
  border: none;
  color: #666;
  margin-bottom: 20px;
}

.modal_body_cat_project textarea { 
    margin-top: 0;
    font-size: 14px;
}
.modal_body_cat_project input[type="text"] {
    font-size: 20px;
}


.modal_footer_cat_project {
  display: flex;
  justify-content: space-between;
}

.modal_footer_cat_project .btn-cancel {
    padding: 12px 20px;
    background: #ddd;
    border: none;
    cursor: pointer;
    font-size: 16px;
    width: 50%;
    margin-right: 10px;
}

.btn-submit {
    padding: 12px 20px;
    background: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
    width: 50%;
    margin-left: 10px;
}
.task-form-project {
  display: none;
  background: #ffffee;
  padding: 16px;
  border-bottom: 1px solid #eee;
}

.task-form-project input[type="text"] {
    width: 100%;
    padding: 8px;
    margin: 4px 0;
    border-radius: 3px;
    border: none;
    background: #ffffee;
    font-size: 16px;
    box-shadow: none;
}

.task-form-project .row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.task-form-project .form-row .form-select > div {
    display: flex;
    align-items: center;
}

.task-form-project .submit-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.task-form-project button {
    background: #007bff;
    color: white;
    border: none;
    padding: 7px 0px;
    border-radius: 3px;
    cursor: pointer;
    width: 125px;
}
.task-form-project button:hover {
    background: #42b814;
}
.task-form-project .form-row .form-select .select2-container {
    width: 175px !important;
}

.task-form-project label {
  display: block;
  font-size: 12px;
  color: #666;
  margin-right: 10px;
  margin-bottom: 0;
  margin-top: 2px;
}

.task-form-project .task-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  width: 70%;
}
.task-row-project {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 15px 0;
}
.task-row-project .late {
  font-size: 11px;
  color: #d00;
  background: #fdecea;
  padding: 1px 6px;
  border-radius: 8px;
  font-weight: bold;
}
.task-form-project .circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #ccc;
    cursor: not-allowed;
}
.toggle-member-stats {
  display: none;
  margin-top: 10px;
  font-size: 13px;
}
.toggle-panel {
  display: none;
  font-size: 13px;
}
.history-summary {
  width: 400px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding: 12px 16px;
  color: #333;
  margin-bottom: 20px;
}
.history-summary h4 {
  margin: 0;
  font-size: 14px;
  font-weight: bold;
  color: #2ecc71;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.history-project {
  margin-top: 10px;
  display: none;
}
.history-project .task-title {
  font-weight: bold;
  font-size: 14px;
  padding: 8px 0;
  border-top: 1px solid #eee;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.history-project .toggle-history {
  display: none;
  padding-left: 8px;
  margin-bottom: 10px;
}
.history-item {
  display: flex;
  align-items: flex-start;
  font-size: 13px;
  border-bottom: 1px dashed #eee;
  padding: 6px 0;
}
.history-item img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  margin-right: 10px;
}
.history-item span {
  display: block;
  font-size: 12px;
  color: #777;
}
.toggle-icon {
  font-size: 12px;
  color: #aaa;
}
#project-desc-box #desc-display .desc-text {
    color: #aaa;
    margin-bottom: 0;
    margin-left: 5px;
}
#project-desc-box #desc-display {
    display: flex;
    align-items: center;
}
#project-desc-box, #project-progress-box, #project-duration-box {
    margin: 10px 0;
}
.status_project {
    font-weight: bolder;
    font-size: 16px;
}
.status_project:hover {
    text-decoration: underline;
}
.status_project_close {
    color: #c9302c;
}
.status_project_open {
    color: #017e84;
}
.toggle-member-stats .avatar-project {
    margin-right: 0;
}

//Anh Đạt
.dashboard-header {
    font-weight: bold;
    font-size: 18px;
    margin: 20px 0 10px;
}
.stat-box {
    background: #fff;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center;
    margin-bottom: 20px;
}
.stat-box h4 {
    margin: 10px 0 5px;
    font-weight: bold;
}
.stat-box small {
    color: #777;
}
#menu3 .chart-container {
    background: #fff;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 20px;
    min-height: 400px;
}
.table > tbody > tr > td {
    vertical-align: middle;
}
.chart-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
}
.overdue-labels {
    padding: 10px 0 0;
}
.overdue-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}
.overdue-item .dot {
    height: 10px;
    width: 20px;
    border-radius: 66%;
    display: inline-block;
    margin-right: 23px;
}
.overdue-item .value {
    font-size: 20px;
    font-weight: bold;
    margin-right: 6px;
}
.overdue-summary {
    margin-top: 10px;
    font-size: 13px;
    color: #666;
}
.member-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}
.member-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 10px;
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}
.member-info {
    flex: 1;
}
.member-name {
    font-weight: bold;
}
.member-progress {
    background: #e8f5e9;
    color: #388e3c;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 13px;
}
.table-container {
    background: #fff;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin: 20px 0;
}
.section-title {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 10px;
}
.progress-bar-status {
    display: flex;
    height: 20px;
    border-radius: 4px;
    overflow: hidden;
}
.bar-green { background-color: #4caf50; }
.bar-yellow { background-color: #ffeb3b; }
.bar-red { background-color: #f44336; }
.bar-purple { background-color: #9c27b0; }
.bar-blue { background-color: #2196f3; }
.bar-grey { background-color: #e0e0e0; }
.member-cell {
    display: flex;
    align-items: center;
}
.member-cell img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    margin-right: 10px;
}
.member-cell .name {
    font-weight: bold;
}
.ten_iframe {
    margin-bottom: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#formsearch_id {
   display: flex;
   justify-content: end;
   align-items: center;
   gap: 5px;
   transform: scaleX(0);
   transform-origin: right;
   opacity: 0;
   visibility: hidden;
   white-space: nowrap;
   overflow: visible;
   transition: transform 0.3s ease, opacity 0.3s ease;
   z-index: 10;
   padding: 0px 10px 0px 10px;
}

#formsearch_id.open {
  transform: scaleX(1);
  opacity: 1;
  visibility: visible;
}
#formsearch_id.closing {
  visibility: visible;
}
.dropdown-menu {
  position: absolute;
  z-index: 9999;
  will-change: transform;
}

.toggle-btn {
  background-color: transparent;
  border: none;
  padding: 6px 0px;
  font-size: 16px;
  border-radius: 4px;
  cursor: pointer;
  z-index: 20;
  margin-left: 10px;
}
.toggle-btn.blue {
  color: #00000070 !important;
}

.toggle-btn.red {
  color: #00000070 !important;
}


.tab_config-tabs_ww {
    display: flex;
    justify-content: center;
    background: #fff;
    padding: 5px 10px 25px 10px;
    gap: 30px;
}
#box_mo_ta_edit, #box_ket_qua_edit, #box_review_edit {
    display: none;
}
#box_mo_ta_show, #box_ket_qua_show, #box_mo_ta_edit, #box_ket_qua_edit {
    width: 100%;
}

#box_review_show, #box_review_edit {
    width: 100%;
}

#box_select_review {
    display: none; align-items: center; justify-content: space-between;;
}

#box_history_task {
    overflow-y: scroll;
    overflow-x: hidden;
    max-height: 404px;
    width: 100%;
}

#box_history_task::-webkit-scrollbar, #full_infor_follower::-webkit-scrollbar, #full_infor_assigned::-webkit-scrollbar, #full_infor_member::-webkit-scrollbar {
    width: 5px;
    background-color: #f1f1f1;
}
/* Track nền thanh cuộn */
#box_history_task::-webkit-scrollbar-track, #full_infor_follower::-webkit-scrollbar-track, #full_infor_assigned::-webkit-scrollbar-track, #full_infor_member::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(83, 83, 83, 0.07);
  background-color: #f1f1f1;
}

/* Thumb kéo */
#box_history_task::-webkit-scrollbar-thumb, #full_infor_follower::-webkit-scrollbar-thumb, #full_infor_assigned::-webkit-scrollbar-thumb, #full_infor_member::-webkit-scrollbar-thumb {
  background-color: #2c9499;
  border-radius: 10px;
}

/* Hover vào thumb */
#box_history_task::-webkit-scrollbar-thumb:hover, #full_infor_follower::-webkit-scrollbar-thumb:hover, #full_infor_assigned::-webkit-scrollbar-thumb:hover, #full_infor_member::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8 !important;
}

/* Ẩn mũi tên đầu/cuối */
#box_history_task::-webkit-scrollbar-button, #full_infor_follower::-webkit-scrollbar-button, #full_infor_assigned::-webkit-scrollbar-button, #full_infor_member::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}
.btn-group-wework{
    position: relative;
    
}
.btn-group-wework button{
    padding: 5px 5px;
}

.btn-group-wework .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 0px;
    position: absolute;
    top: 13px;
    right: 1px;
    width: 0px;
}
.btn-group-wework .select2-selection__arrow {
    border-top: 4px solid;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
}
.select2-container--open .select2-dropdown--below{
    border-radius: 5px !important;
    border: 1px solid rgba(0,0,0,.15) !important;
    box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
}

.note-panel {
    background: #ffffff;
    border: 1px solid #dee2e6;
    border-left: 5px solid #007bff;
    border-radius: 8px;
    padding: 5px 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    font-family: 'Segoe UI', Tahoma, sans-serif;
    color: #333;
    max-width: 100%;
    margin-left: 15px;
    /*max-height: 155px;*/
}

.note-title {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #0056b3;
    display: flex;
    align-items: center;
    text-transform: uppercase;
}
.note-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.note-content > .note-group:first-child {
    /* border-right: 1px solid #000; */
    padding-right: 15px;
}
.note-group {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.note-item {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #444;
}

.note-label {
    background: #007bff;
    color: white;
    font-weight: bold;
    /*width: 24px;
    height: 24px;*/
    padding: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    margin-right: 10px;
    font-size: 13px;
}

#lich_cong_viec {
    /*background: #CCEFFF;*/
    padding: 5px 10px;
    border: 1px solid black;
    margin-top: 10px;
}
.fc .fc-button-primary {
    background-color: #4FC3F7;
    border-color: #4FC3F7;
    color: #fff;
}

.fc .fc-button-primary:disabled {
    background-color: #1f79c0;
    border-color: #1f79c0;
    color: #fff;
}

.fc-h-event .fc-event-main-frame{
    display: block !important;
}

.fc .fc-toolbar {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.modal-body {
    z-index: 1000;
    min-height: fit-content;
}

.fc-theme-standard td, .fc-theme-standard th {
    border: 1px solid #060000;
}

.edit_icon {
  display: inline-block;
  padding: 4px;
  border-radius: 4px;
  transition: background-color 0.2s ease, transform 0.1s ease;
  cursor: pointer;
}

.edit_icon:hover {
  transform: scale(1.1);     /* hơi phóng to icon */
}

.edit_icon:active {
  transform: scale(0.95);    /* nhấn xuống thì co lại nhẹ */
}
.edit_icon i {
  color: #017e84;
  transition: color 0.2s;
}

.edit_icon:hover i {
  color: #007bff; /* xanh dương khi hover */
}
.display-mode-selector {
    position: absolute;
    right: 0px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f5f5f5;
    padding: 3px 12px;
    border-radius: 8px;
    box-shadow: 0 0 6px rgba(0,0,0,0.1);
    font-family: Arial, sans-serif;
    z-index: 10;
}

.display-mode-selector label {
  font-size: 14px;
  color: #333;
}

.display-mode-selector select {
  padding: 5px 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
}
.imp_css_left{
   position: relative;
   display: contents;
}
.wrap-display-mode-selector{
    position: relative;
    height: 40px;
    margin-bottom: 10px;

}
.display-mode-selector label{
    margin-bottom: 0px;
}
.fc-event-time {
  display: none !important;
}
.fc-h-event .fc-event-title{
    white-space: normal;
}
.fc-direction-ltr .fc-daygrid-event.fc-event-end, .fc-direction-rtl .fc-daygrid-event.fc-event-start{
    padding: 1px;
    border-radius: 8px;
}

.custom-event-box {
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 8px;
  font-family: sans-serif;
  font-size: 14px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  width: 100%;
}

.custom-event-title {
  font-weight: 500;
  margin-bottom: 6px;
  line-height: 1.4;
  white-space: normal;
}

.custom-event-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.custom-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  margin-right: 6px;
}

.custom-name {
  flex: 1;
  font-size: 13px;
  color: #444;
}

.custom-time {
  font-size: 12px;
  color: #888;
}
.fc-daygrid-event-harness{
    margin: 5px 0px;
}
.fc .fc-popover {
    max-height: 70vh;
    overflow-y: auto;
}
.a_copy_link{
    cursor: pointer;
    margin-left: 5px;
}




#add_tasks .search-box-popup {
    left: -5px;
    top: unset;
    bottom: 50px;
    width: 350px;
}



@media (max-width: 991.98px) {
    .value {
        font-size: 12px;
    }
    
    #add_tasks .search-box-popup {
        left: -100px;
    }
    .fc .fc-toolbar-title {
        font-size: 1.2em;
    }

    .fc-daygrid-day-events .custom-event-box .custom-event-footer .custom-name {
        display: none;
    }

    .fc-popover {
        width: 100%;
        left: 0 !important;
        top: 35px !important;
    }
    .fc-popover .fc-popover-header {
        font-size: 1.5em;
        padding: 10px;
    }
    .imp_css {
        white-space: nowrap;
        width: 100%;
        overflow-x: scroll;
    }
    .wrap-display-mode-selector .display-mode-selector {
        margin-bottom: 0;

    }
    .display-mode-selector {
        margin-bottom: 85px;
    }
    .tab_config-tabs_ww {
        display: inline-block;
        text-align: center;
    }
    .tab_config-button{
        display: inline-block;
        font-size: 11px;
        margin-bottom: 5px;
    }
    .wrap_all_wework{
        font-size: 12px;
    }
    .btn{
        font-size: 12px;
    }
    .accordion-body-project{
        padding: 0px;
    }
    .add-task{
        font-size: 12px;
    }
    .tab_config-tabs_ww{
        padding: 0px;
    }
    .task-item > .check {
        width: 15px;
        height: 15px;
        left: 0px;
        top: 12px;
        font-size: 15px;
    }
    #project-side .box {
        padding: 8px;
    }
    .task-item {
        position: relative;
        padding: 11px 15px 9px 20px;
        margin-left: 0px;
    }
    .task-item .name {
        font-size: 13px;
    }
    .task-info {
        font-size: 11px;
    }
    .assign .fname{
        font-size: 11px;
    }
    .container-khung{
        display: block;
    }
    .desc-task-wrapper .desc-task-item{
        display: inline-block;
    }
}
.-startdate, .-deadline {
    display: flex;
    flex-direction: column;
}

#form_list_project .list-group-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
















































.wework-floating-container {
  position: fixed;
  bottom: 40px;
  left: 10px;
  z-index: 999;
}

.wework-floating-btn {
  background-color: #43b047;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  position: relative;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

.wework-icon-checklist {
  color: #fff;
  font-size: 24px;
}

.wework-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #d80027;
  color: #fff;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 50%;
}

.wework-reminder-panel {
  position: absolute;
  bottom: 60px;
  left: 0;
  min-width: 500px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all 0.3s ease;
  height: CALC(100vh - 100px);
}

.wework-reminder-panel.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.wework-panel-header {
  background: #D5DEEF;
  color: #000;
  padding: 10px;
  border-radius: 8px 8px 0 0;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wework-close-btn {
  cursor: pointer;
  font-size: 20px;
}

.wework-panel-content {
  padding: 10px;
}

.wework-section-title {
  font-size: 14px;
  color: #d80027;
  font-weight: bold;
  margin-top: 10px;
}

.wework-task-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 8px;
  padding: 8px;
  border-radius: 4px;
}

.wework-task-overdue {
  background: #ffe6e6;
}

.wework-task-upcoming {
  background: #f0f9f0;
}

.wework-dot {
  width: 10px;
  height: 10px;
  background: #43b047;
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
}

.wework-task-info {
  flex: 1;
}

.wework-task-title {
  font-size: 13px;
  font-weight: bold;
  margin: 0;
  color: #333;
}

.wework-task-time {
  font-size: 12px;
  margin: 0;
  color: #888;
}
.wework-floating-btn i{
    color: #fff;
    font-size: 14px;
}

#show_list_follower, #show_infor_assigned, #show_infor_member, #icon_show_list_follower {
    font-weight: bold;
    /*color: #017e84;
    text-decoration: underline;*/
    text-transform: uppercase;
    cursor: pointer;
}

#show_list_follower:hover, #show_infor_assigned:hover, #show_infor_member:hover {
    text-decoration: underline;
    color: #1E88E5;
}

#full_infor_follower, #full_infor_assigned, #full_infor_member {
    display: none;
    overflow-y: scroll;
}


















.dashboard {
    margin: auto;
    padding: 20px;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.dashboard-header h1 {
    color: #2c3e50;
    font-size: 24px;
    margin: 10px 0;
}

.controls {
    display: flex;
    gap: 10px;
    align-items: center;
}

.controls select,
.controls input {
    font-size: 16px;
    border-radius: 6px;
    border: 1px solid #ccc;
    outline: none;
}

.month-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.month-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    padding: 20px;
    text-align: center;
    font-weight: 500;
    color: #333;
    position: relative;
    transition: 0.3s;
}

.month-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.month-card button {
    margin-top: 10px;
    background-color: #2ecc71;
    border: none;
    color: white;
    padding: 8px 16px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.month-card button:hover {
    background-color: #27ae60;
}
.month-card a {
    margin-top: 10px;
    background-color: #2ecc71;
    border: none;
    color: white;
    padding: 8px 16px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.month-card a:hover {
    background-color: #27ae60;
}

.month-card.active {
    background-color: #dfefff;
    border: 2px solid #3498db;
    color: #3498db;
}
.controls > div:first-child{
    min-width: 250px;
}
.month-card .div_tuan {
  font-size: 14px;
  color: #666;
}

.month-card .strong_tuan {
  font-size: 16px;
  color: #017e84;
  display: block;
  margin-bottom: 4px;
}





.week-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.week-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    padding: 20px;
    text-align: center;
    font-weight: 500;
    color: #333;
    position: relative;
    transition: 0.3s;
}

.week-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.week-card button {
    margin-top: 10px;
    background-color: #2ecc71;
    border: none;
    color: white;
    padding: 8px 16px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.week-card button:hover {
    background-color: #27ae60;
}
.week-card a {
    background-color: #2ecc71;
    border: none;
    color: white;
    padding: 8px 16px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.week-card a:hover {
    background-color: #27ae60;
}

.week-card.active {
    background-color: #dfefff;
    border: 2px solid #3498db;
    color: #3498db;
}
.controls > div:first-child{
    min-width: 250px;
}
.week-card .div_tuan {
  font-size: 14px;
  color: #666;
}

.week-card .strong_tuan {
  font-size: 16px;
  color: #017e84;
  display: block;
  margin-bottom: 4px;
}
















.bao-cao-wrapper {
  background: #f9fbff;
  border: 1px solid #dce3f0;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 30px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.03);
  margin-top: 10px;
}

.bao-cao-header {
  font-size: 18px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.table-bao-cao {
  width: 100%;
  border-collapse: collapse;
  background-color: #fff;
  font-size: 15px;
}

.table-bao-cao thead th {
  background-color: #f1f6fc;
  color: #2d3a4b;
  font-weight: 600;
  text-align: center;
  padding: 10px 12px;
}

.table-bao-cao tbody td {
  text-align: center;
  padding: 10px;
  vertical-align: middle;
  border-color: #dfe6f0;
}

.bao-cao-member .member-name {
  font-weight: 500;
  color: #34495e;
}

@media (max-width: 768px) {
  .table-bao-cao thead {
    display: none;
}

.table-bao-cao tbody td {
    display: block;
    text-align: right;
    padding-left: 50%;
    position: relative;
}

.table-bao-cao tbody td::before {
    content: attr(data-label);
    position: absolute;
    left: 10px;
    top: 10px;
    font-weight: bold;
    color: #555;
    text-align: left;
}
}

.wrap_form_repeat {
    border: solid 1px #dcdcdc;
    border-radius: 10px;
    margin: 0 0 20px 0;
    padding: 10px;
    background: #eeeeee;
    position: relative;
}

#add_tasks .wrap_form_repeat > .wtitle {
    display: inline-block;
    position: absolute;
    top: -10px;
    left: 20px;
    border: 1px solid #ddd;
    background-color: #fff;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    padding: 3px 10px;
    font-size: 12px;
    text-transform: uppercase;
    color: #888;
}

#actionBtn {
    font-size: 24px;
    background: none;
}

.file_mo_ta_cv .list-group-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
#taskGroups {

}
.group {

}
.group.dragging {
  opacity: 0.5;
}

.dashboard-header {
    font-weight: bold;
    font-size: 18px;
    margin: 20px 0 10px;
}
.stat-box {
    background: #fff;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center;
    margin-bottom: 20px;
}
.stat-box h4 {
    margin: 10px 0 5px;
    font-weight: bold;
}
.stat-box small {
    color: #777;
}
.chart-container {
    background: #fff;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 20px;
    min-height: 320px !important;
}
.table > tbody > tr > td {
    vertical-align: middle;
}
.chart-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
}
.overdue-labels {
    padding: 10px 0 0;
}
.overdue-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}
.overdue-item .dot {
    height: 10px;
    width: 20px;
    border-radius: 66%;
    display: inline-block;
    margin-right: 23px;
}
.overdue-item .value {
    font-size: 20px;
    font-weight: bold;
    margin-right: 6px;
}
.overdue-summary {
    margin-top: 10px;
    font-size: 13px;
    color: #666;
}
.member-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}
.member-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 10px;
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}
.member-avatar img {
    width: 100%;
}
.member-info {
    flex: 1;
}
.member-name {
    font-weight: bold;
}
.member-progress {
    background: #e8f5e9;
    color: #388e3c;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 13px;
}
.table-container {
    background: #fff;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin: 20px 0;
}
.section-title {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 10px;
}
.progress-bar-status {
    display: flex;
    height: 20px;
    border-radius: 4px;
    overflow: hidden;
}
.bar-green { background-color: #4caf50; }
.bar-yellow { background-color: #ffeb3b; }
.bar-red { background-color: #f44336; }
.bar-purple { background-color: #9c27b0; }
.bar-blue { background-color: #2196f3; }
.bar-grey { background-color: #e0e0e0; }
.member-cell {
    display: flex;
    align-items: center;
}
.member-cell img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    margin-right: 10px;
}
.member-cell .name {
    font-weight: bold;
}
.respont_barchart_ql {
    min-width: 1800px;
}
@media (max-width: 1299.98px) {
    .respont_barchart_ql {
      min-width: 1350px;
  }
}
.cv_piechart {
    position: absolute; top: 50%; left: 25%; transform: translate(-50%, -50%); font-size: 16px; font-weight: bold;
}


.accordion-project.group{
  display:block;      /* nếu bạn đã set flex ở đây thì ghi đè về block */
}

/* Hàng tiêu đề */
.accordion-title{
  display:flex;
  align-items:center;
  width:100%;
  background: #f8f5e8;
  padding: 10px 7px;
  transition: background 0.3s ease;
  font-weight: bold;
}

/* Cụm bên trái: mũi tên + tên + icon */
.title-left{
  display:flex;
  align-items:center;
  gap:8px;
  flex:1 1 auto;      /* chiếm hết phần còn lại */
  min-width:0;
}

/* Nút + Thêm công việc: đẩy sang phải */
.add-task{
  margin-left:auto;       /* >>> sang phải */
  white-space:nowrap;
  cursor:pointer;
}

/* Tay cầm kéo – GIỮ KÍCH THƯỚC CỐ ĐỊNH để layout không nhảy */
.drag-handle{
  width:0px;
  height:0px;
  flex:0 0 0px;
  margin-right:0px;

  color:#000;
  background-image: radial-gradient(currentColor 1px, transparent 1px);
  background-size:4px 4px;
  background-position:0 0, 2px 2px;

  cursor:move;            /* mũi tên 4 hướng */
  opacity:0;              /* ẩn bằng opacity/visibility, KHÔNG đổi width */
  visibility:hidden;
  transition:0.3s;
}

/* Hover group thì hiện handle */
.accordion-project.group:hover .drag-handle{
  opacity:.6;
  visibility:visible;
  flex:0 0 14px;
  width:14px;
  height:18px;
  margin-right:7px;
}

/* Khi đang kéo */
.accordion-project.group.dragging .drag-handle{
  cursor:grabbing;
  opacity:.9;
}
.actions a{
    cursor: pointer;
}