
/* =============/
	GLOBAL
==============*/

body {
	/*background-color: #f0f9fe;*/
    background: linear-gradient(135deg, #f0f9fe 60%, #f3ebf5 80%, #f3ebf5 100%);
}


.btn:focus {
    outline: none !important;
    box-shadow: none !important;
    border: 1px solid transparent !important;
}

.container-table {
    /*max-width:118em;*/
    margin:auto;
}
.page-title-box {
    padding-bottom : 0px;
    min-height:3em;
}
.page-title-box .title {
    color:#000;
    font-size:1.2em;
    font-weight:500;
}


body[data-layout-mode=dark] .page-title-box .title {
    color: #ffffff;
}

.page-title-box .chevron:after {
    transform: rotate(270deg);
    display: inline-block;
    font: normal normal normal 16px / 1 "Material Design Icons";
    text-rendering: auto;
    line-height: inherit;
    -webkit-font-smoothing: antialiased;
    content: "\f0140";
    color: #66b6ed;
    vertical-align: .2em;
}

.page-title-box .select-title-detail .dropdown-toggle::after {
    transform: rotate(270deg);
    display: inline-block;
    font: normal normal normal 16px / 1 "Material Design Icons";
    text-rendering: auto;
    line-height: inherit;
    -webkit-font-smoothing: antialiased;
    content: "\f0140";
    margin-left: 0.5em;
    margin-top:0.2em;
    vertical-align: .2em;
}

.card.rounded {
    border-radius: 0.75rem !important;
}
.card-body {
    padding: 1.5rem 1.5rem;
}

.card-header:first-child {
    border-radius: calc(0.75rem - 1px) calc(0.75rem - 1px) 0 0;
}



/*
.breadcrumb-item {
    font-size:1.3em;
}
.breadcrumb-item > a {
    color:#000;
}
*/

/*
@media (min-width: 2000px) {
    .page-title-box {
        padding-right:200px;
    }
}*/


.truncate {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display:inline-block;
  max-width:180px;
}
.logo-txt {
	color : #000;
}

.avatar-circle {
    width: 25px;
    height: 25px;
    background-color: transparent;
    border: 2px solid #565b6c;
    color: #000000;
    border-radius: 50%;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
}

body[data-layout-mode=dark] .logo-txt {
	color : #fff;
}
.dropdown-item.disabled {
    opacity: 0.2;
}

.nav-tabs-custom .nav-item .nav-link.active {
    color: #5cb4f0 !important;
    background-color: #f8fcff !important;
}

.nav-tabs-custom .nav-item .nav-link::after {
    background : #5cb4f0;
}

body[data-layout-mode=dark] .nav-tabs-custom .nav-item .nav-link.active {
    color: #eff0f2 !important;
    background-color: #11344a !important;
}

.btn-primary {
    background-color:#5cb4f0 !important;
    border-color: #5cb4f0 !important;
}

.btn-primary:hover {
    background-color: #5cb4f0 !important;
    border-color: #5cb4f0 !important;
}

a {
    color: #5cb4f0;
}

a:hover {
    color: #5cb4f0;
}

.form-check-input:checked {
    background-color: #5cb4f0;
    border-color: #5cb4f0;
}


.topnav .navbar-nav .nav-item.active > .nav-link::before {
    background: linear-gradient(to right,  #1fb4e9, #EE82EE) !important;
}

.nav-tabs-custom .nav-item .nav-link::after {
    background: linear-gradient(to right,  #1fb4e9, #EE82EE) !important;
}


.alert-custom {
    background: linear-gradient(to right, #b3e5fc, #f3c9f9);
    color: #384861;
}
body[data-layout-mode=dark] .alert-custom {
    background: linear-gradient(to right, rgba(179, 229, 252, 0.1), rgba(243, 201, 249, 0.1));
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #eaeaea;
}
body[data-layout-mode=dark] .alert-custom button {
    filter: invert(1) brightness(150%);
}


#confirmModal .modal-dialog {
    max-width: 400px;
}

body[data-layout-mode=dark] .border-start {
    border-left : 1px solid #0b334b !important
}

.btn-back {
    color: #000;
}
body[data-layout-mode=dark] .btn-back {
    color : #fff;
}


/*search input*/

input.search-query {
    padding-left:30px;
}
form.form-search {
    position: relative;
}
form.form-search input {
    border-color:#f4f4f4;
    border-radius:0.25em !important;
}
form.form-search:before {
    display: block;
    width: 14px;
    height: 14px;
    content: "\eb54";
    font-family: "boxicons" !important;
    background-position: -48px 0;
    position: absolute;
    top:10px;
    left:10px;
    opacity: .5;
    z-index: 1000;
}

/* ================/
    ICON SIGNAL
==================*/

:root {
    --signal-color: #47b1e7;   /* Couleur active (bleu par défaut) */
    --signal-inactive: #e0e0e0; /* Couleur inactive */
    --signal-size: 2px;         /* Largeur de chaque barre */
    --signal-gap: 3px;          /* Espacement entre les barres */
}

/* Optionnel : responsive */
@media (max-width: 480px) {
    :root {
        --signal-size: 3px;
        --signal-gap: 2px;
    }
}

.container_datatable .signal {
    --signal-size: 3px;
    --signal-gap: 2px;
}

/* Conteneur */
.signal {
    display: inline-flex;
    align-items: flex-end;
    gap: var(--signal-gap);
    user-select: none;
}

/* Barres verticales */
.signal .bar {
    width: var(--signal-size);
    background: var(--signal-inactive);
    border-radius: 3px;
    transition: background 0.2s ease;
}

/* Hauteurs progressives */
.signal .b1 { height: calc(var(--signal-size) * 1.5); }
.signal .b2 { height: calc(var(--signal-size) * 2.5); }
.signal .b3 { height: calc(var(--signal-size) * 4); }
.signal .b4 { height: calc(var(--signal-size) * 6); }

/* États de niveau */
.signal.level-0 .bar { background: var(--signal-inactive); }
.signal.level-1 .b1 { background: var(--signal-color); }
.signal.level-2 .b1,
.signal.level-2 .b2 { background: var(--signal-color); }
.signal.level-3 .b1,
.signal.level-3 .b2,
.signal.level-3 .b3 { background: var(--signal-color); }
.signal.level-4 .b1,
.signal.level-4 .b2,
.signal.level-4 .b3,
.signal.level-4 .b4 { background: var(--signal-color); }




/* ================/
	SELECT DEVICE
==================*/

.select-title button {
    font-size:1.2em;
    background: none;
    box-shadow: none!important;
    padding-left:0.5em;
}
.select-title .btn,
.select-title .btn.show {
    background: none !important;
    border:0px !important;
    box-shadow: none!important;
    font-weight: 600;
    padding-right: 0px;
}

.btn-check:checked + .btn, :not(.btn-check) + .btn:active,
.btn:first-child:active, .btn.active,
.btn.show {
    color:#000;
    border-color:transparent; ;
}
.btn.show {
    border-color:transparent;
}

.select-title .btn:focus,
.select-title .btn:focus,
.select-title .btn:active {
    background: none !important;
    border:0px;
    box-shadow: none!important;
}

.select-title .dropdown-menu {
    width : 15em;
}

.select-title .bs-searchbox input {
    padding: 0.27rem 0.75rem;
    border-radius:2px;
    border: 0px;
}

.select-title button.dropdown-toggle:focus {
    outline: none !important;
}

body[data-layout-mode=dark] .select-title  {
    color: #adb5bd;
    background-color: transparent;
    border: none;
    background-image: none
}


.select-title-subject .dropdown-toggle::after {
    display:none;
}



.dropdown-item.active,
.dropdown-item:active {
    color: #2c3034;
    text-decoration: none;
    background-color: #f0f9fe;
}


.select-title .dropdown-menu {
    border: 0px solid #f1f9fe;
    border-radius: 2px;
    box-shadow: 0 2px 3px #e6e8eb;
}
.select-title .dropdown-menu li a {
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    line-height: 2.5em;
}





/* ==============/
    TOOLSBAR
================*/
.toolbar {
	margin-bottom:0.2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}
/* toolsbar dropdown */
.toolbar .dropdown-toggle::after {
    display: inline-block;
    margin-left: .255em;
    vertical-align: .255em;
    content: "";
    border-top: .3em solid;
    border-right: .3em solid transparent;
    border-bottom: 0;
    border-left: .3em solid transparent;
}

/* toolbar with border bottom */
.toolbar.tooltbar-border {
	border-bottom:1px solid #eff0f2;
	margin-bottom:1rem;
}
.toolbar.tooltbar-border .toolbar-left {
	margin-bottom: -2px;
}
.toolbar.tooltbar-border .toolbar-right {
}

body[data-layout-mode=dark] .toolbar.tooltbar-border {
    border-bottom:2px solid #0b334b;
}

@media screen and (max-width: 575px) {
	.toolbar.tooltbar-border {
		border-bottom:0;
		margin-bottom :0.5rem !important;
	}
	.toolbar.tooltbar-border .toolbar-right {
		margin-top: 1rem;
	}
}

.toolbar .title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #384861;
}

body[data-layout-mode=dark] .toolbar .title {
    color: #a8b0c5;
}

.toolbar .settings-table {
    border: 1px solid #f8f8f8;
    border-top-right-radius: 8px;
    border-top-left-radius: 8px;
    border-bottom: 0;
}


body[data-layout-mode=dark] .toolbar-secondary .btn {
    color:#a8b0c5;
}

/* ===================/
	STEPPER
=====================*/
.active .bs-stepper-circle {
    background-color: #5cb4f0 !important;
}
.bs-stepper .step-trigger {
    font-weight:500 !important;
}
.bs-stepper .step-trigger {
    color:#000 !important;
}
body[data-layout-mode=dark] .bs-stepper .step-trigger {
    color:#adb5bd !important;
}
body[data-layout-mode=dark] .active .bs-stepper-circle {
    background-color: #5cb4f0 !important;
}
body[data-layout-mode=dark] .bs-stepper .line {
    background-color: #0b334b !important;
}





/* ===================/
	DATERANGEPIKER
=====================*/
.daterangepicker .ranges li.active {
	background-color: #f1f5fb;
    color: #495057;
	font-weight: 500;
}
.daterangepicker {
  font-family: Be Vietnam,sans-serif !important;
  font-size: 0.875rem !important;
}

.daterangepicker .ranges li {
    font-size: 0.875rem !important;
    line-height:2em;
}

.daterangepicker .ranges ul {
    width: 240px;
}
.daterangepicker td.active, .daterangepicker td.active:hover {
    background-color: #073032;
}



/* ================/
	DATABLES
==================*/
/*
.table-spinner {
	display: block;
	position: absolute;
	z-index: 2000;
	top: 50%;
	right: 50%;
	width: 30px;
	height: 30px;
}*/


.container_datatable {
	/*min-height:250px;*/
    min-height: calc(100vh - 30em);
}

/*
#page-home .container_datatable {
    height: calc(100vh - 36.3em);
}
*/

.container_datatable .table {
	width: 100% !important;
}
.container_datatable .dataTables_filter {
	display:none;
}
/*
.container_datatable .dataTables_processing  {
	top: 180px !important;
	-webkit-box-shadow :none !important;
	box-shadow :none !important;
	background-color:transparent !important;
}
*/
div.dataTables_processing div:last-child div {
    display: none;
}



.container_datatable .dataTables_scroll {
    /*
	border-left : 1px solid #f8f9fa;
	border-right : 1px solid #f8f9fa;*/
}
.container_datatable .pagination{
	margin-top:1.5em !important;
    --bs-pagination-font-size:1em;
}
.container_datatable .dataTables_info {
	margin-top:10px !important;
    color:#a1a5af;
}

div.dataTables_wrapper div.row:last-child {
    border-top: 1px solid #f8f8f8;
}

body[data-layout-mode=dark] div.dataTables_wrapper div.row:last-child {
    border-top: 1px solid #0b334b;
}

.table.dataTable thead tr.labels th {
	background-color:transparent;
	font-weight: bold;
	white-space: nowrap;
	color:#495057;
    border-bottom: 0px;
    border-bottom : 1px solid #f8f8f8;
    border-top : 1px solid #f8f8f8;
	/*border-bottom: 0px;*/
}

body[data-layout-mode=dark] .table.dataTable thead tr.labels th {
    background-color:transparent;
    color:#adb5bd;
    border-bottom : 1px solid #0b334b;
    border-top : 1px solid #0b334b;
}


.dataTables_wrapper .dataTables_scrollHead {
    background-color : transparent !important;
}

.table.dataTable thead tr.filters th {
	background-color:#FFFFFF;
	white-space: nowrap;
	color:#495057;
	border-bottom: 1px solid #f8f8f8;
}
.table.dataTable tbody td {
    height: 40px !important;
	vertical-align:middle;
	white-space: nowrap;
    border-style: dashed;
}
.table.dataTable tbody td.col-icon {
	padding:0 .35rem;
    text-align:center;
}

.table.dataTable tbody td.col-icon .icon-battery {
    font-size:1.4em;
}
.table.dataTable tbody td.col-icon .signal {
    margin-top:0.4em;
}

.table.dataTable thead th:first-child {
	border-radius: 4px 0 0 0;
}
.table.dataTable thead th:last-child {
	border-radius: 0 4px 0 0;
}


.table.dataTable .tr-cursor {
	cursor:pointer;
}
/*
table.dataTable thead>tr>th.sorting:before,
table.dataTable thead>tr>th.sorting_asc:before,
table.dataTable thead>tr>th.sorting_desc:before,
table.dataTable thead>tr>th.sorting_asc_disabled:before,
table.dataTable thead>tr>th.sorting_desc_disabled:before,
table.dataTable thead>tr>td.sorting:before,
table.dataTable thead>tr>td.sorting_asc:before,
table.dataTable thead>tr>td.sorting_desc:before,
table.dataTable thead>tr>td.sorting_asc_disabled:before,
table.dataTable thead>tr>td.sorting_desc_disabled:before {
    top: 50%;
	font-family: boxicons!important;
    font-weight: 400;
    font-style: normal;
    font-variant: normal;
    line-height: 1;
    display: inline-block;
    text-transform: none;
    speak: none;
    -webkit-font-smoothing: antialiased;
    content: "\ece5";
	margin-bottom:-9px;
	font-size:0.6em;
}
table.dataTable thead>tr>th.sorting:after,
table.dataTable thead>tr>th.sorting_asc:after,
table.dataTable thead>tr>th.sorting_desc:after,
table.dataTable thead>tr>th.sorting_asc_disabled:after,
table.dataTable thead>tr>th.sorting_desc_disabled:after,
table.dataTable thead>tr>td.sorting:after,
table.dataTable thead>tr>td.sorting_asc:after,
table.dataTable thead>tr>td.sorting_desc:after,
table.dataTable thead>tr>td.sorting_asc_disabled:after,
table.dataTable thead>tr>td.sorting_desc_disabled:after {
    top: 50%;
	font-family: boxicons!important;
    font-weight: 400;
    font-style: normal;
    font-variant: normal;
    line-height: 1;
    display: inline-block;
    text-transform: none;
    speak: none;
    -webkit-font-smoothing: antialiased;
    content: "\ee2d";
	margin-top:-9px;
	font-size:0.7em;
}*/
div.dataTables_processing>div:last-child>div {
    background: #4bafe1;
}


/* datatable loading*/
div.dataTables_processing {
    position: absolute;
    top: 50px;
    left: 50%;
    width: 200px;
    margin-left: -100px;
    text-align: center;
    padding: 2px;
	background:transparent;
	box-shadow: none;
}
/*
.filters {
    display:none;
}*/


/* datatables pagination */
.page-item.active .page-link {
	/*color:#fff !important;
	font-weight: 500;
	background-color: #79bfef !important;*/
	background-color: transparent;
    border: none !important;
    border-radius: 30px !important;
    margin: 0 5px;
    border: none;
    min-width: 32px;
    height: 32px;
    padding: 0;
    text-align: center;
    line-height: 32px;
}
.page-item .page-link {
    color: #495057 !important;
}
.page-item {
	cursor:pointer;
}
.page-item.disabled {
	display:none;
}
.page-item .page-link {
    color: #adb5bd;
    pointer-events: none;
    background-color: transparent;
    border: none;
}
.page-item .page-link {
    color: #495057 !important;
}


/* datatable icon */
.table.dataTable tr td .td-icon-battery {
    font-size: 1.4em;
}
.table.dataTable tr td .battery-full {
    color:#4acc42
}
.table.dataTable tr td .td-icon-signal {

}


.table.dataTable tr td .td-icon-delete {
	font-size: 1.7em;
}
.table.dataTable tr td .td-icon-action {
    font-size: 1.7em;
}

.table.dataTable tr td .td-icon-device {
	font-size: 1.6em;
    vertical-align: middle;
    /*color: #5bc2f8;*/
}

.table.dataTable tr td .td-icon-user {
    font-size: 1.2em;
    vertical-align: middle;
    /*color: #5bc2f8;*/
}


.table.dataTable tr td.td-border-left {
	border-left:1px dashed #eee;
	text-align:center;
}

.table.dataTable tr td .td-icon-session {
	font-size: 1.2em;
}

.table.dataTable tr {
	position:relative;
}
.table-hover tbody tr:hover td {
    box-shadow: inset 0 0 0 9999px #f8f9fa !important;
}
.table.dataTable .rotate-90 {
    transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
}

.table.dataTable tr.group td {
    padding: 0 1em;
    color:#5cb4f0
}


.dataTables_scrollHead .filters .form-group .form-control {
    color:#aeb5bd;
}
.dataTables_scrollHead .filters .form-select {
    background-image : url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%235cb4f0' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
}

/* color type message */
.table.dataTable tr.inner-border-red td:first-child {
	border-left:5px solid #dc3545
}

.table.dataTable tr.inner-border-blue td:first-child {
	border-left:5px solid #4bafe1
}

.table.dataTable tr.inner-border-grey td:first-child {
	border-left:5px solid #e5e7eb
}

.table.dataTable tr.inner-border-green td:first-child {
	border-left:5px solid #28a745
}


/* datatable scroll bar */
.dataTables_wrapper .dataTables_scrollHead {
	background-color : #f8f9fa;
	border-radius: 4px 4px 0 0;
}

.dataTables_wrapper .dataTables_scrollBody {
	/*border-bottom : 1px solid #eee;*/
}

.dataTables_scrollBody::-webkit-scrollbar {
    width: 6px;
	height: 6px;
    background-color: #f9f9f9;
}
.dataTables_scrollBody::-webkit-scrollbar-thumb {
    background-color: #e7e7e7;
}
div.dataTables_scrollHead table.dataTable {
	margin-bottom: 0 !important;
	margin-top: 0 !important;
	border: none;
}


/* datatable icon input */
.dataTables_scrollHead .filters .form-group  {
	position:relative;
}
.dataTables_scrollHead .filters .form-group .form-control {
    padding-left: 2.375rem;
}
.dataTables_scrollHead .filters .form-group .form-control-icon {
    position: absolute;
    z-index: 2;
    display: block;
    width: 2.375rem;
    height: 2.375rem;
    line-height: 2.375rem;
    text-align: center;
    pointer-events: none;
    color: #4bafe1;
	font-size: 1.1em;
}


/* view grid */
.view-type .btn {
    opacity:0.5;
}
.view-type .btn.active {
    opacity:1;
}
.vr {
    width: 1px;
    height: 24px;
    background-color: #dee2e6;
    opacity: 1;
    align-self: center;
}

.grid-item {
    border: 1px solid #e2e5e8;
    border-radius: 0.25rem;
    padding: 1rem;
    background: transparent;
    /*box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);*/
    transition: transform 0.2s ease, box-shadow 0.2s ease;

}
.grid-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}






/* datatable darkmode */
body[data-layout-mode=dark] .table.dataTable thead tr.labels  th {
	background-color:#0b334b;
	color:#adb5bd;
	font-weight:500;
	border-bottom: 1px solid #000;
}
body[data-layout-mode=dark] .table.dataTable thead tr.filters  th {
	background-color:#061e2c;
	color:#adb5bd;
	font-weight:500;
	border-bottom: 1px solid #0b334b;
}
body[data-layout-mode=dark] .table.dataTable tbody td {
    color: #d0d0d0;
}
body[data-layout-mode=dark] .table.dataTable tr td.td-border-left {
	border-left: 1px solid #0b334b !important;
}
body[data-layout-mode=dark] .page-item.active .page-link {
	background-color:#0b334b !important;
}
body[data-layout-mode=dark] .dataTables_wrapper .dataTables_scrollHead {
	background-color : #0b334b;
}
body[data-layout-mode=dark] .dataTables_scrollBody::-webkit-scrollbar
{
    background-color: #0e2e41;
}
body[data-layout-mode=dark] .dataTables_scrollBody::-webkit-scrollbar-thumb
{
    background-color: #707d85;
}
body[data-layout-mode=dark]  .dataTables_wrapper .dataTables_scrollBody{
	border-bottom : 1px solid #0e2e41;
}
body[data-layout-mode=dark] .dataTables_scroll {
	border-left : 1px solid #0e2e41;
	border-right : 1px solid #0e2e41;
}
body[data-layout-mode=dark] .page-item .page-link {
    color: #fff !important;
}
body[data-layout-mode=dark] .table-hover tbody tr:hover td {
	box-shadow: inset 0 0 0 9999px #0b334b !important;
}




/* ================/
	DateRangePiker
==================*/

.btn-custom {
    background-color: #5cb4f0 !important;
    border-color: #5cb4f0 !important;
    color: #fff !important;
}

/* ================/
	HOME
==================*/

.btn-add-device.dropdown-toggle::after{
    display:none;
}


.modal-settings .btn-add-group {
    color: #74788d;
    border-color: #e2e5e8;
}
.modal-settings .list-group-item i {
    font-size:1.4em;
    cursor:pointer;
}

.fab {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    z-index: 1000;
}

.subject-name span {
   font-weight : bold;
   padding-left:1em;
}


/* ================/
	LOGIN
==================*/
.text-gradient-logo {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(70.11deg, #4DA2FF 30.75%, #024088 57.48%, #AE25E4 83.37%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
/*
.text-gradient-logo {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(to right, #1fb4e9, #EE82EE);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}*/

.home-btn {
    position: fixed;
    top: 15px;
    right: 25px;
}

/*
.authentication-bg {
    background: url(../images/backgrounds/10.jpg) bottom;
}*/


.authentication-bg::before {
    content: '';
    position: absolute;
    background-image: url('../images/backgrounds/9.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15;
    z-index: -1;
}

.authentication-bg .auth-logo .logo{
    margin: 0px auto;
}


/*
.authentication-background .authentication-basic-background {
    position: absolute;
    width: 100%;
    height: 100%;
    inset-inline-start: 0;
    inset-block-start: 0;
    z-index: -1;
    opacity: 0.15;
}

.authentication-background .authentication-basic-background img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}
*/

.authentication {
    min-height: 100vh;
}
.authentication .authentication-brand.desktop-dark {
    display: block;
}
.authentication .form-control {
    padding-inline-end: 2.5rem;
}
.authentication .google-svg {
    width: 0.75rem;
    height: 0.75rem;
    margin-inline-end: 0.5rem;
}
.authentication .authentication-barrier {
    position: relative;
}
.authentication .authentication-barrier span {
    position: relative;
    z-index: 2;
}
.authentication .authentication-barrier:before {
    position: absolute;
    content: "";
    width: 45%;
    height: 1px;
    background-color: #eee;
    border-radius: 50%;
    inset-inline-end: -5px;
    inset-block-start: 10px;
    z-index: 1;
}
.authentication .authentication-barrier:after {
    position: absolute;
    content: "";
    width: 45%;
    height: 1px;
    background-color: #eee;
    border-radius: 50%;
    inset-inline-start: -5px;
    inset-block-start: 10px;
    z-index: 1;
}
.authentication.coming-soon .authentication-cover,
.authentication.under-maintenance .authentication-cover {
    background-image: none;
}
.authentication.coming-soon .authentication-cover:before,
.authentication.coming-soon .authentication-cover:after,
.authentication.under-maintenance .authentication-cover:before,
.authentication.under-maintenance .authentication-cover:after {
    display: none;
}
.authentication.coming-soon .authentication-cover .authentication-cover-content,
.authentication.under-maintenance .authentication-cover .authentication-cover-content {
    width: 100%;
    height: 100%;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}
.authentication.coming-soon .authentication-cover .authentication-cover-content:before,
.authentication.coming-soon .authentication-cover .authentication-cover-content:after,
.authentication.under-maintenance .authentication-cover .authentication-cover-content:before,
.authentication.under-maintenance .authentication-cover .authentication-cover-content:after {
    display: none;
}
.authentication.coming-soon .authentication-cover .authentication-cover-content .coming-soon-time,
.authentication.coming-soon .authentication-cover .authentication-cover-content .under-maintenance-time,
.authentication.under-maintenance .authentication-cover .authentication-cover-content .coming-soon-time,
.authentication.under-maintenance .authentication-cover .authentication-cover-content .under-maintenance-time {
    border: 2px dashed #eee;
}
.authentication.coming-soon .authentication-cover .authentication-cover-content .authentication-brand,
.authentication.under-maintenance .authentication-cover .authentication-cover-content .authentication-brand {
    width: auto;
    height: auto;
    border: 0;
}
.authentication .coming-soom-image-container img,
.authentication .under-maintenance-image-container img {
    width: 100%;
    height: auto;
}
.authentication .authentication-cover {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.authentication .authentication-cover .authentication-cover-background {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
    inset-inline-start: 0;
    inset-block-start: 0;
    opacity: 0.15;
}
.authentication .authentication-cover .authentication-cover-background img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}
.authentication .authentication-cover .authentication-cover-content {
    padding-inline: 1.25rem;
}
.authentication.authentication-basic .desktop-dark {
    display: block;
}
.authentication .form-control-lg#one,
.authentication .form-control-lg#two,
.authentication .form-control-lg#three,
.authentication .form-control-lg#four {
    padding-inline: 0;
}
@media (min-width: 992px) {
    .authentication-cover-content {
        border-radius: 0.3rem;
    }
}
[data-theme-mode=dark] .authentication.authentication-basic .desktop-dark {
    display: block;
}
[data-theme-mode=dark] .authentication .authentication-brand.desktop-dark {
    display: block;
}
[data-theme-mode=dark] .authentication.authentication-cover.desktop-dark {
    display: block;
}
.authentication .desktop-logo,
.authentication .desktop-dark {
    height: 2rem;
    line-height: 2rem;
}
.authentication-brand {
    display: inline-block;
}
.authentication-brand.dark {
    display: none;
}

/* ================/
	LOCATION
==================*/

.gmaps {
    height: 100%;
    background: #f8f9fa;
    border-radius: 3px;
}
.gm-style-iw > button {display: none !important;}
.gm-style .gm-style-iw-c {
	width: auto!important;
	height: auto!important;
	left: 0!important;
	top: 0!important;
	color:#384861;
	overflow: hidden!important;
	border-radius: 3px;
}

.infowindows {
	font-size: 14px!important;
	font-weight: bold!important;
	text-align:center;
}
.infowindows span {
	font-size: 14px!important;
	font-weight: normal;
	margin-top:5px;
	display:inline-block;
}


/* ================/
	CONFIG
==================*/
#page-device-config .card-header {
    border-top:1px solid #eff0f2;
}

/*
tr.gridjs-tr {
    cursor:pointer;
}
tr.gridjs-tr:hover td {
    background-color: #f0f9fe;
}*/


/* ==========================================================
   DEVICE SIDEBAR
   ========================================================== */

/* Responsive width */
@media (min-width: 1600px) {
    #device-sidebar {
        max-width: 28%;
    }
    #chart-zone,
    #table-zone {
        width: 72%;
    }
}
/* Responsive width */
@media (min-width: 2000px) {
    #device-sidebar {
        max-width: 28%;
    }
    #chart-zone,
    #table-zone {
        width: 72%;
    }
}

.icon-device-temperature {
    background-color:#ffc68b !important;
    width:3.0em;
    height:3.0em;
}
.icon-device-water {
    background-color:#8dcdf9 !important;
    width:3.0em;
    height:3.0em;
}

@media (min-width: 1450px) {
    .icon-device-temperature {
        width:3.5em;
        height:3.5em;
    }
    .icon-device-water {
        width:3.5em;
        height:3.5em;
    }

}

@media (max-width: 1450px) {
    body[data-layout=horizontal] .container-fluid,
    body[data-layout=horizontal] .navbar-header {
        max-width: 95%;
    }
}


/* =======================
   ALERTES
   ======================= */


#alert-zone {
    height: 270px;
    margin-bottom: 10px;
    margin-top: 12px;
}

#device-sidebar .widget-alerts .bg-alert-bell {
    background-color: #fcc58f; /*#f84859;*/ /* Rouge alerte */
}

@media (max-width: 1200px) {
    #alert-zone {
        height: 412px;
    }
}



.activity-feed .feed-item:first-child:after {
    background-color:#fff;
}
.activity-feed .feed-item:first-child {
    border-color: #f5f6f8;
}
body[data-layout-mode=dark] .activity-feed .feed-item:first-child:after {
    background-color: #061e2c;
}
body[data-layout-mode=dark] .activity-feed .feed-item:first-child:after {
    background-color: #061e2c;
}
body[data-layout-mode=dark] .activity-feed .feed-item:first-child {
    border-color: #082a3e;
}

/* =======================
   INFOS PRINCIPALES
   ======================= */
#device-sidebar .widget-infos h3 {
    font-size: 2.5em;
    font-weight: 600;
    color: #384861;
}

#device-sidebar .widget-infos h6 {
    font-size: 1.2em;
    font-weight: 500;
}

/* Mode sombre */
body[data-layout-mode="dark"] #device-sidebar .widget-infos h3 {
    color: #fff;
}

body[data-layout-mode="dark"] #device-sidebar .widget-infos h6 {
    color: #adb5bd;
}

/* =======================
   TABLEAU DE DONNÉES
   ======================= */
#device-sidebar .widget-infos .card-header {
    min-height:5.4em;
}

#device-sidebar .widget-infos table tr td {
    font-size: 0.9em;
    text-align: left;
    padding-left: 2em;
}

#device-sidebar .widget-infos table tr td small {
    font-size: 1em;
}

#device-sidebar .widget-infos table tr td:first-child {
    font-weight: 500;
}

#device-sidebar .widget-infos table i {
    font-size: 1.2em;
    margin-right: 0.5em;
}

#device-sidebar .widget-infos .table tr:last-child td {
    border-bottom: none !important;
}

/* Mode sombre */
body[data-layout-mode="dark"] #device-sidebar .widget-infos table tr td:first-child {
    color: #adb5bd;
}

body[data-layout-mode="dark"] #device-sidebar small,
body[data-layout-mode="dark"] #device-sidebar b {
    color: #fff;
}

.table-overlay-loading {
    background : rgba(255, 255, 255, 0.75) !important
}
body[data-layout-mode="dark"] .table-overlay-loading {
    background : rgb(4 15 22 / 75%) !important
}


/* =======================
   ESPACEMENT GRAND ÉCRAN
   ======================= */
@media (min-width: 1350px) {
    #device-sidebar .widget-infos table tr td:first-child {
        padding-left: 2em;
    }
}

/* =======================
   AUTRES INFORMATIONS
   ======================= */
#device-sidebar .widget-infos .info-bar {
    line-height: 2.5em;
    color :#ccc;
}

#device-sidebar .widget-infos .info-last-data,
#device-sidebar .widget-infos .info-battery,
#device-sidebar .widget-infos .info-state {
    font-size: 0.9em;
}


/* Batterie */
#device-sidebar .widget-infos .info-battery {
    position: relative;
}

#device-sidebar .widget-infos .info-battery i {
    position: absolute;
    right: 1.6em;
    top: 0.1em;
    font-size: 1.6em;
    color: #2a284b;
}

/* =======================
   EDITABLE FORM
   ======================= */
.editgroup  {
    font-size:0.9em;
}
.editableform .editable-submit {
    background-color: #56bee9 !important;
    border-color: #5cb4f0 !important;
}
.editable-click, a.editable-click, a.editable-click:hover {
    border: none;
    color: #5cb4f0;
    cursor: pointer;
}

.editOption .editable-buttons .editable-cancel {
    background-color: #e2e5e8 !important;
    border-color: #e2e5e8 !important;
    color:#495057 !important;
}

body[data-layout-mode="dark"] .editOption .editable-buttons .editable-cancel {
    background-color: #11344a !important;
    border-color: #11344a !important;
    color:#adb5bd !important;
}

.editOption .editableform input {
    min-height: calc(1.7em + 0.5rem + 2px);
}

.editOption .orderhandler {
    position: absolute;
    left: -1.6em;
    top: -0.1em;
    color: #969393;
    font-size: 20px;
}

.editOption .editableform {
    margin-left:0.6em;
}



.table.dataTable .editOption {
    position: relative;
}

.table.dataTable .hover-edit {
    position: absolute;
    right: 10px;
    top: 21px;
    border : 2px solid #eee;
    color: #adadad;
    border-radius: 5px;
    font-size: 5px;

}

body[data-layout-mode="dark"]  .table.dataTable .hover-edit {
    border : 2px solid #0e4060;
}

.table.dataTable .hover-edit i {
    font-size:16px;
    color: #adadad;
}
.table.dataTable .hover-edit:hover i {
    color: #333 !important;
}

body[data-layout-mode="dark"] .table.dataTable .hover-edit:hover i {
    color: #fff !important;
}

.table.dataTable .icon-move {
    position:absolute;
    color: #adadad !important;
    left: 0.3em;
    top: 1.05em;
    font-size: 1.2em;
}


/* =======================
   MODALS
   ======================= */
.bootstrap-select>.dropdown-toggle {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23384861' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    background-color: transparent;
    border: 1px solid #e2e5e8;
    color:#495057;
}

.bootstrap-select>.dropdown-toggle.bs-placeholder,
.bootstrap-select>.dropdown-toggle.bs-placeholder:active,
.bootstrap-select>.dropdown-toggle.bs-placeholder:focus,
.bootstrap-select>.dropdown-toggle.bs-placeholder:hover {
    color: #495057;
    border: 1px solid #e2e5e8;
    box-shadow: none;
}

.modal-dialog {
    max-height: 90vh; /* 90% de la hauteur de l'écran */
}

.modal-body {
    overflow-y: auto; /* défilement vertical si le contenu dépasse */
    max-height: calc(90vh - 140px); /* espace pour header et footer */
}
body[data-layout-mode="dark"] .modal-body {
    color:#fff;
}

@media (min-width: 576px) {
    .modal-dialog {
        max-width: 600px;
        margin: 1.75rem auto;
    }

    .modal-dialog.modal-large {
        max-width: 800px;
    }
}

.new-view-overlay{
    top: 0;
    background-color: #fff;
    width: 100%;
    height: 100%;
    z-index : 100;
    border-radius: 0.7em;
    border: 1px solid #f7f7f7;
}

body[data-layout-mode="dark"] .new-view-overlay{
    background-color: #082a3e;
    border: none;
}

#view-edit-user .btn-close  {
    opacity : 1;
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2366b6ed' %3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat
}


#view-edit-user h6 {
    font-size: 1.1em;
    font-weight: 500;
    color: #384861;
    border-bottom:1px solid #e2e5e8;
    padding-bottom:0.5em;
    margin-bottom:1.5em;
}
body[data-layout-mode="dark"] #view-edit-user h6 {
    color: #adb5bd;
    border-bottom:1px solid #11344a;
}


@media (min-width: 768px) {
    .border-md-start {
        border-left: 1px solid var(--bs-border-color);
    }
    body[data-layout-mode="dark"] .border-md-start {
        border-left: 1px solid #082a3e;
    }
}

body[data-layout-mode="dark"] .nav-pills .nav-link.active {
    color: #fff;
    background-color: #11344a;
}
.nav-pills .nav-link.active {
    color: #000;
    background-color: #fbfbfb;
}




















