﻿
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
}

.DDLPrestataire {
    z-index: 9999999 !important;
}

.TF caption {
    caption-side: top;
}

input[type="text"][readonly],
input[type="number"][readonly],
input[type="email"][readonly],
input[type="search"][readonly],
input[type="password"][readonly],
input[type="tel"][readonly],
input[type="url"][readonly],
input[type="date"][readonly],
input[type="datetime-local"][readonly],
input[type="month"][readonly],
input[type="week"][readonly],
input[type="time"][readonly],
input[type="range"][readonly],
input[type="color"][readonly] {
    background-color: #ebebeb !important;
    color: #6c757d !important;
    cursor: not-allowed !important;
}


input:disabled,
select:disabled,
textarea:disabled {
    cursor: not-allowed;
}

.caret {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 2px;
    vertical-align: middle;
    border-top: 4px dashed;
    border-top: 4px solid \9;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
}

.caretPerso {
    border-top-color: #ffffff; /* Couleur de la flèche */
}



/* Pour les navigateurs WebKit (Safari, Chrome, etc.) */
/*input[type="number"].notarrow::-webkit-inner-spin-button,
input[type="number"].notarrow::-webkit-outer-spin-button {
    -webkit-appearance: none !important;
    margin: 0;
}*/

/* Pour Firefox */
/*input[type="number"].notarrow {
    -moz-appearance: textfield !important;
}*/

.iti__flag {
    background-image: url("path/to/flags.png");
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .iti__flag {
        background-image: url("path/to/flags@2x.png");
    }
}

.textHidden {
    display: none;
    position: absolute;
    z-index: 1;
    background-color: white;
    border: 1px solid #ddd;
    padding: 10px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
}

.triggerShowTextHidden:hover .textHidden {
    display: block;
}

.scrollable-card {
    height: 500px;
    overflow-y: scroll;
    overflow-x: scroll;
    width: 100%;
}

.scrollable {
    overflow-y: scroll;
    width: 100%;
}

.fullScreenScrollable-card {

    max-height: 80vh;
    overflow: scroll;
    width: 97vw;
}


 label.form-label {
     margin-bottom: 0.5rem; /* Ajustez cette valeur selon vos besoins */
 }

/* Switch Primary (bleu clair) */
.switch-primary .form-check-input:checked {
    background-color: #446e9b; /* Bleu clair */
    border-color: #446e9b;
}

/* Switch Secondary (gris clair) */
.switch-secondary .form-check-input:checked {
    background-color: #868e96; /* Gris clair */
    border-color: #868e96;
}

/* Switch Success (vert) */
.switch-success .form-check-input:checked {
    background-color: #39ac20; /* Vert clair */
    border-color: #39ac20;
}

/* Switch Danger (rouge) */
.switch-danger .form-check-input:checked {
    background-color: #d9534f; /* Rouge */
    border-color: #d9534f;
}

/* Switch Warning (jaune doré) */
.switch-warning .form-check-input:checked {
    background-color: #da8b2a; /* Jaune doré */
    border-color: #da8b2a;
}

/* Switch Info (cyan) */
.switch-info .form-check-input:checked {
    background-color: #5bc0de; /* Cyan */
    border-color: #5bc0de;
}

/* Switch Light (blanc) */
.switch-light .form-check-input:checked {
    background-color: #f8f9fa; /* Blanc grisâtre */
    border-color: #f8f9fa;
    box-shadow: none;
}

/* Switch Dark (gris foncé) */
.switch-dark .form-check-input:checked {
    background-color: #495057; /* Gris foncé */
    border-color: #495057;
}
.table-danger-2 {
    background-color: #f6b3ba !important; /* Rouge moyen */
}
.table-danger-3 {
    background-color: #cc0000 !important; /* Rouge foncé */
}
.table-danger-4      {
    background-color: #ff8a22 !important;
}
.table-success-2       {
    background-color: #7eaf8a !important;
}

/* Modale « Aide à la recherche » : quasi plein écran (jquery-confirm) */
.jconfirm-holder:has(.jconfirm-box-container.aide-recherche-jconfirm) {
    padding: 0.5rem 0;
}

@media (min-width: 576px) {
    .jconfirm-holder:has(.jconfirm-box-container.aide-recherche-jconfirm) {
        padding: 0.75rem 0.5rem;
    }
}

.jconfirm-holder:has(.jconfirm-box-container.aide-recherche-jconfirm) > .container-fluid {
    max-width: 100%;
    --bs-gutter-x: 0.5rem;
}

.jconfirm .jconfirm-box-container.aide-recherche-jconfirm .jconfirm-box .jconfirm-content-pane {
    max-height: calc(100vh - 9.5rem) !important;
}

/* Modernisation globale des cards, avec option d'exclusion */
.card:not(.card-no-modern) {
    border-radius: 0.75rem;
    border-color: #dde3ea;
    box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.card:not(.card-no-modern) > .card-header:first-child {
    border-top-left-radius: 0.75rem;
    border-top-right-radius: 0.75rem;
}

.card:not(.card-no-modern) > .card-footer:last-child {
    border-bottom-left-radius: 0.75rem;
    border-bottom-right-radius: 0.75rem;
}

