/* archivo-200 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Archivo';
    font-style: normal;
    font-weight: 200;
    src: url('../fonts/archivo-v18-latin-200.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ url('../fonts/archivo-v18-latin-200.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* archivo-regular - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Archivo';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/archivo-v18-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ url('../fonts/archivo-v18-latin-regular.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* archivo-500 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Archivo';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/archivo-v18-latin-500.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ url('../fonts/archivo-v18-latin-500.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* archivo-600 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Archivo';
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/archivo-v18-latin-600.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ url('../fonts/archivo-v18-latin-600.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* archivo-700 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Archivo';
    font-style: normal;
    font-weight: bold;
    src: url('../fonts/archivo-v18-latin-700.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ url('../fonts/archivo-v18-latin-700.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* archivo-900 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Archivo';
    font-style: normal;
    font-weight: 900;
    src: url('../fonts/archivo-v18-latin-900.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ url('../fonts/archivo-v18-latin-900.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}


/* barlow-regular - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/barlow-v12-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ url('../fonts/barlow-v12-latin-regular.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* barlow-500 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/barlow-v12-latin-500.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ url('../fonts/barlow-v12-latin-500.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* barlow-600 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/barlow-v12-latin-600.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ url('../fonts/barlow-v12-latin-600.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* barlow-700 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/barlow-v12-latin-700.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ url('../fonts/barlow-v12-latin-700.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* merriweather-300 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Merriweather';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/merriweather-v30-latin-300.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ url('../fonts/merriweather-v30-latin-300.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* merriweather-regular - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Merriweather';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/merriweather-v30-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ url('../fonts/merriweather-v30-latin-regular.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* merriweather-700 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Merriweather';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/merriweather-v30-latin-700.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ url('../fonts/merriweather-v30-latin-700.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* merriweather-900 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Merriweather';
    font-style: normal;
    font-weight: 900;
    src: url('../fonts/merriweather-v30-latin-900.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ url('../fonts/merriweather-v30-latin-900.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

.logo {
    font-family: 'Archivo', sans-serif;
    letter-spacing: -1.5px;
}

html, body {
    font-family: 'Barlow', sans-serif;
}

/*.tinymce-content,*/
/*.tinymce-content * {*/
/*    font-family: 'Barlow', sans-serif !important;*/
/*}*/

.fw-500 {
    font-weight: 500;
}

.infScll h1 {
    font-size: 22px;
}

.infScll h2 {
    font-size: 18px;
}

.infScll p {
    font-size: 12px;
}

a {
    cursor: pointer;
}

.handle {
    cursor: pointer;
}

@media only screen and (max-width: 768px ) {
    .infScll h1 {
        font-size: 18px;
    }

    .infScll h2 {
        font-size: 14px;
    }

    .infScll p {
        font-size: 10px;
    }
}


.dynamic-font * {
    font-size: clamp(0.9rem, 1vw + 0.5rem, 1rem);
    line-height: clamp(1.2rem, 1vw + 0.5rem, 1.6rem);

}

/*@import url("https://fonts.googleapis.com/css?family=Open+Sans");*/


/** {*/
/*    box-sizing: border-box;*/
/*}*/

/*.notes {*/
/*    margin: auto;*/
/*    padding: 2rem 1.2rem 0;*/
/*    max-width: 35rem;*/
/*    font-family: Open Sans, sans serif;*/
/*    text-align: center;*/
/*}*/

/*.lx-container {*/
/*    width: 100%;*/
/*    padding: 1em;*/
/*    display: flex;*/
/*    flex-flow: column nowrap;*/
/*    justify-content: flex-start;*/
/*    align-items: center;*/
/*}*/

/*.lg-container {*/
/*    max-width: 100%;*/
/*    position: relative;*/
/*    margin: 1rem;*/
/*    padding: 0;*/
/*}*/

.luci-z-1050 {
    z-index: 1050;
}

.luci-z-1100 {
    z-index: 1100;
}


.luci-image {
    /*display: block;*/
    height: auto;
    width: 100%;

    /*object-fit: scale-down;*/
}

.luci-image-exercise {
    /*display: block;*/
    height: auto;
    width: 100%;

    /*object-fit: scale-down;*/
}


.luci-hotspot {
    position: absolute;
    margin: 0;
    padding: 0;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.luci-hotspot-message {
    background: rgba(255, 255, 255, 0.77);
    position: absolute;
    margin: 0;
    padding: 0;
    transform: translate(-50%, -50%);
    z-index: 0;
    top: 50%;
    left: 50%;

}


.luci-image-body {
    display: flex; /* Enable flexbox for centering */
    justify-content: center; /* Horizontally center #containment */
    align-items: center; /* Vertically center #containment */
    position: relative; /* For positioning child elements */
    width: 100%; /* Make the card responsive */
    height: auto; /* Fixed height */
    overflow: hidden; /* Ensure nothing overflows */
}


.luci-hotspot:hover .luci-hotspot__button, .luci-hotspot:active .luci-hotspot__button {
    border-color: #0022ff;
}

.luci-hotspot:hover .luci-hotspot__button:after, .luci-hotspot:active .luci-hotspot__button:after {
    background-color: #0022ff;
}


.luci-hotspot--selected {
    z-index: 999;
}


.luci-hotspot--selected .luci-hotspot__label {
    opacity: 1;
    display: block;

}

.luci-hotspot__button {
    height: 48px;
    width: 48px;
    padding: 0px;
    border: 0px solid #0022ff;
    border-radius: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 999;
    animation: button-pulse 5s ease-in-out infinite;
    cursor: pointer;
    background-color: rgba(255, 96, 0, 0);
}


.luci-hotspot__button:after {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    content: "";
    display: block;
    height: 16.8px;
    width: 16.8px;
    border-radius: 100%;
    border: 3px solid white;
    transition: border-color 1s linear;
}

.luci-hotspot__button.luci-hotspot__button--red:after {
    background-color: #ff6000;
}

.luci-hotspot__button.luci-hotspot__button--green:after {
    background-color: #1dd715;
}

.luci-hotspot__button.luci-hotspot__button--yellow:after {
    background-color: #ffff00;
}

.luci-hotspot__button.luci-hotspot__button--selected:after {
    background-color: #1dd715 !important;
}


.luci-hotspot__button2 {
    height: 48px;
    width: 48px;
    padding: 0;
    /*border: 0px solid #0022ff;*/

    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 999;
    animation: button-pulse 5s ease-in-out infinite;
    cursor: pointer;
    background-color: rgba(255, 96, 0, 0);
    border: 1px solid transparent;

}


.luci-hotspot__button2.luci-hotspot__button--red {
    border: 0.5px solid #ff6000;
}

.luci-hotspot__button2.luci-hotspot__button--green {
    border: 0.5px solid #1dd715;
}

.luci-hotspot__button2.luci-hotspot__button--yellow {
    border: 0.5px solid #ffff00;
}

.luci-hotspot__button2.luci-hotspot__button--selected {
    border: 1px solid #1dd715 !important;
}


.luci-hotspot__label {
    position: absolute;
    padding: 0 0 1.1em 0;
    width: 16em;
    max-width: 50vw;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    /*font-family: "Open Sans", sans-serif;*/
    font-size: 14.5px;
    line-height: 1.45em;
    z-index: -1;
    border-radius: 2px;
    user-select: none;
    opacity: 0;
    display: none;
    transition: all 0.1s linear;
}

.luci-hotspot__label h4 {
    margin: 0;
    padding: 0.65em 24px;
    background-color: #555;
    font-size: 1.1em;
    font-weight: normal;
    letter-spacing: 0.02em;
    color: white;
    border-radius: 2px 2px 0 0;
}

.luci-hotspot__label p {
    margin: 0;
    padding: 1.1em 24px 0 24px;
    color: #333;
}

.luci-hotspot--top-left .luci-hotspot__label {
    top: 24px;
    left: 24px;
}

.luci-hotspot--top-right .luci-hotspot__label {
    top: 24px;
    right: 24px;
}

.luci-hotspot--bottom-right .luci-hotspot__label {
    right: 24px;
    bottom: 24px;
}

.luci-hotspot--bottom-left .luci-hotspot__label {
    bottom: 24px;
    left: 24px;
}

@keyframes button-pulse {
    0% {
        transform: scale(1, 1);
        opacity: 1;
    }
    40% {
        transform: scale(1.15, 1.15);
        opacity: 1;
    }
    100% {
        transform: scale(1, 1);
        opacity: 1;
    }
}

.videosubtitle {
    min-height: calc((0.5rem + 1vw) * 6);
}

.videosubtitle p {
    font-size: calc(0.5rem + 1vw);
}

@media (min-width: 576px) {
    .videosubtitle {
        min-height: 100px;
    }

    .videosubtitle p {
        font-size: calc(0.6rem + 1vw);
    }
}

@media (min-width: 768px) {
    .videosubtitle p {
        font-size: calc(0.6rem + 1vw);
    }
}

@media (min-width: 992px) {

    .videosubtitle {
        min-height: 110px;
    }

    .videosubtitle p {
        font-size: 1.125rem;
    }
}

@media (min-width: 1200px) {
    .videosubtitle {
        min-height: 120px;
    }

    .videosubtitle p {
        font-size: 1.325rem;
    }
}

@media (min-width: 1400px) {
    .videosubtitle p {
        font-size: 1.525rem;
    }
}


/* #################### Hiding scroll bars  ############ */

.luci-no-scrollbar::-webkit-scrollbar {
    display: none;
}

.luci-no-scrollbar {
    scrollbar-width: none;
}


.lucy-shadow {

    box-shadow: 0px 9px 10px -15px #111;

}


.exercise-card-container {
    position: relative;
    transform-style: preserve-3d;
}

.front-card {
    backface-visibility: hidden;
    box-shadow: 0 0 11px rgba(33, 33, 33, .2);
}


.back-card {
    position: absolute;
    top: 0;
    left: 0;
    transform: rotateY(180deg);
    backface-visibility: hidden;
    box-shadow: 0 0 11px rgba(33, 33, 33, .2);
}


/*.luci-card {*/
/*    transition: all 0.30s ease;*/
/*    border: 1px solid rgba(93, 115, 227, 0.15); !* Bordure bleue très légère *!*/
/*}*/

/*.luci-card:hover {*/
/*    transform: scale(1.005) translateY(-1px);*/
/*    box-shadow: 0 0 11px rgba(33, 33, 33, .2);*/
/*    border-style: solid;*/
/*    !*border-color: blue;*!*/
/*}*/

.luci-card {
    transition: all 0.30s ease;
    border: 1px solid rgba(93, 115, 227, 0.15);
    position: relative;
}

/* Effet sur desktop */
@media (hover: hover) {
    .luci-card:hover {
        transform: scale(1.005) translateY(-1px);
        animation: shadow-pulse 3s infinite;
    }
}

/* Effet sur appareils tactiles */
@media (hover: none) {
    .luci-card:active {
        transform: scale(1.005) translateY(-1px);
        box-shadow: 0 0 18px rgba(35, 46, 64, 0.6);
    }

    /* Alternative: animation subtile toujours visible */
    .luci-card {
        animation: subtle-pulse 5s infinite;
    }
}

@keyframes shadow-pulse {
    0% {
        box-shadow: 0 0 10px rgba(29, 31, 73, 0.42);
    }
    50% {
        box-shadow: 0 0 18px rgba(35, 46, 64, 0.6);
    }
    100% {
        box-shadow: 0 0 10px rgba(29, 31, 73, 0.42);
    }
}

@keyframes subtle-pulse {
    0%, 100% {
        box-shadow: 0 0 5px rgba(29, 31, 73, 0.2);
    }
    50% {
        box-shadow: 0 0 12px rgba(35, 46, 64, 0.4);
    }
}

.luci-nav:hover {
    transition: all 0.30s;
}

.luci-nav:hover {
    transform: scale(1.1);
}

.luci-navPlus:hover {
    transition: all 0.30s;
}

.luci-navPlus:hover {
    transform: scale(1.3);
}

small {
    font-size: 0.82em;
}

.puls-text {
    /*font-size: 100px;*/
    font-weight: bold;
}

.puls-text {
    position: relative;
}

.puls-text .text-bottom {
    position: absolute;
    /*color: orangered;*/
    z-index: auto;
    animation: myanim 2.5s infinite;
}

@keyframes myanim {
    0% {
        transform: scale(1);
        opacity: 0.4;
    }

    70% {
        transform: scale(1.45);
        opacity: 0
    }

    100% {
        transform: scale(1);
        opacity: 0
    }
}

.btn[hx-target="#dialog"] {
    border-color: #146bf2;
    background-color: transparent; /* Green background */
    /*border: 2px solid #4CAF50; !* Green border *!*/
    color: #0f4aaf; /* White text */
    padding: 0px 10px 0px 10px; /* Add some padding */
    font-size: 16px; /* Increase font size */
    border-radius: 15px; /* Rounded corners */
    transition: all 0.3s ease; /* Smooth hover effect */
}

.btn-primary[hx-target="#dialog"] {
    background-color: transparent; /* Blue */


}

.btn[hx-target="#dialog"]:hover {
    background-color: #146bf2; /* Change background on hover */
    color: white; /* Change text color on hover */
}

/*.btn[hx-target="#dialog"]::before {*/
/*    content: '\F24A'; !* Unicode for the "chat-dots" icon in Bootstrap Icons *!*/
/*    font-family: "bootstrap-icons"; !* Set the font family for Bootstrap Icons *!*/
/*    margin-right: 8px; !* Space between the icon and the text *!*/
/*    font-size: 1rem; !* Adjust the icon size (optional) *!*/
/*    display: inline-block;*/
/*    vertical-align: middle; !* Align with the button text *!*/
/*}*/

/*!* Optional: Ensure alignment and spacing for all buttons *!*/
/*.btn {*/
/*    display: inline-flex;*/
/*    align-items: center;*/
/*}*/


.luci-verb_col1 {
    width: 50px; /* Set your desired width */
    white-space: nowrap; /* Prevent text wrapping */
    font-weight: 500;
    padding: 0 !important;
}

.luci-verb_col2 {
    padding: 0 !important;

}

.luci-verb_header {
    padding-left: 0 !important;
    font-weight: 600;
}

/*nav {*/
/*    overflow-x: auto;*/
/*    -webkit-overflow-scrolling: touch; !* Smooth scrolling on mobile *!*/
/*    white-space: nowrap; !* Prevent tabs from wrapping to the next line *!*/
/*}*/

/*!* Optional: You can style the tabs to ensure they're on a single line *!*/
/*.nav-tabs {*/
/*    display: flex;*/
/*    flex-wrap: nowrap;*/
/*}*/

/*!* Style the individual tab links *!*/
/*.nav-link {*/
/*    flex-shrink: 0; !* Prevent tabs from shrinking *!*/
/*    white-space: nowrap; !* Ensure text doesn't wrap *!*/
/*}*/

.htmx-indicator {
    display: none;
}

.htmx-indicator-to-hide {
    display: inline-block;
}

.htmx-request .htmx-indicator {
    display: inline-block;
}

.htmx-request .htmx-indicator-to-hide {
    display: none;
}

/*.htmx-request.htmx-indicator {*/
/*    display: block;*/
/*}*/


.chat-app .people-list {
    width: 280px;
    position: absolute;
    left: 0;
    top: 0;
    padding: 20px;
    z-index: 7
}

.chat-app .chat {
    margin-left: 280px;
    border-left: 1px solid #eaeaea
}

.people-list {
    -moz-transition: .5s;
    -o-transition: .5s;
    -webkit-transition: .5s;
    transition: .5s
}

.people-list .chat-list li {
    padding: 10px 15px;
    list-style: none;
    border-radius: 3px
}

.people-list .chat-list li:hover {
    background: #efefef;
    cursor: pointer
}

.people-list .chat-list li.active {
    background: #efefef
}

.people-list .chat-list li .name {
    font-size: 15px
}

.people-list .chat-list img {
    width: 45px;
    border-radius: 50%
}

.people-list img {
    float: left;
    border-radius: 50%
}

.people-list .about {
    float: left;
    padding-left: 8px
}

.people-list .status {
    color: #999;
    font-size: 13px
}

.chat .chat-header {
    padding: 15px 20px;
    border-bottom: 2px solid #f4f7f6
}

.chat .chat-header img {
    float: left;
    border-radius: 40px;
    width: 40px
}

.chat .chat-header .chat-about {
    float: left;
    padding-left: 10px
}

.chat .chat-history {
    padding: 20px;
    border-bottom: 2px solid #fff
}

.chat .chat-history ul {
    padding: 0
}

.chat .chat-history ul li {
    list-style: none;
    margin-bottom: 30px
}

.chat .chat-history ul li:last-child {
    margin-bottom: 0px
}

.chat .chat-history .message-data {
    margin-bottom: 15px
}

.chat .chat-history .message-data img {
    border-radius: 40px;
    width: 40px
}

.chat .chat-history .message-data-time {
    color: #434651;
    padding-left: 6px
}

.chat .chat-history .message {
    color: #444;
    padding: 18px 20px;
    line-height: 26px;
    font-size: 16px;
    border-radius: 7px;
    display: inline-block;
    position: relative
}

.chat .chat-history .message:after {
    bottom: 100%;
    left: 7%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-bottom-color: #fff;
    border-width: 10px;
    margin-left: -10px
}

.chat .chat-history .my-message {
    background: #efefef
}

.chat .chat-history .my-message:after {
    bottom: 100%;
    left: 30px;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-bottom-color: #efefef;
    border-width: 10px;
    margin-left: -10px
}

.chat .chat-history .other-message {
    background: #e8f1f3;
    text-align: right
}

.chat .chat-history .other-message:after {
    border-bottom-color: #e8f1f3;
    left: 93%
}

.chat .chat-message {
    padding: 20px
}

.online,
.offline,
.me {
    margin-right: 2px;
    font-size: 8px;
    vertical-align: middle
}

.online {
    color: #86c541
}

.offline {
    color: #e47297
}

.me {
    color: #1d8ecd
}

.float-right {
    float: right
}

.clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0
}

@media only screen and (max-width: 767px) {
    .chat-app .people-list {
        height: 465px;
        width: 100%;
        overflow-x: auto;
        background: #fff;
        left: -400px;
        display: none
    }

    .chat-app .people-list.open {
        left: 0
    }

    .chat-app .chat {
        margin: 0
    }

    .chat-app .chat .chat-header {
        border-radius: 0.55rem 0.55rem 0 0
    }

    .chat-app .chat-history {
        height: 300px;
        overflow-x: auto
    }
}

@media only screen and (min-width: 768px) and (max-width: 992px) {
    .chat-app .chat-list {
        height: 650px;
        overflow-x: auto
    }

    .chat-app .chat-history {
        height: 600px;
        overflow-x: auto
    }
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 1) {
    .chat-app .chat-list {
        height: 480px;
        overflow-x: auto
    }

    .chat-app .chat-history {
        height: calc(100vh - 350px);
        overflow-x: auto
    }
}


.custom-modal-height {
    height: 85vh !important; /* Ensure modal takes 90% of the viewport height */
    max-height: 85vh !important; /* Override Bootstrap's default constraints */
}

.custom-modal-height .modal-content {
    height: 100% !important; /* Ensure content expands fully inside */
}


.hover-highlight:hover {
    transition: all 0.30s;

}

.hover-highlight:hover {
    transform: scale(1.005) translateY(-1px);
    box-shadow: 0 0 11px rgba(33, 33, 33, .2);
    /*border-style: solid;*/
    /*border-color: blue;*/
}


.cando-section {
    --cando-base-color: rgb(93, 115, 227);
    border-left: 4px solid var(--cando-base-color);
    padding: 6px;
    margin-bottom: 10px;
}

.lesson-section {
    border-left: 3px solid color-mix(in srgb, var(--cando-base-color) 60%, transparent);
    padding: 4px;
    margin-bottom: 6px;
}

.exercise-section {
    border-left: 2px solid color-mix(in srgb, var(--cando-base-color) 40%, transparent);
    padding: 3px;
    margin-bottom: 4px;
}

.evaluation-item {
    background-color: white;
    transition: all 0.15s ease;
    border-left: 3px solid transparent;
    padding-left: calc(0.5rem - 3px);
    display: flex;
    align-items: center;
}

.evaluation-item:hover {
    background-color: color-mix(in srgb, var(--cando-base-color) 30%, white);
    border-left-color: var(--cando-base-color);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transform: translateX(2px);
}

.luci-light-underline {
    text-decoration: underline;
    text-decoration-color: rgb(188, 201, 251);
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
    transition: all 0.2s ease;
}

.luci-light-underline:hover {
    text-decoration-color: rgb(93, 115, 227);
    text-decoration-thickness: 2px;
}


.cfer-indicator-circle {
    margin: 0.25rem;
    /* Padding uniforme pour éviter la forme ovale */
    padding: 0.5rem;
    position: relative;
    font-size: 0.8rem;
    text-transform: uppercase;
    text-align: center;
    /* Dimensions fixes plutôt que min-width */
    width: 35px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--indicator-color);
    border-radius: 50%;
    /* Supprimer les padding horizontaux différents */
    box-sizing: border-box;
}

/* Version avec mise en évidence - significativement plus grande */
.cfer-highlight {
    font-weight: 700;
    font-size: 1.80rem;
    letter-spacing: 0.03em;
    /*color: var(--indicator-color);*/
    border-width: 5px;
    /* Augmenter la taille du cercle */
    width: 80px;
    height: 80px;
    /* Légère transformation pour attirer l'attention */
    transform: scale(1.05);
}

.lock-badge {
    position: absolute;
    top: -12px;
    right: -12px;
    z-index: 1;
}

.lock-badge-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    padding: 0.25rem;
    border: 1px solid lightgray;
}

.unread-messages { /* Red dot for unread messages */
    position: absolute;
    top: 0;
    right: 0;
    transform: translate(30%, -30%);
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background-color: rgb(255, 0, 0);
}

.alert-messages { /* Red dot for unread messages */
    position: absolute;
    top: 0;
    right: 0;
    transform: translate(75%, -25%);
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background-color: rgb(255, 0, 0, 0.65);
}
