:root {
	--izypeo-primary-color: #0072bc;
	--izypeo-secondary-color: #039b4a;
	--izypeo-green-btn-color: #05b255;
	--izypeo-primary-color--light: #b6e0fc;
	--izypeo-primary-color--light2: #1985cb;
	--izypeo-primary-color--light3: #2f92d2;
	--izypeo-primary-color--lighter: #e1f1fc;
	--izypeo-secondary-color--light: #aaddc2;
	--izypeo-white-alpha-50: rgb(255, 255, 255, 0.5);
	--izypeo-white-alpha-25: rgb(255, 255, 255, 0.25);
	--izypeo-white-alpha-10: rgb(255, 255, 255, 0.1);
	--izypeo-white-alpha-75: rgb(255, 255, 255, 0.75);
	--izypeo-gray--dark: #3a3a3a;
	--izypeo-gray: #8f8f8f;
	--izypeo-gray--light2: #c9c9c9;
	--izypeo-gray--light: #eeeeee;

	--izypeo-open-statut: #00bcd4;
	--izypeo-closed-statut: #bc0000;
	--izypeo-being-statut: #dec855;
	--izypeo-resolved-statut: #8bc34a;
	--izypeo-abandon-statut: #99b0bf;

    --izypeo-bg-1: #6B6B6B;
    --izypeo-bg-2: #2BA300;
    --izypeo-bg-3: #A30000;
    --izypeo-bg-4: #D2B12F;
    --izypeo-bg-5: #0CB196;
    --izypeo-bg-6: #8F50D2;
    --izypeo-bg-7: #0090A3;

    --izypeo-bg-gm-success:#55B938;
    --izypeo-bg-gm-failure: #D65745;
    --izypeo-bg-gm-info: #EAC645;

	--izypeo-bg-gm-success: #55b938;
	--izypeo-bg-gm-failure: #d65745;
	--izypeo-bg-gm-info: #eac645;
}

html, body {
    height: auto !important;
    max-height: none !important;
    overflow-y: auto !important;
}

/* SART Button */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50rem;
    gap: 6px;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
  }

  .btn[class*="btn-outline-"] {
    background-color: white;
  }

  .btn-outline-primary:hover {
    background-color: var(--izypeo-primary-color);
    border-color: var(--izypeo-primary-color);
    color: #fff;
  }

  .btn-outline-danger:hover {
    background-color: var(--izypeo-bg-3);
    border-color: var(--izypeo-bg-3);
    color: #fff;
  }

  .btn-outline-dark:hover {
    background-color: var(--izypeo-gray--dark);
    border-color: var(--izypeo-gray--dark);
    color: #fff;
  }

  .btn-outline-success:hover {
    background-color: var(--izypeo-green-btn-color);
    border-color: var(--izypeo-green-btn-color);
    color: #fff;
  }

  .btn-outline-primary:hover {
    background-color: var(--izypeo-primary-color--light3);
    border-color: var(--izypeo-primary-color--light3);
    color: #fff;
  }

  .btn-outline-danger:hover {
    background-color: #ff0000;
    border-color: #ff0000;
    color: #fff;
  }

  .btn-outline-success:hover {
    background-color: var(--izypeo-green-btn-color);
    border-color: var(--izypeo-green-btn-color);
    color: #fff;
  }

  .btn-outline-dark:hover {
    background-color: #2b2b2b;
    border-color: #2b2b2b;
    color: #fff;
  }
/* END Button */

/* START header */
#main_subheader > .navbar {
	/* background-color: var(--izypeo-primary-color) !important; */
	background: rgb(0, 114, 188);
	background: linear-gradient(
		90deg,
		rgba(0, 114, 188, 1) 13%,
		rgba(47, 146, 210, 1) 100%
	);
	box-shadow: 0 1px 4px #888;
}

#main_subheader > .navbar .btn-primary {
	background-color: var(--izypeo-white-alpha-25);
	border: none;
}

#main_subheader > .navbar .nav-link {
	color: #fff !important;
	transition: background-color 0.3s;
	padding-left: 16px !important;
	padding-right: 16px !important;
	border-radius: 5px;
}

#main_subheader > .navbar .nav-link.auto-selected {
	background-color: var(--izypeo-white-alpha-10);
}

#main_subheader > .navbar .nav-link:hover {
	background-color: var(--izypeo-white-alpha-25);
}

#main_subheader > .navbar .dropdown .dropdown-item.selected {
	background-color: var(--izypeo-primary-color--light);
	padding-left: 5px;
	display: inline-block;
}

#main_subheader > .navbar .dropdown .dropdown-item.pl-7 {
	padding-left: 5rem !important;
}

#main_subheader > .navbar .dropdown .dropdown-item.pl-9 {
	padding-left: 7rem !important;
}

.navbar-nav .nav-link {
    display: flex !important;
    align-items: center !important;
    height: 100%;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
/* END header */

/* START lateral menu */
#main_nav {
    width: 240px;
    background: #ffffff !important;
    border-right: 1px solid #e6e9ef;
    padding: 24px 18px;
    font-family: "Inter", system-ui, sans-serif;
}

#nav_navbox {
    position: static !important;
    padding: 0 !important;
}

#main_nav .nav_mainLink {
    background: transparent !important;
    padding: 12px 0 4px;
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--izypeo-primary-color) !important;
    letter-spacing: 0.03em;
    border-radius: 0 !important;
}

#main_nav li.nav_secondaryLink {
    margin: 0 !important;
}

#main_nav .nav_secondaryLink a {
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: #1f2937 !important;
    font-size: 14px;
    text-decoration: none;
    background: transparent;
    border-left: 3px solid transparent;
    border-radius: 6px;
    transition: background .12s ease, color .12s ease;
}

#main_nav .nav_secondaryLink i,
#main_nav .nav_secondaryLink svg {
    width: 18px;
    font-size: 1.1rem;
    opacity: 0.85;
    color: #475569 !important;
    transition: color .12s;
    margin-left: 6px;
}

#main_nav .nav_secondaryLink a:hover {
    background: rgba(0, 0, 0, 0.04);
    color: #0f172a !important;
}

#main_nav .nav_secondaryLink a:hover i,
#main_nav .nav_secondaryLink a:hover svg {
    color: var(--izypeo-primary-color) !important;
}

#main_nav .nav_secondaryLink a.active,
#main_nav .nav_mainLink--active > a {
    background-color: var(--izypeo-primary-color) !important;
    color: #ffffff !important;
    font-weight: 600;
    border-left: 3px solid var(--izypeo-primary-color) !important;
    border-radius: 6px;
    display: flex;
    align-items: center;
}

#main_nav .nav_secondaryLink a.active svg,
#main_nav .nav_mainLink--active a svg,
#main_nav .nav_secondaryLink a.active i,
#main_nav .nav_mainLink--active a i {
    color: #ffffff !important;
    fill: #ffffff !important;
}

#main_nav .nav_secondaryLink a.active svg path,
#main_nav .nav_mainLink--active a svg path {
    fill: #ffffff !important;
}

#main_nav .nav_secondaryLink a.active:hover,
#main_nav .nav_mainLink--active > a:hover {
    background-color: var(--izypeo-primary-color) !important;
    color: #ffffff !important;
}

#main_nav.closed {
    width: 66px !important;
}

#main_nav.closed .nav_mainLink a {
    display: none !important;
}

#main_nav.closed #nav_navbox {
    position: fixed !important;
	overflow: initial !important;
    left: -10px;
    top: 65px;
    width: 66px;
    padding: 0 !important;
}

#main_nav.closed .nav_secondaryLink a { 
    justify-content: center;
    padding: 10px 0;
}

#main_nav.closed .nav_secondaryLink a span {
    display: none !important;
}

#main_nav.closed .nav_secondaryLink a:hover span {
    display: block !important;
    position: absolute;
    left: 40px;
    top: 0;
    background: #ffffff;
    padding: 6px 12px;
    border-radius: 4px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    color: #0f172a !important;
    white-space: nowrap;
    z-index: 1500;
}

#main_nav.closed .nav_secondaryLink a {
    position: relative;
}

div#nav_slider {
    width: 5px;
    z-index: 500;
}
/* END lateral menu */

/* START dashboard content */

.main_view_contentBlock {
	border: none !important;
	background-color: transparent !important;
	padding: 10px !important;
}

.main_view_contentBlock.qse-diag-home {
	padding-top: 20px !important;
}

.data_table > thead > tr > th {
	background-color: transparent !important;
	color: var(--izypeo-gray--dark);
	font-weight: bold;
	border: none !important;
}

.data_table {
	border: none !important;
	box-shadow: 0 0 3px rgb(170, 170, 170);
	border-radius: 5px !important;
}

.data_table > thead {
	background-color: #eee !important;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	border-bottom: 1px solid #ccc;
	height: 55px;
	font-size: 1em !important;
}

/* END dashboard content */

/* START global UI */
.ui-button {
	border: none;
	color: #fff;
	background-color: var(--izypeo-primary-color--light2);
	border-radius: 5px;
}

.ui-button * {
	color: #fff !important;
}

.ui-button:hover,
.ui-button:focus {
	border: none;
	background-color: var(--izypeo-primary-color);
	color: #fff;
}

.qse_list .ui-button {
	border: none;
    color: #FFF;
    background-color: #ffffff !important;
	border-radius: 5px;
	box-shadow: 0 0 2px rgb(0, 0, 0, 0.2);
}

.qse_list .ui-button * {
	color: #fff !important;
}

.qse_list .ui-button:hover,
.qse_list .ui-button:focus {
	border: none;
    background-color: #FFF !important;
    color: #FFF;
}

.ui-dialog .ui-dialog-titlebar .ui-button * {
	color: #fff !important;
}

.ui-dialog .ui-dialog-titlebar .ui-button:hover,
.ui-dialog .ui-dialog-titlebar .ui-button:focus {
	border: none;
	background-color: var(--izypeo-primary-color--light);
	color: #fff;
}

.qse_list .qse_list-filter_panel .ui-button {
	border: none;
	color: #fff !important;
	background-color: var(--izypeo-primary-color--light2) !important;
	border-radius: 5px;
	box-shadow: 0 0 2px rgb(0, 0, 0, 0.2);
}

.qse_list .qse_list-filter_panel .ui-button * {
	color: var(--izypeo-gray--dark) !important;
}

.qse_list .qse_list-filter_panel .ui-button:hover,
.qse_list .qse_list-filter_panel .ui-button:focus {
	border: none;
	color: var(--izypeo-gray--dark) !important;
	background-color: var(--izypeo-primary-color--light) !important;
}


div.qse_list > div.qse_list-content
{
    /* border-left: 1px solid #EEE;
    border-right: 1px solid #EEE; */
    border:none;
}

div.qse_list > div.qse_list-pagination
{
    /* border-top: 1px solid #EEE !important; */
    border-top:none;
}

div.qse_list > div.qse_list-content > table td
{
    /* border-right: 1px solid #EEE !important; */
    border:none;
}

/* Tableaux */
.qse_list-header th
{
	background-color: transparent !important;
	border: none !important;
}

.qse_list-header th .header-label {
    color: #000;
    text-align: left !important;
    justify-content: flex-start !important;
    font-weight: 600;
    font-size: 0.9rem;
}

.qse_list-content-item {
    background-color: #fff !important;
    border-bottom: 1px solid var(--izypeo-gray--light2) !important;
  }

.qse_list-content-item td {
    border: none !important;
    vertical-align: middle !important;
    background-color: white !important;
}

.qse_list-content-item:hover td {
    background-color: var(--izypeo-gray--light) !important;
    transition: background-color 0.2s ease;
}

.qselist-fixed-column > div {
	display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 4px;
}

.qse-commands {
	margin-top: 0;
	padding-top: 0;
}

.simple-pagination.izypeo-theme {
	background-color: transparent;
}

div.qse_list-pagination {
	border-left: none !important;
	border-bottom: none !important;
	border-right: none !important;
	border-top: 1px solid #aaa !important;
}

div.qse_list-filter_panel {
	right: 0;
}

.greenFieldset,
.fnc_edit-nexts-item,
.fnc_edit-comment_column .fnc_comments,
.fnc-linked-fncs-item {
	border: none !important;
	background-color: var(--izypeo-gray--light);
	border-radius: 5px;
	/* box-shadow: 0 0 3px rgb(0, 0, 0, .3); */
	margin-top: 2.8em !important;
}

.fnc_edit-nexts-item-title,
.fnc-linked-fncs-item-title {
	background-color: transparent !important;
	border-bottom: 1px solid var(--izypeo-gray--dark);
	color: var(--izypeo-gray--dark) !important;
}

.fnc_edit-nexts-item,
.fnc-linked-fncs-item {
	padding: 10px;
}

.greenFieldset {
	position: relative;
}

.greenFieldset legend {
	border: none !important;
	color: var(--izypeo-gray--dark) !important;
	top: -1.6em;
	position: absolute;
	background-color: transparent !important;
}

.blockUI.blockOverlay {
	background-color: rgb(0, 0, 0, 0.3) !important;
}

.blockUI.blockPage {
	background: rgb(0, 114, 188);
	background: linear-gradient(
		90deg,
		rgba(0, 114, 188, 1) 13%,
		rgba(47, 146, 210, 1) 100%
	);
	border-radius: 8px;
	/*height: 100px;*/
	justify-content: center;
	align-items: center;
	display: flex;
	font-size: 1.5em;
	font-weight: normal;
	animation: gradient 7s ease infinite;
	background-size: 400% 400%;
}

.blockUI.blockPage.failure {
	background: var(--izypeo-bg-gm-failure) !important;
}

.blockUI.blockPage.success {
	background: var(--izypeo-bg-gm-success) !important;
}

.blockUI.blockPage.info {
	background: var(--izypeo-bg-gm-info) !important;
}

@keyframes gradient {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}

fieldset.greenFieldset div.inputRow {
	background-color: #fff;
	transition: background-color 0.25s;
}

fieldset.greenFieldset div.inputRow:hover {
	background-color: #fff !important;
	border-color: #e0e0e0;
	box-shadow: 1px 1px 5px rgb(0, 0, 0, 0.1);
	border-radius: 5px;
}

.greenFieldset input[type="text"],
.greenFieldset input[type="date"],
.greenFieldset input[type="number"],
.greenFieldset textarea,
.greenFieldset select,
div.modify_action_form > table td.action_comments textarea,
.dashboard_diag-settings input[type="text"],
[name="fnc_comment-new"] {
	padding: 3px;
	margin-right: 10px;
	border: 1px solid #999;
	height: calc(2.25rem + 2px);
	width: 100% !important;
	line-height: 1.5;
	border-radius: 5px;
	border-radius: 0.25rem;
}

.greenFieldset input[type="text"]:focus,
.greenFieldset input[type="date"]:focus,
.greenFieldset input[type="number"]:focus,
.greenFieldset textarea:focus,
.greenFieldset select:focus,
div.modify_action_form > table td.action_comments textarea:focus,
.dashboard_diag-settings input[type="text"]:focus,
[name="fnc_comment-new"]:focus {
	outline: 3px solid var(--izypeo-primary-color--light);
}

.fnc_edit .fnc_edit-next_column,
.fnc_edit .fnc_edit-comment_column {
	border-left: none;
}

.fnc_edit-comment_column .fnc_comments:empty {
	display: none;
}

.fnc_edit-comment_column .fnc_comments {
	padding: 10px;
}

.fnc_edit-comment_column .fnc_comments-title {
	border-bottom: 1px solid var(--izypeo-gray--dark);
	color: var(--izypeo-gray--dark) !important;
	background-color: transparent !important;
}

.fnc-linked-fncs-item .ui-button,
.fnc_edit-nexts-item .ui-button,
.fnc_comments-form .ui-button,
div.modify_action_form > table td.action_comments .ui-button {
	border: 1px solid var(--izypeo-primary-color--light2);
	color: var(--izypeo-primary-color--light2) !important;
	background-color: #fff !important;
	border-radius: 5px;
	box-shadow: 0 0 2px rgb(0, 0, 0, 0.2);
	transition: color 0.3s, border 0.3s;
}

.fnc-linked-fncs-item .ui-button *,
.fnc_edit-nexts-item .ui-button *,
.fnc_comments-form .ui-button *,
div.modify_action_form > table td.action_comments .ui-button * {
	color: var(--izypeo-primary-color--light2) !important;
}

.fnc-linked-fncs-item .ui-button:hover,
.fnc_edit-nexts-item .ui-button:hover,
.fnc_comments-form .ui-button:hover,
div.modify_action_form > table td.action_comments .ui-button:hover {
	border: 1px solid var(--izypeo-primary-color);
	color: var(--izypeo-primary-color) !important;
}
/* END global UI */

/* START categories */

.filter-btn {
    border-radius: 50px;
    padding: .4rem 1.2rem;
    font-size: .9rem;
    box-shadow: 0 2px 6px rgba(0,0,0,.15);
    background-color: #fff;
    color: #333;
    transition: all 0.2s ease-in-out;
    font-weight: 500;
    border: none;
    cursor: pointer;
  }

  .filter-btn:hover {
    transform: translateY(-2px);
    text-decoration: none;
    color:#000;
    font-weight: bold;
  }

  .filter-btn.active-filter {
    background-color: var(--izypeo-primary-color);
    color: #fff;
    font-weight: 700;
  }


.fnc-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 1.5rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fnc-card .card-header {
    flex-shrink: 0;
}

.fnc-card .card-body {
    flex-grow: 1;
    flex-shrink: 0;
    overflow-y: auto;
}

.fnc-card .card-footer {
    flex-shrink: 0;
    margin-top: auto;
}


.fnc-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.fnc-card-header {
    border-top-left-radius: 1.5rem;
    border-top-right-radius: 1.5rem;
    background: linear-gradient(
        to bottom left,
        rgba(255, 255, 255, 0.35) 20%,
        var(--header-color, #0d6efd) 40%,
        rgba(0, 0, 0, 0.1) 100%
      ),
      var(--header-color, #0d6efd);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
    color: #fff;
}

.fnc-category .card-deck
{
	flex-wrap: wrap;
}

.fnc-category .card-deck .card {
	background: transparent;
	min-height: 270px;
	max-height: 270px;
}

.fnc-category .card-deck .card .card-body {
	overflow: auto;
}

.fnc-category .card-deck .card .card-header {
	text-transform: uppercase;
}

.fnc-category .card-deck .card.bg-fiche-1 {
	border: 1px solid var(--izypeo-primary-color--light3);
}

.fnc-category .card-deck .card.bg-fiche-1 .card-header {
	background: var(--izypeo-primary-color--light3);
}

.fnc-category .card-deck .card.bg-fiche-1 .card-body {
	color: var(--izypeo-primary-color--light3);
}

.fnc-category .card-deck .card.bg-fiche-2 {
	border: 1px solid var(--izypeo-bg-1);
}

.fnc-category .card-deck .card.bg-fiche-2 .card-header {
	background: var(--izypeo-bg-1);
}

.fnc-category .card-deck .card.bg-fiche-2 .card-body {
	color: var(--izypeo-bg-1);
}

.fnc-category .card-deck .card.bg-fiche-3 {
	border: 1px solid var(--izypeo-bg-2);
}

.fnc-category .card-deck .card.bg-fiche-3 .card-header {
	background: var(--izypeo-bg-2);
}

.fnc-category .card-deck .card.bg-fiche-3 .card-body {
	color: var(--izypeo-bg-2);
}

.fnc-category .card-deck .card.bg-fiche-4 {
	border: 1px solid var(--izypeo-bg-3);
}

.fnc-category .card-deck .card.bg-fiche-4 .card-header {
	background: var(--izypeo-bg-3);
}

.fnc-category .card-deck .card.bg-fiche-4 .card-body {
	color: var(--izypeo-bg-3);
}

.fnc-category .card-deck .card.bg-fiche-5 {
	border: 1px solid var(--izypeo-bg-4);
}

.fnc-category .card-deck .card.bg-fiche-5 .card-header {
	background: var(--izypeo-bg-4);
}

.fnc-category .card-deck .card.bg-fiche-5 .card-body {
	color: var(--izypeo-bg-4);
}

.fnc-category .card-deck .card.bg-fiche-6 {
	border: 1px solid var(--izypeo-bg-5);
}

.fnc-category .card-deck .card.bg-fiche-6 .card-header {
	background: var(--izypeo-bg-5);
}

.fnc-category .card-deck .card.bg-fiche-6 .card-body {
	color: var(--izypeo-bg-5);
}

.fnc-category .card-deck .card.bg-fiche-7 {
	border: 1px solid var(--izypeo-bg-6);
}

.fnc-category .card-deck .card.bg-fiche-7 .card-header {
	background: var(--izypeo-bg-6);
}

.fnc-category .card-deck .card.bg-fiche-7 .card-body {
	color: var(--izypeo-bg-6);
}

.fnc-category .card-deck .card.bg-fiche-8 {
	border: 1px solid var(--izypeo-bg-7);
}

.fnc-category .card-deck .card.bg-fiche-8 .card-header {
	background: var(--izypeo-bg-7);
}

.fnc-category .card-deck .card.bg-fiche-8 .card-body {
	color: var(--izypeo-bg-7);
}

.fnc-category .card-deck a {
	text-decoration: none;
}

@media (max-width: 480px) {
	.fnc-category .card-deck .card-body {
		display: none;
	}

	.fnc-category .card-deck .card {
		min-height: inherit;
		margin-bottom: 20px !important;
	}
}

#main_view_content_category {
	margin-right: 0 !important;
	margin-left: 0 !important;
	margin-bottom: 0 !important;
	margin-top: 20px !important;
	padding-right: 0 !important;
}
/* END categories */

/* START actions box */
#main_actionbox {
	margin-left: 5px;
	margin-right: 5px;
	margin-top: 20px;
	margin-bottom: 20px;
}

#actionbox_box {
	border: none !important;
	background-color: var(--izypeo-gray--light) !important;
	/* background-color: var(--izypeo-primary-color--lighter) !important; */
	height: auto !important;
}

#actionbox_box .action-item {
	background-color: transparent;
	transition: background-color 0.2s;
	border-right: none !important;
	color: var(--izypeo-gray--dark);
	height: auto !important;
}

#actionbox_box .action-item a {
	padding-top: 10px;
	padding-bottom: 10px;
	height: auto !important;
}

#actionbox_box .action-item:hover {
	background-color: var(--izypeo-primary-color--light) !important;
}
/* END actions box */

/* START dashboard */
div#dashboard_panels
	> div.dashboard_panels-panel#dashboard_panels-panel_content
	> .dashboard_diag-settings {
	padding: 0px;
}

.dashboard_diag-settings {
	background-color: var(--izypeo-gray--light) !important;
	border-radius: 5px;
	padding: 0;
}

.dashboard_diag_actions .form-group a,
.dashboard_diag_actions .form-group label {
	color: var(--izypeo-gray--dark) !important;
}

.dashboard_diag_actions .form-group a {
	display: inline-block;
	height: 100%;
	width: 100%;
	padding: 15px 10px;
	transition: background-color 0.25s;
}

.dashboard_diag_actions .form-group a:hover {
	background-color: var(--izypeo-gray--light2);
	border-radius: 0;
}

.dashboard_diag-settings label:first-child {
	margin-left: 15px;
	margin-right: 15px;
}

div#dashboard_panels {
	border-top: none;
}

.dashboard_diag-settings input[type="text"] {
	width: 120px !important;
}

.dashboard_diag_actions .form-group {
	height: 100%;
}

.dashboard_diag-settings button {
	border: 1px solid var(--izypeo-gray--dark) !important;
	color: var(--izypeo-gray--dark) !important;
	background-color: var(--izypeo-gray--light);
	position: relative;
	margin-right: 20px;
}

.dashboard_diag-settings button:hover {
	box-shadow: 0 1px 3px rgb(0, 0, 0, 0.2) inset;
}

.dashboard_diag-settings button::after {
	display: block;
	content: " ";
	border-right: 1px solid var(--izypeo-gray--dark);
	position: absolute;
	width: 20px;
	height: 2em;
	left: 35px;
	top: 0px;
}

#dashboard_tabs {
	border-bottom: 1px solid var(--izypeo-gray--light2);
	padding-left: 0 !important;
	overflow-x: auto;
	width: 100%;
	white-space: nowrap;
}

#dashboard_tabs .dashboard_tabs-tab {
	border-left: 1px solid var(--izypeo-gray--light2);
	border-right: 1px solid var(--izypeo-gray--light2);
	border-top: 1px solid var(--izypeo-gray--light2);
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	padding-left: 20px;
	padding-right: 20px;
}

#dashboard_tabs .dashboard_tabs-tab:not(.selected) {
	box-shadow: 0 -2px 3px rgba(0, 0, 0, 0.15) inset;
}

#dashboard_tabs .dashboard_tabs-tab.selected {
	background-color: var(--izypeo-primary-color--light2) !important;
	border-left: 1px solid var(--izypeo-primary-color--light2);
	border-right: 1px solid var(--izypeo-primary-color--light2);
	border-top: 1px solid var(--izypeo-primary-color--light2);
}

#dashboard_tabs-tab_new {
	border-radius: 50% !important;
	border: none !important;
	height: 1.9rem;
	width: 1.9rem;
	margin-bottom: 2px;
	color: var(--izypeo-primary-color--light2) !important;
	border: 1px solid var(--izypeo-primary-color--light2) !important;
	background-color: #fff !important;
	box-shadow: none !important;
	font-weight: bold;
	font-size: 2em;
	padding: 0 !important;
	line-height: 0.9em;
	margin-right: 10px !important;
	position: static !important;
	text-align: center;
	transition: transform 0.2s;
}

#dashboard_tabs-tab_new:hover {
	transform: rotate(180deg);
}

.dashboard_diag-element {
	border-radius: 5px;
}

table#dashboard_panels-el td.dashboard_layout_column {
	border-right: none !important;
}

div#main_nav {
	overflow: auto;
}
/* END dashboard */

/*UX Evols*/
.reset_field_val {
	width: 23px;
	height: 24px;
	background: var(--izypeo-primary-color);
	border-radius: 100%;
	text-align: center;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	vertical-align: middle;
	line-height: 1.2rem;
	cursor: pointer;
}

.reset_field_val i,
.reset_field_val svg {
	color: #ffffff;
	font-size: 10px;
}

.fnc-list-mobile {
	display: none;
}

.device-mobile .fnc-list-mobile {
	display: block;
}

.fnc-list-mob-item {
	margin-bottom: 10px;
	background: #ffffff;
	border-radius: 5px;
	padding: 10px;
}

.fnc-dropdown-container {
	padding: 20px 0;
}

.fnc-file-id {
	font-weight: bold;
	font-size: 0.875rem;
}

.fnc-search-container {
	display: flex;
	justify-content: end;
	margin-bottom: 10px;
}

.fnc-search-container > .input_wrapper {
	max-width: 250px;
}

.fnc-file-item-header {
	display: flex;
	justify-content: space-between;
}

.fnc-file-date,
.fnc-file-type,
.fnc-status,
.fnc-last-info {
	font-size: 0.8rem;
	color: #555555;
}

.fnc-file-type {
	font-style: italic;
}

.fnc-list-mob-item .ticket-tag {
	min-width: inherit;
}

.filter-multi-select > .viewbar > .selected-items > .item {
	border-radius: 4px;
	font-size: 0.8rem;
	background: var(--izypeo-primary-color);
}
.user-avatar {
	width: 34px;
	height: 34px;
	margin-right: 7px;
	/* margin-bottom: 7px; */
	border-radius: 50%;
	border: solid 1pt lightgray;
}

.default-avatar {
	width: 20px;
	height: 20px;
	margin-right: 7px;
	margin-bottom: 7px;
	border-radius: 50%;
	border: solid 1pt lightgray;
}
/*Fin UX Evols*/

.modern-loader {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-width: 120px;
	padding: 10px 20px;
	background-color: rgba(255, 255, 255, 0.9);
	border-color: rgba(255, 255, 255, 0.9) !important;
	border-radius: 8px;
	box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
}

/* Le spinner circulaire */
.modern-loader .spinner {
	border: 6px solid #e6e6e6; /* Couleur de fond du spinner */
	border-top: 6px solid #3498db; /* Couleur de la bande animée */
	border-radius: 50%;
	width: 40px;
	height: 40px;
	animation: spin 1s linear infinite;
	margin-bottom: 10px;
}

/* Animation de rotation */
@keyframes spin {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

/* Style du texte */
.modern-loader p {
	margin: 0;
	font-family: "Helvetica Neue", Arial, sans-serif;
	color: #333;
	font-size: 14px;
	text-align: center;
}

/*.ui-dialog-titlebar {*/
/*    background-color: #ffffff !important; !* Fond blanc *!*/
/*    border-bottom: 1px solid #ddd !important; !* Optionnel : bordure *!*/
/*    position: relative;*/
/*}*/

.ui-dialog-titlebar .btn-close {
	position: absolute;
	right: 10px;
	top: 10px;
	z-index: 100;
	background-color: transparent !important;
}
span.placeholder {
	background-color: white !important;
}

.select2-container--default .select2-selection--multiple {
	max-height: 4.5em; /* Environ 3 lignes */
	overflow: hidden;
	position: relative;
	transition: max-height 0.3s ease;
}

/* Au survol, on affiche tout */
.select2-container--default .select2-selection--multiple:hover {
	max-height: 1000px; /* assez grand pour tout montrer */
	overflow-y: auto;
	background-color: #f9f9f9;
	z-index: 10;
}
.select2-container--default .select2-selection--multiple:hover {
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
	border: 1px solid #ccc;
}

/**
Ajout d'une bordure aux champs de recherche
**/

input[type="text"].search,
input[type="search"] {
	border: 1px solid #ccc;
}

/* Tooltips */
.field-with-tooltip {
	position: relative;
	overflow: visible;
  }

.tooltip-trigger {
	color: var(--izypeo-primary-color);
	cursor: help;
  }
.tooltip-trigger svg {
	fill: currentColor;
	font-size: 1.2rem;
  }

  .tooltip-box {
	position: absolute;
	bottom: 100%;
	left: 0;
	width: max-content;
	max-width: 100%;
	background: #333;
	color: #fff;
	padding: 8px 10px;
	border-radius: 6px;
	font-size: 0.75rem;
	line-height: 1.4;
	white-space: normal;
	overflow-wrap: break-word;
	opacity: 0;
	pointer-events: none;
	transform: translateY(-4px);
	transition: opacity 0.1s ease, transform 0.1s ease;
	z-index: 1000;
  }

  .tooltip-trigger:hover + .tooltip-box {
	opacity: 1;
	transform: translateY(-8px);
  }
/* === MODERN MODAL STYLES (Moved from home.css) === */
/* Shared Styles for Bootstrap Modals and jQuery UI Dialogs */
.modern-modal .modal-content,
.modern-modal.ui-dialog {
    border-radius: 16px;
    border: none;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    overflow: hidden;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: #fff;
    padding: 0 !important;
}

.modern-modal .modal-header,
.modern-modal .ui-dialog-titlebar {
    background: linear-gradient(135deg, var(--izypeo-primary-color, #0072bc) 0%, var(--izypeo-primary-color--light2, #1985cb) 100%);
    color: white;
    padding: 20px 25px;
    border: none;
    border-radius: 16px 16px 0 0; /* Ensure top corners match */
}

.modern-modal .modal-title,
.modern-modal .ui-dialog-title {
    font-weight: 600;
    font-size: 18px;
    margin: 0;
    line-height: 1.5;
    float: none;
    width: auto;
}

.modern-modal .modal-body,
.modern-modal .ui-dialog-content {
    padding: 30px 25px !important;
    background-color: #fff !important;
    color: #334155;
}

.modern-modal .modal-footer,
.modern-modal .ui-dialog-buttonpane {
    padding: 0 25px 10px 25px;
    border-top: 1px solid #f1f5f9;
    background-color: #fff !important; /* Unified to white */
    margin: 0;
    text-align: right;
}

/* Close Buttons */
.modern-modal .close {
    color: white;
    opacity: 0.8;
    text-shadow: none;
    font-weight: 300;
    font-size: 28px;
    line-height: 1;
    margin-top: -2px;
    filter: alpha(opacity=80);
}
.modern-modal .close:hover {
    opacity: 1;
    filter: alpha(opacity=100);
    color: #fff;
}
.modern-modal .ui-dialog-titlebar-close {
    right: 20px;
    margin-top: -10px;
    background: rgba(255,255,255,0.2);
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
}
.modern-modal .ui-dialog-titlebar-close:hover {
    background: rgba(255,255,255,0.3);
}

/* Form Elements */
.modern-modal .form-group {
    margin-bottom: 20px;
}
.modern-modal .form-control {
    height: 48px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    padding: 10px 15px;
    font-size: 14px;
    background-color: #f8fafc;
    box-shadow: none;
    transition: all 0.2s ease;
    width: 100%;
    box-sizing: border-box;
}
.modern-modal textarea.form-control {
    height: auto;
    min-height: 48px;
    resize: vertical;
}
.modern-modal .form-control:focus {
    background-color: #fff;
    border-color: var(--izypeo-primary-color, #0072bc);
    box-shadow: 0 0 0 3px rgba(0, 114, 188, 0.1);
    outline: none;
}
.modern-modal label {
    font-weight: 500;
    color: #475569;
    margin-bottom: 8px;
    font-size: 13px;
    display: inline-block;
    margin-right: 5px;
}

.modern-modal .error {
    display: inline-block;
    font-size: 13px;
}

/* Buttons */
.modern-modal .btn:not(.toggle):not(.toggle-on):not(.toggle-off):not(.toggle-handle),
.modern-modal .ui-dialog-buttonset button {
    border-radius: 50px;
    padding: 8px 15px;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.3px;
    border: 1px solid #e2e8f0; /* Unified border */
    transition: transform 0.1s ease, box-shadow 0.2s ease;
    display: inline-block;
    background-color: #fff;
    color: #475569;
    margin-left: 5px;
    cursor: pointer;
}
.modern-modal .btn:not(.toggle):not(.toggle-on):not(.toggle-off):not(.toggle-handle):active,
.modern-modal .ui-dialog-buttonset button:active {
    transform: scale(0.98);
}
.modern-modal .btn-secondary,
.modern-modal .ui-dialog-buttonset button:hover {
    background-color: #f8fafc;
    color: #1e293b;
}

/* Bootstrap Toggle Fixes for Modern Modal */
.modern-modal .toggle.btn {
    min-width: 60px;
    min-height: 30px;
    border-radius: 50rem;
    border: 1px solid rgba(0,0,0,0.1);
    margin-left: 0;
    padding: 0;
    overflow: hidden;
}
.modern-modal .toggle-group .btn {
    border-radius: 0;
    margin-left: 0;
    border: none;
    padding-top: 5px;
    font-size: 12px;
    font-weight: bold;
}
.modern-modal .toggle.btn-success,
.modern-modal .toggle-group .btn-success {
    background-color: #28a745 !important;
    color: #fff !important;
    border-color: #28a745 !important;
}
.modern-modal .toggle.btn-danger,
.modern-modal .toggle-group .btn-danger {
    background-color: #dc3545 !important;
    color: #fff !important;
    border-color: #dc3545 !important;
}
.modern-modal .toggle-handle {
    background-color: #fff !important;
    border-radius: 50rem;
    border: 1px solid #ddd;
}

/* Primary Buttons */
.modern-modal .btn-primary,
.modern-modal .ui-dialog-buttonset button:not(.btn-secondary) {
    background-color: var(--izypeo-primary-color, #0072bc);
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(0, 114, 188, 0.25);
    border: 1px solid transparent;
}
.modern-modal .btn-primary:hover,
.modern-modal .ui-dialog-buttonset button:not(.btn-secondary):hover {
    background-color: var(--izypeo-primary-color--light2, #1985cb);
    color: #fff !important;
    transform: translateY(-1px);
}

/* Archive Buttons */
.modern-modal .btn-archive,
.modern-modal .ui-dialog-buttonset button.btn-archive {
    background-color: #f59e0b !important; /* Amber/Orange */
    color: #fff !important;
    border: 1px solid transparent;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25);
}
.modern-modal .btn-archive:hover,
.modern-modal .ui-dialog-buttonset button.btn-archive:hover {
    background-color: #d97706 !important;
    transform: translateY(-1px);
}

/* jQuery UI Specifics */
.modern-modal .ui-dialog-buttonset {
    float: right;
}
.modern-modal .ui-dialog-buttonset button * {
    color: inherit !important;
}

/* Table styling for summary */
.modern-modal .table {
    margin-bottom: 0;
    width: 100%;
    background-color: transparent;
}
.modern-modal .table thead th {
    background-color: #f8fafc;
    border-bottom: 2px solid #e2e8f0;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
    padding: 15px;
    border-top: none;
}
.modern-modal .table tbody td {
    padding: 15px;
    vertical-align: middle;
    border-top: 1px solid #f1f5f9;
    color: #334155;
    font-size: 14px;
}
.modern-modal .table-striped tbody tr:nth-of-type(odd) {
    background-color: #fcfcfc;
}

/* Fix for internal gray backgrounds */
.modern-modal .fnc_edit-form,
.modern-modal .fnc_edit-comment_column,
.modern-modal .fnc_edit-next_column,
.modern-modal .fnc_comments {
    background-color: transparent !important;
    border: none !important;
}

/* Fix for nested gray backgrounds in next column */
.modern-modal .fnc_edit-next_column > div > div,
.modern-modal .fnc_edit-next_column .fnc_edit-nexts,
.modern-modal .fnc_edit-next_column .fnc-linked-fncs {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Fieldsets */
.modern-modal fieldset.greenFieldset {
    background-color: #fff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px;
    padding: 10px 25px 25px 25px;
    margin-bottom: 25px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* Subtle hover effect on input rows */
.modern-modal fieldset.greenFieldset div.inputRow {
    transition: background-color 0.2s ease;
    border-radius: 8px;
    padding: 10px; /* Ensure padding for the hover background */
    margin-bottom: 2px;
}
.modern-modal fieldset.greenFieldset div.inputRow:hover {
    background-color: #f8fafc !important; /* Very light gray */
    border-color: transparent !important;
    box-shadow: none !important;
}

.modern-modal legend {
    border-bottom: 1px solid #e2e8f0 !important;
    font-weight: 600;
    color: #1e293b !important;
    font-size: 16px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    padding-inline: 5px;
    width: 100%;
    display: block;
    float: left; /* Force le float pour éviter le collapse */
    position: static !important;
    top: auto !important;
}

/* Comments Section Styling */
.modern-modal .fnc_comments {
    background: #f8fafc !important; /* Very light gray for contrast, or white */
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e2e8f0 !important;
    margin-bottom: 20px;
}
.modern-modal .fnc_comments-title {
    background: transparent !important;
    color: #1e293b;
    font-size: 16px;
    margin-bottom: 15px;
    padding: 0;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 10px;
    font-weight: 600;
    width: 100%;
    display: block;
}

/* Fix for FontAwesome in modal if needed */
.modern-modal .fa {
    font-family: FontAwesome !important;
    margin-bottom: 15px;
    padding: 0;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 10px;
}

.modern-modal .fnc_comments-list-item {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 10px;
}
.modern-modal .fnc_comments-list-item.alternateRow {
    background-color: #f8fafc !important;
}

/* Remove any other gray backgrounds */
.modern-modal .ui-widget-content {
    background-image: none;
}
