/******** Notification Banner (non-intrusive) *************/
.notification-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: linear-gradient(135deg, #47759E 0%, #5a8ab8 100%);
    color: #fff;
    padding: 12px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.notification-banner-content {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.notification-banner-icon {
    font-size: 20px;
    animation: bell-ring 0.5s ease-in-out;
}

@keyframes bell-ring {

    0%,
    100% {
        transform: rotate(0);
    }

    25% {
        transform: rotate(15deg);
    }

    50% {
        transform: rotate(-15deg);
    }

    75% {
        transform: rotate(10deg);
    }
}

.notification-banner-message {
    font-size: 14px;
    font-weight: 500;
}

.notification-banner-link {
    color: #fff;
    text-decoration: underline;
    font-size: 13px;
    margin-left: 10px;
}

.notification-banner-link:hover {
    color: #e0e0e0;
}

.notification-banner-remind {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    margin-left: 15px;
}

.notification-banner-remind:hover {
    background: rgba(255, 255, 255, 0.3);
}

.notification-banner-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 0 5px;
    line-height: 1;
    opacity: 0.8;
}

.notification-banner-close:hover {
    opacity: 1;
}

/******** System Messages *************/
#system-message {
    background: none repeat scroll 0 0 rgba(116, 97, 79, 0.2);
    border-color: #74614F;
    color: #74614F;
    margin: 0 auto 0px;
    width: 600px;
}

#system-message li {
    list-style: none
}

#system-message dt {
    float: left;
    margin-right: 20px
}

#system-message.alert dt {
    display: none
}

#system-message.alert ul {
    margin-bottom: 0
}

#system-message-container>.error {
    background: none repeat scroll 0 0 rgba(189, 54, 47, 0.8);
    border-color: #fff;
    color: #fff;
}

#system-message-container>.message {
    background: none repeat scroll 0 0 #47759E;
    border-color: #47759E;
    color: #FFFFFF;
    text-shadow: none;
}

#system-message-container {
    /*margin-top: 20px*/
}

.notes-and-tasks div.list-task {
    max-height: 660px;
    overflow: auto;
    width: 100%;
}

/******************* wysihtml5 *************/
#member-profile iframe.wysihtml5-sandbox,
#tab_profile iframe.wysihtml5-sandbox {
    margin-left: 55px !important;
    width: 70% !important;
}

iframe.wysihtml5-sandbox {
    width: 100% !important;
}

#tab_profile iframe.wysihtml5-sandbox {
    width: 36% !important;
    height: 200px !important;
}

.adminformlist iframe.wysihtml5-sandbox {
    margin-left: 160px !important;
    width: 60% !important;
}

#company-form ul.wysihtml5-toolbar>li.dropdown {
    margin-left: 0
}

ul.wysihtml5-toolbar>li {
    clear: none !important
}

#register form .wysihtml5-toolbar {
    clear: both
}

/**************** Dashboard *********************/

.widget-body .no-data {
    text-align: center;
    font-size: 18px;
    color: #726f6f;
}

.widget-body .no-data .no-data-text {
    margin-top: 30px;
}

.widget-body .no-data .glyphicons i:before {
    font-size: 32px;
    color: #726f6f;
}


/**************** Users *********************/
img.avatar {
    border-radius: 50%;
    -moz-border-radius: 50%;
    -khtml-border-radius: 50%;
    -webkit-border-radius: 50%;
    box-sizing: padding-box;
    -webkit-box-sizing: padding-box;
    -moz-box-sizing: padding-box;
}

.page-users .list-users .glyphicons.btn-micro {
    padding: 5px 10px 5px 10px;
}

/****************** User profile (clean) ******************/
.page-profile dt {
    float: left;
    width: 160px;
    margin-right: 10px;
    clear: both;
    margin-bottom: 20px
}

.page-profile dd {
    float: left
}

.page-profile .widget-body .settings-avatar,
.page-profile-edit .widget-body .settings-avatar a,
.page-register .settings-avatar a {
    margin-right: 10px
}

.page-profile-edit>div>div.widget-body>div.section {
    margin-bottom: 20px
}

.page-users #adminForm .innerLR .widget .widget-body table tbody tr td.break-all {
    word-break: break-all;
}

/********************* Edit User ***********************/
.edit-user #adminform ul {
    overflow: hidden
}

.edit-user #adminform li,
.edit-user #profile>ul>li,
#user-groups li,
.edit-user #adminformlist .adminformlist>li {
    float: left;
    list-style: none;
    margin-bottom: 15px;
    width: 100%;
}

.edit-user .usergroups .checker,
.invite-user .usergroups .checker,
.edit-user .usergroups label {
    float: left
}

.edit-user #adminformlist li label {
    width: 200px;
    margin-right: 10px
}

/*******************  Header ***************/
.navbar .top3 {
    float: right;
    margin: 3px 20px 0 0;
}

/***************** Menu *****************/
#menu>ul ul li {
    padding: 0;
    display: block
}

#menu>ul>li.hasSubmenu.active ul {
    display: block;
    height: auto;
}

/*********** Sidebar ****************/
.chzn-container-single .chzn-single {
    border: 1px solid #D8D9DA !important;
}

.dialog_add .chzn-container-single .chzn-single {
    border-color: #D8D9DA !important;
    color: #A7A7A7 !important;
    margin-bottom: 10px;
}

.sidebar .sidebar-content button,
.sidebar .assigned button {
    margin: 0 0 0 5px
}

.sidebar .assigned .chzn-container,
.sidebar .sidebar-content input,
.sidebar .assigned select {
    margin-bottom: 0
}

.sidebar .sidebar-content .chzn-container {
    margin-right: 0 !important;
    margin-bottom: 0;
    float: none !important
}

.sidebar-content .chzn-container div {
    margin-right: 0 !important
}



/********** Form elements *********************/
form .control-group>label {
    width: 125px;
    float: left;
    padding-top: 5px;
    text-align: left;
}

input.invalid {
    border: 1px solid #E9322D !important;
    box-shadow: 0 0 6px #F8B9B7;
}

div.radio {
    float: left;
    margin-left: 5px;
}

fieldset.radio label {
    float: left;
}

.radio input[type="radio"],
.checkbox input[type="checkbox"] {
    margin-left: 0px !important;
}

/***************** Board ********************/
.sort .node-list {
    height: 92%;
    list-style: none outside none;
    margin: 0 0 -99999px;
    padding: 8px 0 99999px;
    width: auto;
}

.widget .widget-body.list ul {
    padding: 5px
}

ul li.node {
    background-color: #E9E9E9;
    box-shadow: 0 0 0 1px #FFFFFF inset;
    border: 2px solid #C1C1C1;
    border-radius: 4px 4px 4px 4px;
    list-style: none outside none;
    margin: 0 0px 8px 0;
    padding: 0;
}

ul li.cursor-grab {
    cursor: -webkit-grab;
    cursor: -moz-grab;
    cursor: grab;
}

ul li.cursor-grabbing {
    cursor: -webkit-grabbing;
    cursor: -moz-grabbing;
    cursor: grabbing;
}


.box_left .header {
    background: none repeat scroll 0 0 #47759E;
    color: #FFFFFF;
    font-size: 1.8em;
    /*margin-bottom: 20px;*/
    padding: 10px 0 9px;
    text-align: center;
    margin-right: 0px;
    font-weight: normal;
    font-family: 'comfortadone';
    letter-spacing: 0.05em;
}

.box_left .header-primary {
    background-color: #005D85;
}

.box_left .header-info {
    background-color: #0093C9;
}

.box_left .header-warning {
    background-color: #FFA300;
}

.box_left .header-success {
    background-color: #3FAE29;
}

.box_left.td-primary ul {
    background-color: #f1f5f8;
}

.box_left.td-info ul {
    background-color: #f1f6f8;
}

.box_left.td-warning ul {
    background-color: #f8f5f1;
}

.box_left.td-success ul {
    background-color: #f2f8f1;
}

.box_left ul.node-list li.highlight {
    background: #f4f4f4;
    display: block;
    border: 2px dotted #47759E;
    border-radius: 6px 6px 6px 6px;
    margin-bottom: 10px;
}

#board {
    background: none repeat scroll 0 0 transparent;
    min-height: 500px;
    position: relative;
    width: auto;
    clear: both;
}

#board div.box_left {
    height: 100%;
    vertical-align: top;
    display: inline-block;
    word-wrap: break-word;
    padding-right: 0.5%;
}

#board div.content div.tr-content {
    height: 100%;
    overflow: hidden;
    width: 100%;
}

#board div.content {
    border-collapse: collapse;
    border-spacing: 0;
    clear: both;
    height: 100%;
    width: 100%;
}

#board table.content {
    border-collapse: collapse;
    border-spacing: 0;
    clear: both;
    height: 100%;
    width: 100%;
}

/* Espacement uniforme du board - marges identiques à l'espace entre colonnes */
.page-board .innerLR {
    padding: 0;
}

.page-board .widget .widget-body {
    padding: 7px 0 14px 0;
}

/* Utiliser flexbox avec gap pour des espaces uniformes entre les colonnes */
.page-board .tr-content {
    display: flex !important;
    gap: 7px;
    padding: 0 7px;
    box-sizing: border-box;
    align-items: stretch;
}

/* Neutraliser les balises <i> parasites qui brisent le contexte flexbox */
.page-board .tr-content i {
    display: contents !important;
}

.page-board .box_left {
    flex: 1 1 0% !important;
    min-width: 0 !important;
    width: auto !important;
    padding-right: 0 !important;
    box-sizing: border-box;
    overflow: hidden;
    display: flex !important;
    flex-direction: column !important;
    align-self: stretch !important;
    float: none !important;
    height: auto !important;
}

/* S'assurer que le widget à l'intérieur de la colonne prend toute la hauteur */
.page-board .box_left>.widget {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.page-board .box_left>.widget>.widget-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Déplacer les couleurs de fond vers les colonnes au lieu de .node-list */
.page-board .box_left.td-primary {
    background-color: #f1f5f8 !important;
}

.page-board .box_left.td-info {
    background-color: #f1f6f8 !important;
}

.page-board .box_left.td-warning {
    background-color: #f8f5f1 !important;
}

.page-board .box_left.td-success {
    background-color: #f2f8f1 !important;
}

/* Rendre la liste transparente et flexible */
.page-board .node-list {
    background-color: transparent !important;
    flex: 1 !important;
    flex-grow: 1 !important;
}

/* Board: forcer .notes-and-tasks à s'afficher sous les icônes flottées */
.page-board .node .node-footer>.notes-and-tasks {
    clear: both !important;
    display: block !important;
}

/* Board: séparation visuelle de la section notes/tâches (pas le bandeau des tickets bloqués) */
.page-board .node .node-footer>.notes-and-tasks>.notes,
.page-board .node .node-footer>.notes-and-tasks>.tasks {
    background-color: #F0F0F0 !important;
    padding: 6px 6px 2px 6px !important;
}

/* Board: s'assurer que le bandeau rouge des tickets bloqués reste collé */
.page-board .node .node-footer>.notes-and-tasks>.block {
    margin-top: 0 !important;
    padding: 5px !important;
}

/* Board: Afficher le texte dans les boutons x-editable */
.page-board .editable-buttons .editable-submit::after {
    content: ' Enregistrer';
}

.page-board .editable-buttons .editable-cancel::after {
    content: ' Annuler';
}

/* Board: Positionner les boutons x-editable en dessous du formulaire, alignés à gauche */
.page-board .editable-buttons {
    display: flex !important;
    flex-direction: row !important;
    justify-content: flex-start !important;
    width: 100% !important;
    margin-top: 8px !important;
    clear: both !important;
}

.page-board .editable-container .editable-input {
    display: block !important;
    width: 100% !important;
}



/* Tickets sur le board - marge horizontale de 5px */
.node-list li.node {
    margin-left: 5px;
    margin-right: 5px;
    width: calc(100% - 10px);
    box-sizing: border-box;
}

.node .node-header {
    background-color: #F8F8F8;
    background-image: linear-gradient(to bottom, #F8F8F8, #EDEDED);
    border-bottom: 1px solid #CCCCCC;
    border-color: #CCCCCC;
    font-size: 11px;
    line-height: 14px;
    margin: 0;
    overflow: hidden;
    padding: 2px;
}

.node .node-header .details-link {
    float: left;
    padding: 0 0 0 4px;
    margin: 4px 5px 3px 0;
}

.node-header div.glyphicons i:before {
    font-size: 15px;
    color: #9D9D9D
}

.node-header .assigned {
    cursor: pointer;
    float: right;
}

.node-header .assigned .assigned-name {
    display: inline-block;
    line-height: 22px;
    margin-right: 6px;
    vertical-align: top;

}

.node-footer:before,
.modal-footer:after {
    content: "";
    display: table;
}

div.box1 td.box_left {
    border-left: 2px dotted #CCCCCC;
    height: 100%;
    min-width: 200px;
    text-align: center;
    vertical-align: top;
}

.node-body div.title {
    color: #666666;
    display: block;
    font-size: 1em;
    font-weight: bold;
    line-height: normal;
    overflow: auto;
    padding: 6px 5px;
    text-align: left;
    cursor: text;
}

.node-body div.description {
    -moz-user-select: text;
    border-color: #CCCCCC;
    border-top: 1px dotted #CCCCCC;
    display: block;
    font-size: 12px;
    font-weight: normal;
    padding: 5px;
    text-align: left;
    word-wrap: break-word;
    cursor: text;
}

.node-body div.description .details {
    width: 100%;
}

.node .node-footer {
    border-color: #CCCCCC;
    border-top: 1px dotted #CCCCCC;
    margin: 0;
    overflow: hidden;
    padding: 2px 0 0 0;
    background-color: #F8F8F8;
    background-image: linear-gradient(to top, #F8F8F8, #EDEDED);
    cursor: default;
}

#panel_task .ticket-task:nth-child(2n+1) {
    background-color: #F8F8F8;
    background-image: linear-gradient(to top, #F8F8F8, #EDEDED);
}

.editable input {
    border: 1px solid #D8D9DA;
}

#panel_task button.hide-task,
#panel_note .note-add button.hide-note {
    display: none
}

#panel_note .note-add button#add_note {
    margin-left: 5px
}

a.delete-image {
    color: #744646;
    font-weight: bold;
    text-decoration: none
}

.node .node-footer>div {
    margin: 0 0 0 0px;
}

.node .node-footer>div.lock a {
    margin: 0 0 0 5px;
}

.node .node-footer>.notes-and-tasks {
    margin: 0
}

.node .node-footer>.notes-and-tasks .notes,
.node .node-footer>.notes-and-tasks .tasks,
.node .node-footer>.notes-and-tasks .block {
    padding: 5px
}

a.note,
a.task,
.timer span {
    color: black;
    cursor: pointer;
    display: block;
    float: left;
    line-height: 1.2em;
    margin-left: 2px;
    padding: 3px 3px 4px 0;
    text-decoration: none;
    color: #999;
    font-weight: normal;
    font-size: 12px;
}

a.note:hover,
a.task:hover {
    color: #0093C9;
}

.tasks.glyphicons,
.glyphicons.notes,
.glyphicons.timer {
    padding-left: 17px;
    float: left
}

div.node-footer i:before {
    font-size: 16px !important;
    top: 6px;
    color: #999;
}

div.node-footer a:hover i:before {
    color: #0093C9
}


.tickets-note {
    border-radius: 0 0 6px 6px;
    margin-bottom: 0;
    max-height: 600px;
    min-height: 20px;
    overflow: hidden;
    padding: 14px 0 0 1px;
    width: 100%;
}

.node-footer .reason-text {
    background-color: #D1B0B0;
    border-top: 2px solid #AB2424;
    clear: both;
    font-size: 1.1em;
    line-height: normal;
    overflow: hidden;
    padding: 2px 5px 2px 6px;
    text-align: left;
    margin-left: -5px !important;
    margin-bottom: -5px !important;
    width: 100%;
}

.node-footer .block .reason-area {
    width: 100%;
}

.tickets_blocked a.deblocked {
    display: block;
    float: right;
    margin-right: 0;
    padding: 8px;
}

.block a {
    display: block;
    width: 16px;
    padding-left: 2px !important;
}

.block a.hashtag {
    display: initial;
    width: 100%;
    padding-left: 0px !important;
}

li.blocked {
    border: 2px solid #AB2424 !important;
    cursor: no-drop;
}

li.blocked.node .node-header {
    cursor: no-drop;
}

.ticket-task {
    font-weight: normal;
    font-size: 12px;
    margin: 3px 0;
    clear: both;
    line-height: normal;
    padding: 8px 5px;
    overflow: hidden;
    min-height: 23px;
}

.task-action {
    display: none;
    right: 2px;
    text-align: right;
}

.ticket-task:hover .task-action {
    display: block
}

.task-text {
    float: left;
    max-width: 82%;
    cursor: text;
}

.task-text.task-text-check {
    color: #9D9D9D;
}

.task-input {
    float: left;
    width: 24px;
    margin: 0 0 0 2px
}

.task-input input {
    margin-top: 0px !important
}

.ticket-task:nth-child(2n+1) {
    background: #fff
}

.ticket-task .task-info {
    clear: both;
    color: #9D9D9D;
    display: block;
    float: left;
    font-size: 10px;
    min-height: 18px;
    padding-top: 7px;
    margin-left: 6%;
    width: 60%;
}

.ticket-task .glyphicons.btn-action {
    height: 21px;
    width: 21px;
    margin-left: 2px;
    margin-top: 0
}

.ticket-task .glyphicons.btn-action i:before {
    font-size: 12px !important
}

.task-text .editable input[type="text"] {
    width: 96%;
}

.task-text .editable button {
    margin-top: 5px
}

.list-note .editable button[type="submit"] {
    clear: both !important;
}

.form_add_task {
    margin: 5px 0px 0px 0px !important;
    display: block !important;
    padding-right: 15px;
}

.form_add_task .glyphicons.btn-action {
    height: 25px;
    width: 25px;
    margin-left: 5px
}

.form_add_task input.task-input-text {
    width: 100%;
    margin: 10px 0 10px 0;
}

button.hide-task,
button.hide-note {
    border: 0;
    background: none;
    margin-left: 5px;
    line-height: 24px;
    margin-top: 1px
}

.list-note .note {
    clear: both;
    padding: 4px 5px;
    font-weight: normal;
    /*position:relative;*/
    overflow: hidden;
}

.list-note .note:nth-child(2n+1) {
    background: #FFF
}

.list-note .note:nth-child(2n) {
    background: #E9E9E9
}

.list-note .note img.avatar {
    float: left;
    margin-right: 4px;
}

.list-note .note .note-info {
    font-size: 10px;
    color: #9D9D9D
}

.list-note .note .note-action {
    display: none;
    right: 4px;
    top: 4px;
    text-align: right;
    width: 54px;
}

.list-note .note:hover .note-action {
    display: block
}

.list-note .glyphicons.btn-action {
    height: 21px;
    width: 21px;
    margin-left: 2px;
    margin-top: 0
}

.list-note .glyphicons.btn-action i:before {
    font-size: 12px !important
}

.list-note .attachment.glyphicons {
    padding-left: 25px
}

.list-note a.attachment:hover {
    color: #47759E;
    text-decoration: none;
}

.note-text form.editable textarea {
    width: 80% !important;
    display: block
}

.note .attachment ul {
    margin: 0;
    padding: 0;
    width: 100%
}

.note-add,
.reason-add {
    padding: 5px 15px 0 0 !important;
    margin: 0px !important;
    clear: both;
    overflow: hidden;
    display: block !important;
}

.note-add textarea,
.form_add_task textarea {
    width: 100% !important;
    float: left;
    margin: 10px 0 10px 0
}

.note-add .glyphicons.btn-action {
    height: 26px;
    width: 26px;
}

/* ============================================
   FORMULAIRE DE NOTES MODERNE
   ============================================ */

/* Conteneur principal */
.note-form-modern {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 1px solid #e0e4e8;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.2s ease;
}

.note-form-modern:focus-within {
    box-shadow: 0 4px 16px rgba(71, 117, 158, 0.12);
    border-color: #c0d4e8;
}

/* Zone de saisie avec drop zone */
.note-input-wrapper {
    position: relative;
    margin-bottom: 12px;
}

/* Textarea moderne */
.note-textarea-modern {
    width: 100%;
    min-height: 80px;
    padding: 12px 14px;
    border: 1px solid #dde2e6;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    line-height: 1.5;
    resize: vertical;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: #fff;
    box-sizing: border-box;
}

.note-textarea-modern:focus {
    outline: none;
    border-color: #47759E;
    box-shadow: 0 0 0 3px rgba(71, 117, 158, 0.1);
}

.note-textarea-modern::placeholder {
    color: #a0aab4;
}

/* Overlay drop zone */
.note-drop-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(71, 117, 158, 0.92);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    pointer-events: none;
    z-index: 10;
}

.note-drop-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.drop-overlay-content {
    color: #fff;
    text-align: center;
    font-size: 15px;
}

.drop-overlay-content i {
    display: block;
    font-size: 28px;
    margin-bottom: 8px;
}

/* Formulaire de notes moderne - espacement compact */
.note-form-modern {
    padding-bottom: 4px;
    margin-bottom: 10px;
}

.note-form-modern .note-pending-files {
    margin-top: 4px;
}

/* Formulaire ultra-compact pour la vue board */
.note-form-compact {
    padding: 4px !important;
    margin-bottom: 6px !important;
}

.note-form-compact .note-input-wrapper {
    margin: 0;
}

.note-form-compact .note-textarea-modern {
    padding: 6px 8px;
    min-height: 50px;
    font-size: 12px;
}

.note-form-compact .note-toolbar {
    padding: 2px 0 0 0;
}

.note-form-compact .note-format-btn {
    width: 26px;
    height: 26px;
    font-size: 11px;
}

.note-form-compact .note-submit-btn {
    padding: 4px 10px;
    font-size: 11px;
}

.note-form-compact .note-shortcut-hint {
    display: none;
}

/* Toolbar minimaliste */
.note-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    border-top: none;
    margin-top: 0;
}

.note-toolbar-left,
.note-toolbar-right {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Boutons de formatage */
.note-format-btn {
    width: 32px;
    height: 32px;
    border: 1px solid #dde2e6;
    border-radius: 6px;
    background: #fff;
    color: #555;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.note-format-btn:hover {
    background: #f0f4f8;
    border-color: #c0d0e0;
    color: #333;
}

.note-format-btn:active {
    background: #e4eaf0;
}

/* Séparateur dans la toolbar */
.note-toolbar-separator {
    display: inline-block;
    width: 1px;
    height: 20px;
    background: #dde2e6;
    margin: 0 6px;
    vertical-align: middle;
}

/* Indication raccourci */
.note-shortcut-hint {
    font-size: 11px;
    color: #999;
    margin-right: 10px;
}

/* Bouton Enregistrer moderne */
.note-submit-btn {
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.15s ease;
}

.note-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(71, 117, 158, 0.3);
}

.note-submit-btn.loading {
    opacity: 0.7;
    cursor: wait;
}

.note-submit-btn i {
    margin-right: 5px;
}

/* Liste des fichiers en attente */
.note-pending-files {
    list-style: none;
    margin: 12px 0 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pending-file-item {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #e8f0f8 0%, #f0f4f8 100%);
    border: 1px solid #d0dce8;
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 12px;
    animation: slideIn 0.2s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pending-file-name {
    margin-right: 6px;
    color: #47759E;
    font-weight: 500;
}

.pending-file-size {
    font-size: 10px;
    color: #888;
    background: #fff;
    padding: 2px 6px;
    border-radius: 10px;
    margin-right: 6px;
}

.pending-file-remove {
    color: #c44;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.15s ease;
}

.pending-file-remove:hover {
    background: #fdd;
    color: #a00;
}

/* Toast notification */
.note-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #2d3748;
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 9999;
}

.note-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ============================================
   AFFICHAGE TIMELINE DES NOTES
   ============================================ */

/* Container de note timeline */
.note-timeline {
    background: #fff;
    border: 1px solid #e8ecf0;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 12px;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.note-timeline:hover {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border-color: #d0d8e0;
}

/* Header de la note */
.note-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

/* Avatar timeline */
.note-avatar-link {
    flex-shrink: 0;
}

.note-avatar-img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e8ecf0;
    transition: border-color 0.2s ease;
}

.note-avatar-link:hover .note-avatar-img {
    border-color: #47759E;
}

/* Info block (nom + date) */
.note-header-info {
    flex: 1;
    min-width: 0;
}

.note-author-link {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: #2d3748;
    text-decoration: none;
    line-height: 1.3;
}

.note-author-link:hover {
    color: #47759E;
}

.note-date-relative {
    display: block;
    font-size: 12px;
    color: #8899a6;
    cursor: default;
}

/* Actions au survol */
.note-actions-hover {
    display: flex;
    gap: 6px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.note-timeline:hover .note-actions-hover {
    opacity: 1;
}

.note-action-btn {
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 6px;
    background: #f0f4f8;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: all 0.15s ease;
}

.note-action-btn:hover {
    background: #e0e8f0;
    color: #333;
}

.note-action-edit:hover {
    background: #e8f4e8;
    color: #2d7d32;
}

.note-action-delete:hover {
    background: #fce8e8;
    color: #c62828;
}

/* Formulaire d'édition de note */
.note-edit-form {
    margin-top: 10px;
}

.note-edit-textarea {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #d0d7de;
    border-radius: 6px;
    font-size: 13px;
    font-family: inherit;
    resize: vertical;
    min-height: 80px;
    box-sizing: border-box;
}

.note-edit-textarea:focus {
    outline: none;
    border-color: #47759e;
    box-shadow: 0 0 0 2px rgba(71, 117, 158, 0.15);
}

.note-edit-buttons {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    justify-content: flex-end;
}

.note-edit-buttons .btn-sm {
    padding: 4px 12px;
    font-size: 12px;
}

/* Réduire l'espacement entre les notes sur le board */
.page-board .note-timeline {
    margin-bottom: 8px !important;
    padding-bottom: 8px !important;
}

/* Contenu de la note */
.note-content {
    font-size: 14px;
    line-height: 1.6;
    color: #3d4852;
    word-wrap: break-word;
}

.note-content p {
    margin: 0 0 8px 0;
}

.note-content p:last-child {
    margin-bottom: 0;
}

.note-content strong {
    font-weight: 600;
}

.note-content a {
    color: #47759E;
}

/* Footer pièces jointes */
.note-attachments-footer {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #eef2f6;
}

.note-attachment-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #6b7c93;
    text-decoration: none;
    padding: 4px 10px;
    background: #f5f8fa;
    border-radius: 12px;
    transition: all 0.15s ease;
}

.note-attachment-link:hover {
    background: #e8f0f8;
    color: #47759E;
}

.note-attachment-link i {
    font-size: 11px;
}

/* ============================================
   DROPDOWN MENTIONS @UTILISATEUR
   ============================================ */

.mention-dropdown {
    position: absolute;
    background: #fff;
    border: 1px solid #e0e4e8;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    max-height: 280px;
    overflow-y: auto;
    z-index: 1000;
    min-width: 280px;
}

.mention-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    cursor: pointer;
    transition: background-color 0.15s ease;
    border-bottom: 1px solid #f0f2f5;
}

.mention-item:last-child {
    border-bottom: none;
}

.mention-item:hover,
.mention-item.selected {
    background: #f0f7ff;
}

.mention-item.selected {
    background: #e0f0ff;
}

.mention-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.mention-name {
    font-weight: 600;
    font-size: 13px;
    color: #2d3748;
}

.mention-email {
    font-size: 12px;
    color: #8899a6;
    margin-left: auto;
}

/* Position relative pour le wrapper */
.note-input-wrapper {
    position: relative;
}

/******* Attachments *******/
.attachment-image.glyphicons {
    padding: 2px 4px 2px 30px !important;
    font-size: 12px;
    margin-right: 4px
}

.attachment-image.glyphicons i:before {
    padding-top: 4px !important
}

.attachment-buttons {
    clear: both;
    padding: 5px
}

/********************* Search (clean) *******************/
.page-search label {
    display: inline;
    margin-right: 30px;
}

.page-search fieldset {
    margin: 5px 0 5px 0;
}

.page-search .widget-activity ul.activities li {
    height: auto !important;
    line-height: normal;
    padding: 10px
}

.page-search .ordering-box {
    margin-top: 15px
}

.page-search .result-title {
    margin-bottom: 10px
}

.page-search .phrases .controls>.radio:first-child {
    padding-top: 0px;
}

.page-search .phrases .controls>.radio:first-child #uniform-searchphraseall {
    margin-left: 0px;
}

/************ Ticket details *****************/
.page-ticket .wizard .wizard-head .block i:before {
    font-size: 16px !important;
    color: #999;
}

.page-ticket .widget .widget-footer.block {
    height: auto;
    border-top: 1px solid #c1c1c1;
    border-bottom: 0;
}

.page-ticket .widget .widget-footer.block .reason-text {
    background-color: #D1B0B0;
    border: 2px solid #744646;
    overflow: hidden;
    padding: 2px 0 2px 6px;
    text-align: left;
    margin: 0 !important;
}

.page-ticket .widget .widget-footer.block .reason-add {
    padding: 10px !important;
}

.page-ticket .widget .widget-footer.block .reason-add textarea {
    width: 99%;
}

.page-ticket .wizard .wizard-head {
    position: relative;
}

.page-ticket .cancellations .sidebar-title {
    font-weight: bold;
    float: left;
    width: 120px;
}

.page-ticket .cancellations .sidebar-title label {
    font-weight: bold
}

.page-ticket .cancellations li {
    clear: both;
    display: inline-block;
    margin-bottom: 10px;
    width: 100%;
}

.page-ticket .cancellations li:last-child {
    margin-bottom: 0px;
}

.page-ticket .cancellations .sidebar-content {
    float: left;
}

.page-ticket .cancellations .title {
    display: inline-block;
    line-height: normal;
    padding: 13px 0 0;
    text-transform: uppercase;
}

.page-ticket .widget .widget-footer span {
    float: none;
    width: auto;
    padding: 0 5px 0 5px;
    border-right: 1px solid #dddddd;
    font-size: 11px;
    color: #555;
}

.page-ticket .widget .widget-footer span:last-child {
    border-right: 0;
}

.page-ticket .wizard .wizard-head .block {
    position: absolute;
    right: 8px;
    bottom: 17px;
}

.page-ticket .created-by-details {
    color: #555;
}

.page-ticket .sidebar-content .avatar,
.created-by .avatar {
    margin-right: 10px;
    vertical-align: middle;
}

.page-ticket #panel_description .editable-container,
.page-ticket #panel_mandate .editable-container,
.page-ticket #panel_project .editable-container,
.page-ticket #panel_company .editable-container {
    width: 99% !important;
    height: 100%;
}

.page-ticket #panel_description .editable-input,
.page-ticket #panel_mandate .editable-input,
.page-ticket #panel_project .editable-input,
.page-ticket #panel_company .editable-input {
    width: 100% !important;
}

.page-ticket #panel_description .editable-buttons,
.page-ticket #panel_mandate .editable-buttons,
.page-ticket #panel_project .editable-buttons,
.page-ticket #panel_company .editable-buttons {
    display: inherit !important;
    margin: 5px 0 0 0 !important;
}

.page-ticket #panel_description iframe.wysihtml5-sandbox,
.page-ticket #panel_project iframe.wysihtml5-sandbox {
    min-height: 450px;
}

.page-ticket #panel_mandate .attributes .attribute .attribute-title {
    font-weight: bold;
    width: 120px;
}

.page-ticket button#hide_note,
.page-ticket button#hide_task {
    display: none
}

.page-tickets #adminForm .innerLR .widget .widget-body table tbody tr td.break-all {
    word-break: break-all;
}

.page-ticket .innerLR .ticket-column.span3 .buttons.pull-right {
    margin: 11px auto 20px;
}

.page-ticket .innerLR .ticket-column.span3 .widget.widget-3 {
    clear: both;
}

.page-ticket .innerLR .ticket-column.span3 .widget.widget-3 .sidebar-section .sidebar-content div:hover {
    cursor: pointer;
}

.page-ticket .innerLR .ticket-column.span3 .widget.widget-3 .sidebar-section .sidebar-content div .icon-pencil {
    display: none;
    position: absolute;
    margin-left: 4px;
}

.page-ticket .innerLR .ticket-column.span3 .widget.widget-3 .sidebar-section .sidebar-content div:hover .icon-pencil {
    display: inline-block;
}

.page-ticket .innerLR .ticket-column.span3 .widget.widget-3 .sidebar-section .sidebar-content .icon-pencil.titleModif {
    display: none;
    position: absolute;
    margin-left: 4px;
    right: 0;
}

.page-ticket .innerLR .ticket-column.span3 .widget.widget-3 .sidebar-section .sidebar-content:hover .icon-pencil.titleModif {
    display: inline-block;
}

.page-ticket .innerLR .ticket-column.span3 .widget.widget-3 .sidebar-section .assigned div .icon-pencil {
    display: none;
    position: absolute;
    margin-left: 4px;
    margin-top: 17px;
}

.page-ticket .innerLR .ticket-column.span3 .widget.widget-3 .sidebar-section .assigned div:hover .icon-pencil {
    display: inline-block;
}

/************ Mandate details *****************/
.page-mandate .wizard .wizard-head .block i:before {
    font-size: 16px !important;
    color: #999;
}

.page-mandate .widget .widget-footer.block {
    height: auto;
    border-top: 1px solid #c1c1c1;
    border-bottom: 0;
}

.page-mandate .widget .widget-footer.block .reason-text {
    background-color: #D1B0B0;
    border: 2px solid #744646;
    overflow: hidden;
    padding: 2px 0 2px 6px;
    text-align: left;
    margin: 0 !important;
}

.page-mandate .widget .widget-footer.block .reason-add {
    padding: 10px !important;
}

.page-mandate .widget .widget-footer.block .reason-add textarea {
    width: 99%;
}

.page-mandate .wizard .wizard-head {
    position: relative;
}

.page-mandate .wizard .wizard-head .block {
    position: absolute;
    right: 0;
    bottom: 20px;
}

.page-mandate .cancellations .sidebar-title {
    font-weight: bold;
    float: left;
    width: 120px;
}

.page-mandate .cancellations .sidebar-title label {
    font-weight: bold
}

.page-mandate .cancellations li {
    clear: both;
    display: inline-block;
    margin-bottom: 10px;
    width: 100%;
}

.page-mandate .cancellations li:last-child {
    margin-bottom: 0px;
}

.page-mandate .cancellations .sidebar-content {
    float: left;
}

.page-mandate .cancellations .title {
    display: inline-block;
    line-height: normal;
    padding: 13px 0 0;
    text-transform: uppercase;
}

.page-mandate .widget .widget-footer span {
    width: auto;
    padding: 0 5px 0 5px;
    font-size: 11px;
    color: #555;
    display: inline-block;
}

.page-mandate .created-by-details {
    color: #555;
}

.page-mandate .sidebar-content .avatar,
.created-by .avatar {
    margin-right: 10px;
    vertical-align: middle;
}

.page-mandate #panel_description .editable-container,
.page-mandate #panel_project .editable-container,
.page-mandate #panel_company .editable-container {
    width: 99% !important;
    height: 100%;
}

.page-mandate #panel_description .editable-input,
.page-mandate #panel_project .editable-input,
.page-mandate #panel_company .editable-input {
    width: 100% !important;
}

.page-mandate #panel_description .editable-buttons,
.page-mandate #panel_project .editable-buttons,
.page-mandate #panel_company .editable-buttons {
    display: inherit !important;
    margin: 5px 0 0 0 !important;
}


.page-mandate #panel_description iframe.wysihtml5-sandbox,
.page-mandate #project iframe.wysihtml5-sandbox {
    min-height: 450px;
}

.page-mandate button#hide_note,
.page-mandate button#hide_task {
    display: none
}


.page-mandate .innerLR .mandate-column.span3 .buttons.pull-right {
    margin: 11px auto 20px;
}

.page-mandate .innerLR .mandate-column.span3 .widget.widget-3 {
    clear: both;
}

.page-mandates #adminForm .innerLR .widget .widget-body table tbody tr td.break-all {
    word-break: break-all;
}

.page-mandate .innerLR .mandate-column.span3 .widget.widget-3 .sidebar-section .sidebar-content div .icon-pencil {
    display: none;
    position: absolute;
    margin-left: 4px;
}

.page-mandate .innerLR .mandate-column.span3 .widget.widget-3 .sidebar-section .sidebar-content div:hover .icon-pencil {
    display: inline-block;
}

.page-mandate .innerLR .mandate-column.span3 .widget.widget-3 .sidebar-section .sidebar-content .icon-pencil.titleModif {
    display: none;
    position: absolute;
    margin-left: 4px;
    right: 0;
}

.page-mandate .innerLR .mandate-column.span3 .widget.widget-3 .sidebar-section .sidebar-content:hover .icon-pencil.titleModif {
    display: inline-block;
}

.page-mandate .innerLR .mandate-column.span3 .widget.widget-3 .sidebar-section .assigned div .icon-pencil {
    display: none;
    position: absolute;
    margin-left: 4px;
    margin-top: 4px;
}

.page-mandate .innerLR .mandate-column.span3 .widget.widget-3 .sidebar-section .assigned div:hover .icon-pencil {
    display: inline-block;
}

/************ Project details *****************/
.page-project .cancellations .sidebar-title {
    font-weight: bold;
    float: left;
    width: 120px;
}

.page-project .cancellations .sidebar-title label {
    font-weight: bold
}

.page-project .cancellations li {
    clear: both;
    display: inline-block;
    margin-bottom: 10px;
    width: 100%;
}

.page-project .cancellations .sidebar-content {
    float: left;
}

.page-project .cancellations .title {
    display: inline-block;
    line-height: normal;
    padding: 13px 0 0;
    text-transform: uppercase;
}

.page-project .created-by-details {
    color: #555;
}

.page-project .sidebar-content .avatar,
.created-by .avatar {
    margin-right: 10px;
    vertical-align: middle;
}

.page-project #panel_description .editable-container,
.page-project #panel_company .editable-container {
    width: 99% !important;
    height: 100%;
}

.page-project #panel_description .editable-input,
.page-project #panel_company .editable-input {
    width: 100% !important;
}

.page-project #panel_description .editable-buttons,
.page-project #panel_company .editable-buttons {
    display: inherit !important;
    margin: 5px 0 0 0 !important;
}

.page-project #panel_description iframe.wysihtml5-sandbox {
    min-height: 450px;
}

.page-project #panel_documents button.attachment-image {
    display: none;
}

.page-project .innerLR .project-column.span3 .buttons.pull-right {
    margin: 11px auto 20px;
}

.page-project .innerLR .project-column.span3 .widget.widget-3 {
    clear: both;
}

.page-project .innerLR .project-column.span3 .widget.widget-3 .sidebar-section .sidebar-content div .icon-pencil {
    display: none;
    position: absolute;
    margin-left: 4px;
}

.page-project .innerLR .project-column.span3 .widget.widget-3 .sidebar-section .sidebar-content div:hover .icon-pencil {
    display: inline-block;
}

.page-project .innerLR .project-column.span3 .widget.widget-3 .sidebar-section .sidebar-content div#responsible .icon-pencil {
    display: none;
    position: absolute;
    top: 0;
    right: -20px;
}

.page-project .innerLR .project-column.span3 .widget.widget-3 .sidebar-section .sidebar-content div#responsible:hover .icon-pencil {
    display: inline-block;
}

.page-project .innerLR .project-column.span3 .widget.widget-3 .sidebar-section .sidebar-content div#client .icon-pencil {
    display: none;
    position: absolute;
    top: 0;
    right: -20px;
}

.page-project .innerLR .project-column.span3 .widget.widget-3 .sidebar-section .sidebar-content div#client:hover .icon-pencil {
    display: inline-block;
}

/************ company details *****************/
.page-company .cancellations .sidebar-title {
    font-weight: bold;
    float: left;
    width: 120px;
}

.page-company .cancellations .sidebar-title label {
    font-weight: bold
}

.page-company .cancellations li {
    clear: both;
    display: inline-block;
    margin-bottom: 10px;
    width: 100%;
}

.page-company .cancellations .sidebar-content {
    float: left;
}

.page-company .cancellations .title {
    display: inline-block;
    line-height: normal;
    padding: 13px 0 0;
    text-transform: uppercase;
}


.page-company .innerLR .company-column.span3 .buttons.pull-right {
    margin: 8px auto 20px;
}

.page-company .innerLR .company-column.span3 .widget.widget-3 {
    clear: both;
}

.page-company .no-action {
    height: 31px;
}

.page-company #details .editable-buttons {
    display: inherit !important;
    margin: 5px 0 0 0 !important;
}

.page-company #details .editable-container {
    width: 99% !important;
    height: 100%;
}

.page-company #details .editable-input {
    width: 100% !important;
}

.page-company .innerLR .company-column.span3 .widget.widget-3 .sidebar-section .sidebar-content div .icon-pencil {
    display: none;
    position: absolute;
    margin-left: 4px;
}

.page-company .innerLR .company-column.span3 .widget.widget-3 .sidebar-section .sidebar-content div:hover .icon-pencil {
    display: inline-block;
}

/************ History *****************/
.list-history {
    list-style: none;
    margin-left: 0;
}

.list-history .history {

    display: inline-block;
    width: 94%;
    margin-top: -5px;


}

.widget-body .tab-content .tab-pane .task-text {
    float: left;
    max-width: 90%;
    cursor: text;
    margin-left: 5px;
}

.widget.widget-tabs .widget-body {}

.list-history .history:nth-child(2n) {
    background: #eeeeee
}

.list-history .history .history-details img.euser {
    float: left;
    margin-right: 10px;
}

.history-duration .info-intervention {
    display: inline;
}

.history-duration .info-intervention div {
    display: inline;
    margin-left: 8px;
}

.duration.editable.editable-click {
    text-decoration: none;
    border: 1px solid #c1c1c1;
    padding: 2px 5px;
    border-radius: 5px;
    cursor: pointer;
}


form.form-inline.editableform .editable-input input.inpput-duration {
    width: 85px;
}

/**************************/
#panel_task .task-input {
    width: 3%
}

#panel_task .task-info {
    margin-left: 3%
}


#rootwizard .widget-head {
    height: 28px;
    line-height: 28px;
    border-bottom: 0
}

/**************** Module Trash *********************/
.trash-drop-zone {
    position: fixed;
    bottom: 0;
    width: 190px;
    padding: 5px;
}

.trash-drop-zone h3 {
    font-size: 20px;
    margin-bottom: 0
}

#trash {
    height: 100px;
    border-width: 2px;
    border-color: #47759E;
    border-style: dotted;
    border-radius: 6px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 4px;
}

#trash .glyphicons {
    display: block
}

#trash .glyphicons i:before {
    font-size: 60px;
    left: 32%;
    top: 20px;
    color: #C1C1C1;
}

/**************** Attachments *********************/
.node-attachments {
    font-size: 11px;
}

.node-attachments .node-attachment {
    text-align: center;
    height: 120px;
    width: 120px;
    padding: 5px;
    float: left;
    margin: 5px 0 0 5px;
    word-wrap: break-word;
    background: white;
}

.node-attachments .node-attachment .attachment-thumbnail {
    max-height: 100%;
}

.close {
    float: right;
    font-size: 20px;
    font-weight: bold;
    line-height: 18px;
    color: #000;
    text-shadow: 0 1px 0 #ffffff;
    opacity: 0.2;
    filter: alpha(opacity=20);
}

.node-attachment span.attachment-size {
    font-size: 9px;
    padding: 3px
}

.progress-list {
    list-style-type: none;
    margin-left: 0;
}

.progress-list .progress-item {
    margin-top: 5px;
    padding: 10px 15px 10px 15px;
    background-color: #f3f3f5;
    border: 1px solid #e2e2e9;
    border-radius: 5px;
    position: relative;
}

.progress-list .progress-item .progress-item-filename {
    margin: 5px
}

.progress-list .progress {
    margin: 2px 0 0 2px
}

#dropbox {
    padding: 30px 50px 100px 50px;
    margin-bottom: 15px;
    border: 5px dashed #d6d6d6;
    text-align: center;
}

a.attachment-delete-link {
    cursor: pointer
}

/**************** Notifications *********************/
div.notif {
    float: left;
    margin-right: 20px;
    /* border: */
}

.notif .dropdown-menu {
    min-width: 320px;
    padding: 5px;
    margin: 0;
}

.widget-activity ul.activities li .activity-icon img {
    vertical-align: text-bottom
}

a.notifications-url {
    display: block
}

div.date-panel-buttons {
    float: right;
    margin-top: 0
}

.adminformlist li {
    list-style: none;
    margin: 0 0 0 0;
}

th.etat {
    min-width: 80px
}

.widget .widget-body.list {
    padding: 0 0 10px 0 !important;
    overflow: hidden
}

.page-notifications .notifications .notification span.extra {
    font-size: 90%;
    text-transform: none;
    padding: 0px 0px 0px 5px;
    position: relative;
    font-weight: bold;
}

.page-notifications .notifications .notification .notification-infos {
    /*margin-left: 10px;*/
    margin-left: 0px;
}

.page-notifications .widget .widget-body .notifications .notification .row {
    /* margin-left: 10px;*/
    margin-left: 0px;
}

.page-notifications .widget .widget-body .notifications .notification .row .pull-left.span1 {
    margin-left: 10px;
    width: 7%;
}

.page-notifications .widget .widget-body .notifications .notification .row .notification-infos {
    margin-left: 10px;
    width: 90%;
}

/**************** Global Config *********************/
form.edit-config iframe.wysihtml5-sandbox {
    width: 40% !important;
    margin-left: 200px !important;
    min-height: 150px
}

/**************** Modal window *********************/
#myModal {
    width: 630px;
}

#myModal .modal-body {
    max-height: initial !important;
    overflow-y: visible;
}

#myModal .modal-body .heading-buttons,
#myModal .modal-body .separator.bottom {
    display: none;
}

#myModal .modal-body .innerLR {
    padding: 0;
}

#myModal .modal-body .widget,
#myModal .modal-body .wizard .wizard-head {
    border-color: #eee !important;
}

#myModal .modal-body .widget .widget-head {
    display: none;
}

.row-fluid #myModal {
    position: absolute;
    top: 3%;
    margin-left: -390px;
    left: 50%;
}

.row-fluid #myModal .modal-body #system-message-container #system-message {
    width: auto;
}

body.component {
    background-color: #fff !important;
}

body.component #system-message {
    width: auto;
}

body.component #system-message-container {
    margin: 0px !important;
}

body.component .modal-body {
    overflow: visible !important;
}

/************* Tables ***************************/
.table-bordered thead th a {
    color: #fff
}

.dataTables_paginate .limit {
    float: left
}

/************ Pagination *******************/
.list-footer select#limit {
    width: 70px
}

.bloc_activite {
    margin-left: 0 !important
}

/************** Misc ****************************/
h1 span,
h2 span,
h3 span {
    margin-left: 5px;
}

.form-horizontal .editable {
    padding: 0px 10px 0px 10px !important;
}

/***************************************** page activites   ************************************/
.notifications.list-group .activity.row-fluid:first-child {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.notifications.list-group .activity.row-fluid:last-child {
    margin-bottom: 0;
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 4px;
}

.notifications.list-group .activity.row-fluid {
    position: relative;
    display: block;
    padding: 10px 15px;
    margin-bottom: -1px;
    background-color: #fff;
    border: 1px solid #ddd !important;
    width: 97%;
}

.notifications.list-group .activity.row-fluid .right-activity.span11 {
    margin-left: 10px;
    with: 90%;
}

.notifications.list-group .activity.row-fluid:hover,
.notifications.list-group .activity.row-fluid:focus {
    color: #555;
    text-decoration: none;
    background-color: #f5f5f5;
    cursor: pointer;
}

/**************************** footer ***************************************/
#footer_bottom.contentFooter {
    width: 100%;
    height: 30px;
    background-color: #0093C9;
    box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.1);
    margin: 0;
    position: absolute;
    float: left;
    bottom: 0;
}

#footer_bottom.contentFooter .glyphicons.feedback i:before {
    content: "\e245";
    color: #fff;
    font-size: 20px;
}


#footer_bottom.contentFooter .glyphicons.help i:before {
    content: "\e195";
    color: #fff;
    font-size: 18px;
}


#footer_bottom.contentFooter .glyphicons.feedback a {
    font-size: 14px;
    color: #fff;
}


#footer_bottom.contentFooter .glyphicons.help a {
    font-size: 14px;
    color: #fff;
}

#footer_bottom.contentFooter .menu-footer-bottom {
    float: left;
    margin-left: 20px;
    margin-top: 5px;
}

#footer_bottom.contentFooter ul {
    margin: 0px;
    padding: 0px;
}

#footer_bottom.contentFooter ul li.glyphicons {
    padding: 0px 0 5px 28px;
    margin-right: 40px;
    margin-top: 0px;
}

#footer_bottom.contentFooter .copyright-footer-bottom {
    font-size: 14px;
    color: #fff;
    float: right;
    margin-right: 20px;
    margin-top: 5px;
}

#footer_bottom.contentFooter .copyright-footer-bottom a {
    font-size: 14px;
    color: #fff;
}

/* ============================================
   Optimisation de l'en-tête de page (heading-buttons)
   - Réduit l'espace vertical sans changer la taille du titre
   - Aligne horizontalement l'icône, le titre et les boutons
   ============================================ */

/* Container principal de l'en-tête - espace minimal */
.heading-buttons {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between;
    min-height: 0 !important;
    padding: 0 20px 0 20px !important;
    margin: 0 0 5px 0 !important;
    line-height: normal !important;
}

/* Titre (h3) et son icône - alignement flex */
.heading-buttons h3 {
    margin: 0 !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    line-height: 1 !important;
}

/* Espacement entre l'icône et le texte du titre */
.heading-buttons h3.glyphicons {
    padding-left: 45px !important;
}

.heading-buttons h3.glyphicons i:before {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    text-align: center;
    line-height: 1;
}

/* Boutons à droite - alignement vertical centré */
.heading-buttons .buttons {
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px;
    float: none !important;
}

.heading-buttons .buttons .btn {
    margin: 0 !important;
    vertical-align: middle;
}

/* Réduire l'espace entre le header et la barre de filtres */
.heading-buttons+.filter-bar,
.heading-buttons+.widget {
    margin-top: 0 !important;
}

/* Conteneur innerLR - réduire le padding top */
.innerLR {
    padding-top: 5px !important;
}

/* Aligner "| Tableau" avec le titre principal */
.heading-buttons h3 span.hidden-phone {
    position: relative;
    top: 3px;
    vertical-align: baseline;
}

/* Réduire l'espace entre le titre et les filtres */
.separator.bottom {
    padding: 0 0 7px !important;
}

/* ============================================
   Styles des titres pour les pages de détails
   (fiches ticket, mission, projet, utilisateur, entreprise)
   ============================================ */

/* Titre h3 des pages de détails - espacement et alignement */
.ticket-body>h3.glyphicons,
.mandate-body>h3.glyphicons,
.project-body>h3.glyphicons,
.company-body>h3.glyphicons,
.user-body>h3.glyphicons,
.page-ticket h3.glyphicons,
.page-mandate h3.glyphicons,
.page-project h3.glyphicons,
.page-company h3.glyphicons,
.page-user h3.glyphicons,
.page-profile h3.glyphicons {
    margin: 0 0 25px 0 !important;
    padding: 0 0 0 45px !important;
    display: inline-flex !important;
    align-items: center !important;
    line-height: 1 !important;
    position: relative;
}

/* Icône du titre - positionnement */
.ticket-body>h3.glyphicons i:before,
.mandate-body>h3.glyphicons i:before,
.project-body>h3.glyphicons i:before,
.company-body>h3.glyphicons i:before,
.user-body>h3.glyphicons i:before,
.page-ticket h3.glyphicons i:before,
.page-mandate h3.glyphicons i:before,
.page-project h3.glyphicons i:before,
.page-company h3.glyphicons i:before,
.page-user h3.glyphicons i:before,
.page-profile h3.glyphicons i:before {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    text-align: center;
    line-height: 1;
}

/* Aligner le texte secondaire (projet, etc.) */
.ticket-body>h3 span.hidden-phone,
.mandate-body>h3 span.hidden-phone,
.project-body>h3 span.hidden-phone {
    position: relative;
    top: 3px;
    vertical-align: baseline;
}

/* Aligner les boutons (Corbeille, Dupliquer, etc.) avec le titre */
.ticket-column .buttons.pull-right,
.mandate-column .buttons.pull-right,
.project-column .buttons.pull-right,
.company-column .buttons.pull-right,
.page-ticket .buttons.pull-right,
.page-mandate .buttons.pull-right,
.page-project .buttons.pull-right,
.page-company .buttons.pull-right,
.page-user .buttons.pull-right,
.page-profile .buttons.pull-right {
    display: flex !important;
    align-items: center !important;
    gap: 8px;
    margin-top: 0 !important;
    margin-bottom: 20px !important;
}

/* Style du lien vers le projet dans le titre */
.ticket-body>h3 span.hidden-phone a,
.mandate-body>h3 span.hidden-phone a,
.heading-buttons h3 span.hidden-phone a {
    color: #0093C9;
    text-decoration: none;
}

.ticket-body>h3 span.hidden-phone a:hover,
.mandate-body>h3 span.hidden-phone a:hover,
.heading-buttons h3 span.hidden-phone a:hover {
    text-decoration: underline;
}