.color-listeconsultant {
    border-color: #659965 !important;
    background-color: #659965 !important;
}

.color-infosclient {
    border-color: #c44141 !important;
    background-color: #c44141 !important;
}

.js-commentaire {
    display: block;
    width: 100%;
}

.js-commentaire span.glyphicons {
    float: right;
    margin-top: 5px;
}

.js-commentaire .glyphicons i:before {
    font-size: 10px !important;
}

.divPaiement {
    width: 400px;
    background-attachment: scroll;
    background-clip: border-box;
    background-color: rgb(41, 44, 46);
    background-image: none;
    background-origin: padding-box;
    background-position: 0% 0%;
    background-repeat: repeat;
    background-size: auto auto;
    border-bottom-color: rgb(47, 50, 53);
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-image-outset: 0 0 0 0;
    border-image-repeat: stretch stretch;
    border-image-slice: 100% 100% 100% 100%;
    border-image-source: none;
    border-image-width: 1 1 1 1;
    border-left-color: rgb(47, 50, 53);
    border-left-style: solid;
    border-left-width: 1px;
    border-right-color: rgb(47, 50, 53);
    border-right-style: solid;
    border-right-width: 1px;
    border-top-color: rgb(47, 50, 53);
    border-top-left-radius: 5px;
    border-top-right-radius: 0px;
    border-top-style: solid;
    border-top-width: 1px;
    box-shadow: rgb(94, 100, 107) 0px 0px 0px 1px inset;
    color: rgb(250, 250, 250);
    font-family: 'Poppins', 'Open Sans', sans-serif;
    font-size: 12px;
    line-height: 17px;
    list-style-image: none;
    list-style-position: outside;
    list-style-type: none;
    outline-color: rgb(250, 250, 250);
    outline-style: none;
    outline-width: 0px;
    padding-bottom: 15px;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 15px;
    text-align: left;
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
}

.divPaiement li {
    list-style: none;
}

table.gradienttable {
    font-family: 'Poppins', 'Open Sans', sans-serif;
    font-size: 11px;
    color: #333333;
    border-width: 1px;
    border-color: #999999;
    border-collapse: collapse;
}

table.gradienttable th {
    padding: 0px;
    background: #d5e3e4;
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2Q1ZTNlNCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjQwJSIgc3RvcC1jb2xvcj0iI2NjZGVlMCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNiM2M4Y2MiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top, #d5e3e4 0%, #ccdee0 40%, #b3c8cc 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #d5e3e4), color-stop(40%, #ccdee0), color-stop(100%, #b3c8cc));
    background: -webkit-linear-gradient(top, #d5e3e4 0%, #ccdee0 40%, #b3c8cc 100%);
    background: -o-linear-gradient(top, #d5e3e4 0%, #ccdee0 40%, #b3c8cc 100%);
    background: -ms-linear-gradient(top, #d5e3e4 0%, #ccdee0 40%, #b3c8cc 100%);
    background: linear-gradient(to bottom, #d5e3e4 0%, #ccdee0 40%, #b3c8cc 100%);
    border: 1px solid #999999;
}

table.gradienttable td {
    padding: 0px;
    background: #ebecda;
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ViZWNkYSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjQwJSIgc3RvcC1jb2xvcj0iI2UwZTBjNiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNjZWNlYjciIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top, #ebecda 0%, #e0e0c6 40%, #ceceb7 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ebecda), color-stop(40%, #e0e0c6), color-stop(100%, #ceceb7));
    background: -webkit-linear-gradient(top, #ebecda 0%, #e0e0c6 40%, #ceceb7 100%);
    background: -o-linear-gradient(top, #ebecda 0%, #e0e0c6 40%, #ceceb7 100%);
    background: -ms-linear-gradient(top, #ebecda 0%, #e0e0c6 40%, #ceceb7 100%);
    background: linear-gradient(to bottom, #ebecda 0%, #e0e0c6 40%, #ceceb7 100%);
    border: 1px solid #999999;
}

table.gradienttable th p {
    margin: 0px;
    padding: 8px;
    border-top: 1px solid #eefafc;
    border-bottom: 0px;
    border-left: 1px solid #eefafc;
    border-right: 0px;
}

table.gradienttable td p {
    margin: 0px;
    padding: 8px;
    border-top: 1px solid #fcfdec;
    border-bottom: 0px;
    border-left: 1px solid #fcfdec;;
    border-right: 0px;
}

.toggleDisplay {
    display: block;
}

.toggleDisplayNone {
    display: none;
}

.ui_tpicker_time_label,
.ui_tpicker_time {
    display: none;
}

.ui_tpicker_hour_label,
.ui_tpicker_minute_label {
    margin-bottom: 5px;
}

.ui_tpicker_minute_label {
    margin-top: 5px;
}

.ui_tpicker_hour_slider,
.ui_tpicker_minute_slider {
    border: 1px solid rgb(241, 203, 203);
}

.ui-dialog-titlebar-close {
    display: none;
}

ul li.nosubscribed {
    background-color: #b6b6b6 !important;
    color: #000 !important;
    cursor: not-allowed;
}

ul li.nosubscribed i:before {
    color: #787878 !important;
}

#external-events .user-div li.glyphicons {
    cursor: default;
}

#external-events .user-div li.glyphicons.move {
    cursor: move;
}

#external-events .user-div {
    height: 400px;
}

.fc-lp-disallowed-slot td {
    background-color: rgba(96, 108, 118, 0.15) !important;
}

.userselect {
    width: 100%;
    height: 35px;
    margin-bottom: 10px;
}

.btn-antenne-form-ableplanning {
    margin-bottom: 10px;
}

.divPaiement .remplir,
.divPaiement .remplir .input-append {
    width: 100%;
}

.divPaiement .remplir input {
    width: 45%;
    margin-left: 5px;
    border-radius: 0;
}

.divPaiement .remplir select {
    width: 40%;
    margin-left: 5px;
    border-radius: 0;
}

.tooltipInfo {
    position: relative;
    width: fit-content;
}

.tooltipInfo::after {
    position: absolute;
    content: "?";
    color: #ccdee0;
    background: #cf742e;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    right: -25px;
    top: -5px;
    font-size: 14px;
    cursor: pointer;
}

.dialogInfoForTooltip > .ui-dialog-titlebar {
    background: #cf742e !important;
}

#statFooter > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


@media (max-width: 767px) {

    .hide-mobile {
        display: none !important;
    }

    #statFooter > div {
        justify-content: start;
    }

    #statFooter button:first-child {
        margin-left: auto;
    }

    #maxPageLabel {
        order: -1;
    }

    div.profile.situation.span4 {
        width: 70%;
        height: 53px;
    }

    div.profile.situation.span4 select {
        width: 85%;
        float: left;
        margin-top: 5px;
    }

    #calendar .fc-header-left button:not(.fc-button-prev):not(.fc-button-next),
    #calendar .fc-header-right {
        display: none;
    }

    #calendar .fc-view.fc-view-agendaDay.fc-agenda > div > div,
    #calendar .fc-view.fc-view-agendaDay.fc-agenda > table {
        height: 1025px !important;
    }

    #external-events .toggle-button,
    #external-events .glyphicons.group,
    #external-events .user-div,
    #indique_user,
    .utilisateur {
        display: none;
    }

    .userselect {
        display: block;
    }

    .modal-backdrop {
        z-index: 0;
    }

    .modal.fade.in {
        top: 80px;
    }

    .divPaiement {
        position: fixed;
        z-index: 1;
        left: 5px !important;
        right: 5px !important;
        width: auto !important;
        top: 75px !important;
    }

    .divPaiement .wrapper {
        max-height: 300px;
        overflow-y: auto;
    }

    #ongletUser {
        width: 100%;
    }

    #tabUserList th,
    #tabUserList .selectable td,
    #tabdebor th,
    #tabdebor .selectable td,
    #destinationsTab th,
    #destinationsTab .selectable td,
    .tabRedirectionSimple th,
    .tabRedirectionSimple .selectable td {
        display: none;
    }

    #tabUserList table th:nth-child(n+2),
    #tabUserList table .selectable td:nth-child(n+2),
    #tabdebor th:nth-child(n+2),
    #tabdebor .selectable td:nth-child(n+2),
    #destinationsTab th:nth-child(n+2),
    #destinationsTab .selectable td:nth-child(n+2),
    .tabRedirectionSimple th:nth-child(n+2),
    .tabRedirectionSimple .selectable td:nth-child(n+2) {
        display: table-cell;
    }

    #tabUserList th:nth-child(2),
    #tabUserList th:nth-last-child(-n+2) {
        display: table-cell;
    }

    #tabUserList .selectable td:nth-child(2),
    #tabUserList .selectable td:nth-last-child(-n+2) {
        display: table-cell;
    }

    #tabUserList table .selectable td input[type="text"],
    #tabdebor .selectable td input[type="text"],
    #destinationsTab .selectable td input[type="text"],
    .tabRedirectionSimple .selectable td input[type="text"] {
        width: 100%;
    }

    #tabUserList table .selectable td input[id*="sonnerie_coopnumero"],
    #tabdebor .selectable td input[id*="sonnerie_coopnumero"],
    #destinationsTab .selectable td input[id*="sonnerie_coopnumero"],
    .tabRedirectionSimple .selectable td input[id*="sonnerie_coopnumero"] {
        width: 25px !important;
    }

    #operateursAddTab span.statut {
        display: none !important;
    }

    #horsplanningTab label,
    #busyplanningTab label {
        text-align: left !important;
    }

    .pageStat > div,
    .pageStat table th,
    .pageStat .selectable td {
        display: none;
    }

    #myTabStat {
        display: flex;
    }

    .pageStat .filter-bar {
        display: block;
    }

    .pageStat table th:nth-child(2),
    .pageStat .selectable td:nth-child(2),
    .pageStat table th:nth-child(3),
    .pageStat .selectable td:nth-child(3),
    .pageStat table th:nth-child(4),
    .pageStat .selectable td:nth-child(4),
    .pageStat table th:nth-child(5),
    .pageStat .selectable td:nth-child(5) {
        display: table-cell;
    }
}

[disabled], .link-disabled {
    pointer-events: none !important;
}

.link-disabled {
    opacity: .77;
}

#calendar.planningFixe button.file_export,
#calendar.planningFixe button.copie,
#calendar.planningFixe .fc-header-left .btn-group,
#calendar.planningFixe .fc-header-center .fc-header-title {
    display: none;
}


#calendar.planningFixe button.weektype {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}


.ts-control {
    flex-wrap: nowrap;
    max-height: 34px;
    padding: 4px 8px;
}

.ts-wrapper .optgroup-header {
    font-size: 11px;
    font-style: italic;


}

.ts-wrapper .optgroup .option {
    font-weight: 600;
    padding-left: 16px;
}

#regulatorTransferSelect ~ .ts-wrapper {
    max-width: 220px;
}


.ts-wrapper .ts-control {
    border-radius: 0;
    cursor: pointer !important;
    padding: 4px 32px 4px 4px;
    min-height: 30px;
    background-position: right .5rem center !important;
    background-repeat: no-repeat !important;
    background-size: 15px 10px !important;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3E%3C/svg%3E") !important;
}

.ts-wrapper .ts-control input {
    border: 1px solid transparent !important;
    padding: 0 !important;
    height: auto !important;
}

.ts-wrapper.plugin-dropdown_input.dropdown-active .ts-control input {
    max-width: initial !important;
}

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

/* La Poste modern UI layer */
:root {
    --lp-yellow: #ffcc00;
    --lp-yellow-strong: #f2bf00;
    --lp-blue: #003a8c;
    --lp-blue-strong: #002f73;
    --lp-bg: #eef2f9;
    --lp-surface: #ffffff;
    --lp-surface-soft: #f7f9fd;
    --lp-border: #d8e0ee;
    --lp-text: #1e2b45;
    --lp-text-muted: #637293;
    --lp-danger: #d44848;
    --lp-success: #2f8f53;
    --lp-shadow-soft: 0 6px 18px rgba(14, 34, 72, 0.06);
    --lp-shadow-card: 0 12px 34px rgba(12, 31, 69, 0.08);
    --lp-radius: 14px;
}

body.lp-modern-ui {
    background: radial-gradient(circle at top right, #f7f9ff 0, #eef2f9 45%, #edf1f8 100%);
    color: var(--lp-text);
}

body.lp-modern-ui .container-fluid,
body.lp-modern-ui .row-fluid,
body.lp-modern-ui .col.main {
    background: transparent !important;
}

body.lp-modern-ui .navbar.main {
    background: linear-gradient(95deg, var(--lp-blue) 0%, #0c4ba6 45%, var(--lp-blue-strong) 100%);
    border: 0;
    box-shadow: 0 3px 10px rgba(3, 26, 66, 0.14);
}

body.lp-modern-ui .navbar.main .profile,
body.lp-modern-ui .navbar.main .topnav > li {
    background-color: #0f4294 !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
}

body.lp-modern-ui .navbar.main .profile,
body.lp-modern-ui .navbar.main .topnav > li,
body.lp-modern-ui .navbar.main .profile img.avatar,
body.lp-modern-ui .navbar.main .innerpx {
    border-color: rgba(217, 221, 224, 0.25) !important;
}

body.lp-modern-ui .navbar.main .innerpx,
body.lp-modern-ui .navbar.main .positionWrapper {
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
}

body.lp-modern-ui .navbar.main .line {
    opacity: 0.18;
}

body.lp-modern-ui .navbar.main .profile .info strong,
body.lp-modern-ui .navbar.main .profile .info em,
body.lp-modern-ui .navbar.main .topnav span {
    color: #fff;
}

body.lp-modern-ui .topnav .btn-inverse,
body.lp-modern-ui .topnav .logout {
    border-radius: 8px;
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
}

body.lp-modern-ui .navbar.main .topnav > li > a.logout.glyphicons.lock i:before {
    color: #ffffff !important;
    text-shadow: none !important;
}

body.lp-modern-ui .main-left {
    background: #f8faff;
    border-right: 1px solid #e9eef8;
    box-shadow: none;
}

body.lp-modern-ui .main-left ul li,
body.lp-modern-ui .main-left ul li.hasSubmenu2,
body.lp-modern-ui .main-left ul li.block {
    background: transparent !important;
}

body.lp-modern-ui .main-left ul li > a {
    border-radius: 8px;
    margin: 4px 8px;
    color: var(--lp-text);
    transition: all 0.2s ease;
}

body.lp-modern-ui .main-left ul li > a:hover {
    background: #edf3ff;
    color: var(--lp-blue);
}

body.lp-modern-ui .main-left ul li.active > a,
body.lp-modern-ui .main-left ul li.currentScroll > a {
    background: rgba(255, 204, 0, 0.24);
    color: var(--lp-blue-strong);
    font-weight: 600;
}

body.lp-modern-ui .main-left ul ul,
body.lp-modern-ui .main-left ul ul.collapse.in {
    background: #f5f8ff !important;
    border-radius: 8px;
    margin: 0 8px 6px;
    padding: 6px 4px;
}

body.lp-modern-ui .main-left ul ul li > a {
    margin: 2px 4px;
}

body.lp-modern-ui .main-right .inner.topRight {
    background: transparent;
    padding: 16px 16px 20px;
}

body.lp-modern-ui .lp-page {
    background: #ffffff;
    border: 1px solid #edf2fb;
    border-radius: var(--lp-radius);
    box-shadow: none;
    padding: 16px 20px 20px;
}

body.lp-modern-ui .lp-page h2 {
    color: var(--lp-blue);
    font-weight: 700;
    letter-spacing: .2px;
}

body.lp-modern-ui .breadcrumb {
    background: var(--lp-surface-soft);
    border: 0;
    border-radius: 11px;
    margin-bottom: 14px;
}

body.lp-modern-ui .separator {
    border-bottom-color: #e8eef8;
}

body.lp-modern-ui .widget {
    border-radius: 10px;
    border: 1px solid #eff3fb;
    box-shadow: none;
    overflow: hidden;
}

body.lp-modern-ui .widget .widget-head {
    border-radius: 0;
    background: #fbfcff;
    border-bottom: 1px solid #eff3fb;
}

body.lp-modern-ui .widget .widget-body,
body.lp-modern-ui .tab-content,
body.lp-modern-ui .filter-bar {
    background: #fff !important;
}

/* Flatten nested containers inside main content cards */
body.lp-modern-ui .lp-page .widget,
body.lp-modern-ui .lp-page .widget.widget-2,
body.lp-modern-ui .lp-page .widget.widget-tabs,
body.lp-modern-ui .lp-page .widget-body,
body.lp-modern-ui .lp-page .tab-content,
body.lp-modern-ui .lp-page .filter-bar,
body.lp-modern-ui .lp-page .well,
body.lp-modern-ui .lp-page .box-1 {
    box-shadow: none !important;
}

body.lp-modern-ui .lp-page .widget,
body.lp-modern-ui .lp-page .widget.widget-2,
body.lp-modern-ui .lp-page .widget.widget-tabs,
body.lp-modern-ui .lp-page .well,
body.lp-modern-ui .lp-page .box-1 {
    border-color: #f1f4fb !important;
}

body.lp-modern-ui .lp-page .widget .widget-head {
    background: #fbfcff !important;
    border-bottom-color: #eff3fb !important;
}

body.lp-modern-ui .lp-page .separator {
    border-bottom-color: #f2f5fb;
}

body.lp-modern-ui .lp-page table,
body.lp-modern-ui .lp-page .table {
    border-color: #edf2fb;
}

body.lp-modern-ui .widget .widget-head h4,
body.lp-modern-ui .widget .widget-head .heading {
    color: var(--lp-blue);
    font-weight: 600;
}

body.lp-modern-ui .btn {
    border-radius: 10px;
    transition: transform 0.1s ease, box-shadow 0.2s ease;
    box-shadow: none;
}

body.lp-modern-ui .btn:hover {
    transform: translateY(-1px);
}

body.lp-modern-ui .btn-primary {
    background: linear-gradient(180deg, var(--lp-yellow) 0%, var(--lp-yellow-strong) 100%);
    border-color: #dfb200;
    color: #2a2a2a;
    text-shadow: none;
}

body.lp-modern-ui .btn-primary:hover,
body.lp-modern-ui .btn-primary:focus {
    background: #ffd633;
    color: #1a1a1a;
    box-shadow: 0 8px 18px rgba(242, 191, 0, 0.26);
}

body.lp-modern-ui .btn-info {
    background: var(--lp-blue);
    border-color: var(--lp-blue);
}

body.lp-modern-ui .btn-info:hover,
body.lp-modern-ui .btn-info:focus {
    background: var(--lp-blue-strong);
}

body.lp-modern-ui .btn-danger {
    background: var(--lp-danger);
    border-color: var(--lp-danger);
}

body.lp-modern-ui input[type="text"],
body.lp-modern-ui input[type="password"],
body.lp-modern-ui input[type="email"],
body.lp-modern-ui input[type="tel"],
body.lp-modern-ui select,
body.lp-modern-ui textarea {
    border-radius: 9px;
    border-color: var(--lp-border);
    box-shadow: inset 0 1px 2px rgba(17, 37, 74, 0.02);
    color: var(--lp-text);
}

body.lp-modern-ui input:focus,
body.lp-modern-ui select:focus,
body.lp-modern-ui textarea:focus {
    border-color: #89a9ff;
    box-shadow: 0 0 0 3px rgba(0, 58, 140, 0.12);
}

body.lp-modern-ui .table th,
body.lp-modern-ui table th {
    background: #f2f6ff;
    color: var(--lp-blue);
}

body.lp-modern-ui .table td,
body.lp-modern-ui table td {
    background: #fff;
}

body.lp-modern-ui .alert {
    border-radius: 10px;
}

body.lp-modern-ui .loginWrapper .loginbox {
    border-radius: var(--lp-radius);
    box-shadow: var(--lp-shadow-card);
    border: 1px solid var(--lp-border);
    background: linear-gradient(180deg, #ffffff 0%, #fafcff 100%);
}

body.lp-modern-ui .loginWrapper .loginbox legend {
    color: var(--lp-blue);
    font-weight: 700;
}

body.lp-modern-ui .loginWrapper .input-prepend .add-on {
    background: #f2f6ff;
    border-color: var(--lp-border);
    color: var(--lp-text-muted);
}

@media (max-width: 991px) {
    body.lp-modern-ui .lp-page {
        padding: 12px;
    }

    body.lp-modern-ui .main-right .inner.topRight {
        padding: 9px;
    }
}

@media (max-width: 767px) {
    body.lp-modern-ui .navbar.main {
        border-radius: 0;
    }

    body.lp-modern-ui .main-left {
        box-shadow: none;
    }

    body.lp-modern-ui .main-left ul li > a {
        margin: 2px 4px;
    }
}

/* Requested: square table headers */
.table-primary thead th {
    border-radius: 0 !important;
}

/* Global typography migration */
html,
body,
button,
input,
select,
textarea,
.btn,
.widget .widget-head .heading,
.navbar.main .profile,
.navbar.main .topnav > li > a span {
    font-family: 'Poppins', 'Open Sans', sans-serif !important;
}

.col.main-left ul li
{
    border-radius: 0 !important;
    border: none !important;
}

body.lp-modern-ui .main-left ul li > a
{
    border-radius: 0 !important;
}

body.lp-modern-ui .main-left ul li.active > a
{
    border-left: 2px solid #002f73;
    background-color: rgba(255, 204, 0, 0.5);
}

.col.main-left ul li a, .col.main-left ul li 
{
    border-bottom: none;
}

.col.main-left ul li.hasSubmenu2 ul
{
    border-bottom: none !important;
}

.navbar.main .topnav > li .btn-group .caret 
{
    border-top-color: #fff;
    border-bottom-color: #fff;
}

.col.main-left ul li a, .col.main-left ul li.glyphicons i:before, .col.main-left ul li .glyphicons i:before 
{
    text-shadow: none !important;
}

.col.main-left ul li a 
{
    text-shadow: none !important;
}

.left-menu .col.main-left.menu-small ul li.glyphicons i,
.right-menu .col.main-left.menu-small ul li.glyphicons i,
.left-menu .col.main-left.menu-small ul li .glyphicons i,
.right-menu .col.main-left.menu-small ul li .glyphicons i {
    top: 3px !important;
}

.left-menu .col.main-left.menu-small ul li.glyphicons i:before,
.right-menu .col.main-left.menu-small ul li.glyphicons i:before,
.left-menu .col.main-left.menu-small ul li .glyphicons i:before,
.right-menu .col.main-left.menu-small ul li .glyphicons i:before {
    font-size: 16px !important;
}

/* Keep previous/next calendar controls visually identical */
.fc-button-prev,
.fc-button-next {
    width: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;
    height: 28px !important;
    line-height: 28px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    font-size: 14px !important;
}

/* FullCalendar legacy markup uses inner wrappers for actual width */
.fc-button-prev .fc-button-inner,
.fc-button-next .fc-button-inner {
    width: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;
    height: 28px !important;
    box-sizing: border-box !important;
    float: none !important;
    margin: 0 !important;
}

.fc-button-prev .fc-button-content,
.fc-button-next .fc-button-content {
    width: 100% !important;
    height: 28px !important;
    line-height: 28px !important;
    padding: 0 !important;
    float: none !important;
    text-align: center !important;
    white-space: nowrap !important;
}

/*
 * FullCalendar 3 uses U+2039/U+203A (‹ ›) in Courier New; the left glyph often looks thinner than the right.
 * Use the same triangle glyphs and sizing as .fc-icon-*-triangle for a matched pair.
 */
#calendar .fc-icon-left-single-arrow:after {
    content: "\25C4";
    font-size: 125%;
    font-weight: bold;
    top: 3%;
}

#calendar .fc-icon-right-single-arrow:after {
    content: "\25BA";
    font-size: 125%;
    font-weight: bold;
    top: 3%;
}

.navbar.main .topnav > li > .glyphicons i:before
{
    font-size: 12px !important;
}

body.lp-modern-ui .topnav .btn-inverse, body.lp-modern-ui .topnav .logout
{
    background: none !important;
}

body.lp-modern-ui .widget {
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

body.lp-modern-ui .widget .widget-head
{
    border: none !important;
    border-radius: 0 !important;
}

/* Login page refresh */
body.lp-modern-ui .lp-login-page {
    max-width: 1120px;
    margin: 34px auto 0;
    position: relative !important;
    left: auto !important;
    top: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

body.lp-modern-ui .lp-login-layout {
    display: flex;
    align-items: stretch;
    gap: 24px;
    min-height: 520px;
}

body.lp-modern-ui .lp-login-aside {
    flex: 1 1 56%;
    border-radius: 18px;
    padding: 34px 32px;
    background: linear-gradient(135deg, #0f4294 0%, #0c4ba6 48%, #0a3d8c 100%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 18px 42px rgba(9, 34, 76, 0.22);
}

body.lp-modern-ui .lp-login-aside:before,
body.lp-modern-ui .lp-login-aside:after {
    content: "";
    position: absolute;
    border-radius: 999px;
    background: rgba(255, 212, 42, 0.16);
    pointer-events: none;
}

body.lp-modern-ui .lp-login-aside:before {
    width: 220px;
    height: 220px;
    right: -70px;
    top: -60px;
}

body.lp-modern-ui .lp-login-aside:after {
    width: 300px;
    height: 300px;
    left: -130px;
    bottom: -150px;
    background: rgba(255, 255, 255, 0.12);
}

body.lp-modern-ui .lp-login-logo {
    height: 38px;
    width: auto;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

body.lp-modern-ui .lp-login-title {
    color: #ffffff;
    font-size: 36px;
    line-height: 1.2;
    font-weight: 700;
    margin: 0 0 12px;
    position: relative;
    z-index: 1;
}

body.lp-modern-ui .lp-login-subtitle {
    color: rgba(255, 255, 255, 0.92);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 560px;
    position: relative;
    z-index: 1;
}

body.lp-modern-ui .lp-login-highlights {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 1;
}

body.lp-modern-ui .lp-login-highlights li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.96);
}

body.lp-modern-ui .lp-login-highlights li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 18px;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #ffd42a;
}

body.lp-modern-ui .lp-login-card {
    flex: 1 1 44%;
    border-radius: 18px !important;
    border: 1px solid var(--lp-border) !important;
    box-shadow: 0 14px 32px rgba(10, 32, 70, 0.09) !important;
    background: #ffffff !important;
    margin: 0 !important;
}

body.lp-modern-ui .lp-login-card .inner {
    padding: 30px 28px;
}

body.lp-modern-ui .lp-login-card legend {
    margin: 0 0 6px;
}

body.lp-modern-ui .lp-login-helper {
    margin: 0 0 16px;
    color: var(--lp-text-muted);
    font-size: 14px;
}

body.lp-modern-ui .lp-login-error {
    margin-bottom: 14px;
    border: 1px solid #f3c6c6;
    background: #fff2f2;
    color: #9d2e2e;
    border-radius: 9px;
    padding: 9px 11px;
    font-size: 13px;
}

body.lp-modern-ui .lp-login-page .input-prepend.input-full {
    margin-bottom: 12px;
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 9px;
}

body.lp-modern-ui .lp-login-page .input-prepend .add-on {
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid var(--lp-border);
    border-radius: 9px 0 0 9px;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 5;
    pointer-events: none;
}

body.lp-modern-ui .lp-login-page .input-prepend .add-on.glyphicons i {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
}

body.lp-modern-ui .lp-login-page .input-prepend .add-on.glyphicons i:before {
    position: absolute;
    left: 50%;
    top: 50%;
    width: auto;
    height: auto;
    margin: 0;
    transform: translate(-50%, -50%);
    line-height: 1;
    text-align: center;
    font-size: 14px;
}

body.lp-modern-ui .lp-login-page .input-prepend input {
    height: 40px;
    width: 100% !important;
    box-sizing: border-box;
    border-radius: 9px;
    padding-left: 52px;
}

body.lp-modern-ui .lp-login-page .btn.btn-block {
    margin-top: 6px;
    height: 42px;
}

body.lp-modern-ui .lp-login-page .btn.btn-block.glyphicons.btn-icon.right {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 42px 0 12px;
    border-radius: 9px;
    line-height: 1;
}

body.lp-modern-ui .lp-login-page .btn.btn-block.glyphicons.btn-icon.right i {
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 100%;
}

body.lp-modern-ui .lp-login-page .btn.btn-block.glyphicons.btn-icon.right i:before {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 0;
    border-radius: 0 9px 9px 0;
}

.navbar.main .profile h1 
{
    color: #efefef !important;
}

body.lp-modern-ui .breadcrumb {
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Regulator routing page: align fields with left add-on labels */
body.lp-modern-ui .lp-regulator-routing-page .input-prepend > select,
body.lp-modern-ui .lp-regulator-routing-page .input-prepend > input {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    -webkit-border-top-left-radius: 0 !important;
    -webkit-border-bottom-left-radius: 0 !important;
    -moz-border-radius-topleft: 0 !important;
    -moz-border-radius-bottomleft: 0 !important;
}

/* Regulator opening hours page: La Poste yellow time slots */
body.lp-modern-ui .lp-regulator-hours-page #calendar .fc-event,
body.lp-modern-ui .lp-regulator-hours-page #calendar .fc-event-skin,
body.lp-modern-ui .lp-regulator-hours-page #calendar .fc-event-inner {
    background: #ffd42a !important;
    border-color: #e3bd1f !important;
    color: #2a2a2a !important;
}

body.lp-modern-ui .lp-regulator-hours-page #calendar .fc-event-head,
body.lp-modern-ui .lp-regulator-hours-page #calendar .fc-event-time {
    background: #f2bf00 !important;
    color: #1f2430 !important;
}

body.lp-modern-ui .lp-regulator-hours-page #external-events li {
    background: #ffd42a !important;
    border-color: #e3bd1f !important;
    color: #2a2a2a !important;
    text-shadow: none !important;
}

body.lp-modern-ui .lp-regulator-hours-page #external-events li.glyphicons i:before {
    background: #f2bf00 !important;
    color: #1f2430 !important;
    border-right-color: rgba(0, 0, 0, 0.15) !important;
}

.lp-planning-page .fc-btn-action.glyphicons i:before
{
    color: #433c2b !important;
    background: none !important;
}

.toggle-button span.primary, .toggle-button span.labelLeft {
    color: #fefefe;
    background: #f6c303 !important;
    background-image: -webkit-linear-gradient(bottom, #f4c100, #f4c100) !important;
}

@media (max-width: 991px) {
    body.lp-modern-ui .lp-login-page {
        margin-top: 22px;
        padding: 0 12px;
    }

    body.lp-modern-ui .lp-login-layout {
        flex-direction: column;
        min-height: auto;
        gap: 14px;
    }

    body.lp-modern-ui .lp-login-aside {
        padding: 24px 20px;
    }

    body.lp-modern-ui .lp-login-title {
        font-size: 30px;
    }

    body.lp-modern-ui .lp-login-subtitle {
        font-size: 15px;
    }
}