/* Root / Reset */

:root {
    --cas-theme-primary: #1f234b;
    --cas-theme-primary2: #153e50;
    --cas-theme-primary-bg: rgba(210, 162, 180, .8);
    --cas-theme-primary-light: #1f234b;
    --cas-theme-secondary: #74C163;
    --cas-theme-success: var(--cas-theme-secondary);
    --cas-theme-danger: var(--mdc-theme-error);
    --cas-theme-warning: #e6a210;
    --cas-theme-border-light: 1px solid rgba(160, 0, 0, .2);
    --cas-theme-button-bg: #26418f;
    --cas-theme-button-bg-lite: #1e78d0;
    --cas-theme-twitter-color: #55acee;
    --cas-theme-vimeo-color: #1ab7ea;
    --cas-theme-vk-color: #587ea3;
    --cas-theme-yahoo-color: #720e9e;
    --cas-theme-google-color: #CC5445;
    --cas-theme-facebook-color: #3B5998;
    --atlassian-theme-primary: #0747a6;
    --mdc-theme-primary: var(--cas-theme-primary, #153e50);
    --navbar-width: 256px;
    --navbar-width-min: 80px;
    --navbar-dark-primary: #18283b;
    --navbar-dark-secondary: #2c3e50;
    --navbar-light-primary: #f5f6fa;
    --navbar-light-secondary: #8392a5;
}

body {
    display: flex;
    height: 100vh;
    margin: 0;
    padding: 0;
    flex-direction: column;
    justify-content: space-between;
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    background: #F1F1F1;
}

a {
    color: #153e50;
    color: var(--cas-theme-primary, #153e50);
}

a:hover, a:visited, a:active {
    color: #1f234b;
    color: var(--cas-theme-primary-light);
}

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

h3 {
    font-size: 24px
}

aside, section, main {
    display: block;
}

/* Custom */
.container-lg{
    max-width:720px;
}

.mdc-drawer-app-content{
    padding-top : 0 !important;
}

hr{
    color:#F1F1F1;
}

.card{
    border : 1px solid #ddd;
    border-radius:0.25em;
    padding:0.75em;
}

.mdc-button__lyon3{
    color: #1f234b !important;
}

.reveal-password{
    color: #1f234b;
    width: 32px;
    padding: 0px;
}

.reveal-password-icon{
    color:#ffff !important;
}

.p-sidebar{
    font-size:0.75em;
}

.titre-card{
    font-size:0.8em;
    font-weight:bold;
    color:#1f234b;
}

.app-name{
    vertical-align: baseline;
}

/* Material */

.mdc-drawer {
    top: 56px;
}

.mdc-drawer-app-content {
    flex: auto;
    overflow: auto;
    position: relative;
}

.main-content {
    display: flex;
}

.mdc-top-app-bar {
    z-index: 7;
}

div#content {
    box-shadow: 1px 1px 3px #888;
}

/* widgets */

.notifications-count {
    position: absolute;
    top: 10px;
    right: 12px;
    background-color: #b00020;
    background-color: var(--cas-theme-danger);
    color: #fff;
    border-radius: 50%;
    padding: 1px 3px;
    font: 8px Verdana;
}

.cas-brand {
    height: 48px;
    width: auto;
}

header>nav .cas-brand path.cls-1 {
    fill: white;
}

header>nav .cas-brand .cas-logo {
    height: 100%;
}


.caps-warn {
    display: none;
}

.caps-on {
    order: 3
}

.caps-on DIV SPAN {
    display: block;
}

.caps-on span:before {
    vertical-align: sub;
    content: "\F0027";
    font-size: 24px;
    font: normal normal normal 24px/1 "Material Design Icons";
}

.login-section {
    /*border-right: 1px solid rgba(0, 0, 0, .2); 
    border-right: var(--cas-theme-border-light, 1px solid rgba(0, 0, 0, .2)); */
    padding: 2rem 2.5rem;
    flex: 1;
}

.login-section:last-child {
    border: none;
}

@media screen and (max-width: 767.99px) {
    .login-section {
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, .2);
        border-bottom: var(--cas-theme-border-light, 1px solid rgba(0, 0, 0, .2));
        max-width: none;
        padding: 0 1.5rem;
    }
}

@media (max-width: 960px) {
    #casFooter {
        display: none !important;
    }
}


.log-trace {
    color: whitesmoke;
    font-weight: bold;
}

.log-none, .log-debug {
    color: dodgerblue;
    font-weight: bold;
}

.log-default, .log-notice, .log-info {
    color: limegreen;
    font-weight: bold;
}

.log-warning, .log-alert, .log-warn {
    color: orange;
    font-weight: bold;
}

.log-fatal, .log-emergency, .log-critical, .log-error {
    color: orangered;
    font-weight: bold;
}

.noborder {
    border: 0 none;
    border-style: none;
}

.close {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    text-transform: none;
    text-decoration: none;
    ;
}

button.close {
    background-color: transparent;
    border: 0;
    -webkit-appearance: none;
}

.banner {
    padding: 0.1rem 0.5rem;
    border: 1px solid rgba(0, 0, 0, .2);
    border: var(--cas-theme-border-light, 1px solid rgba(0, 0, 0, .2));
    position: relative;
    border-radius: 4px;
}

.banner .banner-message {
    color: #153e50;
    margin: 0.375rem 0;
}

.banner .banner-heading:first-child {
    margin-top: 0;
}

.banner .banner-message:first-child {
    margin-top: 0;
}

.banner .banner-message:last-child {
    margin-bottom: 0;
}

.banner-primary {
    border-color: #153e50;
    border-color: var(--cas-theme-primary, #153e50);
}

.banner-primary .mdi {
    color: #153e50;
    color: var(--cas-theme-primary, #153e50);
}

/*.banner-danger h1:before,
.banner-danger h2:before,
.banner-danger h3:before,
.banner-danger h4:before, */
.banner-danger h5:before {
    content: "\F0027";
    font-size: 24px;
    font: normal normal normal 24px/1 "Material Design Icons";
}

.banner-danger {
    color:#b00020;
    border-color: #b00020;
    border-color: var(--cas-theme-danger, #b00020);
}

.banner-danger .mdi {
    color: #b00020;
    color: var(--cas-theme-danger, #b00020);
}

/* .banner-warning h1:before,
.banner-warning h2:before,
.banner-warning h3:before,
.banner-warning h4:before, */
.banner-warning h5:before {
    content: "\F0029";
    font-size: 24px;
    font: normal normal normal 24px/1 "Material Design Icons";
}

.banner-warning {
    border-color: #e6a210;
    border-color: var(--cas-theme-warning, #e6a210);
    color: #e6a210;
    color: var(--cas-theme-warning, #e6a210);
}

.banner-warning .mdi {
    color: #e6a210;
    color: var(--cas-theme-warning, #e6a210);
}

.banner-success {
    border-color: var(--cas-theme-success);
    color: #153e50;
    color: var(--cas-theme-primary, #153e50);
}

.banner-info h1:before,
.banner-info h2:before,
.banner-info h3:before,
.banner-info h4:before,
.banner-info h5:before {
    content: "\F1C67";
    font-size: 24px;
    font: normal normal normal 24px/1 "Material Design Icons";
}

.banner-info {
    border-color: #17a2b8;
}

.banner-dismissible {
    padding-right: 4rem;
}

.banner-dismissible .close {
    position: absolute;
    top: 0;
    right: 0;
    padding: .75rem 1.25rem;
    color: inherit;
}

.login-provider-item {
    list-style: none;
}

.login-provider-item .mdc-button .mdi {
    margin-right: 0.375rem;
    color:#e6a210 !important;
}

@media screen and (max-width: 767.99px) {
    .logout-banner {
        width: 100%;
    }
}

.cas-footer {
    font-size: 0.75rem;
    background-color: var(--mdc-theme-primary, #6200ee);
    color: whitesmoke;
}

.cas-footer a {
    color: deepskyblue;
}

.cas-footer>* {
    margin-right: 0.25rem;
    display: inline-block;
}

.cas-footer>*:last-child {
    margin: 0;
}

.cas-notification-dialog .mdc-dialog__content>.cas-notification-message:not(:last-child) {
    border-bottom: 1px solid rgba(0, 0, 0, .2);
    border-bottom: var(--cas-theme-border-light, 1px solid rgba(0, 0, 0, .2));
}

.cas-card {
    border-radius: 8px;
    padding-left: 10px;
    padding-right: 10px;
    background-color: lightskyblue;
    flex-direction: column;
    flex-grow: 1;
    grid-column-end: span 6 !important;
}

.mdc-dialog__title::before {
    display: none;
}

.mdi {
    content: "";
    /*vertical-align: baseline;*/
}

.mfa-table-container {
    width: 100%;
    overflow-x: auto;
    border-radius: 4px;
}

.mdc-data-table__table {
    width: 100%;
    table-layout: auto !important;
    border-collapse: collapse;
}

.mdc-data-table__tabletrusted {
    width: 100%;
    table-layout: auto !important;
    border-collapse: collapse;
    min-width: 900px;
}

.mdc-data-table__cell, 
.mdc-data-table__header-cell {
    white-space: nowrap !important; /* Empêche le texte de revenir à la ligne */
    padding: 12px 24px !important;  /* Espace généreux entre les colonnes */
    height: 56px !important;        /* Hauteur standard MDC */
    text-overflow: clip !important;
    overflow: visible !important;   /* Empêche le texte de se cacher */
}

.mdc-data-table__cell span i {
    vertical-align: middle;
    margin-right: 8px;
}

.mdc-data-table__cell:last-child {
    text-align: right;
    min-width: 140px; /* Espace suffisant pour l'œil et la poubelle */
}

.cell-truncate {
    max-width: 200px;
    white-space: nowrap;     /* Empêche le retour à la ligne */
    overflow: hidden !important;        /* Cache le texte qui dépasse */
    text-overflow: ellipsis !important;  /* Affiche les "..." */
}

.mdc-data-table__cell:last-child {
    overflow: visible !important;
    text-align: right;
}

#casAccountProfile {
    display: flex;
    flex-direction: row;
    background-color: white;
}

#casAccountProfile .mdi {
    vertical-align: baseline;
}

#dashboardTabBar .mdi, .attribute-tab .mdi {
    vertical-align: sub;
    /*padding-right: 1px;*/
}

.ace-editor {
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    font-family: "Monaco", "Menlo", "Ubuntu Mono", "Droid Sans Mono", "Consolas", monospace !important;
}

.ace-absolute {
    position: absolute;
}

.ace-relative {
    position: relative;
    border-radius: 10px;
}

.mdi:before {
    font-size: 20px;
}

/* custom components */

.custom-select {
    display: inline-block;
    min-width: 200px;
    height: 56px;
    padding: .375rem 1.75rem .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: rgba(0, 0, 0, 0.87);
    vertical-align: middle;
    background: #fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right .75rem center/8px 10px;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    -webkit-appearance: none;
}

/* utilities */

.pl-2 {
    padding-left: 0.8rem;
}

.pl-4 {
    padding-left: 1rem;
}

.mr-2 {
    margin-right: 2px !important;
}

.mr-4 {
    margin-right: 4px !important;
}

.mr-8 {
    margin-right: 8px !important;
}

.mr-12 {
    margin-right: 12px !important;
}

.pr-2 {
    padding-right: 0.8rem !important;
}

.pr-3 {
    padding-right: 1rem !important;
}

.pr-4 {
    padding-right: 1.2rem;
}

.pb-2 {
    padding-bottom: 0.8rem;
}

.pb-3 {
    padding-bottom: 1.4rem !important;
}

.bg-primary {
    background-color: rgba(21, 62, 80, 0.2);
    background-color: var(--cas-theme-primary-bg, rgba(21, 62, 80, 0.2));
}

.border-bottom {
    border-color: #153e50;
    border-bottom: 1px solid var(--cas-theme-primary, #153e50);
}

.strong {
    font-weight: bold;
}

.hide {
    display: none;
}

.text-warning {
    color: #e6a210;
    color: var(--cas-theme-warning, #e6a210);
}

.text-danger {
    color: #b00020;
    color: var(--cas-theme-danger, #b00020);
}

.text-secondary, .text-success {
    color: var(--cas-theme-secondary);
}

.text-info {
  color: #17a2b8 !important;
}

.progress-bar-danger .mdc-linear-progress__bar-inner {
    border-color: #b00020;
    border-color: var(--cas-theme-danger, #b00020);
}

.progress-bar-warning .mdc-linear-progress__bar-inner {
    border-color: #e6a210;
    border-color: var(--cas-theme-warning, #e6a210);
}

.progress-bar-success .mdc-linear-progress__bar-inner {
    border-color: var(--cas-theme-success);
}

.word-break-all {
    word-break: break-all;
}

.mdc-text-field {
    border-color: #153e50;
    color: #153e50;
    width: 100%;
    height: 36px;
}
.mdc-text-field>.mdc-text-field__input, .mdc-text-field:not(.mdc-text-field--disabled):not(.mdc-text-field--outlined):not(.mdc-text-field--textarea)>.mdc-text-field__input {
    border-color: #153e50;
    border: 1px solid var(--cas-theme-primary2, #153e50);
    border-radius: 4px;
}

.mdc-input-group {
    display: flex;
    align-items: stretch;
}

.mdc-input-group .mdc-input-group-field {
    flex: 1 1 auto;
    order: 1;
}

.mdc-input-group .mdc-input-group-field .mdc-text-field {
    border-color: #153e50;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.mdc-input-group .mdc-input-group-append {
    order: 2;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.mdc-input-group .mdc-input-group-prepend, .mdc-input-group .mdc-input-group-append {
    height: 36px;
}

.mdc-input-group .mdc-input-group-prepend {
    order: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.mdc-input-group .mdc-input-group-field.mdc-input-group-field-prepend .mdc-text-field>.mdc-text-field__input {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.mdc-input-group .mdc-input-group-field.mdc-input-group-field-append .mdc-text-field>.mdc-text-field__input {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.text-danger, .mdc-text-field:not(.mdc-text-field--disabled) + .mdc-text-field-helper-line .mdc-text-field-helper-text.text-danger {
    color: var(--cas-theme-danger, #58151c);
}

.mdc-text-field__icon.text-danger {
    color: var(--mdc-theme-error, #b00020);
}

.mdc-text-field--focused:not(.mdc-text-field--disabled) .mdc-floating-label {
    color: var(--cas-theme-primary2, #153e50) !important;
}

.button-cancel {
    color: var(--mdc-theme-on-primary, #1f234b) !important;
    background-color: var(--mdc-theme-error, #a20323) !important;
}

.mdc-button--unelevated:not(:disabled) {
    color: var(--cas-theme-primary-light, #1f234b) !important;
}

.mdc-button--raised:not(:disabled) {
    background-color: #1f234b;
}

.mdc-button--raised.mdc-button-twitter:not(:disabled) {
    background-color: #55acee;
    background-color: #1f234b;
}

.mdc-button--raised.mdc-button-vimeo:not(:disabled) {
    background-color: #1ab7ea;
    background-color: var(--cas-theme-vimeo-color, #1ab7ea);
}

.mdc-button--raised.mdc-button-vk:not(:disabled) {
    background-color: #587ea3;
    background-color: var(--cas-theme-vk-color, #587ea3);
}

.mdc-button--raised.mdc-button-yahoo:not(:disabled) {
    background-color: #720e9e;
    background-color: var(--cas-theme-yahoo-color, #720e9e);
}

.mdc-button--raised.mdc-button-google:not(:disabled) {
    background-color: #CC5445;
    background-color: var(--cas-theme-google-color, #CC5445);
}

.mdc-button--raised.mdc-button-facebook:not(:disabled) {
    background-color: #3B5998;
    background-color: var(--cas-theme-facebook-color, #3B5998);
}

.list-unstyled {
    padding-left: 0;
    list-style: none;
}

.text-center {
    text-align: center;
}

.pad-0 {
    padding-right: 0;
    padding-left: 0;
}

.w-66 {
    width: 66%;
}

.w-33 {
    width: 33%;
}

.w-10 {
    width: 10% !important;
}

.w-25 {
    width: 25%;
}

.w-50 {
    width: 50%;
}

.w-75 {
    width: 75%;
}

.w-100 {
    width: 100%;
}

.w-auto {
    width: auto;
}

.h-750px {
    height: 750px;
}

.h-450px {
    height: 450px;
}

.h-350px {
    height: 350px;
}

.h-250px {
    height: 250px;
}

.h-150px {
    height: 150px;
}

.h-25 {
    height: 25%;
}

.h-50 {
    height: 50%;
}

.h-75 {
    height: 75%;
}

.h-100 {
    height: 100%;
}

.h-auto {
    height: auto;
}

.mw-100 {
    max-width: 100% !important;
}

.mw-75 {
    max-width: 75% !important;
}

.mw-50 {
    max-width: 50% !important;
}

.mh-100 {
    max-height: 100%;
}

.min-width-24x {
    min-width: 24px !important;
    width: 24px;
    max-height: 24px !important;
}

.min-width-32x {
    min-width: 32px !important;
    width: 32px;
    max-height: 32px !important;
}

.min-width-48x {
    min-width: 48px !important;
    width: 24px;
}

.mmw-45 {
    min-width: 45%;
    max-width: 45%;
}

.min-vw-100 {
    min-width: 100vw;
}

.min-vh-100 {
    min-height: 100vh;
}

.min-height-60 {
    min-height: 60%;
}

.vw-100 {
    width: 100vw;
}

.vh-100 {
    height: 100vh;
}

.mw-50 {
    max-width: 50%;
}

.mw-25 {
    max-width: 25%;
}

.mw-20 {
    max-width: 20%;
}

.mt-0 {
    margin-top: 0;
}

.mt-2 {
    margin-top: 2px;
}

.mt-4 {
    margin-top: 4px;
}

.mt-auto {
    margin-top: auto;
}

.ml-2 {
    margin-left: 0.5rem;
}
.border-rounded {
    border-color: #153e50;
    border: 1px solid var(--cas-theme-primary, #153e50);
    border-radius: 4px;
}

.border-bottom {
    border-color: #153e50;
    border-bottom: 1px solid var(--cas-theme-primary, #153e50);
}

select.palantir {
    width: 100%;
    height: 48px;
    border-radius: 10px;
    border-color: var(--cas-theme-primary);
    font-family: monospace;
    font-size: 16px;
    padding-left: 7px;
    font-weight: bold;
}

.elevation-surface {
    display: -ms-inline-flexbox;
    display: inline-flex;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    min-height: 100px;
    min-width: 200px;
    margin: 15px;
    -ms-flex-align: center;
    align-items: center;
    border-radius: 50px;
    background-color: #e3e9ec;
}

.swal-overlay {
    background-color: var(--cas-theme-primary-light);
}

@media (max-width: 768px) {
    /* On permet au contenu de droite de scroller horizontalement */
    .flex-grow-1 {
        overflow-x: auto !important;
        display: block !important;
        width: 100%;
    }

    /* On force le tableau à garder une largeur minimum pour rester lisible */
    .mdc-data-table__table {
        min-width: 600px !important;
    }
}

@media all and (min-width: 768px) {
    .w-md-50 {
        width: 50%;
    }

    .w-md-66 {
        width: 66%;
    }
}

@media all and (min-width: 992px) {
    .w-lg-50 {
        width: 50%;
    }

    .w-lg-66 {
        width: 66%;
    }
}

@media all and (max-width: 767.99px) {
    .w-md-50 {
        width: 100%;
    }

    .w-md-66 {
        width: 100%;
    }
}

@media all and (max-width: 991.99px) {
    .w-lg-50 {
        width: 100%;
    }

    .w-lg-66 {
        width: 100%;
    }
}


.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.sr-only-focusable:active, .sr-only-focusable:focus {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    white-space: normal;
}

.text-wrap-pretty {
    text-wrap: pretty;
}

#servicedesc .mdi {
    vertical-align: sub;
}

#fieldsLegend {
    font-size: 14px;
    font-style: italic;
}

.dataTables_wrapper {
    margin-left: 5px;
    margin-top: 5px;
    margin-right: 5px;
}

#heroimg {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.login-providers {
    max-width: 50%;
}

/** jQuery UI **/

.swal2-confirm {
    background-color: var(--cas-theme-button-bg);
}

.mdc-menu-surface {
    /* Largeur automatique basée sur le contenu, mais avec des limites */
    min-width: 300px !important;
    max-width: 95vw !important; /* Ne dépasse jamais l'écran sur mobile */

    /* On s'assure qu'il passe au-dessus de tout */
    z-index: 10000 !important;

    /* Ombre portée pour détacher le popup du fond */
    box-shadow: 0 5px 15px rgba(0,0,0,0.3) !important;
    border-radius: 8px !important;
}

/* Style des éléments de la liste pour qu'ils soient lisibles */
.mdc-list-item {
    height: auto !important;
    padding: 10px 15px !important;
}

.mdc-list-item__text {
    white-space: normal !important; /* Autorise le texte long à passer à la ligne */
    font-size: 0.95rem !important;
}

.mdc-dialog__surface {
    /* Largeur idéale sur grand écran */
    width: 600px !important;

    /* Sécurité : il ne dépassera jamais 90% de la largeur de l'écran */
    max-width: 90vw !important;

    /* On retire le min-width trop grand qui cassait tout */
    min-width: unset !important;

    /* On garde l'overflow visible pour que la liste déroulante ne soit pas coupée */
    overflow: visible !important;
}

/* On s'assure que le contenu interne suit aussi */
.mdc-dialog__content {
    overflow: visible !important;
    padding-bottom: 20px !important; /* Ajoute un peu d'espace en bas */
}

.ui-selectmenu-open {
    background: var(--mdc-theme-background);
}

.ui-tooltip {
    background-color: var(--cas-theme-primary) !important;
    color: whitesmoke;
    min-width: 450px !important;
    max-width: 600px;
}

.ui-tabs-active {
    background: var(--cas-theme-primary) !important;
}

.ui-widget, .ui-widget button {
    font-family: var(--mdc-typography-font-family) !important;
    font-size: unset;
}

.ui-widget-content, .ui-widget-header {
    background: unset;
}

.ui-widget-header {
    border: unset;
}

.ui-tabs .ui-tabs-nav li {
    border-bottom: 1px solid var(--cas-theme-button-bg-lite);
    margin-right: 0.07em;
}

/***************************/


#main-content {
    margin-right: 10px;
    margin-left: 10px;
    margin-top: 2px;
}

main:has(.d-flex > section:only-of-type) {
    max-width: 720px;
}


@media all and (min-width: 768px) {
    .login-section {
        flex: 1 1 500px;
    }
}


/* fix for not showing password reveal icon on MSEdge and MSIE */
.pwd::-ms-reveal,
.pwd::-ms-clear {
    display: none;
}

@media (min-width: 1400px) {
    .container-xxl {
        max-width: 95%;
    }
}

.text-justify {
text-align: justify;
}
/* On définit la barre latérale avec une largeur fixe et propre */
.sidebar-navigation {
    width: 280px;
    background-color: #f8f9fa; /* Un gris très clair pour le fond */
    border-right: 1px solid #dee2e6;
}

.sidebar-navigation ul {
    list-style: none;
    padding: 10px;
    margin: 0;
}

.sidebar-navigation ul li {
    margin-bottom: 8px;
    border-radius: 8px;
    transition: background-color 0.2s;
}

/* Alignement horizontal Icône + Texte */
.sidebar-navigation ul li a {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    text-decoration: none;
    color: #333;
}

/* Reset de l'icône : plus de block, plus de centrage forcé */
.sidebar-navigation ul li i {
    font-size: 1.2rem;
    width: 30px; /* Largeur fixe pour aligner les textes verticalement */
    margin-right: 10px;
    text-align: center;
    color: var(--cas-theme-primary) !important; 
}

/* Transformation du tooltip en texte simple et bien placé */
.sidebar-navigation ul li .tooltip {
    all: unset; /* On reset toutes les propriétés précédentes (absolute, opacity, etc.) */
    display: inline-block !important;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    white-space: normal; /* Autorise le retour à la ligne si le texte est long */
}

/* États au survol et actif */
.sidebar-navigation ul li:hover {
    background-color: #eceff1;
}

.sidebar-navigation ul li.active {
    background-color: var(--cas-theme-primary) !important;
    color: white !important;
}

.sidebar-navigation ul li.active a,
.sidebar-navigation ul li.active i,
.sidebar-navigation ul li.active .tooltip {
    color: #ffffff !important;
}

/*
.sidebar-navigation {
    border-radius: 5px;
    display: inline-block;
    min-height: 100vh;
    width: 80px;
    background-color: var(--mdc-theme-on-primary, #6200ee);
    float: left;
}

#duo_iframe {
    width: 100%;
    min-width: 304px;
    height: 330px;
    border: none;
}

.sidebar-navigation ul li {
    list-style: none;
    padding: 12px 20px;
    cursor: pointer;
    text-align: center;
    transition: all ease-out 120ms;
    border-radius: 10px;
    display: flex;
    align-items: center;
    position: relative;
    margin-bottom: 5px;
}

/*.sidebar-navigation ul li .tooltip {
    display: inline-block;
    position: absolute;
    background-color: #1f234b;
    padding: 8px 15px;
    border-radius: 3px;
    margin-top: 5px;
    left: 170px;
    opacity: 0;
    visibility: hidden;
    font-size: 13px;
    letter-spacing: 0.5px;
    z-index: 100;
}

.sidebar-navigation ul li .tooltip:before {
    content: "";
    display: block;
    position: absolute;
    left: -4px;
    top: 5px;
    transform: rotate(45deg);
    width: 10px;
    height: 10px;
    background-color: inherit;
}
*/

/*
.sidebar-navigation ul li:hover {
    background-color: deepskyblue;
}

.sidebar-navigation ul li:hover .tooltip {
    visibility: visible;
    opacity: 1;
}

/** Notyf Options **/
.notyf__toast {
    max-width: 50em !important;
    .notyf__ripple {
        height: 60em;
        width: 60em;
    }
}

.nodeLabel,.edgeLabel {
    font-family: Monaco, monospace !important;
}
foreignObject {
    border-radius: 5px;
}

pre code.hljs {
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.9);
}

.fade-in {
    animation: appear 0.4s ease-in-out forwards;
}

#serviceui {
    background-color: #17a3b844;
    border-radius: 4px;

@keyframes appear { 
    0%   { opacity: 0;   filter: blur(20px); }
    50%  { opacity: 0.5; filter: blur(10px); }
    100% { opacity: 1;   filter: blur(0);   }
}
