.tabulator {
    background-color: #888;
    border: 1px solid #999;
    font-size: 14px;
    overflow: hidden;
    position: relative;
    text-align: left;
    transform: translateZ(0);
}
.tabulator[tabulator-layout='fitDataFill'] .tabulator-tableholder .tabulator-table {
    min-width: 100%;
}
.tabulator[tabulator-layout='fitDataTable'] {
    display: inline-block;
}
.tabulator.tabulator-block-select,
.tabulator.tabulator-ranges .tabulator-cell:not(.tabulator-editing) {
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
}
.tabulator .tabulator-header {
    background-color: #e6e6e6;
    border-bottom: 1px solid #999;
    box-sizing: border-box;
    color: #555;
    font-weight: 700;
    outline: none;
    overflow: hidden;
    position: relative;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -o-user-select: none;
    white-space: nowrap;
    width: 100%;
}
.tabulator .tabulator-header.tabulator-header-hidden {
    display: none;
}
.tabulator .tabulator-header .tabulator-header-contents {
    overflow: hidden;
    position: relative;
}
.tabulator .tabulator-header .tabulator-header-contents .tabulator-headers {
    display: inline-block;
}
.tabulator .tabulator-header .tabulator-col {
    background: #e6e6e6;
    border-right: 1px solid #aaa;
    box-sizing: border-box;
    display: inline-flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden;
    position: relative;
    text-align: left;
    vertical-align: bottom;
}
.tabulator .tabulator-header .tabulator-col.tabulator-moving {
    background: #cdcdcd;
    border: 1px solid #999;
    pointer-events: none;
    position: absolute;
}
.tabulator .tabulator-header .tabulator-col.tabulator-range-highlight {
    background-color: #d6d6d6;
    color: #000;
}
.tabulator .tabulator-header .tabulator-col.tabulator-range-selected {
    background-color: #3876ca;
    color: #fff;
}
.tabulator .tabulator-header .tabulator-col .tabulator-col-content {
    box-sizing: border-box;
    padding: 4px;
    position: relative;
}
.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-header-popup-button {
    padding: 0 8px;
}
.tabulator
    .tabulator-header
    .tabulator-col
    .tabulator-col-content
    .tabulator-header-popup-button:hover {
    cursor: pointer;
    opacity: 0.6;
}
.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title-holder {
    position: relative;
}
.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title {
    box-sizing: border-box;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: bottom;
    white-space: nowrap;
    width: 100%;
}
.tabulator
    .tabulator-header
    .tabulator-col
    .tabulator-col-content
    .tabulator-col-title.tabulator-col-title-wrap {
    text-overflow: clip;
    white-space: normal;
}
.tabulator
    .tabulator-header
    .tabulator-col
    .tabulator-col-content
    .tabulator-col-title
    .tabulator-title-editor {
    background: #fff;
    border: 1px solid #999;
    box-sizing: border-box;
    padding: 1px;
    width: 100%;
}
.tabulator
    .tabulator-header
    .tabulator-col
    .tabulator-col-content
    .tabulator-col-title
    .tabulator-header-popup-button
    + .tabulator-title-editor {
    width: calc(100% - 22px);
}
.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter {
    align-items: center;
    bottom: 0;
    display: flex;
    position: absolute;
    right: 4px;
    top: 0;
}
.tabulator
    .tabulator-header
    .tabulator-col
    .tabulator-col-content
    .tabulator-col-sorter
    .tabulator-arrow {
    border-bottom: 6px solid #bbb;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    height: 0;
    width: 0;
}
.tabulator .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols {
    border-top: 1px solid #aaa;
    display: flex;
    margin-right: -1px;
    overflow: hidden;
    position: relative;
}
.tabulator .tabulator-header .tabulator-col .tabulator-header-filter {
    box-sizing: border-box;
    margin-top: 2px;
    position: relative;
    text-align: center;
    width: 100%;
}
.tabulator .tabulator-header .tabulator-col .tabulator-header-filter textarea {
    height: auto !important;
}
.tabulator .tabulator-header .tabulator-col .tabulator-header-filter svg {
    margin-top: 3px;
}
.tabulator .tabulator-header .tabulator-col .tabulator-header-filter input::-ms-clear {
    height: 0;
    width: 0;
}
.tabulator .tabulator-header .tabulator-col.tabulator-sortable .tabulator-col-title {
    padding-right: 25px;
}
@media (hover: hover) and (pointer: fine) {
    .tabulator
        .tabulator-header
        .tabulator-col.tabulator-sortable.tabulator-col-sorter-element:hover {
        background-color: #cdcdcd;
        cursor: pointer;
    }
}
.tabulator
    .tabulator-header
    .tabulator-col.tabulator-sortable[aria-sort='none']
    .tabulator-col-content
    .tabulator-col-sorter {
    color: #bbb;
}
@media (hover: hover) and (pointer: fine) {
    .tabulator
        .tabulator-header
        .tabulator-col.tabulator-sortable[aria-sort='none']
        .tabulator-col-content
        .tabulator-col-sorter.tabulator-col-sorter-element
        .tabulator-arrow:hover {
        border-bottom: 6px solid #555;
        cursor: pointer;
    }
}
.tabulator
    .tabulator-header
    .tabulator-col.tabulator-sortable[aria-sort='none']
    .tabulator-col-content
    .tabulator-col-sorter
    .tabulator-arrow {
    border-bottom: 6px solid #bbb;
    border-top: none;
}
.tabulator
    .tabulator-header
    .tabulator-col.tabulator-sortable[aria-sort='ascending']
    .tabulator-col-content
    .tabulator-col-sorter {
    color: #666;
}
@media (hover: hover) and (pointer: fine) {
    .tabulator
        .tabulator-header
        .tabulator-col.tabulator-sortable[aria-sort='ascending']
        .tabulator-col-content
        .tabulator-col-sorter.tabulator-col-sorter-element
        .tabulator-arrow:hover {
        border-bottom: 6px solid #555;
        cursor: pointer;
    }
}
.tabulator
    .tabulator-header
    .tabulator-col.tabulator-sortable[aria-sort='ascending']
    .tabulator-col-content
    .tabulator-col-sorter
    .tabulator-arrow {
    border-bottom: 6px solid #666;
    border-top: none;
}
.tabulator
    .tabulator-header
    .tabulator-col.tabulator-sortable[aria-sort='descending']
    .tabulator-col-content
    .tabulator-col-sorter {
    color: #666;
}
@media (hover: hover) and (pointer: fine) {
    .tabulator
        .tabulator-header
        .tabulator-col.tabulator-sortable[aria-sort='descending']
        .tabulator-col-content
        .tabulator-col-sorter.tabulator-col-sorter-element
        .tabulator-arrow:hover {
        border-top: 6px solid #555;
        cursor: pointer;
    }
}
.tabulator
    .tabulator-header
    .tabulator-col.tabulator-sortable[aria-sort='descending']
    .tabulator-col-content
    .tabulator-col-sorter
    .tabulator-arrow {
    border-bottom: none;
    border-top: 6px solid #666;
    color: #666;
}
.tabulator
    .tabulator-header
    .tabulator-col.tabulator-col-vertical
    .tabulator-col-content
    .tabulator-col-title {
    align-items: center;
    display: flex;
    justify-content: center;
    text-orientation: mixed;
    writing-mode: vertical-rl;
}
.tabulator
    .tabulator-header
    .tabulator-col.tabulator-col-vertical.tabulator-col-vertical-flip
    .tabulator-col-title {
    transform: rotate(180deg);
}
.tabulator
    .tabulator-header
    .tabulator-col.tabulator-col-vertical.tabulator-sortable
    .tabulator-col-title {
    padding-right: 0;
    padding-top: 20px;
}
.tabulator
    .tabulator-header
    .tabulator-col.tabulator-col-vertical.tabulator-sortable.tabulator-col-vertical-flip
    .tabulator-col-title {
    padding-bottom: 20px;
    padding-right: 0;
}
.tabulator
    .tabulator-header
    .tabulator-col.tabulator-col-vertical.tabulator-sortable
    .tabulator-col-sorter {
    bottom: auto;
    justify-content: center;
    left: 0;
    right: 0;
    top: 4px;
}
.tabulator .tabulator-header .tabulator-frozen {
    left: 0;
    position: sticky;
    z-index: 11;
}
.tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-left {
    border-right: 2px solid #aaa;
}
.tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-right {
    border-left: 2px solid #aaa;
}
.tabulator .tabulator-header .tabulator-calcs-holder {
    background: #f3f3f3 !important;
    border-bottom: 1px solid #aaa;
    border-top: 1px solid #aaa;
    box-sizing: border-box;
    display: inline-block;
}
.tabulator .tabulator-header .tabulator-calcs-holder .tabulator-row {
    background: #f3f3f3 !important;
}
.tabulator .tabulator-header .tabulator-calcs-holder .tabulator-row .tabulator-col-resize-handle {
    display: none;
}
.tabulator .tabulator-header .tabulator-frozen-rows-holder {
    display: inline-block;
}
.tabulator .tabulator-header .tabulator-frozen-rows-holder:empty {
    display: none;
}
.tabulator .tabulator-tableholder {
    -webkit-overflow-scrolling: touch;
    overflow: auto;
    position: relative;
    white-space: nowrap;
    width: 100%;
}
.tabulator .tabulator-tableholder:focus {
    outline: none;
}
.tabulator .tabulator-tableholder .tabulator-placeholder {
    align-items: center;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    min-width: 100%;
    width: 100%;
}
.tabulator .tabulator-tableholder .tabulator-placeholder[tabulator-render-mode='virtual'] {
    min-height: 100%;
}
.tabulator .tabulator-tableholder .tabulator-placeholder .tabulator-placeholder-contents {
    color: #ccc;
    display: inline-block;
    font-size: 20px;
    font-weight: 700;
    padding: 10px;
    text-align: center;
    white-space: normal;
}
.tabulator .tabulator-tableholder .tabulator-table {
    background-color: #fff;
    color: #333;
    display: inline-block;
    overflow: visible;
    position: relative;
    white-space: nowrap;
}
.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.tabulator-calcs {
    background: #e2e2e2 !important;
    font-weight: 700;
}
.tabulator
    .tabulator-tableholder
    .tabulator-table
    .tabulator-row.tabulator-calcs.tabulator-calcs-top {
    border-bottom: 2px solid #aaa;
}
.tabulator
    .tabulator-tableholder
    .tabulator-table
    .tabulator-row.tabulator-calcs.tabulator-calcs-bottom {
    border-top: 2px solid #aaa;
}
.tabulator .tabulator-tableholder .tabulator-range-overlay {
    inset: 0;
    pointer-events: none;
    position: absolute;
    z-index: 10;
}
.tabulator .tabulator-tableholder .tabulator-range-overlay .tabulator-range {
    border: 1px solid #2975dd;
    box-sizing: border-box;
    position: absolute;
}
.tabulator
    .tabulator-tableholder
    .tabulator-range-overlay
    .tabulator-range.tabulator-range-active:after {
    background-color: #2975dd;
    border-radius: 999px;
    bottom: -3px;
    content: '';
    height: 6px;
    position: absolute;
    right: -3px;
    width: 6px;
}
.tabulator .tabulator-tableholder .tabulator-range-overlay .tabulator-range-cell-active {
    border: 2px solid #2975dd;
    box-sizing: border-box;
    position: absolute;
}
.tabulator .tabulator-footer {
    background-color: #e6e6e6;
    border-top: 1px solid #999;
    color: #555;
    font-weight: 700;
    user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -o-user-select: none;
    white-space: nowrap;
}
.tabulator .tabulator-footer .tabulator-footer-contents {
    align-items: center;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 5px 10px;
}
.tabulator .tabulator-footer .tabulator-footer-contents:empty {
    display: none;
}
.tabulator .tabulator-footer .tabulator-spreadsheet-tabs {
    margin-top: -5px;
    overflow-x: auto;
}
.tabulator .tabulator-footer .tabulator-spreadsheet-tabs .tabulator-spreadsheet-tab {
    border: 1px solid #999;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    border-top: none;
    display: inline-block;
    font-size: 0.9em;
    padding: 5px;
}
.tabulator .tabulator-footer .tabulator-spreadsheet-tabs .tabulator-spreadsheet-tab:hover {
    cursor: pointer;
    opacity: 0.7;
}
.tabulator
    .tabulator-footer
    .tabulator-spreadsheet-tabs
    .tabulator-spreadsheet-tab.tabulator-spreadsheet-tab-active {
    background: #fff;
}
.tabulator .tabulator-footer .tabulator-calcs-holder {
    background: #f3f3f3 !important;
    border-bottom: 1px solid #aaa;
    border-top: 1px solid #aaa;
    box-sizing: border-box;
    overflow: hidden;
    text-align: left;
    width: 100%;
}
.tabulator .tabulator-footer .tabulator-calcs-holder .tabulator-row {
    background: #f3f3f3 !important;
    display: inline-block;
}
.tabulator .tabulator-footer .tabulator-calcs-holder .tabulator-row .tabulator-col-resize-handle {
    display: none;
}
.tabulator .tabulator-footer .tabulator-calcs-holder:only-child {
    border-bottom: none;
    margin-bottom: -5px;
}
.tabulator .tabulator-footer > * + .tabulator-page-counter {
    margin-left: 10px;
}
.tabulator .tabulator-footer .tabulator-page-counter {
    font-weight: 400;
}
.tabulator .tabulator-footer .tabulator-paginator {
    color: #555;
    flex: 1;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    text-align: right;
}
.tabulator .tabulator-footer .tabulator-page-size {
    border: 1px solid #aaa;
    border-radius: 3px;
    display: inline-block;
    margin: 0 5px;
    padding: 2px 5px;
}
.tabulator .tabulator-footer .tabulator-pages {
    margin: 0 7px;
}
.tabulator .tabulator-footer .tabulator-page {
    background: hsla(0, 0%, 100%, 0.2);
    border: 1px solid #aaa;
    border-radius: 3px;
    display: inline-block;
    margin: 0 2px;
    padding: 2px 5px;
}
.tabulator .tabulator-footer .tabulator-page.active {
    color: #d00;
}
.tabulator .tabulator-footer .tabulator-page:disabled {
    opacity: 0.5;
}
@media (hover: hover) and (pointer: fine) {
    .tabulator .tabulator-footer .tabulator-page:not(disabled):hover {
        background: rgba(0, 0, 0, 0.2);
        color: #fff;
        cursor: pointer;
    }
}
.tabulator .tabulator-col-resize-handle {
    display: inline-block;
    margin-left: -3px;
    margin-right: -3px;
    position: relative;
    vertical-align: middle;
    width: 6px;
    z-index: 11;
}
@media (hover: hover) and (pointer: fine) {
    .tabulator .tabulator-col-resize-handle:hover {
        cursor: ew-resize;
    }
}
.tabulator .tabulator-col-resize-handle:last-of-type {
    margin-right: 0;
    width: 3px;
}
.tabulator .tabulator-col-resize-guide {
    background-color: #999;
    height: 100%;
    margin-left: -0.5px;
    opacity: 0.5;
    position: absolute;
    top: 0;
    width: 4px;
}
.tabulator .tabulator-row-resize-guide {
    background-color: #999;
    height: 4px;
    left: 0;
    margin-top: -0.5px;
    opacity: 0.5;
    position: absolute;
    width: 100%;
}
.tabulator .tabulator-alert {
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    height: 100%;
    left: 0;
    position: absolute;
    text-align: center;
    top: 0;
    width: 100%;
    z-index: 100;
}
.tabulator .tabulator-alert .tabulator-alert-msg {
    background: #fff;
    border-radius: 10px;
    display: inline-block;
    font-size: 16px;
    font-weight: 700;
    margin: 0 auto;
    padding: 10px 20px;
}
.tabulator .tabulator-alert .tabulator-alert-msg.tabulator-alert-state-msg {
    border: 4px solid #333;
    color: #000;
}
.tabulator .tabulator-alert .tabulator-alert-msg.tabulator-alert-state-error {
    border: 4px solid #d00;
    color: #590000;
}
.tabulator-row {
    background-color: #fff;
    box-sizing: border-box;
    min-height: 22px;
    position: relative;
}
.tabulator-row.tabulator-row-even {
    background-color: #efefef;
}
@media (hover: hover) and (pointer: fine) {
    .tabulator-row.tabulator-selectable:hover {
        background-color: #bbb;
        cursor: pointer;
    }
}
.tabulator-row.tabulator-selected {
    background-color: #9abcea;
}
@media (hover: hover) and (pointer: fine) {
    .tabulator-row.tabulator-selected:hover {
        background-color: #769bcc;
        cursor: pointer;
    }
}
.tabulator-row.tabulator-row-moving {
    background: #fff;
    border: 1px solid #000;
}
.tabulator-row.tabulator-moving {
    border-bottom: 1px solid #aaa;
    border-top: 1px solid #aaa;
    pointer-events: none;
    position: absolute;
    z-index: 15;
}
.tabulator-row.tabulator-range-highlight .tabulator-cell.tabulator-range-row-header {
    background-color: #d6d6d6;
    color: #000;
}
.tabulator-row.tabulator-range-highlight.tabulator-range-selected
    .tabulator-cell.tabulator-range-row-header,
.tabulator-row.tabulator-range-selected .tabulator-cell.tabulator-range-row-header {
    background-color: #3876ca;
    color: #fff;
}
.tabulator-row .tabulator-row-resize-handle {
    bottom: 0;
    height: 5px;
    left: 0;
    position: absolute;
    right: 0;
}
.tabulator-row .tabulator-row-resize-handle.prev {
    bottom: auto;
    top: 0;
}
@media (hover: hover) and (pointer: fine) {
    .tabulator-row .tabulator-row-resize-handle:hover {
        cursor: ns-resize;
    }
}
.tabulator-row .tabulator-responsive-collapse {
    border-bottom: 1px solid #aaa;
    border-top: 1px solid #aaa;
    box-sizing: border-box;
    padding: 5px;
}
.tabulator-row .tabulator-responsive-collapse:empty {
    display: none;
}
.tabulator-row .tabulator-responsive-collapse table {
    font-size: 14px;
}
.tabulator-row .tabulator-responsive-collapse table tr td {
    position: relative;
}
.tabulator-row .tabulator-responsive-collapse table tr td:first-of-type {
    padding-right: 10px;
}
.tabulator-row .tabulator-cell {
    border-right: 1px solid #aaa;
    box-sizing: border-box;
    display: inline-block;
    outline: none;
    overflow: hidden;
    padding: 4px;
    position: relative;
    text-overflow: ellipsis;
    vertical-align: middle;
    white-space: nowrap;
}
.tabulator-row .tabulator-cell.tabulator-row-header {
    background: #e6e6e6;
    border-bottom: 1px solid #aaa;
    border-right: 1px solid #999;
}
.tabulator-row .tabulator-cell.tabulator-frozen {
    background-color: inherit;
    display: inline-block;
    left: 0;
    position: sticky;
    z-index: 11;
}
.tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-left {
    border-right: 2px solid #aaa;
}
.tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-right {
    border-left: 2px solid #aaa;
}
.tabulator-row .tabulator-cell.tabulator-editing {
    border: 1px solid #1d68cd;
    outline: none;
    padding: 0;
}
.tabulator-row .tabulator-cell.tabulator-editing input,
.tabulator-row .tabulator-cell.tabulator-editing select {
    background: transparent;
    border: 1px;
    outline: none;
}
.tabulator-row .tabulator-cell.tabulator-validation-fail {
    border: 1px solid #d00;
}
.tabulator-row .tabulator-cell.tabulator-validation-fail input,
.tabulator-row .tabulator-cell.tabulator-validation-fail select {
    background: transparent;
    border: 1px;
    color: #d00;
}
.tabulator-row .tabulator-cell.tabulator-row-handle {
    align-items: center;
    display: inline-flex;
    justify-content: center;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -o-user-select: none;
}
.tabulator-row .tabulator-cell.tabulator-row-handle .tabulator-row-handle-box {
    width: 80%;
}
.tabulator-row
    .tabulator-cell.tabulator-row-handle
    .tabulator-row-handle-box
    .tabulator-row-handle-bar {
    background: #666;
    height: 3px;
    margin-top: 2px;
    width: 100%;
}
.tabulator-row
    .tabulator-cell.tabulator-range-selected:not(.tabulator-range-only-cell-selected):not(
        .tabulator-range-row-header
    ) {
    background-color: #9abcea;
}
.tabulator-row .tabulator-cell .tabulator-data-tree-branch-empty {
    display: inline-block;
    width: 7px;
}
.tabulator-row .tabulator-cell .tabulator-data-tree-branch {
    border-bottom: 2px solid #aaa;
    border-bottom-left-radius: 1px;
    border-left: 2px solid #aaa;
    display: inline-block;
    height: 9px;
    margin-right: 5px;
    margin-top: -9px;
    vertical-align: middle;
    width: 7px;
}
.tabulator-row .tabulator-cell .tabulator-data-tree-control {
    align-items: center;
    background: rgba(0, 0, 0, 0.1);
    border: 1px solid #333;
    border-radius: 2px;
    display: inline-flex;
    height: 11px;
    justify-content: center;
    margin-right: 5px;
    overflow: hidden;
    vertical-align: middle;
    width: 11px;
}
@media (hover: hover) and (pointer: fine) {
    .tabulator-row .tabulator-cell .tabulator-data-tree-control:hover {
        background: rgba(0, 0, 0, 0.2);
        cursor: pointer;
    }
}
.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-collapse {
    background: transparent;
    display: inline-block;
    height: 7px;
    position: relative;
    width: 1px;
}
.tabulator-row
    .tabulator-cell
    .tabulator-data-tree-control
    .tabulator-data-tree-control-collapse:after {
    background: #333;
    content: '';
    height: 1px;
    left: -3px;
    position: absolute;
    top: 3px;
    width: 7px;
}
.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-expand {
    background: #333;
    display: inline-block;
    height: 7px;
    position: relative;
    width: 1px;
}
.tabulator-row
    .tabulator-cell
    .tabulator-data-tree-control
    .tabulator-data-tree-control-expand:after {
    background: #333;
    content: '';
    height: 1px;
    left: -3px;
    position: absolute;
    top: 3px;
    width: 7px;
}
.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle {
    align-items: center;
    background: #666;
    border-radius: 20px;
    color: #fff;
    display: inline-flex;
    font-size: 1.1em;
    font-weight: 700;
    height: 15px;
    justify-content: center;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -o-user-select: none;
    width: 15px;
}
@media (hover: hover) and (pointer: fine) {
    .tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle:hover {
        cursor: pointer;
        opacity: 0.7;
    }
}
.tabulator-row
    .tabulator-cell
    .tabulator-responsive-collapse-toggle.open
    .tabulator-responsive-collapse-toggle-close {
    display: initial;
}
.tabulator-row
    .tabulator-cell
    .tabulator-responsive-collapse-toggle.open
    .tabulator-responsive-collapse-toggle-open {
    display: none;
}
.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle svg {
    stroke: #fff;
}
.tabulator-row
    .tabulator-cell
    .tabulator-responsive-collapse-toggle
    .tabulator-responsive-collapse-toggle-close {
    display: none;
}
.tabulator-row .tabulator-cell .tabulator-traffic-light {
    border-radius: 14px;
    display: inline-block;
    height: 14px;
    width: 14px;
}
.tabulator-row.tabulator-group {
    background: #ccc;
    border-bottom: 1px solid #999;
    border-right: 1px solid #aaa;
    border-top: 1px solid #999;
    box-sizing: border-box;
    font-weight: 700;
    min-width: 100%;
    padding: 5px 5px 5px 10px;
}
@media (hover: hover) and (pointer: fine) {
    .tabulator-row.tabulator-group:hover {
        background-color: rgba(0, 0, 0, 0.1);
        cursor: pointer;
    }
}
.tabulator-row.tabulator-group.tabulator-group-visible .tabulator-arrow {
    border-bottom: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #666;
    margin-right: 10px;
}
.tabulator-row.tabulator-group.tabulator-group-level-1 {
    padding-left: 30px;
}
.tabulator-row.tabulator-group.tabulator-group-level-2 {
    padding-left: 50px;
}
.tabulator-row.tabulator-group.tabulator-group-level-3 {
    padding-left: 70px;
}
.tabulator-row.tabulator-group.tabulator-group-level-4 {
    padding-left: 90px;
}
.tabulator-row.tabulator-group.tabulator-group-level-5 {
    padding-left: 110px;
}
.tabulator-row.tabulator-group .tabulator-group-toggle {
    display: inline-block;
}
.tabulator-row.tabulator-group .tabulator-arrow {
    border-bottom: 6px solid transparent;
    border-left: 6px solid #666;
    border-right: 0;
    border-top: 6px solid transparent;
    display: inline-block;
    height: 0;
    margin-right: 16px;
    vertical-align: middle;
    width: 0;
}
.tabulator-row.tabulator-group span {
    color: #d00;
    margin-left: 10px;
}
.tabulator-toggle {
    background: #dcdcdc;
    border: 1px solid #ccc;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
}
.tabulator-toggle.tabulator-toggle-on {
    background: #1c6cc2;
}
.tabulator-toggle .tabulator-toggle-switch {
    background: #fff;
    border: 1px solid #ccc;
    box-sizing: border-box;
}
.tabulator-popup-container {
    -webkit-overflow-scrolling: touch;
    background: #fff;
    border: 1px solid #aaa;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: inline-block;
    font-size: 14px;
    overflow-y: auto;
    position: absolute;
    z-index: 10000;
}
.tabulator-popup {
    border-radius: 3px;
    padding: 5px;
}
.tabulator-tooltip {
    border-radius: 2px;
    box-shadow: none;
    font-size: 12px;
    max-width: Min(500px, 100%);
    padding: 3px 5px;
    pointer-events: none;
}
.tabulator-menu .tabulator-menu-item {
    box-sizing: border-box;
    padding: 5px 10px;
    position: relative;
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
}
.tabulator-menu .tabulator-menu-item.tabulator-menu-item-disabled {
    opacity: 0.5;
}
@media (hover: hover) and (pointer: fine) {
    .tabulator-menu .tabulator-menu-item:not(.tabulator-menu-item-disabled):hover {
        background: #efefef;
        cursor: pointer;
    }
}
.tabulator-menu .tabulator-menu-item.tabulator-menu-item-submenu {
    padding-right: 25px;
}
.tabulator-menu .tabulator-menu-item.tabulator-menu-item-submenu:after {
    border-color: #aaa;
    border-style: solid;
    border-width: 1px 1px 0 0;
    content: '';
    display: inline-block;
    height: 7px;
    position: absolute;
    right: 10px;
    top: calc(5px + 0.4em);
    transform: rotate(45deg);
    vertical-align: top;
    width: 7px;
}
.tabulator-menu .tabulator-menu-separator {
    border-top: 1px solid #aaa;
}
.tabulator-edit-list {
    -webkit-overflow-scrolling: touch;
    font-size: 14px;
    max-height: 200px;
    overflow-y: auto;
}
.tabulator-edit-list .tabulator-edit-list-item {
    color: #333;
    outline: none;
    padding: 4px;
}
.tabulator-edit-list .tabulator-edit-list-item.active {
    background: #1d68cd;
    color: #fff;
}
.tabulator-edit-list .tabulator-edit-list-item.active.focused {
    outline: 1px solid hsla(0, 0%, 100%, 0.5);
}
.tabulator-edit-list .tabulator-edit-list-item.focused {
    outline: 1px solid #1d68cd;
}
@media (hover: hover) and (pointer: fine) {
    .tabulator-edit-list .tabulator-edit-list-item:hover {
        background: #1d68cd;
        color: #fff;
        cursor: pointer;
    }
}
.tabulator-edit-list .tabulator-edit-list-placeholder {
    color: #333;
    padding: 4px;
    text-align: center;
}
.tabulator-edit-list .tabulator-edit-list-group {
    border-bottom: 1px solid #aaa;
    color: #333;
    font-weight: 700;
    padding: 6px 4px 4px;
}
.tabulator-edit-list .tabulator-edit-list-group.tabulator-edit-list-group-level-2,
.tabulator-edit-list .tabulator-edit-list-item.tabulator-edit-list-group-level-2 {
    padding-left: 12px;
}
.tabulator-edit-list .tabulator-edit-list-group.tabulator-edit-list-group-level-3,
.tabulator-edit-list .tabulator-edit-list-item.tabulator-edit-list-group-level-3 {
    padding-left: 20px;
}
.tabulator-edit-list .tabulator-edit-list-group.tabulator-edit-list-group-level-4,
.tabulator-edit-list .tabulator-edit-list-item.tabulator-edit-list-group-level-4 {
    padding-left: 28px;
}
.tabulator-edit-list .tabulator-edit-list-group.tabulator-edit-list-group-level-5,
.tabulator-edit-list .tabulator-edit-list-item.tabulator-edit-list-group-level-5 {
    padding-left: 36px;
}
.tabulator.tabulator-ltr {
    direction: ltr;
}
.tabulator.tabulator-rtl {
    direction: rtl;
    text-align: initial;
}
.tabulator.tabulator-rtl .tabulator-header .tabulator-col {
    border-left: 1px solid #aaa;
    border-right: initial;
    text-align: initial;
}
.tabulator.tabulator-rtl
    .tabulator-header
    .tabulator-col.tabulator-col-group
    .tabulator-col-group-cols {
    margin-left: -1px;
    margin-right: 0;
}
.tabulator.tabulator-rtl .tabulator-header .tabulator-col.tabulator-sortable .tabulator-col-title {
    padding-left: 25px;
    padding-right: 0;
}
.tabulator.tabulator-rtl
    .tabulator-header
    .tabulator-col
    .tabulator-col-content
    .tabulator-col-sorter {
    left: 8px;
    right: auto;
}
.tabulator.tabulator-rtl
    .tabulator-tableholder
    .tabulator-range-overlay
    .tabulator-range.tabulator-range-active:after {
    background-color: #2975dd;
    border-radius: 999px;
    bottom: -3px;
    content: '';
    height: 6px;
    left: -3px;
    position: absolute;
    right: auto;
    width: 6px;
}
.tabulator.tabulator-rtl .tabulator-row .tabulator-cell {
    border-left: 1px solid #aaa;
    border-right: initial;
}
.tabulator.tabulator-rtl .tabulator-row .tabulator-cell .tabulator-data-tree-branch {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 1px;
    border-left: initial;
    border-right: 2px solid #aaa;
    margin-left: 5px;
    margin-right: 0;
}
.tabulator.tabulator-rtl .tabulator-row .tabulator-cell .tabulator-data-tree-control {
    margin-left: 5px;
    margin-right: 0;
}
.tabulator.tabulator-rtl .tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-left {
    border-left: 2px solid #aaa;
}
.tabulator.tabulator-rtl .tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-right {
    border-right: 2px solid #aaa;
}
.tabulator.tabulator-rtl .tabulator-row .tabulator-col-resize-handle:last-of-type {
    margin-left: 0;
    margin-right: -3px;
    width: 3px;
}
.tabulator.tabulator-rtl .tabulator-footer .tabulator-calcs-holder {
    text-align: initial;
}
.tabulator-print-fullscreen {
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 10000;
}
body.tabulator-print-fullscreen-hide > :not(.tabulator-print-fullscreen) {
    display: none !important;
}
.tabulator-print-table {
    border-collapse: collapse;
}
.tabulator-print-table .tabulator-data-tree-branch {
    border-bottom: 2px solid #aaa;
    border-bottom-left-radius: 1px;
    border-left: 2px solid #aaa;
    display: inline-block;
    height: 9px;
    margin-right: 5px;
    margin-top: -9px;
    vertical-align: middle;
    width: 7px;
}
.tabulator-print-table .tabulator-print-table-group {
    background: #ccc;
    border-bottom: 1px solid #999;
    border-right: 1px solid #aaa;
    border-top: 1px solid #999;
    box-sizing: border-box;
    font-weight: 700;
    min-width: 100%;
    padding: 5px 5px 5px 10px;
}
@media (hover: hover) and (pointer: fine) {
    .tabulator-print-table .tabulator-print-table-group:hover {
        background-color: rgba(0, 0, 0, 0.1);
        cursor: pointer;
    }
}
.tabulator-print-table .tabulator-print-table-group.tabulator-group-visible .tabulator-arrow {
    border-bottom: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #666;
    margin-right: 10px;
}
.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-1 td {
    padding-left: 30px !important;
}
.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-2 td {
    padding-left: 50px !important;
}
.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-3 td {
    padding-left: 70px !important;
}
.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-4 td {
    padding-left: 90px !important;
}
.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-5 td {
    padding-left: 110px !important;
}
.tabulator-print-table .tabulator-print-table-group .tabulator-group-toggle {
    display: inline-block;
}
.tabulator-print-table .tabulator-print-table-group .tabulator-arrow {
    border-bottom: 6px solid transparent;
    border-left: 6px solid #666;
    border-right: 0;
    border-top: 6px solid transparent;
    display: inline-block;
    height: 0;
    margin-right: 16px;
    vertical-align: middle;
    width: 0;
}
.tabulator-print-table .tabulator-print-table-group span {
    color: #d00;
    margin-left: 10px;
}
.tabulator-print-table .tabulator-data-tree-control {
    align-items: center;
    background: rgba(0, 0, 0, 0.1);
    border: 1px solid #333;
    border-radius: 2px;
    display: inline-flex;
    height: 11px;
    justify-content: center;
    margin-right: 5px;
    overflow: hidden;
    vertical-align: middle;
    width: 11px;
}
@media (hover: hover) and (pointer: fine) {
    .tabulator-print-table .tabulator-data-tree-control:hover {
        background: rgba(0, 0, 0, 0.2);
        cursor: pointer;
    }
}
.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-collapse {
    background: transparent;
    display: inline-block;
    height: 7px;
    position: relative;
    width: 1px;
}
.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-collapse:after {
    background: #333;
    content: '';
    height: 1px;
    left: -3px;
    position: absolute;
    top: 3px;
    width: 7px;
}
.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-expand {
    background: #333;
    display: inline-block;
    height: 7px;
    position: relative;
    width: 1px;
}
.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-expand:after {
    background: #333;
    content: '';
    height: 1px;
    left: -3px;
    position: absolute;
    top: 3px;
    width: 7px;
}

.tabulator-card {
    min-height: 300px !important;
}

.tabulator {
    display: flex;
    flex-direction: column;
    border: none !important;
    background-color: transparent !important;
    font-family: inherit !important;
    font-size: 1.3rem !important;
    min-height: 300px !important;
}

/* Placeholder contenu et tableHolder – taille minimale */
.tabulator-placeholder-contents,
.tabulator-table {
    min-height: 300px !important;
}

/* Header */
.tabulator-header {
    background-color: #f5f5f8 !important;
    border-bottom: 1px solid #eaeaea !important;
    min-height: 50px !important;
    height: 92px !important;
}

/* Colonnes */
.tabulator-col {
    padding: 1rem 0.75rem !important;
    border-right: none !important;
}

/* Titres de colonnes */
.tabulator-col-title {
    font-weight: 600 !important;
    color: #555 !important;
    font-size: 1.3rem !important;
}

/* Flèches de tri */
.tabulator-arrow {
    border-color: #777 transparent transparent transparent !important;
}

/* Cellules */
.tabulator-cell {
    padding: 1rem 0.75rem !important;
    border-right: none !important;
    color: #333 !important;
}

/* Lignes */
.tabulator-row {
    border-bottom: 1px solid #f0f0f0 !important;
    transition: background-color 0.2s;
}

.tabulator-row:hover {
    background-color: #f9f7fe !important;
}

/* Pagination */
.tabulator-paginator {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.25rem;
}

@media (min-width: 768px) {
    .tabulator-paginator {
        justify-content: flex-end;
    }
}

@media (max-width: 767.98px) {
    .tabulator-paginator {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 0.5rem;
        gap: 0.5rem;
    }
}

.tabulator-paginator button,
.tabulator-paginator .tabulator-page {
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    margin: 0;
    cursor: pointer;
    transition: background-color 0.2s;
}

.tabulator-paginator button {
    background-color: #8f5ca6;
    border: 1px solid #8f5ca6;
    color: #fff;
}

.tabulator-paginator button:hover:not(:disabled) {
    background-color: #7a4b94 !important;
}

.tabulator-paginator button:disabled {
    background-color: #ccc;
    border-color: #ccc;
    color: #fff;
    cursor: default;
}

.tabulator-paginator .tabulator-page {
    background-color: #fff !important;
    color: #7a4b94 !important;
    border: 1px solid #7a4b94 !important;
}

.tabulator-paginator .tabulator-page:hover {
    background-color: #7a4b94 !important;
    color: #fff !important;
}

.tabulator-paginator .tabulator-page.active {
    background-color: #8f5ca6 !important;
    color: #fff !important;
}

.tabulator-page-counter {
    margin-left: 0.5rem;
    color: #8f5ca6 !important;
    font-size: 1.3rem !important;
    font-weight: 500;
}

/* Formatter étoiles */
.star {
    font-size: 1.8rem;
    text-shadow: 0 0 1px grey;
    margin-right: 2px;
}

.star.yellow {
    color: yellow;
}

.star.gray {
    color: gray;
}

/* Styles des barres colorées */
.status-depasser {
    background-color: red !important;
    color: white !important;
    margin: 0 -25px;
}

.status-en-cours {
    background-color: orange !important;
    color: white !important;
    margin: 0 -25px;
}

.status-terminer {
    background-color: gray !important;
    color: white !important;
    margin: 0 -25px;
}

.status-non-realiser {
    background-color: lightgreen !important;
    color: white !important;
    margin: 0 -25px;
}

.status-unknown {
    background-color: rgb(177, 177, 177) !important;
    color: white !important;
    margin: 0 -25px;
}

/* Loader générique */
.tabulator-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    /* display: none; */
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.tabulator-loader .spinner-border {
    color: #644ca0;
}

.tabulator-loader .loader-message {
    margin-top: 0.5rem;
    font-size: 1rem;
    color: #644ca0;
}

/* ======= Loader personnalisé – agrandissement ======= */
.tabulator-loader .spinner-border {
    width: 4rem !important;
    height: 4rem !important;
    border-width: 0.6em !important;
}

.tabulator-loader .loader-message {
    font-size: 1.75rem !important;
    margin-top: 1rem !important;
}

.tabulator-loader.modal-loader {
    position: relative !important;
    padding: 10px 0;
}

/* Contrôles généraux */
.btn-clear-filters {
    background-color: #8f5ca6;
    border: 1px solid #8f5ca6;
    color: #fff;
}

.btn-clear-filters:hover {
    background-color: #7a4b94;
    border-color: #7a4b94;
}

.form-check-input {
    transform: scale(1.8);
}

.form-check-label {
    font-size: 1rem;
    margin-left: 1rem;
}

/* Titres de tableaux et cartes */
.header-title h2,
.card-header h2 {
    color: #8f5ca6;
    font-weight: 600;
    font-size: 1.5rem;
}

/* Boutons de vue */
.view-btn-group .btn {
    font-size: 0.875rem;
    padding: 0.375rem 0.75rem;
    background-color: #fff;
    color: #644ca0;
    border: 1px solid #644ca0;
}

.view-btn-group .btn.active {
    background-color: #644ca0;
    color: #fff;
    border-color: #644ca0;
}

.view-btn-group .btn:not(.active):hover {
    background-color: #f0e6f5;
}

/* Boutons Travaux */
#prevBtnTravaux,
#nextBtnTravaux {
    background-color: #644ca0;
    border-color: #644ca0;
    color: #fff;
}

#prevBtnTravaux:hover,
#nextBtnTravaux:hover {
    background-color: #543ca0;
    border-color: #543ca0;
}

.tabulator-page-size {
    min-height: 25px;
    padding: 8px 12px;
    font-size: 13px !important;
    margin-bottom: 20px;
}

/* Assure-toi que le container est en position relative */
.tabulator .tabulator-tableHolder {
    position: relative !important;
    overflow-x: auto !important;
    /* conserve le scroll horizontal */
}

/* Placeholder “Aucune donnée” full-width et aligné à gauche */
.tabulator-placeholder-contents {
    margin-left: 100px !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    text-align: left !important;
    padding: 1rem !important;
    box-sizing: border-box !important;
}

/* Z-index pour modals et navbars */
.modal-backdrop {
    z-index: 999998 !important;
}

.modal {
    z-index: 999999 !important;
}

.navbar,
.menu {
    z-index: 1000 !important;
}

.btn-create {
    background-color: #644ca0;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 10px 15px;
    font-weight: 600;
    transition: all 0.2s;
    width: 100%;
    text-align: left;
    font-size: 15px;
    height: 40px;
    display: flex;
    align-items: center;
    font-family: inherit;
    text-decoration: none;
}

.btn-create:hover {
    background-color: #543ca0;
}

.btn-create .btn-text {
    font-weight: 600;
    font-size: 15px;
}

.btn-create i {
    font-size: 16px;
    margin-right: 10px;
}

/* Message style */
.loader-message {
    margin-top: 12px;
    color: #644ca0;
    /* Match your theme color */
    font-weight: 500;
}

/* Custom spinner color */
.spinner-border {
    color: #644ca0;
    /* Match your theme color */
}

/* Phone Input Styling */
.intl-tel-input-container {
    position: relative;
}

.intl-tel-input {
    width: 100%;
}

.intl-tel-input .form-control {
    padding-left: 60px;
}

.intl-tel-input .country-list {
    z-index: 1050;
    max-height: 200px;
    overflow-y: auto;
    border-radius: 0.375rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    border: 1px solid #dee2e6;
}

.intl-tel-input .country-list .country {
    padding: 8px 12px;
    border-bottom: 1px solid #f8f9fa;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.intl-tel-input .country-list .country:hover,
.intl-tel-input .country-list .country.highlight {
    background-color: #f8f9fa;
}

.intl-tel-input .country-list .country.active {
    background-color: #007bff;
    color: white;
}

.intl-tel-input .selected-flag {
    background-color: transparent;
    border-right: 1px solid #dee2e6;
    padding: 0 8px 0 12px;
}

.intl-tel-input .selected-flag:hover {
    background-color: #f8f9fa;
}

.intl-tel-input .selected-flag .flag {
    margin-right: 6px;
}

.intl-tel-input .selected-flag .arrow {
    border-left: 3px solid transparent;
    border-right: 3px solid transparent;
    border-top: 4px solid #6c757d;
    margin-left: 6px;
}

.intl-tel-input.open .selected-flag .arrow {
    border-top: none;
    border-bottom: 4px solid #6c757d;
}

/* Form validation styling */
.international-phone.is-invalid {
    border-color: #dc3545;
}

.international-phone.is-valid {
    border-color: #28a745;
}

.phone-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #dc3545;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .intl-tel-input .form-control {
        padding-left: 50px;
    }
}

/* assets/styles/site_map_modal.css */

#modal-site-map {
    width: 100%;
    height: 500px;
}

.modal-body.p-0 {
    padding: 0 !important;
}

/* Responsive modal map for smaller screens */
@media (max-width: 576px) {
    #modal-site-map {
        height: 400px;
    }

    .modal-dialog {
        margin: 0.5rem;
    }
}

/* Ensure map controls are visible */
#modal-site-map .leaflet-control {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 4px;
}

#modal-site-map .leaflet-control a {
    color: #007bff;
}

#modal-site-map .leaflet-control a:hover {
    color: #0056b3;
}

/**
 * Clock DateTime Picker — layout & theme (calendar left, clock + selects right)
 * Owns Flatpickr CSS. Import this file only; do not import flatpickr.css elsewhere.
 */

:root {
    --fp-clock-teal: #84519c;
    --fp-clock-teal-dark: #734688;
    --fp-clock-teal-soft: #e7d2e7;
    --fp-clock-bg: #ffffff;
    --fp-clock-muted: #9b939e;
    --fp-clock-border: #e3dfe5;
    --fp-clock-select-bg: #eee8ee;
    --fp-clock-text: #251c29;
    --fp-clock-radius: 16px;
    --fp-clock-shadow: 0 12px 32px rgba(132, 81, 156, 0.16);
}

/* ── Calendar shell ────────────────────────────────────────────────────── */
.flatpickr-calendar.flatpickr-clock-datetime-calendar {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    padding: 0 !important;
    border: none !important;
    border-radius: var(--fp-clock-radius) !important;
    box-shadow: var(--fp-clock-shadow) !important;
    background: var(--fp-clock-bg) !important;
    overflow: hidden;
    font-size: 13px !important;
    z-index: 1000000;
}

/* Flex row lives in one child so Flatpickr height = real popup height */
.fp-clock-datetime__layout {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
}

.flatpickr-calendar.flatpickr-clock-datetime-calendar--inline {
    box-shadow: none !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
}

.flatpickr-calendar.flatpickr-clock-datetime-calendar .fp-clock-datetime__native-time {
    display: none !important;
}

/* ── Left: calendar column ─────────────────────────────────────────────── */
.fp-clock-datetime__calendar {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 300px;
    padding: 14px 16px 16px;
    border-right: 1px solid var(--fp-clock-border);
    box-sizing: border-box;
}

.fp-clock-datetime__calendar-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    color: var(--fp-clock-text);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.01em;
}

.flatpickr-calendar.flatpickr-clock-datetime-calendar .flatpickr-months {
    min-height: 36px !important;
    align-items: center;
    background: var(--fp-clock-select-bg);
    border-radius: 10px;
    margin-bottom: 8px;
    padding: 4px 6px;
}

.flatpickr-calendar.flatpickr-clock-datetime-calendar .flatpickr-month {
    height: 32px !important;
    overflow: visible;
}

.flatpickr-calendar.flatpickr-clock-datetime-calendar .flatpickr-current-month {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    padding-top: 0 !important;
    font-size: 13px !important;
    font-weight: 600;
    color: var(--fp-clock-text);
}

.flatpickr-calendar.flatpickr-clock-datetime-calendar .flatpickr-monthDropdown-months,
.flatpickr-calendar.flatpickr-clock-datetime-calendar .flatpickr-current-month input.cur-year {
    font-size: 13px !important;
    height: 26px !important;
    font-weight: 600;
    color: var(--fp-clock-text);
}

.flatpickr-calendar.flatpickr-clock-datetime-calendar .flatpickr-current-month .numInputWrapper {
    width: 7ch;
}

.flatpickr-calendar.flatpickr-clock-datetime-calendar .flatpickr-current-month .flatpickr-monthDropdown-months:hover,
.flatpickr-calendar.flatpickr-clock-datetime-calendar .flatpickr-current-month .flatpickr-monthDropdown-months:focus,
.flatpickr-calendar.flatpickr-clock-datetime-calendar .flatpickr-current-month .numInputWrapper:hover,
.flatpickr-calendar.flatpickr-clock-datetime-calendar .flatpickr-current-month .numInputWrapper:focus {
    background-color: inherit !important;
    border: none !important;
    box-shadow: none !important;
}

.flatpickr-calendar.flatpickr-clock-datetime-calendar .flatpickr-prev-month,
.flatpickr-calendar.flatpickr-clock-datetime-calendar .flatpickr-next-month {
    fill: var(--fp-clock-text);
    padding: 6px 8px;
    top: 7px;
}

.flatpickr-calendar.flatpickr-clock-datetime-calendar--inline .flatpickr-prev-month,
.flatpickr-calendar.flatpickr-clock-datetime-calendar--inline .flatpickr-next-month {
    top: 12px;
}

.flatpickr-calendar.flatpickr-clock-datetime-calendar .flatpickr-prev-month:hover svg,
.flatpickr-calendar.flatpickr-clock-datetime-calendar .flatpickr-next-month:hover svg {
    fill: var(--fp-clock-teal);
}

.flatpickr-calendar.flatpickr-clock-datetime-calendar .flatpickr-weekdays {
    min-height: 28px !important;
}

.flatpickr-calendar.flatpickr-clock-datetime-calendar .flatpickr-weekday {
    font-size: 11px !important;
    font-weight: 700 !important;
    color: var(--fp-clock-text) !important;
    max-width: none;
}

.flatpickr-calendar.flatpickr-clock-datetime-calendar .flatpickr-days,
.flatpickr-calendar.flatpickr-clock-datetime-calendar .dayContainer {
    width: 268px !important;
    min-width: 268px !important;
    max-width: 268px !important;
}

.flatpickr-calendar.flatpickr-clock-datetime-calendar .flatpickr-day {
    width: 34px !important;
    max-width: 34px !important;
    height: 34px !important;
    line-height: 34px !important;
    margin: 2px !important;
    font-size: 13px !important;
    border-radius: 50% !important;
    color: var(--fp-clock-text);
    border: none !important;
}

.flatpickr-calendar.flatpickr-clock-datetime-calendar .flatpickr-day.prevMonthDay,
.flatpickr-calendar.flatpickr-clock-datetime-calendar .flatpickr-day.nextMonthDay {
    color: var(--fp-clock-muted) !important;
}

.flatpickr-calendar.flatpickr-clock-datetime-calendar .flatpickr-day:hover,
.flatpickr-calendar.flatpickr-clock-datetime-calendar .flatpickr-day:focus {
    background: var(--fp-clock-teal-soft) !important;
    color: var(--fp-clock-teal-dark) !important;
}

.flatpickr-calendar.flatpickr-clock-datetime-calendar .flatpickr-day.today {
    border: 1px solid var(--fp-clock-teal) !important;
}

.flatpickr-calendar.flatpickr-clock-datetime-calendar .flatpickr-day.selected,
.flatpickr-calendar.flatpickr-clock-datetime-calendar .flatpickr-day.startRange,
.flatpickr-calendar.flatpickr-clock-datetime-calendar .flatpickr-day.endRange {
    background: var(--fp-clock-teal) !important;
    color: #fff !important;
    border-color: var(--fp-clock-teal) !important;
    box-shadow: none !important;
}

.flatpickr-calendar.flatpickr-clock-datetime-calendar .flatpickr-day.inRange {
    background: var(--fp-clock-teal-soft) !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

/* ── Right: time / clock panel ─────────────────────────────────────────── */
.fp-clock-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 260px;
    padding: 14px 18px 16px;
    box-sizing: border-box;
    background: var(--fp-clock-bg);
}

.fp-clock-panel__header {
    width: 100%;
    margin-bottom: 12px;
    text-align: center;
}

.fp-clock-panel__title {
    font-size: 15px;
    font-weight: 700;
    color: var(--fp-clock-text);
}

.fp-clock-face {
    width: 168px;
    height: 168px;
    margin-bottom: 16px;
}

.fp-clock-face__svg {
    width: 100%;
    height: 100%;
    display: block;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.12));
}

.fp-clock-face__rim {
    fill: #1a1a1a;
}

.fp-clock-face__dial {
    fill: #ffffff;
}

.fp-clock-face__tick {
    stroke: #1a1a1a;
    stroke-width: 1;
    stroke-linecap: round;
}

.fp-clock-face__tick--hour {
    stroke-width: 2.5;
}

.fp-clock-face__hand {
    stroke: #1a1a1a;
    stroke-linecap: round;
    transition: transform 0.18s ease;
}

.fp-clock-face__hand--hour {
    stroke-width: 5;
}

.fp-clock-face__hand--minute {
    stroke-width: 3.5;
}

.fp-clock-face__hand--second {
    stroke: #e53935;
    stroke-width: 1.5;
}

.fp-clock-face__hub {
    fill: #1a1a1a;
}

/* ── Selects ───────────────────────────────────────────────────────────── */
.fp-clock-selects {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    margin-bottom: 14px;
}

.fp-clock-panel--ampm .fp-clock-selects {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fp-clock-select {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
    min-width: 0;
}

.fp-clock-select__label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--fp-clock-muted);
    text-align: center;
}

.fp-clock-select select {
    -moz-appearance: none;
         appearance: none;
    -webkit-appearance: none;
    width: 100%;
    height: 38px;
    padding: 0 24px 0 10px;
    border: none;
    border-radius: 10px;
    background-color: var(--fp-clock-select-bg);
    background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2712%27 height=%278%27 viewBox=%270 0 12 8%27%3E%3Cpath fill=%27%23666%27 d=%27M1 1l5 5 5-5%27/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    color: var(--fp-clock-text);
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    box-shadow: inset 0 0 0 1px transparent;
    transition: box-shadow 0.15s ease, background-color 0.15s ease;
}

.fp-clock-select select:hover,
.fp-clock-select select:focus {
    outline: none;
    background-color: #e9dfe9;
    box-shadow: inset 0 0 0 1px var(--fp-clock-teal);
}

/* ── Actions ───────────────────────────────────────────────────────────── */
.fp-clock-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    width: 100%;
    margin-top: auto;
}

.fp-clock-btn {
    border: none;
    background: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    padding: 0;
}

.fp-clock-btn--confirm {
    height: 42px;
    border-radius: 10px;
    background: var(--fp-clock-teal);
    color: #fff;
    transition: background-color 0.15s ease;
}

.fp-clock-btn--confirm:hover {
    background: var(--fp-clock-teal-dark);
}

.fp-clock-btn--cancel {
    color: var(--fp-clock-muted);
    padding: 4px;
}

.fp-clock-btn--cancel:hover {
    color: var(--fp-clock-text);
    text-decoration: underline;
}

/* ── Input clear control ───────────────────────────────────────────────── */
.flatpickr-input-wrapper {
    position: relative;
}

.flatpickr-input-wrapper .flatpickr-clear-button {
    position: absolute;
    right: 10px;
    top: 0;
    border: none;
    background: none;
    font-weight: bold;
    padding: 0;
    height: 100%;
    cursor: pointer;
}

/* ── Responsive: stack on narrow viewports ─────────────────────────────── */
@media (max-width: 640px) {
    .fp-clock-datetime__layout {
        flex-direction: column;
        max-height: min(90vh, 720px);
        overflow: auto;
    }

    .fp-clock-datetime__calendar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--fp-clock-border);
    }

    .fp-clock-panel {
        width: 100%;
    }

    .flatpickr-calendar.flatpickr-clock-datetime-calendar .flatpickr-days,
    .flatpickr-calendar.flatpickr-clock-datetime-calendar .dayContainer {
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
    }
}
@font-face {
    font-family: 'Source Sans Pro';
    src: local('Source Sans Pro SemiBold'), local('SourceSansPro-SemiBold'),
        url(/build/fonts/SourceSansPro-SemiBold.39841e70.ttf) format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Source Sans Pro';
    src: local('Source Sans Pro'), local('SourceSansPro-Regular'),
        url(/build/fonts/SourceSansPro-Regular.df62e448.ttf) format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Source Sans Pro';
    src: local('Source Sans Pro SemiBold Italic'), local('SourceSansPro-SemiBoldItalic'),
        url(/build/fonts/SourceSansPro-SemiBoldItalic.3982a483.ttf) format('truetype');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Source Sans Pro';
    src: local('Source Sans Pro Black'), local('SourceSansPro-Black'),
        url(/build/fonts/SourceSansPro-Black.401d70b6.ttf) format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Source Sans Pro';
    src: local('Source Sans Pro Bold Italic'), local('SourceSansPro-BoldItalic'),
        url(/build/fonts/SourceSansPro-BoldItalic.23c7ac48.ttf) format('truetype');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Source Sans Pro';
    src: local('Source Sans Pro ExtraLight Italic'), local('SourceSansPro-ExtraLightItalic'),
        url(/build/fonts/SourceSansPro-ExtraLightItalic.98c2d2c1.ttf) format('truetype');
    font-weight: 200;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Source Sans Pro';
    src: local('Source Sans Pro Bold'), local('SourceSansPro-Bold'),
        url(/build/fonts/SourceSansPro-Bold.fe7d5d46.ttf) format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Source Sans Pro';
    src: local('Source Sans Pro ExtraLight'), local('SourceSansPro-ExtraLight'),
        url(/build/fonts/SourceSansPro-ExtraLight.9dba857a.ttf) format('truetype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Source Sans Pro';
    src: local('Source Sans Pro Italic'), local('SourceSansPro-Italic'),
        url(/build/fonts/SourceSansPro-Italic.425bf9ab.ttf) format('truetype');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Source Sans Pro';
    src: local('Source Sans Pro Light Italic'), local('SourceSansPro-LightItalic'),
        url(/build/fonts/SourceSansPro-LightItalic.74540c77.ttf) format('truetype');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Source Sans Pro';
    src: local('Source Sans Pro Light'), local('SourceSansPro-Light'),
        url(/build/fonts/SourceSansPro-Light.2d3b3587.ttf) format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Source Sans Pro';
    src: local('Source Sans Pro Black Italic'), local('SourceSansPro-BlackItalic'),
        url(/build/fonts/SourceSansPro-BlackItalic.350dc212.ttf) format('truetype');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

html {
    height: 100%;
    margin: 0;
    padding: 0;
    font-size: 62.5%;
}

.main-content {
    background-color: #2f2f2f;
}

body {
    height: 100%;
    background-color: white;
    font-size: 14px;
    font-family: 'Source Sans Pro', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 400;
    overflow: hidden;
    line-height: 1.42857143;
}

h1 {
    font-size: 20px;
}

h2 {
    font-size: 18px;
}

h3 {
    font-size: 16px;
}

h4,
h5,
h6 {
    font-size: 15px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
}

section {
    height: 100%;
}

.choixProjet {
    width: auto !important;
    margin: auto;
    padding: 15px;
    background-color: #7a7978 !important;
    color: #fff !important;
    text-shadow: 0 1px 1px black;
    box-shadow: 0 2px 6px black;
}

.choixProjet h2 {
    color: white !important;
}

.main-header .logo {
    height: 52px;
}

.main-header .navbar {
    height: 53px;
    border-bottom: 1px solid #d2d6de;
}

.fa-2x {
    font-size: 2em;
}

/* Old menu styles removed to avoid conflicts with Tailwind */
/* 
.main-menu:hover,nav.main-menu.expanded {
    width:250px;
    overflow:visible;
}

.main-menu {
    background: linear-gradient(to bottom, #ffffff 0%, #696969 100%);
    border-right:1px solid #adadad;
    position:absolute;
    height:calc(100vh - 52px);
    width:60px;
    overflow:hidden;
    -webkit-transition:width .10s linear;
    transition:width .10s linear;
    -webkit-transform:translateZ(0) scale(1,1);
    z-index:1000;
}

.main-menu>ul {
    margin:7px 0;
}

.main-menu li {
    position:relative;
    display:block;
    width:250px;
}

.main-menu li>a {
    position:relative;
    display:table;
    border-collapse:collapse;
    border-spacing:0;
    color:#999;
    font-family: arial, serif;
    font-size: 14px;
    text-decoration:none;
    -webkit-transform:translateZ(0) scale(1,1);
    -webkit-transition:all .1s linear;
    transition:all .1s linear;
}

.main-menu .nav-icon {
    position:relative;
    display:table-cell;
    width:60px;
    height:36px;
    text-align:center;
    vertical-align:middle;
    font-size:18px;
}

.main-menu .nav-text {
    position:relative;
    display:table-cell;
    vertical-align:middle;
    width:190px;
}

.main-menu>ul.logout {
    color: whitesmoke;
    position:absolute;
    left:0;
    bottom:0;
}
*/

.no-touch .scrollable.hover {
    overflow-y: hidden;
}

a:hover,
a:focus {
    text-decoration: none;
}

nav {
    -webkit-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
}

nav ul,
nav li {
    outline: 0;
    margin: 0;
    padding: 0;
}

/* Removed conflicting menu styles */
/* 
.main-menu li:hover>a,nav.main-menu li.active>a,.dropdown-menu>li>a:hover,.dropdown-menu>li>a:focus,.dropdown-menu>.active>a,.dropdown-menu>.active>a:hover,.dropdown-menu>.active>a:focus,.no-touch .dashboard-page nav.dashboard-menu ul li:hover a,.dashboard-page nav.dashboard-menu ul li.active a {
    color:#fff;
    background-color: #ff914d;
}
*/

.content-wrapper {
    margin-left: 60px;
    padding: 20px;
    box-sizing: border-box;
    min-height: calc(100vh - 40px);
    transition: margin-left 0.3s ease;
}

.main-header .logo {
    height: 52px;
}

.hidden-version {
    display: none;
}

.main-menu:hover .hidden-version {
    display: block;
}

.leaflet-top,
.leaflet-bottom {
    position: absolute;
    z-index: 410;
    pointer-events: none;
}

.btn-primary,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.open > .dropdown-toggle.btn-primary {
    background-color: #8f5ca6 !important;
    border-color: #8f5ca6 !important;
    color: #fff !important;
}

.btn-primary:hover,
.btn-primary:active:hover,
.btn-primary.active:hover,
.open > .dropdown-toggle.btn-primary:hover {
    background-color: #7a4e8c !important;
    border-color: #7a4e8c !important;
    color: #fff !important;
}

.badge-primary,
.bg-primary,
.text-bg-primary {
    background-color: #8f5ca6 !important;
    color: #fff !important;
}

.text-primary {
    color: #8f5ca6 !important;
}

a:not(:has(span, i)) {
    color: #8f5ca6 !important;
}

a:not(:has(span, i)):hover,
a:not(:has(span, i)):focus {
    color: #7a4e8c !important;
}

a:not(:has(span, i)):active,
a:not(:has(span, i)).active {
    color: #6b3f7a !important;
}

/* Public login styles */
#containerPublic {
    min-height: 100vh;
}

.toggle-password {
    background-color: #0000;
    border: none;
    flex-direction: row;
    place-items: center;
    height: 1rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    display: flex;
    justify-content: end;
    position: relative;
    padding: 1rem 0px;
}

#containerPublic .login-logo {
    height: 17rem;
    -o-object-fit: contain;
       object-fit: contain;
}

#containerPublic .password-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 1rem;
}

#containerPublic * {
    font-size: 18px;
}

.form-errors ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.swal2-confirm {
    background-color: #8f5ca6 !important;
    border-color: #8f5ca6 !important;
    color: #fff !important;
}

.swal2-cancel {
    background-color: #6c757d !important;
    border-color: #6c757d !important;
    color: #fff !important;
}

/* Force le contexte d'empilement */
header {
    position: relative;
    z-index: 1000;
    isolation: isolate;
}

#projectDropdownMenu {
    will-change: transform, opacity;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

:root {
    --primary-color: #644ca0;
    --primary-light: #f5f2fa;
}

.text-primary {
    color: var(--primary-color) !important;
}

.hover-text-primary:hover {
    color: var(--primary-color) !important;
}

.hover-bg-light:hover {
    background-color: var(--primary-light) !important;
}

#sidebar {
    transition: transform 0.3s ease;
}

.menu-item {
    transition: all 0.2s ease;
    min-height: 50px;
}

.menu-item:hover {
    background-color: rgba(100, 76, 160, 0.05);
}

.overflow-y-auto::-webkit-scrollbar {
    display: none;
}

