:root {
    --hoan_thanh: #00b800;
    --tuy_chon: #e9e506;
    --can_nhac: #009cb8;
    --chua_hoan_thanh: #b80000;
    --white: #ffffff;
}

#addrecords {
    transform: translate(0px, 74px) !important;
    width: 100px;
}

#addrecords ul {
    margin: 0;
    padding: 0;
    box-shadow: unset !important;
}

html[data-placement=horizontal] .nav-container .menu-container .menu>li a {
    color: var(--primary);
}

.dropbutton__item:first-of-type~.dropbutton__item {
    box-shadow: none !important;
}

.dropbutton-wrapper {
    box-shadow: none !important;
}

.dropbutton-widget {
    border-radius: 0 !important;
    background-color: #ffffff !important;
}


/* /* .dataTables_filter input{
    background: transparent !important;
    width: calc(100% - 25px);
    border: initial;
} */

.dataTables_filter {
    position: relative;
    border-radius: var(--border-radius-md);
    background-color: #ffffff !important;
    color: #1ea8e7 !important;
    width: 100% !important;
}

.hide-left {
    display: none !important;
}

.data-table-responsive-wrapper div.dataTables_scroll div.dataTables_scrollHead table.dataTable th {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

.page-item:not(:first-child) .page-link {
    margin-left: -1px;
    min-width: 36px;
    width: 100%;
}

.messages__title {
    margin-block: 0;
    margin-inline: var(--messages__text-margin) 0;
    font-size: var(--font-size-base);
    color: #fff;
}

.data-table-rows table.dataTable th {
    height: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.dropdown-menu.show {
    display: flex;
    flex-direction: column;
    padding: 10px 20px;
}

.form-floating span {
    color: red;
    margin-left: 3px;
}

.form-floating .form-autocomplete {
    min-height: 52px;
}

/*
*
* Select2
*
* Select2 form control styles.
*
*/

.select2-container.select2-container--focus .select2-selection {
    box-shadow: initial;
}

.select2-container .select2-selection {
    color: var(--body);
    box-shadow: initial !important;
    background-color: var(--foreground);
    border: 1px solid var(--separator) !important;
    border-radius: var(--border-radius-md) !important;
    min-height: var(--input-height) !important;
    font-size: 1em;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    padding: 0.25rem 0.75rem 0.375rem 0.75rem;
    min-height: var(--input-height);
}

.select2-container .select2-search--inline .select2-search__field {
    margin-left: 0;
    margin-top: 6px;
    line-height: 1.4;
    background: initial;
    color: var(--body);
}

.select2-container--open .select2-selection,
.select2-container--focus .select2-selection {
    border: 1px solid rgba(var(--primary-rgb), 1) !important;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    line-height: 1.8;
    color: var(--body);
}

.select2-container .select2-selection--single .select2-selection__placeholder {
    line-height: 1.8;
    color: var(--muted);
}

.select2-container .select2-dropdown.select2-dropdown--below {
    margin-top: 3px;
}

.select2-container .select2-dropdown.select2-dropdown--above {
    margin-top: -3px;
}

.select2-container .select2-dropdown {
    border: 1px solid rgba(var(--primary-rgb), 1) !important;
    padding: 0.75rem;
    border-radius: var(--border-radius-md) !important;
    background: var(--foreground);
}

.select2-search--dropdown .select2-search__field {
    border-radius: var(--border-radius-sm);
    height: 28px;
    font-size: 0.9em;
    padding: 0.25rem 0.75rem;
    background-color: var(--foreground);
    border-color: var(--separator);
    border-radius: var(--border-radius-sm);
    color: var(--body);
}

.select2-search--dropdown {
    padding: 0;
    margin-bottom: 5px;
}

.select2-results__option {
    padding: 0.5rem 0.75rem !important;
    line-height: 1.3;
}

.select2-container .select2-results__option--highlighted,
.select2-container .select2-results__option--highlighted.select2-results__option[aria-selected=true] {
    cursor: pointer;
    color: var(--primary);
    background: var(--separator-light) !important;
    border-radius: var(--border-radius-sm);
}

.select2-results__option.select2-results__option--selectable.select2-results__option--selected {
    color: var(--primary) !important;
}

.select2-container .select2-selection--single .select2-selection__arrow b {
    border: initial;
    /* border-top: 1px solid var(--alternate);
    border-right: 1px solid var(--alternate); */
    transform: rotate(135deg);
    width: 5px;
    height: 5px;
    margin-top: -4px;
}

.select2-container .select2-selection--multiple .select2-selection__rendered {
    padding: 0.1rem 0.75rem 0 0.75rem;
}

.select2-container .select2-selection--multiple .select2-selection__rendered .select2-search__field {
    padding-left: 0.25rem;
}

.select2-selection__choice__remove {
    border: initial;
    background: initial;
    color: var(--alternate);
}

.select2-container .select2-selection--multiple .select2-selection__choice {
    border-radius: var(--border-radius-sm);
    color: var(--body);
    border-color: var(--separator);
    margin-top: 5px;
    margin-right: 5px;
    line-height: 1.3;
}

.select2-container .select2-search--inline {
    float: left;
}

.select2-container .select2-selection--multiple .select2-selection__rendered {
    display: inline-block;
}

.select2-container .select2-dropdown .select2-results__option[aria-selected=true] {
    background: var(--separator-light) !important;
    border-radius: var(--border-radius-sm);
}

.select2-container .select2-selection--multiple .select2-selection__choice__remove:hover {
    color: var(--primary) !important;
}

.w-100 .select2 {
    width: 100% !important;
}

.top-label .select2-selection {
    min-height: 52px !important;
}

.top-label .select2-container .select2-selection--single .select2-selection__rendered {
    padding: 1.5rem 0.75rem 0.25rem 0.75rem !important;
}

.top-label .select2-container .select2-selection--multiple .select2-selection__rendered {
    padding: 1.5rem 0.75rem 0rem 0.75rem !important;
}

.top-label .select2-container .select2-selection--multiple .select2-selection__rendered .select2-container .select2-selection--multiple .select2-selection__rendered .select2-search__field {
    padding-left: initial;
}

.filled .select2-selection {
    min-height: 44px !important;
    border: 1px solid transparent !important;
    background: var(--background-light) !important;
}

.filled .select2-container .select2-selection--single .select2-selection__rendered {
    padding-left: 45px;
    padding-top: 9px;
}

.filled .select2-container--open .select2-selection {
    border: 1px solid rgba(var(--primary-rgb), 1) !important;
    background: initial !important;
}

.filled .select2-container .select2-selection--multiple .select2-selection__rendered {
    padding-left: 45px;
    padding-top: 5px;
}

.filled .select2-container .select2-selection--single .select2-selection__placeholder {
    color: var(--alternate);
}

.select2-container .select2-selection--multiple .select2-selection__choice__remove {
    color: var(--muted);
}

.hide-search-searching .select2-search {
    display: none;
}

.select2-container.select2-container--disabled .select2-selection {
    background: rgba(var(--separator-rgb), 0.5) !important;
    color: var(--muted);
    border-color: var(--separator);
}

.form-floating .select2-selection {
    height: auto;
    min-height: 52px !important;
    padding: 0.5rem 0rem !important;
}

.form-floating .select-floating~label {
    -webkit-transform: initial;
    transform: initial;
    color: var(--alternate);
    transition: initial;
}

.form-floating .select2.full~label,
.form-floating .select2.show~label {
    -webkit-transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
    transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
    color: var(--muted);
    transition: opacity 0.1s ease-in-out, transform 0.1s ease-in-out, -webkit-transform 0.1s ease-in-out;
}

.form-floating .select2.full~.select2 .select2-selection,
.form-floating .select2.show~.select2 .select2-selection {
    padding-top: 1.25rem;
    padding-bottom: 0;
}

.option-circle {
    width: 15px;
    height: 15px;
    border: 1px solid var(--primary);
}

.select2-dropdown {
    z-index: 1061;
}

table.fc-scrollgrid {
    margin-top: 0 !important;
}

.fc .fc-toolbar.fc-header-toolbar {
    margin-bottom: 0 !important;
}

.btn-nav_dropdown::after {
    display: none !important;
}

.btn-nav_dropdown {
    border: none;
    background: none;
    color: #545560;
    margin-left: 20px;
    display: flex;
    align-items: center;
}

.btn-nav_dropdown span {
    font-size: 13px;
}

.top-nav__item a {
    font-size: 13px !important;
}

.btn-nav_dropdown span {
    padding-left: 3px;
}

/* breadcrumb custom */
.breadcrumb__list {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.item-back-to-site::after {
    content: "";
    opacity: .3;
    width: 1px;
    height: 20px;
    border-right: 1px solid #222330;
    padding-left: .75em;
    padding-right: 0;
    margin-right: .75em;
}

.item-back-to-site a {
    padding-left: 5px;
}

.breadcrumb__list li {
    display: flex;
    align-items: center;
}

.breadcrumb__list li svg {
    color: #545560;
}

.breadcrumb__list a {
    color: #545560;
    font-size: 13px;
    font-weight: 400;
}

.top-nav__container {
    border-bottom: solid 1px #00000014;
    z-index: 1;
}

.dropdown-menu input {
    color: var(--primary) !important;
}

.btn-outline-custom {
    border: solid 1px var(--primary);
}

/* Custom style */
.tabledrag-toggle-weight-wrapper {
    margin-block-start: 0 !important;
}

.tabledrag-toggle-weight-wrapper br {
    display: none;
}

.tabledrag-cell-content .tabledrag-handle::after {
    padding-left: 30px;
}

/* Custom calendar */
.fc-scroller-liquid-absolute {
    overflow: visible !important;
}

/* Custom pathfinder report */
.header-img img {
    width: 40%;
}

.pathfinder-report__desc p {
    margin-bottom: 3px !important;
    font-size: 13px;
}

.pathfinder-report__container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 50px;
    font-family: var(--font) !important;
}

.pathfinder-report__table {
    margin-top: 12.5px;
    border-top: solid 1px var(--separator) !important;
}

.pathfinder-report__table thead tr {
    text-align: center;
    height: auto !important;
}

.pathfinder-report__table td {
    height: auto !important;
}

/* Custom app report */
.app-report__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: var(--font) !important;
}

.app-report__container td,
.app-report__container td {
    height: 0 !important;
}

/* Custom style alert notification */
.alert-primary .btn-close::after {
    display: none;
}

/* .alert-primary{
    top: 50px !important;
} */

.alert-danger .btn-close::after {
    display: none;
}

.alert button {
    font-size: 25px !important;
}

.alert *[data-notify=title] {
    padding-right: 15px;
    text-transform: full-width;
    color: var(--body) !important;
}

.alert *[data-notify=message] {
    font-size: 16px !important;
    color: var(--primary) !important;
}

/* Custom table báo cáo App */
.table-bao-cao-app {
    border-top: solid 1px #dee2e6;
}

.table-bao-cao-app .hang-muc_nv {
    vertical-align: middle;
}

.table-bao-cao-app .nv-hoan-thanh {
    background-color: var(--hoan_thanh);
}

.table-bao-cao-app .nv-tuy-chon {
    background-color: var(--tuy_chon);
}

.table-bao-cao-app .nv-can-nhac {
    background-color: var(--can_nhac);
}

.table-bao-cao-app .nv-chua-hoan-thanh {
    background-color: var(--chua_hoan_thanh);
}

.app-report__content-timeline .row {
    display: flex;
}

.box {
    width: 150px;
    height: 40px;
    position: relative;
    z-index: 9999;
}

.box::after {
    content: '';
    position: absolute;
    top: 60%;
    right: 0;
    width: 100%;
    border-top: 2px dashed #333;
    z-index: 9999;
}

.row .box:last-child::after {
    display: none;
}

.connector {
    position: absolute;
    right: -50px;
    top: 50%;
    width: 75%;
    height: 165px;
    border-right: 2px dashed #333;
    border-top: 2px dashed #333;
    border-bottom: 2px dashed #333;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    z-index: -1;
}


.connector-after {
    position: absolute;
    right: -50px;
    top: 60%;
    width: 100%;
    height: 165px;
    border-top: 2px dashed #333;
    z-index: -1;
}

.connector-before {
    position: absolute;
    left: -50px;
    top: 60%;
    width: 100%;
    height: 165px;
    border-top: 2px dashed #333;
    z-index: -1;
}

.connector-left {
    position: absolute;
    left: -50px;
    top: 50%;
    width: 75%;
    height: 165px;
    border-left: 2px dashed #333;
    border-top: 2px dashed #333;
    border-bottom: 2px dashed #333;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    z-index: -1;
}

.connector-last {
    width: 50px;
    height: 2px;
    background: repeating-linear-gradient(to right,
            #000,
            #000 5px,
            transparent 5px,
            transparent 10px);
    position: absolute;
    right: -50px;
    top: 50%;
}

.connector-last::after {
    content: '';
    position: absolute;
    right: 0;
    top: -3px;
    width: 8px;
    height: 8px;
    border-top: 2px solid #000;
    border-right: 2px solid #000;
    transform: rotate(45deg);
}

.connector-last-left {
    width: 50px;
    height: 2px;
    position: absolute;
    left: -50px;
    top: 50%;
}

.connector-last-left::after {
    content: '';
    position: absolute;
    left: 0;
    top: 40%;
    width: 8px;
    height: 8px;
    border-bottom: 2px solid #000;
    border-left: 2px solid #000;
    transform: rotate(45deg);
}

.connector-last-right {
    width: 50px;
    height: 2px;
    position: absolute;
    right: -50px;
    top: 50%;
}

.connector-last-right::after {
    content: '';
    position: absolute;
    right: 0;
    top: 40%;
    width: 8px;
    height: 8px;
    border-top: 2px solid #000;
    border-right: 2px solid #000;
    transform: rotate(45deg);
}

.box {
    text-align: center;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 auto 120px;
}

.box-title {
    color: white;
    padding: 5px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 13px;
}

.box-content {
    text-align: left;
    font-size: 12px;
    width: 170px;
    margin: 10px auto 0;
}

.box-content ul {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
}

.box-content li {
    margin-bottom: 3px;
}

.box-content ul {
    list-style: circle;
}

.app-report__content-timeline {
    margin: 40px 60px;
}

.list-colors {
    display: flex;
    justify-content: end;
}

.list-colors .list-colors_item {
    width: auto;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    padding: 0 10px;
}

.list-colors .list-colors_item.nv-hoan-thanh {
    background-color: var(--hoan_thanh);
}

.list-colors .list-colors_item.nv-tuy-chon {
    background-color: var(--tuy_chon);
}

.list-colors .list-colors_item.nv-can-nhac {
    background-color: var(--can_nhac)
}

.list-colors .list-colors_item.nv-chua-hoan-thanh {
    background-color: var(--chua_hoan_thanh)
}

.box-reserve {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-start;
}

.form-item--multiple .field-add-more-submit {
    margin-block: 0;
}

.form-actions,
.field-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-block: var(--space-xs);
}

.form-actions .form-wrapper {
    margin-right: 0;
    padding-right: 0;
}

.field-actions em.placeholder {
    margin-left: 5px;
}

.mr-10 {
    margin-right: 10px;
}

.horizontal-tabs {
    border: unset !important;
}

.horizontal-tabs.nav-tabs {
    border: unset;
}

.horizontal-tabs-panes,
.horizontal-tabs .horizontal-tab-button {
    background-color: unset !important;
}

.horizontal-tabs .horizontal-tabs-list {
    margin-bottom: 1rem !important;
    border-bottom: unset !important;
    background-color: var(--color-gray-050) !important;
}

.horizontal-tabs-panes .horizontal-tabs-pane {
    background-color: #fff;
    border: 1px solid var(--color-gray-050) !important;
}

.horizontal-tab-button.selected {
    background-color: #d3d4d9 !important;
    margin-bottom: -1px;
    border-bottom: unset;
}

.horizontal-tabs .horizontal-tab-button {
    border-right: unset !important;
    height: 42px;
}

.horizontal-tabs ul.horizontal-tabs-list li a {
    color: var(--muted) !important;
    font-size: 12px;
    text-transform: uppercase;
    padding: 1em;
    height: 100%;
}

.horizontal-tabs ul.horizontal-tabs-list li a strong {
    font-weight: normal !important;
}

.horizontal-tabs ul.horizontal-tabs-list li.selected a {
    padding: 1em;
}

.horizontal-tabs .horizontal-tab-button a:hover,
.horizontal-tabs ul.horizontal-tabs-list li a:hover {
    outline: none;
    background-color: var(--primary);
    color: var(--secondary) !important;
}

.horizontal-tabs ul.horizontal-tabs-list li.selected a:hover {
    color: var(--secondary) !important;
}

.card .card-body,
.card .card-footer,
.card .card-header {
    padding: 1rem;
}

.advance-wrap {
    margin-top: 20px !important;
}

.entity-meta {
    box-shadow: 0 4px 10px rgba(0, 0, 0, .03) !important;
    background: var(--foreground);
    border-radius: var(--border-radius-lg);
    border: initial;
    padding: 1rem;
}

.entity-meta .accordion__item {
    border: unset;
    padding: 1rem;
    background: unset;
}

.field--type-datetime {
    position: relative;
}

.field--type-datetime .datetime-label {
    position: absolute;
    color: var(--muted);
    opacity: 1;
    z-index: 1;
    font-size: 11.5px;
    font-weight: 500;
    top: 5px;
    left: 12.5px;
}

.field--type-datetime .datetime-label .require-label {
    margin-left: 5px;
    color: red;
}

.field--type-datetime .form-label {
    display: none;
}

.js-form-item {
    position: relative;
}

.js-form-item .form-item__suffix {
    position: absolute;
    right: 35px;
    top: 30%;
}

#accordionCards {
    margin-top: 20px;
}

.student-card {
    height: 176px;
}

.card:last-child {
    margin-bottom: 15px;
}

.js .paragraph-type-title {
    min-width: 80%;
}

.field--type-daterange legend,
legend {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 1em;
    color: var(--primary);
    height: unset;
}

.field--type-daterange .fieldset-wrapper {
    box-shadow: 0 4px 10px rgba(0, 0, 0, .03) !important;
    background: var(--foreground);
    border-radius: var(--border-radius-lg);
    border: initial;
}

.field--type-daterange .fieldset-wrapper div {
    display: flex;
    justify-content: space-between;
    margin: unset;
}

.field--type-daterange .fieldset-wrapper div .js-form-item {
    width: 49.4% !important;
}

.field--type-daterange .datetime-label {
    color: var(--alternate);
    margin-bottom: .5rem;
    display: inline-block;
    font-size: 12px;
    line-height: 21px;
    font-weight: 400;
}

.card .data-table-rows .bg-foreground {
    background-color: var(--color-gray-050) !important;
    color: var(--primary) !important;
}

.card .data-table-rows .btn-foreground-alternate {
    background-color: var(--color-gray-050) !important;
    color: var(--primary) !important;
}

.node-detail {
    margin-bottom: 50px;
}

.task-item .form-check-label .content {
    justify-content: flex-start !important;
}

.card-summary {
    height: 80px !important;
    margin-bottom: 10px !important;
}

.field--widget-select2-entity-reference {
    max-height: 52px;
}

.field--widget-select2-entity-reference .select2-container,
.field--widget-select2-entity-reference .select2-container .selection,
.field--widget-select2-entity-reference .select2-container .selection .select2-selection--single {
    margin: 0;
    max-height: 52px;
}

.field--widget-select2-entity-reference .select2-container .selection .select2-selection--single .select2-selection__rendered {
    padding-top: 0.85rem;
    padding-left: 0.55rem;
}

.field--widget-select2-entity-reference .js-form-type-select label {
    position: absolute;
    top: 0;
    margin: 0;
    height: 100%;
    left: 0;
    padding: 0.85rem 0.75rem;
}

.messages-list {
    margin-block: 0;
    padding: 0;
    list-style: none;
}

.messages {
    overflow: auto;
    box-sizing: border-box;
    margin-block: var(--space-m);
    padding-block: unset;
    padding-inline: unset;
    color: var(--messages-fg-color);
    border-width: 0 0 0 var(--messages-border-width);
    border-style: solid;
    border-color: var(--messages-bg-color);
    border-radius: var(--messages-border-radius);
    background-color: var(--messages-bg-color);
    border: initial;
    border-radius: var(--border-radius-md);
    position: relative;
    padding: 1rem 1rem;
    margin-bottom: 1rem;
}

.messages--status {
    border-color: var(--messages--status-color);
    color: var(--success);
    background-color: rgba(var(--success-rgb), .15);
}

.messages--error {
    border-color: var(--messages--error-color);
    color: var(--danger);
    background-color: rgba(var(--danger-rgb), .15);
}

.messages--warning {
    border-color: var(--messages--warning-color);
    color: var(--warning);
    background-color: rgba(var(--warning-rgb), .15);
}

.messages--link {
    border-color: var(--messages--link-color);
    color: var(--primary);
    background-color: rgba(var(--primary-rgb), .15);
}

.messages__header {
    display: flex;
    align-items: center;
    margin-block-end: 5px;
}

.messages__title {
    margin-block: 0;
    margin-inline: var(--messages__text-margin) 0;
    font-size: 14px;
    color: var(--primary);
}

.messages a {
    color: var(--primary);
}

.messages a:hover {
    color: var(--secondary);
}

.field--widget-paragraphs-table-widget .table thead {
    display: none;
}

.data-table-responsive-wrapper {
    width: 100%;
    overflow: auto;
}

td.details-control {
    background: url('../img/icon/add.png') no-repeat center center;
    cursor: pointer;
}

tr.shown td.details-control {
    background: url('../img/icon/minus-ico.png') no-repeat center center;
}

.dataTables_length {
    padding-bottom: 15px;
}

div.dataTables_wrapper table.dataTable th {
    padding-top: 10px;
}

#edit-field-dong-huan-luyen-vien--description {
    display: none;
}

.page-item {
    margin: 0 15px;
    text-align: center;
}

div.dataTables_wrapper div.dataTables_paginate ul.pagination {
    justify-content: end;
}



.justify-center {
    justify-content: center !important;
}

.new-student-summary {
    font-family: Arial, sans-serif;
    font-size: 12px;
    line-height: 1.2;
    color: #000;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.new-student-summary h1 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
    text-align: center;
}

.new-student-summary h2 {
    font-size: 14px;
    font-weight: bold;
    margin-top: 15px;
    margin-bottom: 5px;
}

.new-student-summary .info-section {
    margin-bottom: 10px;
}

.new-student-summary .info-item {
    margin-bottom: 2px;
}

.new-student-summary table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 10px;
}

.new-student-summary th,
.new-student-summary td {
    border: 1px solid #000;
    padding: 4px;
    text-align: left;
}

.new-student-summary th {
    background-color: #f2f2f2;
}

.new-student-summary .checkbox {
    width: 12px;
    height: 12px;
    border: 1px solid #000;
    display: inline-block;
    margin-right: 3px;
    vertical-align: middle;
}

.new-student-summary .checked::after {
    content: "✓";
    display: block;
    text-align: center;
    line-height: 12px;
}

.new-student-summary .date-salesman {
    text-align: right;
    margin-bottom: 10px;
}

.new-student-summary .section-number {
    display: inline-block;
    width: 20px;
}

.new-student-summary .indent {
    margin-left: 20px;
}

.task-title {
    max-width: 200px;
    /* Điều chỉnh giá trị này theo nhu cầu của bạn */
}

.filter-section {
    display: flex;
    gap: 15px;
    align-items: center;
}

.filter-section select {
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #ddd;
}

html[data-placement=vertical] .nav-container .logo img {
    filter: brightness(0) invert(1);
}

div.dataTables_wrapper div.dataTables_length select {
    width: auto;
    display: inline-block;
    padding-right: 25px;
}

.ui-dialog .ui-dialog-titlebar-close {
    border: 1px solid #fff;
    fill: #fff;
    color: #fff;
}

.ui-dialog .ui-dialog-titlebar-close:after {
    content: "X";
}

div.dataTables_wrapper div.dataTables_filter {
    text-align: right;
    width: 50% !important;
    margin: 10px 0;
}

div.dt-buttons>.dt-button {
    color: #000 !important;
}

tr.child ul li.none .dtr-title:after {
    content: ":";
    margin-left: 5px;
}

table.dataTable.dtr-column>tbody>tr>td.dtr-control:before {
    /* display: none !important; */
    top: 60% !important;
}

table.dataTable>tbody>tr.selected>td.select-checkbox:after,
table.dataTable>tbody>tr.selected>th.select-checkbox:after {
    background: unset !important;
}

div.dataTables_wrapper table.dataTable>tbody>tr.child ul.dtr-details {
    width: 100%;
}

#trackingTab #datatableRows_filter {
    float: right;
}

/* Datatable */
/* Custom style cho DataTable */
#tasksTable_filter,
#tuVanTable_filter,
#daTuVanTable_filter {
    float: right;
    background-color: unset !important;
}

.dataTables_paginate .page-link {
    width: 100%;
}

#tasksTable_previous {
    width: 60px;
}

.top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.left-col {
    flex: 1;
}

.right-col {
    flex: 2;
    text-align: right;
}

/* Style cho parent/child tasks */
.child-task td:nth-child(3) {
    padding-left: 2rem;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .top {
        flex-direction: column;
        gap: 1rem;
    }

    .right-col {
        width: 100%;
        text-align: left;
    }
}

/* Custom style cho responsive table */
.responsive-wrapper {
    width: 100%;
    margin-bottom: 1.5em;
}

/* Style cho nút expand */
.dtr-control {
    width: 40px;
    text-align: center;
    cursor: pointer;
}

.dtr-control i {
    font-size: 1.2rem;
    color: #666;
    transition: transform 0.2s;
}

.dtr-control:hover i {
    color: #333;
}

tr.shown .dtr-control i {
    transform: rotate(180deg);
}

/* Style cho expanded content */
.expanded-details {
    background: #f8f9fa;
    border-radius: 4px;
    margin: 0.5rem 0;
}

.expanded-details td {
    padding: 0.75rem !important;
}

.expanded-details td:first-child {
    width: 200px;
    color: #666;
}

/* Các style khác giữ nguyên */
.action-column {
    width: 120px;
    position: sticky !important;
    right: 0;
    background: white !important;
    z-index: 1;
}

.top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.left-col {
    margin-right: 1rem;
}

.right-col {
    flex-grow: 1;
}

@media screen and (max-width: 768px) {
    .top {
        flex-direction: column;
        gap: 1rem;
    }
    
    .left-col, .right-col {
        width: 100%;
    }
    
    .action-column {
        box-shadow: -2px 0 5px rgba(0,0,0,0.1);
    }
}

/* Style cho buttons */
.dt-buttons {
    margin-bottom: 1rem;
}

.dt-button {
    margin-right: 0.5rem;
}

/* Đảm bảo nút không bị ẩn */
.dt-buttons .btn {
    display: inline-block !important;
}

/* Style cho layout */
.dataTables_wrapper .row {
    margin-bottom: 1rem;
}

.page.page-center .empty {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.views-exposed-form__item.views-exposed-form__item {
    width: 100%;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .dt-buttons {
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .dt-button {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}