@media (min-width: 1600px) {
    .col-xxxl-1 { width: 8.3333%; }
    .col-xxxl-2 { width: 16.6667%; }
    .col-xxxl-3 { width: 25%; }
    .col-xxxl-4 { width: 33.3333%; }
    .col-xxxl-6 { width: 50%; }
    .col-xxxl-12 { width: 100%; }
}

@media (min-width: 1920px) {
    .col-ultra-3 { width: 25%; }
    .col-ultra-4 { width: 33.3333%; }
    .col-ultra-6 { width: 50%; }
}

@media (min-width: 2560px) {
    .col-4k-2 { width: 16.6667%; }
    .col-4k-3 { width: 25%; }
    .col-4k-4 { width: 33.3333%; }
}

.text-red {color:#e10b13!important;}
.text-blue {color:#4bc2f1!important;}
.text-green {color:#8dc045!important;}
.text-purple {color:#9a4996!important;}
.text-orange {color:#fcc04a!important;}
.text-pink { color: #e83e8c !important; }       /* Rose vif */
.text-teal { color: #20c997 !important; }       /* Vert menthe doux */
.text-cyan { color: #17a2b8 !important; }        /* Bleu-vert */
.text-yellow { color: #ffc107 !important; }     /* Jaune doux */
.text-indigo { color: #6610f2 !important; }     /* Bleu indigo intense */
.text-gray { color: #6c757d !important; }       /* Gris neutre */
.text-brown { color: #795548 !important; }      /* Brun/chocolat */
.text-lime { color: #cddc39 !important; }       /* Vert citron */
.text-amber { color: #ffb300 !important; }      /* Jaune orangé (style Material Design) */
.text-navy { color: #001f3f !important; }       /* Bleu marine foncé */
.bg-red {background-color:#e10b13!important;}
.bg-blue {background-color:#4bc2f1!important;}
.bg-green {background-color:#8dc045!important;}
.bg-purple {background-color:#9a4996!important;}
.bg-orange {background-color:#fcc04a!important;}
.bg-pink { background-color: #e83e8c !important; }       /* Rose vif */
.bg-teal { background-color: #20c997 !important; }       /* Vert menthe doux */
.bg-cyan { background-color: #17a2b8 !important; }        /* Bleu-vert */
.bg-yellow { background-color: #ffc107 !important; }     /* Jaune doux */
.bg-indigo { background-color: #6610f2 !important; }     /* Bleu indigo intense */
.bg-gray { background-color: #6c757d !important; }       /* Gris neutre */
.bg-brown { background-color: #795548 !important; }      /* Brun/chocolat */
.bg-lime { background-color: #cddc39 !important; }       /* Vert citron */
.bg-amber { background-color: #ffb300 !important; }      /* Jaune orangé (style Material Design) */
.bg-navy { background-color: #001f3f !important; }       /* Bleu marine foncé */

.password-toggle {
    position: absolute;
    right: 10px;
    top: 50%!important;
    transform: translateY(-50%);
    cursor: pointer;
    color: #6b7280; /* Gris tailwind */
}

.password-toggle:hover {
    color: #374151; /* Gris plus foncé au survol */
}
.totp-input {
    width: 3rem; /* Largeur de chaque case */
    height: 3rem; /* Hauteur de chaque case */
    text-align: center;
    font-size: 1.5rem; /* Taille du texte */
    font-weight: bold;
    border: 2px solid #d1d5db; /* Gris clair */
    border-radius: 8px;
    outline: none;
    transition: all 0.2s ease-in-out;
    background-color: white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.totp-input:focus {
    border-color: #e10b13;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
}

.totp-input::-webkit-outer-spin-button,
.totp-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.totp-input[type="number"] {
    -moz-appearance: textfield; /* Désactiver les flèches pour Firefox */
}


.menu--item__has_sub_menu .menu--link::after {
    font-family: 'Font Awesome 6 Pro';
    content: "\f0d7";
    font-weight: 900;
}
.logo {max-height:60px;}
/* Assure que le conteneur prend toute la hauteur de la fenêtre */
.iframecontainer {
    width: 100%;
    height: 100vh; /* 100% de la hauteur de la fenêtre */
    display: flex;
    flex-direction: column;
}

/* L'iframe prend toute la place disponible */
.iframecontainer iframe {
    flex-grow: 1; /* Remplit l'espace disponible */
    width: 100%;
    height: 100%;
    border: 0;
}

.menu_left ul {padding:0;}

.section3125 {
    display: flex;
    flex-wrap: nowrap;
}

.btn-primary {
    white-space: nowrap; /* Empêche le passage à la ligne */
}
.breadcrumb.wizard-pages {background-color: #cce2ff;color: #000000;}
.breadcrumb.wizard-pages li {border-right: 1px solid white;}
.breadcrumb.wizard-pages .badge {color: #000000;}

.badge.smallbadge {
    font-size: 0.6rem;line-height: 0.6rem;
    position: relative;
    top: -0.5rem;
}

.badge.badge-success{
    background-color: #8dc045;
}
.badge.badge-danger{
    background-color: #e10b13;
}
.badge.badge-warning{
    background-color: #fcc04a;
}
.badge.badge-info{
    background-color: #4bc2f1;
}
.badge.badge-primary{
    background-color: #9a4996;
}
.badge.badge-secondary{
    background-color: #6b7280;
}
.badge.badge-light{
    background-color: #f3f4f6;
}
.badge.badge-dark{
    background-color: #1f2937;
}

.input-group-text {
    background: transparent;
    border-right: none;
    color: gray;
}

.dz-custom {
    border: 2px dashed #007bff;
    background: #f8f9fa;
    border-radius: 10px;
    text-align: center;
    padding: 20px;
    min-height: 150px;
}

.dz-custom .dz-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #007bff;
    font-weight: bold;
}

.dz-custom:hover {
    background: #e9ecef;
    border-color: #0056b3;
}

.dz-custom .dz-message i {
    margin-bottom: 5px;
}

.breadcrumb.wizard-pages .badge {
    font-size:10px;
    padding:6px;
    color:white;
    border:0;
}
.breadcrumb.wizard-pages .badge-info {
    background-color:#555;
}
.breadcrumb.wizard-pages .badge-primary {
    background-color: #e10b13;
}
.breadcrumb.wizard-pages .badge-success {
    background-color: #8dc045;
}
.hrdiv {
    white-space: nowrap; /* Empêche le retour à la ligne */
}
.hrdiv:hover {
    background-color: #f8f9fa; /* Gris plus foncé au survol */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15); /* Ombre légère */
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}
.fcrse_1 {
    float:unset!important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    background: #fff;
    transition: 0.3s ease-in-out;
}

.fcrse_img img {
    width: 100%;
    height: 180px; /* Hauteur fixe pour les images */
    object-fit: cover; /* Assure un bon cadrage sans déformation */
    border-radius: 8px;
}

.fcrse_content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.crse14s {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-top: 8px;
}

p.form-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    min-height: 40px; /* Fixe une hauteur minimale pour éviter les variations */
}
/* Garde toutes les cartes de la même hauteur */
.listforms > div {
    display: flex;
}
.fcrse_1 {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.modal-fullscreen-custom {
    max-width: 90vw;  /* Largeur max à 90% de l'écran */
    height: 90vh;      /* Hauteur max à 90% de l'écran */
    margin: auto auto;
}

.modal-fullscreen-custom .modal-content {
    height: 100%; /* Remplit toute la hauteur de la modale */
    width: 100%;
}

.modal-fullscreen-custom .modal-body {
    overflow-y: auto; /* Active le scroll si le contenu est trop grand */
}

.formio-wizard-nav-container.list-inline {margin-top:16px;}

.badge-color {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px #ccc;
    cursor: pointer;
    transition: transform 0.2s;
}

.badge-color:hover {
    transform: scale(1.1);
}

.badge-color.selected {
    box-shadow: 0 0 0 3px #000;
}

.tdcountry img {width:20px;}
.accountname {font-size:12px;font-weight: lighter;}
.tableaccounts td {padding:1rem!important;}

.fcrse_img {
    position: relative;
    display: inline-block;
    overflow: hidden;
}

.badge-new {
    position: absolute;
    top: 12px;
    left: -34px;
    background-color: #8dc045;
    color: white;
    padding: 2px 40px;
    transform: rotate(-45deg);
    z-index: 2;
    font-size: 12px;
    font-weight: bold;
    box-shadow: 0px 2px 5px rgba(0,0,0,0.3);
}
.badge-top {
     position: absolute;
     top: 12px;
     left: -34px;
     background-color: #e10b13;
     color: white;
     padding: 2px 40px;
     transform: rotate(-45deg);
     z-index: 2;
     font-size: 12px;
     font-weight: bold;
     box-shadow: 0px 2px 5px rgba(0,0,0,0.3);
 }
/* on inverse lme badge pour le storage*/
.badge-storage {
    position: absolute;
    top: 12px;
    right: -34px;
    color: white;
    padding: 2px 40px;
    transform: rotate(45deg);
    z-index: 2;
    font-size: 12px;
    font-weight: bold;
    box-shadow: 0px 2px 5px rgba(0,0,0,0.3);
}
.badge-storage-1 {background-color: #8dc045!important;}
.badge-storage-2 {background-color: #fcc04a!important;}
.badge-storage-3 {background-color: #9a4996!important;}
.badge-storage-4 {background-color: #e10b13!important;}
.badge-storage-5 {background-color: #6b7280!important;}
.badge-storage-6 {background-color: #f3f4f6!important;color:#555!important;}
.badge-storage-7 {background-color: #1f2937!important;}
.badge-storage-8 {background-color: #795548!important;}
.badge-storage-9 {background-color: #cddc39!important;}
.badge-storage-10 {background-color: #ffb300!important;}
.badge-storage-11 {background-color: #001f3f!important;}
.badge-storage-12 {background-color: #e83e8c!important;}
.badge-storage-13 {background-color: #20c997!important;}
.badge-storage-14 {background-color: #17a2b8!important;}
.badge-storage-15 {background-color: #ffc107!important;}
.badge-storage-16 {background-color: #6610f2!important;}
.badge-storage-17 {background-color: #6c757d!important;}
.badge-storage-18 {background-color: #795548!important;}
.badge-storage-19 {background-color: #cddc39!important;}
.badge-storage-20 {background-color: #ffb300!important;}
/*add an outline to the active badge*/

/* on inverse lme badge pour le storage*/
.badge-target {
    position: absolute;
    top: 36px;
    right: -30px;
    color: white;
    padding: 2px 40px;
    transform: rotate(45deg);
    z-index: 2;
    font-size: 12px;
    font-weight: bold;
    box-shadow: 0px 2px 5px rgba(0,0,0,0.3);
}

.badge-lg {
    font-size: 0.9rem;
    padding: 0.6em 1.2em;
    border-radius: 1em;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease-in-out;
}

.badge-lg:hover {
    transform: scale(1.05);
    opacity: 0.95;
    cursor: pointer;
}
.listformcategories .badge.active {
    outline-style: solid;
    outline-width: 4px;
}
.listformcategories .badge.active.bg-secondary { outline-color: rgba(108, 117, 125, 0.4) !important; }
.listformcategories .badge.active.bg-red { outline-color: rgba(225, 11, 19, 0.4) !important; }
.listformcategories .badge.active.bg-orange { outline-color: rgba(249, 162, 63, 0.4) !important; }
.listformcategories .badge.active.bg-blue { outline-color: rgba(4, 126, 223, 0.4) !important; }
.listformcategories .badge.active.bg-green { outline-color: rgba(7, 205, 174, 0.4) !important; }
.listformcategories .badge.active.bg-purple { outline-color: rgba(154, 73, 150, 0.4) !important; }
.listformcategories .badge.active.bg-pink { outline-color: rgba(232, 62, 140, 0.4) !important; }
.listformcategories .badge.active.bg-teal { outline-color: rgba(32, 201, 151, 0.4) !important; }
.listformcategories .badge.active.bg-cyan { outline-color: rgba(23, 162, 184, 0.4) !important; }
.listformcategories .badge.active.bg-yellow { outline-color: rgba(255, 193, 7, 0.4) !important; }
.listformcategories .badge.active.bg-indigo { outline-color: rgba(102, 16, 242, 0.4) !important; }
.listformcategories .badge.active.bg-gray { outline-color: rgba(108, 117, 125, 0.4) !important; }
.listformcategories .badge.active.bg-brown { outline-color: rgba(121, 85, 72, 0.4) !important; }
.listformcategories .badge.active.bg-lime { outline-color: rgba(205, 220, 57, 0.4) !important; }
.listformcategories .badge.active.bg-amber { outline-color: rgba(255, 179, 0, 0.4) !important; }
.listformcategories .badge.active.bg-navy { outline-color: rgba(0, 31, 63, 0.4) !important; }
.setting_tabs a{color:black!important;}

.ui.input i.fa-solid, .ui.input i.fa-light, .ui.input i.fa-thin {
    /*color: #999;*/
    position: absolute;
    left: 10px;
    top: 18px;
    transform: translateY(-50%);
    z-index: 2;
}
.containerFormTitle {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}
.badge-forms-number {
    margin-left: 4px;
    font-size: 10px;
    padding: 0 3px 0 3px;
    line-height: 14px;
    position: absolute;
    top:-7px;
    right:-3px;
    outline-style: solid;
    outline-width: 1px;
}

#open-docs {
    display:none;
}

#docs-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 75%;
    height: 100%;
    background-color: #fff;
    box-shadow: -2px 0 8px rgba(0,0,0,0.2);
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 9999; /* Passe devant le contenu */
    overflow-y: auto; /* Pour scroller si besoin */
    padding: 1rem;
}
/* Quand on veut afficher le panneau, on retire le translateX(100%) */
#docs-panel.open {
    transform: translateX(0);
}

/* Un bouton vertical à droite, optionnel */
.btn-docs-vertical {
    writing-mode: vertical-rl; /* Oriente le texte verticalement */
    text-orientation: mixed;
    position: fixed;
    top: 30%;
    right: 0;
    transform: translateY(-50%);
    background-color: #0d6efd;
    color: #fff;
    padding: 0.5rem;
    border-radius: 0.5rem 0 0 0.5rem;
    cursor: pointer;
    /* Ajustez selon vos goûts */
}
#accountDropdown {position:relative;}
#accountDropdown::after {
    position: absolute;
    color:#999;
    margin:0;
    vertical-align: center;
    top:25px;
    right:2px;
}


/* Zone d’édition (contenu editable) */
.trumbowyg-box {
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.5;
}

.trumbowyg-editor {
    min-height: 150px;
    padding: 12px;
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.5;
    color: #333;
}
.trumbowyg-editor {
    text-align: initial;
}

/* Bold, Italic, Underline */
.trumbowyg-editor strong,
.trumbowyg-editor b {
    font-weight: bold !important;
}

.trumbowyg-editor em,
.trumbowyg-editor i {
    font-style: italic !important;
}

.trumbowyg-editor u {
    text-decoration: underline !important;
}

/* Listes */
.trumbowyg-editor ul,
.trumbowyg-editor ol {
    padding-left: 2em;
    margin: 1em 0;
}

.trumbowyg-editor li {
    margin-bottom: 0.5em;
}

/* Liens */
.trumbowyg-editor a {
    color: #1d4ed8; /* tailwind blue-700 */
    text-decoration: underline;
}

.trumbowyg-editor a:hover {
    color: #2563eb; /* tailwind blue-600 */
}

/* Placeholder style */
.trumbowyg-editor:empty:before {
    content: attr(placeholder);
    color: #aaa;
}

/* Focus visuel */
.trumbowyg-box.trumbowyg-editor-visible:focus-within {
    border-color: #60a5fa; /* tailwind blue-400 */
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.25);
    outline: none;
}

/* Fix conflit avec Tailwind button reset éventuel */
.trumbowyg-button-pane button {
    font-family: inherit;
    font-size: 14px;
}

/* Boutons actifs dans la toolbar */
.trumbowyg-button-pane .trumbowyg-active {
    background-color: #e5e7eb; /* tailwind gray-200 */
}

/* Toolbar overflow */
.trumbowyg-button-pane {
    flex-wrap: wrap;
}

/* Scroll sur les très longs contenus */
.trumbowyg-editor {
    overflow-y: auto;
}
.trumbowyg-box {
    min-height:200px;
}

/* Responsive max height */
@media (max-width: 768px) {
    .trumbowyg-editor {
        min-height: 100px;
    }
}
/* Image elle-même */
/* Conteneur Dropzone */
.dropzone.dz-custom {
    border: 2px dashed #ced4da;
    border-radius: 8px;
    padding: 20px;
    background: #f8f9fa;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Message Dropzone */
.dropzone.dz-custom .dz-message {
    text-align: center;
    color: #6c757d;
    font-size: 16px;
}

/* Conteneur de l'image */
.dropzone.dz-custom .dz-image {
    width: 100%;
    max-width: 200px; /* Ajustez selon vos besoins */
    height: auto;
    overflow: visible; /* Éviter de couper l'image */
    margin: 0 auto;
}

/* Image elle-même */
.dropzone.dz-custom img[data-dz-thumbnail] {
    width: 100%;
    height: auto; /* Maintenir les proportions */
    object-fit: contain; /* Afficher l'image en entier */
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Conteneur de la prévisualisation */
.dropzone.dz-custom .dz-preview {
    margin: 10px;
    position: relative;
    width: 100%;
    max-width: 200px; /* Ajustez selon vos besoins */
}

/* Lien de suppression */
.dropzone.dz-custom .dz-remove {
    position: absolute;
    z-index: 100;
    top: -10px;
    right: -10px;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    font-size: 12px;
    text-decoration: none;
    font-family: 'Font Awesome 6 Pro';
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Cacher le message quand une image est présente */
.dropzone.dz-custom.dz-started .dz-message {
    display: none;
}

.translation-btn-textarea {position: absolute;z-index:100;background-color:white;top: 0;right: 0;height: 100%;border-top-left-radius: 0;border-bottom-left-radius: 0;display: flex;align-items: center;justify-content: center;padding-left: 0.75rem;padding-right: 0.75rem;}
.swal-wide { width: 800px !important; }
.lang-badge{position:relative;width: 16px;height: 16px;}

/* Select2 styles */
/*.select2-container .select2-selection--multiple {
    min-height: 38px;
    border: 1px solid #ced4da;
    border-radius: 4px;
}
.select2-container .select2-selection--multiple .select2-selection__rendered {
    padding: 2px 8px;
}
.select2-container .select2-selection--multiple .select2-selection__choice {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 2px 8px;
    margin: 2px;
}
.select2-container .select2-selection--multiple .select2-selection__choice__remove {
    color: white;
    margin-right: 5px;
}*/
