﻿@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap');

@font-face {
    font-family: 'Aptos';
    src: url('fonts/Aptos.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}


html {
    height: 100%;
    position: relative;
    min-height: 100%;
}

body {
    /*  font-size: .85em;*/
    /*font-family: "";*/
    font-family: 'Calibri', sans-serif;
    margin: 0;
    padding: 0;
    text-align: -webkit-center;
    background-color: lightgray;
    height: 100%;
}

.zoneHeader {
}

.navbar-brand {
    display: none;
}

.navbar-nav .dropdown-menu {
    margin-top: 11px;
    padding: 0px;
}

.fixed-top {
    right: auto;
    left: auto;
    max-width: 1280px;
    width: 100%;
    justify-self: center;
}

.dropdown-menu a:hover {
    text-decoration: none;
    background: rgba(255,255,255,0.2);
}

.dropdown-item:focus, .dropdown-item:hover {
    background: rgba(255,255,255,0.2);
}

.dropdown-menu {
    background-color: #b1e7f7;
    border-color: black;
    border-radius: unset;
}

.menu-icon:hover {
    transform: scale(1.06);
}

#logo {
    width: 220px;
    height: 40px;
}

#logoClient {
    position: relative;
    top: 60px;
    width: 100%;
    object-fit: contain;
    margin-top: 10px;
}

a {
    text-decoration: none;
}

    a:visited, a:active, a:hover {
        text-decoration: underline;
        cursor: pointer;
    }

header, footer, hgroup, nav, section {
    display: block;
}

.float-left {
    float: left;
}

.float-right {
    float: right;
}

h1 {
    font-size: 2.4em;
}

h2 {
    font-size: 2.15em;
}

h3 {
    font-size: 1.55em;
}

h4 {
    font-size: 1.3em;
}

h5 {
    font-size: 1em;
}

h6 {
    font-size: 0.9em;
}

h5 a:link, h5 a:visited, h5 a:active {
    padding: 0;
    text-decoration: none;
}

label {
    /*        display: block;
        font-size: 1.1em;
        font-weight: 400;
        white-space: nowrap;*/
}

.form-check-input {
    border-color: #949494;
    margin-top: 5px;
}

.form-label {
    margin-bottom: 0.1rem;
}

.form-control {
    padding: 0.375rem 0.475rem;
}

.form-select {
    padding: .375rem 2.25rem .375rem .45rem;
}

.select2-container--default .select2-results > .select2-results__options {
    text-align: left;
}

.datepicker {
    min-width: 100px;
    max-width: 100px;
}

.timepicker {
    max-width: 56px;
}

/*label.bold {
    font-size: 1.2em;
    font-weight: 500;
}
*/
/*span {
    font-size: 1.1em;
    font-weight: 400;
    padding-bottom: 3px;
}

    span.bold {
        font-size: 1.2em;
        font-weight: 500;
    }*/

.btn {
    font-size: 16px;
    min-width: 108px;
    padding: 10px 24px;
    border-radius: 8px;
    border: none;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.btn-light-blue {
    background-color: #4d8dc4;
    color: #ffffff
}

    .btn-light-blue:hover {
        background-color: #286ca6;
        color: #ffffff
    }

.icone-normal {
    width: 20px;
}

.icone-gros {
    width: 26px;
}

.accordion-button.collapsed::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button {
    background-color: #77767b59;
    color: black;
    font-size: 1em;
    font-weight: 600;
    border-width: 1px;
    border-color: slategrey;
    border-style: solid;
    /*border-bottom: 0px;*/
    padding: 12px;
}

.accordion-item {
    border: none;
}

.accordion-header:hover {
    background-color: #77767b59;
}

.accordion-collapse {
    transition: all .5s ease-in-out;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: black
}

.accordion-button:not(.collapsed) {
    background-color: #77767b59;
    color: black;
    box-shadow: none;
}

.accordion-body {
    padding-top: 30px;
    padding-bottom: 30px;
    padding-left: 0px;
    padding-right: 0px;
}

.navbar-brand {
    font-size: inherit;
}

.nav-item {
    padding-right: 10px
}

.invalid-feedback {
    color: #f8384a;
    margin-top: 0;
}

/* BACKEND
    ----------------------------------------------------------*/
.zoneEcran {
}

.entete {
    display: flex;
    justify-content: center;
    max-width: 1280px;
    background-color: white;
}

.navbar-top {
    max-width: 1280px;
    background-color: #c7ecf7;
    border-style: solid;
    border-width: 1px;
    border-top: 0;
    border-right: 0px;
    border-left: 0px;
    width: 100%;
    position: fixed;
    z-index: 199;
    padding-top: 5px;
    padding-bottom: 5px;
}

    .navbar-top.client {
        padding-top: 10px;
        padding-bottom: 10px;
    }

.navbar ul a.icon {
    margin-left: 80px;
    margin-right: 10px;
}

.navbar ul a i {
    padding: 7px;
    margin-left: 5px;
    background-color: var(--main-grey-color);
    border-radius: 50px;
}

.dropdown-item.active, .dropdown-item:active {
    color: var(--main-text-color);
}

.dropdown-item {
    display: inline-flex;
    padding-left: 10px;
}

.menuLi:hover {
    background-color: var(--main-color-light);
}

ul.dropdown-menu {
    top: 34px !important;
    right: -12px !important;
    padding: 0;
    width: fit-content;
}

ul.dropdown-menu.app-client {
    top: 48px !important;
    right: -12px !important;
    padding: 0;
    width: fit-content;
}


.menu-container {
    flex-direction: row-reverse;
}

.nav-link {
    width: fit-content;
}

dropdown-menu li {
    height: 45px
}

.menuLi {
    height: 60px;
}

.menuLi .dropdown-item {
    height: 60px;
}

.menu-top {
    align-items: center;
}

.nav-item {
    display: flex;
    padding-left: 0px;
    padding-right: 30px;
}

.nav-link:hover {
    color: #6b6a6a;
    text-decoration: none;
}

#navbarBottomDossier {
    background-color: #c7ecf7;
    padding: 10px;
    border-style: solid;
    border-width: 1px;
    border-bottom: 0;
    border-right: 0px;
    border-left: 0px;
    right: auto;
    left: auto;
    width: 100%;
    max-width: 1280px;
}

.zoneMenu {
    padding-top: 70px;
    width: 200px;
    max-width: 200px;
    background: #dcdcdc8a
}

#menuDroite {
    width: 180px;
    background-color: #f4f4f4;
    height: 100%;
    padding-top: 15px;
    position: fixed;
    top: 50px;
    margin-left: -20px;
}

.menuGaucheItem {
    border-bottom-width: 2px;
    border-bottom-style: solid;
    border-color: darkgrey;
}

.menuAppClient.selected {
    background-color: rgba(255, 255, 255, 0.2);
    border-bottom: 3px solid white;
}

.sectionResume {
    scroll-margin-top: 100px;
}

.zoneGenerale {
    background-color: white;
    text-align: left;
    max-width: 1280px;
    padding-top: 90px;
    padding-left: 20px;
    padding-right: 20px;
    margin-bottom: 10px;
    min-height: 100%;
}

.flex {
    display: flex;
}

.texte {
    /*white-space: pre-wrap;*/
}

.champTexte {
    margin-bottom: 1rem;
    padding: 0.3rem;
}

.section {
    background-color: #77767b12;
    padding-top: 30px;
    padding-bottom: 25px;
    padding-left: 20px;
    padding-right: 20px;
    margin-bottom: 15px;
    border-width: 1px;
    border-color: slategrey;
    border-style: solid;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
}

.sous-section {
    border-radius: 10px;
}

.titre-tableau {
    padding-bottom: 12px;
    font-size: 1.8em;
    text-align: center;
    margin-bottom: 25px;
}

.ligneBouton {
    margin-bottom: -10px;
}

.btn-blue, .btn-default, .btn-default:hover, .btn-blue:hover, .btn-gris, .btn-gris:hover {
    color: #fff !important;
    display: inline-block;
    margin-left: 15px;
}

.btn-default {
    background-color: #f5f5f5;
    color: #333333 !important;
}

    .btn-default:hover {
        background-color: #e5e5e5;
        color: #333333 !important;
        text-decoration: none;
        border-color: #e5e5e5;
    }

.btn-blue {
    background-color: #2478ff;
}

    .btn-blue:hover {
        background-color: #488eff;
        text-decoration: none;
        border-color: #488eff;
    }
.btn-secondary {
    background-color: #7f868d;
}

.btn-gris {
    background-color: #77767b59;
    color: #333333 !important;
    border-color: black;
}

.btn-court {
    width: 130px;
}

.btn-gris:hover {
    background-color: #d6d5d5;
    color: #333333 !important;
    text-decoration: none;
}

.btn:focus {
    outline: none;
}

fieldset {
    border-width: thin;
    border-style: solid;
    background-color: #f7f7f7;
    padding: 12px;
}

    fieldset legend {
        font-weight: 500;
        font-size: 1.4rem;
        margin-right: 30px;
    }

.ligneTableau {
    background: #77767b24 !important;
}

    .ligneTableau:nth-of-type(odd) {
        background: #77767b14 !important;
    }

thead {
    background: #77767b59;
}

table thead th, table tbody th {
    font-weight: 600;
    font-size: 0.95em;
    vertical-align: middle;
    border-color: #dee2e6;
}

th a {
    font-weight: 600 !important;
    font-size: 0.9em !important;
}

table td {
    vertical-align: middle;
    border-color: #dee2e6;
}

table.dataTable thead th, table.dataTable tbody th, table.dataTable tbody td {
    font-size: 0.90em;
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 3px;
    padding-bottom: 3px;
}

p {
    margin-bottom: 0rem;
}

table.no-footer {
    border-bottom: 0px !important;
    border-style: none;
}

.col-center {
    text-align: center !important;
}

td.details-control {
    background: url('../images/green-plus.png') no-repeat center center;
    background-size: 20px;
    cursor: pointer;
    width: 15px;
}

tr.shown td.details-control {
    background: url('../images/red-minus.png') no-repeat center center;
    background-size: 20px;
    cursor: pointer;
    width: 15px;
}

.print-visible-only {
    display: none;
}

#divConnexion {
    text-align: center;
}

#ui-datepicker-div {
    z-index: 99999 !important;
}

.bi-eye-slash {
    cursor: pointer;
    position: absolute;
    align-content: center;
    margin-right: 9px;
    height: auto;
}

.modal-header {
    background-color: #c7ecf7;
}

#popupOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5); /* fond semi-transparent */
    z-index: 1098; /* en dessous du popup */
    display: none;
}

/* POPUP PAIEMENT AUTHORIZE */
#divAuthorizeNetPopup {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1099;
    max-height: 100vh;
    opacity: 0;
}

    #divAuthorizeNetPopup.show {
        opacity: 1;
    }

.AuthorizeNetPopupGrayFrameTheme .AuthorizeNetPopupOuter {
    background-color: #dddddd;
    border-width: 1px;
    border-style: solid;
    border-color: #a0a0a0 #909090 #909090 #a0a0a0;
    padding: 4px;
}

.AuthorizeNetPopupGrayFrameTheme .AuthorizeNetPopupTop {
    height: 23px;
}

.AuthorizeNetPopupGrayFrameTheme .AuthorizeNetPopupClose {
    position: absolute;
    right: 7px;
    top: 7px;
}

.AuthorizeNetPopupGrayFrameTheme .AuthorizeNetPopupClose a {
    background-repeat: no-repeat;
    height: 16px;
    width: 16px;
    display: inline-block;
}

.AuthorizeNetPopupGrayFrameTheme .AuthorizeNetPopupInner {
    background-color: #ffffff;
    border-width: 2px;
    border-style: solid;
    border-color: #cfcfcf #ebebeb #ebebeb #cfcfcf;
}

.AuthorizeNetPopupSimpleTheme .AuthorizeNetPopupOuter {
    border: 1px solid #585858;
    background-color: #ffffff;
}

#iframeAuthorizeNet {
    width: 350px;
    height: 85vh;
    border: none;
}

#calendar {
    width: 100%;
    max-width: 400px;
    margin: auto;
}


.fc-day-selected {
    background-color: #16ca16 !important;
}

.fc-day-today {
    background-color: transparent !important;
}

.fc .fc-daygrid-day-number {
    color: var(--noir)
}

.fc .fc-daygrid-body-unbalanced .fc-daygrid-day-events {
    min-height: 0em;
}

.fc-daygrid-day {
    cursor: pointer;
}

.fc .fc-col-header-cell-cushion {
    padding: 10px 4px;
}

.fc .fc-scrollgrid {
    border-collapse: collapse;
}

.fc-toolbar-title {
    font-family: "Playfair Display", serif !important;
    font-size: 27px !important;
}

.fc .fc-daygrid-body-natural .fc-daygrid-day-events {
    margin-bottom: 10px;
}

/* Controle qui remplace le champ input file */
.custom-file-input-wrapper {
    position: relative;
    width: 300px;
}

.custom-file-input {
    position: absolute;
    opacity: 0;
    border-radius: 4px;
}

.custom-file-label {
    display: block;
    border-radius: 6px;
    text-transform: uppercase;
    font-size: 17px;
    font-family: Calibri;
    margin-bottom: 5px;
}

/* Mode tablette*/
@media screen and (max-width: 992px) {
    #logo {
        display: none;
    }
}

/*Mode téléphone*/
@media screen and (max-width: 768px) {

    .zoneGenerale {
        padding-right: 10px;
        padding-left: 10px;
    }

    body {
        margin: 0px;
    }

    .navbar-brand {
        display: block;
    }

    .zoneHeader {
        margin-bottom: 0px;
    }

    .navbar-top {
        padding-top: 12px;
        padding-bottom: 11px;
    }

    #menuDroite {
        display: none;
    }

    #Resume {
        margin-left: 0px !important;
    }

    fieldset legend {
        font-size: 1.2rem;
    }

    .btn-blue, .btn-default, .btn-default:hover, .btn-blue:hover, .btn-gris, .btn-gris:hover {
        width: 100%;
        margin-left: 0px;
        margin-bottom: 10px;
    }

    .btn-petit {
        min-width: auto !important;
        font-size: 0.92rem;
        padding: 0.45rem 0.42rem;
    }

    .section {
        padding-left: 15px;
        padding-right: 15px;
        border-bottom-right-radius: 0px;
        border-bottom-left-radius: 0px;
    }

    .sous-section {
        margin-right: 0px !important;
        margin-left: 0px !important;
    }

    /* Représente la première colonne avec le bouton sur les datatable en mode téléphone*/
    /*    .dtr-control {
        padding-left: 30px !important;
    }*/

    table.dataTable thead th, table.dataTable tbody th, table.dataTable tbody td {
        font-size: 0.85em;
        padding-left: 2px;
        padding-right: 2px;
        padding-top: 3px;
        padding-bottom: 3px;
    }

    /* Représente la première colonne avec le bouton sur les datatable en mode téléphone*/
    .dtr-control {
        padding-left: 30px !important;
    }

    /*    .dataTable thead {
        margin: -1px;
        overflow: hidden;
        position: absolute;
        width: 0px;
    }

    .dataTable tr {
        display: block;
    }

    .dataTable td {
        display: block;
        text-align: right;
        min-height: 19px;
    }

    .dataTable th {
        text-transform: uppercase;
    }

    .dataTable th a {
        font-size: 1em !important;
        font-weight: 450 !important;
    }

    .dataTable td::before {
        content: attr(data-label);
        float: left;
        font-weight: 600;
        font-size: 1.1em;
    }

    .dataTable td:last-child {
        border-bottom: 0;
        border-style: none;
    }*/
}

@media print {

    body {
        margin: 0px;
    }

    .nav-link {
        text-decoration: none;
    }

    fieldset legend {
        font-size: 1.2rem;
    }

    .section {
        border-style: none;
        padding-top: 50px;
        padding-left: 0px;
        padding-right: 0px;
        border-bottom-right-radius: 0px;
        border-bottom-left-radius: 0px;
    }

    .sous-section {
        margin-right: 0px !important;
        margin-left: 0px !important;
    }

    .screen-visible-only {
        display: none !important;
    }

    fieldset {
        border-style: none;
        padding: 0px;
    }

    .ligneBouton {
        display: none !important;
    }

    .print-visible-only {
        display: block;
    }

    .col-print-6 {
        width: 50%;
    }

    .page {
        break-before: page;
    }

    .dataTables_info {
        display: none !important;
    }

    .sous-section {
        margin-right: 0px !important;
        margin-left: 0px !important;
    }
}



/* main layout
    ----------------------------------------------------------*/
.content-wrapper {
    margin: 0 auto;
    max-width: 960px;
}

#body {
    background-color: #efeeef;
    clear: both;
    padding-bottom: 35px;
}

.main-content {
    background: url("../Images/accent.png") no-repeat;
    padding-left: 10px;
    padding-top: 30px;
}

.featured + .main-content {
    background: url("../Images/heroAccent.png") no-repeat;
}

header .content-wrapper {
    padding-top: 20px;
}

footer {
    clear: both;
    background-color: #e2e2e2;
    font-size: .8em;
    height: 100px;
}


/* site title
    ----------------------------------------------------------*/
.site-title {
    color: #c8c8c8;
    font-family: Rockwell, Consolas, "Courier New", Courier, monospace;
    font-size: 2.3em;
    margin: 0;
}

    .site-title a, .site-title a:hover, .site-title a:active {
        background: none;
        color: #c8c8c8;
        outline: none;
        text-decoration: none;
    }


/* login
    ----------------------------------------------------------*/
#login {
    display: block;
    font-size: .85em;
    margin: 0 0 10px;
    text-align: right;
}

    #login a {
        background-color: #d3dce0;
        margin-left: 10px;
        margin-right: 3px;
        padding: 2px 3px;
        text-decoration: none;
    }

        #login a.username {
            background: none;
            margin-left: 0px;
            text-decoration: underline;
        }

    #login ul {
        margin: 0;
    }

    #login li {
        display: inline;
        list-style: none;
    }


/* menu
    ----------------------------------------------------------*/
ul#menu {
    font-size: 1.3em;
    font-weight: 600;
    margin: 0 0 5px;
    padding: 0;
    text-align: right;
}

    ul#menu li {
        display: inline;
        list-style: none;
        padding-left: 15px;
    }

        ul#menu li a {
            background: none;
            color: #999;
            text-decoration: none;
        }

            ul#menu li a:hover {
                color: #333;
                text-decoration: none;
            }


/* page elements
    ----------------------------------------------------------*/
/* featured */
.featured {
    background-color: #fff;
}

    .featured .content-wrapper {
        background-color: #7ac0da;
        background-image: -ms-linear-gradient(left, #7ac0da 0%, #a4d4e6 100%);
        background-image: -o-linear-gradient(left, #7ac0da 0%, #a4d4e6 100%);
        background-image: -webkit-gradient(linear, left top, right top, color-stop(0, #7ac0da), color-stop(1, #a4d4e6));
        background-image: -webkit-linear-gradient(left, #7ac0da 0%, #a4d4e6 100%);
        background-image: linear-gradient(left, #7ac0da 0%, #a4d4e6 100%);
        color: #3e5667;
        padding: 20px 40px 30px 40px;
    }

    .featured hgroup.title h1, .featured hgroup.title h2 {
        color: #fff;
    }

    .featured p {
        font-size: 1.1em;
    }

/* page titles */
hgroup.title {
    margin-bottom: 10px;
}

    hgroup.title h1, hgroup.title h2 {
        display: inline;
    }

    hgroup.title h2 {
        font-weight: normal;
        margin-left: 3px;
    }

/* features */
section.feature {
    width: 300px;
    float: left;
    padding: 10px;
}

/* ordered list */
ol.round {
    list-style-type: none;
    padding-left: 0;
}

    ol.round li {
        margin: 25px 0;
        padding-left: 45px;
    }

        ol.round li.zero {
            background: url("../Images/orderedList0.png") no-repeat;
        }

        ol.round li.one {
            background: url("../Images/orderedList1.png") no-repeat;
        }

        ol.round li.two {
            background: url("../Images/orderedList2.png") no-repeat;
        }

        ol.round li.three {
            background: url("../Images/orderedList3.png") no-repeat;
        }

        ol.round li.four {
            background: url("../Images/orderedList4.png") no-repeat;
        }

        ol.round li.five {
            background: url("../Images/orderedList5.png") no-repeat;
        }

        ol.round li.six {
            background: url("../Images/orderedList6.png") no-repeat;
        }

        ol.round li.seven {
            background: url("../Images/orderedList7.png") no-repeat;
        }

        ol.round li.eight {
            background: url("../Images/orderedList8.png") no-repeat;
        }

        ol.round li.nine {
            background: url("../Images/orderedList9.png") no-repeat;
        }

/* content */
article {
    float: left;
    width: 70%;
}

aside {
    float: right;
    width: 25%;
}

    aside ul {
        list-style: none;
        padding: 0;
    }

        aside ul li {
            background: url("../Images/bullet.png") no-repeat 0 50%;
            padding: 2px 0 2px 20px;
        }

.label {
    font-weight: 700;
}

/* login page */
#loginForm {
    border-right: solid 2px #c8c8c8;
    float: left;
    width: 55%;
}

    #loginForm .validation-error {
        display: block;
        margin-left: 15px;
    }

#socialLoginForm {
    margin-left: 40px;
    float: left;
    width: 40%;
}

    #socialLoginForm h2 {
        margin-bottom: 5px;
    }

fieldset.open-auth-providers {
    margin-top: 15px;
}

    fieldset.open-auth-providers button {
        margin-bottom: 12px;
    }

/* contact */
.contact h3 {
    font-size: 1.2em;
}

.contact p {
    margin: 5px 0 0 10px;
}

.contact iframe {
    border: 1px solid #333;
    margin: 5px 0 0 10px;
}

label.checkbox {
    display: inline;
}

/*        input, textarea {
            border: 1px solid #e2e2e2;
            background: #fff;
            color: #333;
            font-size: 1.2em;
            margin: 5px 0 6px 0;
            padding: 5px;
            width: 300px;
        }*/

textarea {
    font-family: inherit;
    width: 500px;
}

    input:focus, textarea:focus {
        border: 1px solid #7ac0da;
    }

/*input[type="submit"],
input[type="button"],
button {
    background-color: #d3dce0;
    color: black;
    border: 1px solid #787878;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: 600;
    padding: 7px;
    margin-right: 8px;
    width: auto;
    border-radius: 4px;
    min-width: 100px;
}

    input[type="submit"]:hover, input[type="button"]:hover, button {
        background-color: #e5e5e5;
        color: #333333 !important;
        text-decoration: none;
    }

    td input[type="submit"],
    td input[type="button"],
    td button {
        font-size: 1em;
        padding: 4px;
        margin-right: 4px;
    }*/

/* info and errors */
.message-info {
    border: 1px solid;
    clear: both;
    padding: 10px 20px;
}

.message-error {
    clear: both;
    color: #e80c4d;
    font-size: 1.1em;
    font-weight: bold;
    margin: 20px 0 10px 0;
}

.message-success {
    color: #7ac0da;
    font-size: 1.3em;
    font-weight: bold;
    margin: 20px 0 10px 0;
}

.error {
    color: #e80c4d;
}

.error-back {
    background-color: #ffc4c4;
}

.error2 {
    color: #e80c4d;
    font-size: 1.25em;
}

.msg-succes {
    color: #28b828;
}

.msg-succes2 {
    color: limegreen;
    font-size: 1.25em;
}

/* styles for validation helpers */
.field-validation-error {
    color: #e80c4d;
    font-weight: bold;
}

.field-validation-valid {
    display: none;
}

input.input-validation-error {
    border: 1px solid #e80c4d;
}

input[type="checkbox"].input-validation-error {
    border: 0 none;
}

.validation-summary-errors {
    color: #e80c4d;
    font-weight: bold;
    font-size: 1.1em;
}

.validation-summary-valid {
    display: none;
}


/*--- SECTION NOTE ---*/

/* ============================================
   SIDEBAR GAUCHE
   ============================================ */
.notes-sidebar {
    background: #f8f9fa;
    border-right: 2px solid #e0e0e0;
    padding: 15px;
    overflow-y: auto;
    max-height: 600px;
}

/* Header avec titre et bouton */
.notes-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}

.notes-header-title {
    font-size: 27px;
    font-weight: 700;
    color: #4d8dc4;
    margin: 0;
}

/* Recherche */
.search-container {
    position: relative;
}

.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #999;
    pointer-events: none;
}

.search-input {
    width: 100%;
    padding: 10px 10px 10px 40px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.2s;
}

    .search-input:focus {
        border-color: #4d8dc4;
        outline: none;
    }

/* Liste des notes */
.notes-list {
    overflow-y: auto;
}

/* Carte de note */
.note-card {
    background: white;
    border: 2px solid transparent;
    border-radius: 8px;
    padding: 8px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.note-card a {
    color: black !important;
    text-decoration: underline!important;
}

.note-card:hover {
    background: #e9ecef;
    border-color: #ddd;
}

.note-card.selected {
    background: #4d8dc4 !important;
    color: white;
    box-shadow: 0 4px 12px rgba(77, 141, 196, 0.3);
    border-color: #4d8dc4;
}

.note-card.selected a {
    color: white !important;
    text-decoration: underline!important;
}

.note-item-container {
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.note-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
}

.sujetNote {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.note-meta {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #666;
    gap: 10px;
}

.note-card.selected .note-meta {
    color: rgba(255, 255, 255, 0.9);
}

.userNote {
    opacity: 0.7;
    font-weight: 500;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.creationDateNote {
    opacity: 0.7;
    white-space: nowrap;
    flex-shrink: 0;
}

/* ============================================
   DETAIL DROITE
   ============================================ */
.notes-detail {
    background: #ffffff;
    display: flex;
    overflow: auto;
    padding: 0px 20px;
    flex-direction: column;
    max-height: 600px;
}

.note-detail-title {
    color: #4d8dc4;
}

/* Container des messages */
.messages-container {
    flex: 1;
    overflow-y: auto;
    padding: 20px 0px;
}

/* Message row (bulle) */
.note-row {
    display: flex;
    margin-bottom: 15px;
}

.note-bubble {
    background: #f8f9fa;
    border-left: 4px solid #4d8dc4;
    padding: 8px 12px;
    border-radius: 8px;
    width: 100%;
    transition: all 0.2s;
}

    .note-bubble:hover {
        background: #e9ecef;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }

.texteNote {
    font-size: 15px;
    line-height: 1.6;
    color: #333;
    word-wrap: break-word;
    white-space: pre-wrap;
}

/* Fichiers attachés */
.note-bubble a {
    color: #4d8dc4;
    text-decoration: none;
    font-weight: 500;
}

    .note-bubble a:hover {
        text-decoration: underline;
    }

/* Meta info dans la bulle */
.note-bubble .userNote {
    font-size: 14px;
    opacity: 0.7;
}

.note-bubble .creationDateNote {
    font-size: 14px;
}

/* ============================================
   ZONE DE SAISIE
   ============================================ */
.message-input-container {
    padding: 20px 25px;
    border-top: 2px solid #e0e0e0;
    background: #fafbfc;
}

.message-input {
    width: 100%;
    min-height: 80px;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    resize: vertical;
    transition: all 0.2s;
}

    .message-input:focus {
        border-color: #4d8dc4;
        outline: none;
        box-shadow: 0 0 0 3px rgba(77, 141, 196, 0.1);
    }

    .message-input::placeholder {
        color: #999;
        font-style: italic;
    }

/* Liste des fichiers */
.file-list {
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 6px;
    font-size: 13px;
}

/* Actions (boutons) */
.message-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* ============================================
   EMPTY STATE
   ============================================ */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    color: #999;
    text-align: center;
}

.empty-state-icon {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state-text {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #666;
}

.empty-state-subtext {
    font-size: 14px;
    color: #999;
}

/* ============================================
   SCROLLBAR STYLING
   ============================================ */
.notes-list::-webkit-scrollbar,
.messages-container::-webkit-scrollbar {
    width: 8px;
}

.notes-list::-webkit-scrollbar-track,
.messages-container::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.notes-list::-webkit-scrollbar-thumb,
.messages-container::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

    .notes-list::-webkit-scrollbar-thumb:hover,
    .messages-container::-webkit-scrollbar-thumb:hover {
        background: #999;
    }

/* Checkboxes status */
.note-status-checkboxes {
    display: flex;
    gap: 15px;
    padding: 6px 0px 6px 0px;
    width: fit-content;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    font-size: 15px;
    user-select: none;
    margin: 0;
}

    .checkbox-label input[type="checkbox"] {
        cursor: pointer;
        width: 16px;
        height: 16px;
        margin: 0;
    }

.checkbox-text {
    font-weight: 500;
    color: #666;
}

.note-card.selected .checkbox-text {
    color: rgba(255, 255, 255, 0.95);
}

/* États prioritaire */
.note-card.note-prioritaire {
    background: #ffe6e6;
    border-color: #ffcccc;
}

    .note-card.note-prioritaire:hover {
        background: #ffd9d9;
        border-color: #ffb3b3;
    }

    .note-card.note-prioritaire.selected {
        background: #d9534f !important;
        color: white;
        border-color: #d9534f;
    }

    .note-card.note-prioritaire .checkbox-text {
        color: #c92a2a;
        font-weight: 600;
    }

    .note-card.note-prioritaire.selected .checkbox-text {
        color: rgba(255, 255, 255, 0.95);
        font-weight: 500;
    }

    .note-card.note-prioritaire.selected .note-meta {
        color: rgba(255, 255, 255, 0.9);
    }

/* Checkbox prioritaire cochée */
.checkbox-prioritaire:checked + .checkbox-text {
    color: #d9534f;
    font-weight: 600;
}

.note-card.selected .checkbox-prioritaire:checked + .checkbox-text {
    color: rgba(255, 255, 255, 0.95);
}

/* Checkbox complété cochée */
.checkbox-complete:checked + .checkbox-text {
    color: #28a745;
    font-weight: 600;
}

.note-card.selected .checkbox-complete:checked + .checkbox-text {
    color: rgba(255, 255, 255, 0.95);
}

/* Animation lors du changement d'état */
.note-card {
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .notes-sidebar {
        border-right: none;
        border-bottom: 2px solid #e0e0e0;
        max-height: none;
    }

    .notes-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .notes-detail {
        max-height: 60vh;
    }

    .messages-container {
        padding: 15px;
    }

    .message-input-container {
        padding: 15px;
    }

    .message-actions {
        flex-direction: column;
    }
}

#bodySectionNotes .accordion-body {
    padding-left: 12px;
    padding-right: 12px;
}



/* --- IMAGES ET ICONES --- */
.material-symbols-outlined {
    font-size: 22px;
    margin-bottom: 0px;
    margin-left: -1px;
    vertical-align: middle;
    transform: translate3d(2px, 0px, 0px) !important;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 40;
    font-family: 'Material Symbols Outlined' !important;
}

.fill {
    font-variation-settings: 'FILL' 1;
}


/* --- AUTRE --- */
.hideOnMobile {
    display: none !important;
}

.showOnMobile {
    display: inline-block;
}

.hideOnMobileAndTablet {
    display: none !important;
}

.showOnMobileAndTablet {
    display: inline-block;
}

/* --- MEDIA --- */
@media (min-width: 576px) {
    .hideOnMobile {
        display: inline-block !important;
    }

    .showOnMobile {
        display: none;
    }
}

@media (min-width: 768px) {


    /* header
            ----------------------------------------------------------*/
    header .float-left,
    header .float-right {
        float: none;
    }

    /* logo */
    header .site-title {
        margin: 10px;
        text-align: center;
    }

    #logoClient {
        width: 70%;
    }

    /* login */
    #login {
        font-size: .85em;
        margin: 0 0 12px;
        text-align: center;
    }

        #login ul {
            margin: 5px 0;
            padding: 0;
        }

        #login li {
            display: inline;
            list-style: none;
            margin: 0;
            padding: 0;
        }

        #login a {
            background: none;
            color: #999;
            font-weight: 600;
            margin: 2px;
            padding: 0;
        }

            #login a:hover {
                color: #333;
            }

    ul#menu {
        margin: 0;
        padding: 0;
        text-align: center;
    }

        ul#menu li {
            margin: 0;
            padding: 0;
        }


    /* main layout
        ----------------------------------------------------------*/
    .main-content,
    .featured + .main-content {
        background-position: 10px 0;
    }

    .content-wrapper {
        padding-right: 10px;
        padding-left: 10px;
    }

    .featured .content-wrapper {
        padding: 10px;
    }

    /* page content */
    article, aside {
        float: none;
        width: 100%;
    }

    /* ordered list */
    ol.round {
        list-style-type: none;
        padding-left: 0;
    }

        ol.round li {
            padding-left: 10px;
            margin: 25px 0;
        }

            ol.round li.zero,
            ol.round li.one,
            ol.round li.two,
            ol.round li.three,
            ol.round li.four,
            ol.round li.five,
            ol.round li.six,
            ol.round li.seven,
            ol.round li.eight,
            ol.round li.nine {
                background: none;
            }

    /* features */
    section.feature {
        float: none;
        padding: 10px;
        width: auto;
    }

        section.feature img {
            color: #999;
            content: attr(alt);
            font-size: 1.5em;
            font-weight: 600;
        }

    input {
        width: 100%;
    }



    /* login page */
    #loginForm {
        border-right: none;
        float: none;
        width: auto;
    }

    #loginForm .validation-error {
        display: block;
        margin-left: 15px;
    }

    #socialLoginForm {
        margin-left: 0;
        float: none;
        width: auto;
    }

    /* footer
        ----------------------------------------------------------*/
    footer .float-left,
    footer .float-right {
        float: none;
    }

    footer {
        text-align: center;
        height: auto;
        padding: 10px 0;
    }

    footer p {
        margin: 0;
    }

    .hideOnMobileAndTablet {
        display: inline-block !important;
    }

    .showOnMobileAndTablet {
        display: none;
    }
}
/* END: Mobile Styles */
