:root {
    /* P'tit trésor primary colors */
  --bs-cornflower-blue: #92AAFB;
  --bs-blue-yonder: #4969C4;
  --bs-brilliant-rose: #FB50A0;
  --bs-magenta-rose: #C9317D; 
  --bs-oxford-blue: #021A44;
  --bs-rich-black-blue: #071933;
  --bs-cornflower-blue-rgb: 146, 170, 251;
  --bs-blue-yonder-rgb: 73, 105, 196;
  --bs-brilliant-rose-rgb: 251, 80, 160;
  --bs-magenta-rose-rgb: 201, 49, 125; 
  --bs-oxford-blue-rgb: 2, 26, 68;
  --bs-rich-black-blue-rgb: 7, 25, 51;
}

.authenticated {
    height: calc(100vh);
}

.icon-action {
    width: 40px;
    height: 40px;
    float: right;
}

.big-icon {
    font-size: 10.2em;
    margin-left: 36%;
}
.glyphicon {
    cursor: pointer;
}

.attributes-row {
    padding-top: 10px;
    padding-bottom: 10px;
}

.row-wrapper:nth-child(2n) {
    border-top: 1px solid grey;
    border-bottom: 1px solid grey;
}

.row-wrapper {
    margin-bottom: 20px;
}

.container {
    background-repeat: repeat;
    padding-top: 10px;
}

.jumbotron {
    margin-top: 20px;
    padding-top: 0px;
}

.dataTables_info {
    color: #337ab7;
}
table {
    background-color: white;
}
.dataTables_wrapper label {
    color: white;
}
.panel-vert {
    background-color: #0cc670;
}

.panel-purple {
    background-color: #ab3e81;
}

.panel-ciel {
    background-color: #04bed9;
}

.panel-jaune {
    background-color: #f7d446;
}
.panel-bleu {
    background-color: #5e7c8b;
}

.jumbotron {
    background-color: #f8f8f8;
    padding-right: 60px;
    padding-left: 60px;
    margin-left: 10%;
    margin-right: 8%;
}

.active-tab {
    background-color: #fe8c67;
}
.active-tab a {
    color: white !important;
}

.tab-content {
    margin-top: 10px;
}

.dataTables_wrapper label {
    color: black;
}

.excelButton {
    background-color: #089000;
    color: white;
}

tfoot th input {
    width: 100%;
}

div .dt-buttons {
    float: right;
}

div .dataTables_filter {
    text-align: center!important;
}

.dataTables_length {
    float: left;
}

.logo-header {
    position: fixed;
    top: 30px;
    left: 30px;  
}

.btn-cornflower-blue,
.bg-cornflower-blue,
.panel-cornflower-blue {
    background-color: #92AAFB !important;
    color: white !important;
}

.text-cornflower-blue {
    color: #92AAFB !important;
}

.btn-blue-yonder,
.bg-blue-yonder,
.panel-blue-yonder {
    background-color: #4969C4 !important;
    color: white !important;
}

.text-blue-yonder {
    color: #4969C4 !important;
}

.btn-brilliant-rose,
.bg-brilliant-rose,
.panel-brilliant-rose {
    background-color: #FB50A0 !important;
    color: white !important;
}

.text-brilliant-rose {
    color: #FB50A0 !important;
}

.btn-magenta-rose,
.bg-magenta-rose,
.panel-magenta-rose {
    background-color: #C9317D !important;
    color: white !important;
}

.text-magenta-rose {
    color: #C9317D !important;
}

.btn-oxford-blue,
.bg-oxford-blue,
.panel-oxford-blue {
    background-color: #021A44 !important;
    color: white !important;
}

.text-oxford-blue {
    color: #021A44 !important;
}

.btn-rich-black-blue,
.bg-rich-black-blue,
.panel-rich-black-blue {
    background-color: #071933 !important;
    color: white !important;
}

.text-rich-black-blue {
    color: #071933 !important;
}

.foot-print-bg {
    position: relative;
    background-image: url('../images/foot_print.webp');
    background-size: cover;
    background-position: center;
}

.foot-print-bg::after {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(255, 255, 255, 0.7); /* white overlay at 50% */
}

.admin-header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 999;
    height: 70px;
}   

.sidebar-menu {
    position: fixed;
    top: 0px; /* height of header */
    left: 0;
    height: calc(100%); /* full height minus header */
    overflow-y: auto;
    width: 250px; /* fixed width */
    z-index: 1000;
}

.sidebar-logo img {
    width: 100%;
}

.iq-main-menu {
    width: 100%;
}

.nav-item {
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    transition: background-color 0.3s;
}

.nav-item:hover {
    background-color: #C9317D;
    cursor: pointer;
}

.nav-item.active {
    background-color: #C9317D !important;
}

.nav-item a,
.username,
.user-dropdown__item a {
    text-decoration: none;
}

.dropdown .user-dropdown {
    position: absolute;
    bottom: -75px;
    left: -80px;
    background-color: #FB50A0 !important;
    width: 200px;
    opacity: 0;
    transition: all 0.3s ease-in-out;
    pointer-events: none;
}

.dropdown .user-dropdown.show {
    opacity: 1;
    bottom: -50px;
    pointer-events: all;
}

.dropdown .user-dropdown__item {
    padding: 10px 20px;
    transition: background-color 0.3s;
}

.dropdown .user-dropdown__item:hover {
    background-color: #C9317D;
}

.page-title {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.page-title h1 {
    font-size: 35px;
}   

.table {
    width: 100%;
    margin-bottom: 1rem;
    color: #212529; 
}

.table th,
.table td {
    padding: 0.75rem;
    vertical-align: top;
    border-top: 1px solid #dee2e6; 
}

.table thead th {
    vertical-align: bottom;
    border-bottom: 2px solid #dee2e6; 
}

.table tbody + tbody {
    border-top: 2px solid #dee2e6; 
}

.table-sm th,
.table-sm td {
    padding: 0.3rem; 
}

.table-bordered {
  border: 1px solid #dee2e6; 
}

.table-bordered th,
.table-bordered td {
    border: 1px solid #dee2e6; 
}

.table-bordered thead th,
.table-bordered thead td {
    border-bottom-width: 2px; 
}

.table-borderless th,
.table-borderless td,
.table-borderless thead th,
.table-borderless tbody + tbody {
    border: 0; 
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.05); 
}

.table-hover tbody tr:hover {
    color: #212529;
    background-color: rgba(0, 0, 0, 0.075); 
}

.table-primary,
.table-primary > th,
.table-primary > td {
    background-color: #b8daff; 
}

.table-primary th,
.table-primary td,
.table-primary thead th,
.table-primary tbody + tbody {
    border-color: #7abaff; 
}

.table-hover .table-primary:hover {
    background-color: #9fcdff; 
}

.table-hover .table-primary:hover > td,
.table-hover .table-primary:hover > th {
    background-color: #9fcdff; 
}

.table-secondary,
.table-secondary > th,
.table-secondary > td {
    background-color: #d6d8db; 
}

.table-secondary th,
.table-secondary td,
.table-secondary thead th,
.table-secondary tbody + tbody {
    border-color: #b3b7bb; 
}

.table-hover .table-secondary:hover {
    background-color: #c8cbcf; 
}

.table-hover .table-secondary:hover > td,
.table-hover .table-secondary:hover > th {
    background-color: #c8cbcf; 
}

.table-success,
.table-success > th,
.table-success > td {
    background-color: #c3e6cb; 
}

.table-success th,
.table-success td,
.table-success thead th,
.table-success tbody + tbody {
    border-color: #8fd19e; 
}

.table-hover .table-success:hover {
    background-color: #b1dfbb; 
}

.table-hover .table-success:hover > td,
.table-hover .table-success:hover > th {
    background-color: #b1dfbb; 
}

.table-info,
.table-info > th,
.table-info > td {
    background-color: #bee5eb; 
}

.table-info th,
.table-info td,
.table-info thead th,
.table-info tbody + tbody {
    border-color: #86cfda; 
}

.table-hover .table-info:hover {
    background-color: #abdde5; 
}

.table-hover .table-info:hover > td,
.table-hover .table-info:hover > th {
    background-color: #abdde5; 
}

.table-warning,
.table-warning > th,
.table-warning > td {
    background-color: #ffeeba; 
}

.table-warning th,
.table-warning td,
.table-warning thead th,
.table-warning tbody + tbody {
    border-color: #ffdf7e; 
}

.table-hover .table-warning:hover {
    background-color: #ffe8a1; 
}

.table-hover .table-warning:hover > td,
.table-hover .table-warning:hover > th {
    background-color: #ffe8a1; 
}

.table-danger,
.table-danger > th,
.table-danger > td {
    background-color: #f5c6cb; 
}

.table-danger th,
.table-danger td,
.table-danger thead th,
.table-danger tbody + tbody {
    border-color: #ed969e; 
}

.table-hover .table-danger:hover {
    background-color: #f1b0b7; 
}

.table-hover .table-danger:hover > td,
.table-hover .table-danger:hover > th {
    background-color: #f1b0b7; 
}

.table-light,
.table-light > th,
.table-light > td {
    background-color: #fdfdfe; 
}

.table-light th,
.table-light td,
.table-light thead th,
.table-light tbody + tbody {
    border-color: #fbfcfc; 
}

.table-hover .table-light:hover {
  background-color: #ececf6; 
}

.table-hover .table-light:hover > td,
.table-hover .table-light:hover > th {
    background-color: #ececf6; 
}

.table-dark,
.table-dark > th,
.table-dark > td {
    background-color: #c6c8ca; 
}

.table-dark th,
.table-dark td,
.table-dark thead th,
.table-dark tbody + tbody {
    border-color: #95999c; 
}

.table-hover .table-dark:hover {
    background-color: #b9bbbe; 
}

.table-hover .table-dark:hover > td,
.table-hover .table-dark:hover > th {
    background-color: #b9bbbe; 
}

.table-active,
.table-active > th,
.table-active > td {
    background-color: rgba(0, 0, 0, 0.075); 
}

.table-hover .table-active:hover {
    background-color: rgba(0, 0, 0, 0.075); 
}

.table-hover .table-active:hover > td,
.table-hover .table-active:hover > th {
    background-color: rgba(0, 0, 0, 0.075); 
}

.table .thead-dark th {
    color: #fff;
    background-color: #343a40;
    border-color: #454d55; 
}

.table .thead-light th {
    color: #495057;
    background-color: #e9ecef;
    border-color: #dee2e6; 
}

.table-dark {
    color: #fff;
    background-color: #343a40; 
}

.table-dark th,
.table-dark td,
.table-dark thead th {
    border-color: #454d55; 
}

.table-dark.table-bordered {
    border: 0; 
}

.table-dark.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(255, 255, 255, 0.05); 
}

.table-dark.table-hover tbody tr:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.075); 
}

@media (max-width: 575.98px) {
    .table-responsive-sm {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch; 
    }

    .table-responsive-sm > .table-bordered {
      border: 0; 
    } 
}

@media (max-width: 767.98px) {
    .table-responsive-md {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch; 
    }

    .table-responsive-md > .table-bordered {
        border: 0; 
    } 
}

@media (max-width: 991.98px) {
    .table-responsive-lg {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch; 
    }

    .table-responsive-lg > .table-bordered {
      border: 0; 
    } 
}

@media (max-width: 1199.98px) {
    .table-responsive-xl {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch; 
    }

    .table-responsive-xl > .table-bordered {
      border: 0; 
    } 
}

.table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; 
}

.table-responsive > .table-bordered {
    border: 0; 
}

.thead-cornflower-blue {
    background-color: #92AAFB !important;
    color: white !important;
    font-weight: bold;
}

.thead-blue-yonder {
    background-color: #4969C4 !important;
    color: white !important;
    font-weight: bold;
}

.thead-brilliant-rose {
    background-color: #FB50A0 !important;
    color: white !important;
    font-weight: bold;
}

.thead-magenta-rose {
    background-color: #C9317D !important;
    color: white !important;
    font-weight: bold;
}

.thead-oxford-blue {
    background-color: #021A44 !important;
    color: white !important;
    font-weight: bold;
}

.thead-rich-black-blue {
    background-color: #071933 !important;
    color: white !important;
    font-weight: bold;
}

.submenu a {
    color: #FFFFFF !important;
}

.submenu {
    overflow: hidden;
    height: 0;
    transition: all 0.3s ease;
}

.pagination>.active>a, 
.pagination>.active>a:focus, 
.pagination>.active>a:hover, 
.pagination>.active>span, 
.pagination>.active>span:focus, 
.pagination>.active>span:hover {
    background-color: #FB50A0;
    border-color: #FB50A0;
    color: white;
}

.down-icon svg {
    transition: all 0.3s ease;
}

.down-icon.rotate svg {
    transform: rotate(-180deg);
}

.pagination>li>a, 
.pagination>li>span {
    color: #FB50A0;
}

.is-invalid label {
    color : #C9317D;
}

.is-invalid input,
.is-invalid .select2-container .select2-selection--single {
    border-color : #C9317D !important;
}

.swal2-popup {
    font-size: 1.5rem !important;
}

.form-control:focus {
    border-color: #FB50A0 !important;
}

.select2-container .select2-selection--single {
    border: 1px solid #eee !important; 
    height: 34px !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 1.5;
    color: #8A92A6 !important;
}

/* Change hover background color */
.select2-container--default .select2-results__option--highlighted {
    background-color: #FB50A0 !important;   /* Bootstrap primary blue */
    color: #fff;                 /* White text on hover */
}

/* Optional: Non-highlight hover (before it's selected) */
.select2-container--default .select2-results__option:hover {
    background-color: #FB50A0 !important;   /* Light gray hover */
    color: #fff;
}

.details-tabs__menu {
    background-color: #FB50A0 !important;
}

.details-tabs__item.selected {
    background-color: #C9317D !important;
}

.info-panel {
    border-right: 1px solid #eee;
}

.ui-datepicker-header {
    background: #FB50A0;
    color: #fff;
    border: none;
}

.ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-next {
    background: #FFFFFF;
}

.ui-datepicker td {
    padding: 5px;
}

.ui-datepicker td a {
    text-align: center;
    background: #f8f9fa;
    border-radius: 4px;
}

.ui-datepicker td a:hover {
    background: #FB50A0;
    color: white;
}

.ui-datepicker .ui-state-active {
    background: #C9317D !important;
    color: white !important;
}