* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body,
html {
    font-family: "lato", sans-serif;
    background-color: #f8f9fe;
    color: #1e3a70;
    overflow-x: hidden;
}

.table-container {
    display: flex;
    align-items: center;
    justify-content: center;
    /*height: 100%;*/
    position: relative;
    flex-direction: column;
    margin-bottom: 80px!important;
}
#myTable,
#myTable_wrapper {
    display: none; /* Hide DataTables until initialized */
}

#generic-loader-container {
    display:none;
}
#generic-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* semi-transparent black */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999; /* ensure it's above all content */
    display: flex;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #ddd;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: auto;
}
#datatable-loader {
    margin-top:50px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#myTable_wrapper {
    width: 95%;
    position: relative;
    padding-top:15px
}

div.dt-container div.dt-layout-row {
    margin: 0px !important;
}

div.dt-container div.dt-layout-row div.dt-layout-cell.dt-layout-start {
    justify-content: flex-start;
}

.dt-paging {
    justify-content: flex-end;
    left: 50%;
    position: absolute;
    transform: translate(-50%, 0);
    top: 40px;
}

table.dataTable tbody tr:nth-child(odd) {
    background-color: rgba(24, 156, 208, 0.0392156863); /* Light gray */
}

table.dataTable tbody tr {
    font-family: Lato;
    font-size: 14px;
    font-weight: 700;
    text-align: left;
}

table.dataTable thead th {
    background-color: #189cd0; /* Set the background color */
    color: white; /* Optional: Set text color to white for contrast */
    font-family: Lato; /* Apply the same font style as rows */
    font-size: 15px;
    font-weight: 700;
    text-align: left;
}

table.dataTable {
    border-radius: 10px; /* Adjust the border radius as needed */
    overflow: hidden; /* Ensure the border radius is visible */
}

/* If you want to add some spacing or shadow */
table.dataTable {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

div.dt-container .dt-paging .dt-paging-button.next,
div.dt-container .dt-paging .dt-paging-button.last,
div.dt-container .dt-paging .dt-paging-button.previous,
div.dt-container .dt-paging .dt-paging-button.first,
div.dt-container .dt-paging .dt-paging-button,
div.dt-container .dt-paging .dt-paging-button:hover {
    cursor: default;
    color: #fff !important;
    //border: 1px solid transparent;
    border: none !important;
    background: rgba(24, 156, 208, 0.2) !important;
    background: #189cd0 !important;
    box-shadow: none;
}
div.dt-container .dt-paging .dt-paging-button.current{
    text-decoration: underline!important;
}
div.dt-container .dt-paging .dt-paging-button.current,
div.dt-container .dt-paging .dt-paging-button.disabled,
div.dt-container .dt-paging .dt-paging-button.disabled:hover,
div.dt-container .dt-paging .dt-paging-button.disabled:active {
    color: #ffffff !important;
    background: transparent !important;
    border: none !important;
}

div.dt-container div.dt-layout-table {
    overflow: auto;
}
div.dt-container div.dt-layout-row {
    position: relative;
}

div.dt-container .dt-search input {
    border: none !important;
    border-radius: 7px !important;
    background-color: #eaeff7 !important;
    outline: none!important;
}

div.dt-container .dt-search {
    border: 1px solid #179cd0 !important;
    border-radius: 7px !important;
    background-color: #eaeff7 !important;
    color: #1e3a70 !important;
    padding: 0 10px !important;
    position: absolute;
    left: 100px;
    top: 15px;
}

.custom-colvis-btn {
    background: transparent !important;
    border: none !important;
    padding: 0;
    margin: 0;
    position: absolute;
    top: 0px;
    cursor: pointer;
}

div.dt-buttons span.dt-button-down-arrow {
    display: none;
}

div.dt-buttons > .buttons-browse {
    position: absolute !important;
    right: 160px;
    top: 14px;
    transform: scale(1.25) !important;
    background: linear-gradient(135deg, #e1f1ff 0%, #cccccc 100%)!important;
    border: none!important;
    padding: 6px 10px!important;
    font-weight: 600;
    border-radius: 8px!important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    align-items: center;
    gap: 6px;
}

.buttons-pdf {
    position: absolute !important;
    right: 30px;
    top: 10px;
    transform: scale(1.25) !important;
}

.buttons-excel {
    position: absolute !important;
    right: 90px;
    top: 10px;
    transform: scale(1.25) !important;
}

div.dt-container .dt-paging .dt-paging-button.current, div.dt-container .dt-paging .dt-paging-button.current:hover {
    color: white !important;
}

.table-container h3 {
    align-self: flex-start;
    margin-top: 30px;
}

/*# sourceMappingURL=table.css.map */

.tooltip {
    position: relative;
    cursor: pointer;
}

.tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 50%;
    bottom: 120%;
    transform: translateX(-50%);
    background: #333;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease-in-out;
    z-index: 10;
}

.tooltip:hover::after {
    opacity: 1;
    visibility: visible;
}

.action-line {
    border-bottom: 1px solid #fff;
}

.min100 {
    min-width: 300px;
}

.min150 {
    min-width: 300px;
}

.min200 {
    min-width: 300px;
}

.min250 {
    min-width: 300px;
}

.min300 {
    min-width: 300px;
}

table.dataTable {
    vertical-align: top;
}
.marker-circle{
    width:15px;
    height:15px;
    /*border-radius: 50%;*/
    background-color: #000;
    display:inline-block;
    /*box-shadow: 0px -1px 11px -3px #000000;*/
    display:block;
    margin:0 auto;
}
table.dataTable tr > td{
    border:2px solid #fff;
    /*padding:0!important;*/
}
table.dataTable table td{
    border-left:0!important;
    border-right:0!important;
    border-top:0!important;
    border-bottom: 1px solid #fff!important;
}
table.dataTable table tr:last-child td{
    border-bottom:0!important;
}
.actionContainer {
    padding:0!important;
}
.actionContainer td{
    padding:5px;
}


.actionListRec {
    width:100%;
}
.actionListRec td{
    border-left: 0!important;
    border-right: 0!important;
}


td i {
    color:#189CD0;
    width:25px;
    height:25px;
    box-shadow: 2px 2px 5px #189CD0;
    background-color:#ACDBEF;
    margin-right:10px;
    margin-left:10px;

    display: inline-flex!important;
    justify-content: center; /* Centers text horizontally */
    align-items: center; /* Centers text vertically */
    text-align: center; /* Ensures text is centered if multi-line */

    transition: 0.5s all ease;
}
td i.fa-trash {
    background-color:#fbb5b5;
    box-shadow: 2px 2px 5px #fbb5b5;
    color:#f00;
}
td i.fa-x {
    background-color:#ffe4bd;
    box-shadow: 2px 2px 5px #ffb260;
    color:#ff8400;
}

td i:hover {
    box-shadow: initial;
}
table.dataTable  table *{
    border-bottom: 0!important;
}
table.dataTable thead th, table.dataTable tfoot th{
    text-align: center!important;
}

table.dataTable > thead > tr > th, table.dataTable > thead > tr > td{
    border-bottom: 0!important;
}
table.dataTable tbody td:nth-child(-n+3) ,
table.dataTable thead th:nth-child(-n+3) {
    padding:8px 1px;
}

table.dataTable tbody td:nth-child(-n+3) i,
table.dataTable thead th:nth-child(-n+3) i{
    margin:0 7px;
    cursor: pointer;
}

.owner_function{
    font-style: italic;
}


.actionListRecommendationsLoop{
    width:100%;
}

.orga-width,
.process-width,
.threat-width,
.owner-width,
.riskcommentaire-width,
.consequence-width,
.charge-controle-width,
.description-controle-width,
.coverelements-width {
    min-width: 200px;
}

.strategy-width,
.modifiepar-width {
    min-width: 150px;
}

a[data-bs-toggle="collapse"] .arrow {
    display: inline-block;
    transition: transform 0.3s ease;
    transform-origin: center;
}

/* When collapsed (closed), arrow points right */
a[data-bs-toggle="collapse"].collapsed .arrow {
    transform: rotate(0deg);
}

/* When expanded (open), arrow points down */
a[data-bs-toggle="collapse"]:not(.collapsed) .arrow {
    transform: rotate(90deg);
}

.affecte-red {
    color:red;
}

.icon-disabled {
    color: #aaa;            /* light gray */
    cursor: not-allowed;    /* show disabled cursor */
    pointer-events: none;   /* disable clicking */
    opacity: 0.6;           /* slightly faded */
}
