/* Colibri */

.h-section > div {
  z-index: auto;
}

/*******/


#popupWindow .mon-bouton-header::before,
#popupWindow .mon-bouton-header::after {
    content: none !important;
    display: none !important;
}
.chat-bubble {
    padding: 6px 10px;
    max-width: 85%;
    word-wrap: break-word;
    border-radius: 20px;
    text-align: left;
}
.chat-bubble p {
  color: #000 !important;
}

.chat-bubble.system {
    border-radius: 20px 20px 20px 0;
    background-color: #f1f1f1;
    color: #000;
    align-self: flex-start;
    text-align: left;
}

.chat-bubble.user {
    border-radius: 20px 20px 0 20px;
    color: #fff;
    align-self: flex-end;
    text-align: right;
}

.chat-choice-btn, .chat-back-btn {
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 6px;
    background-color: #fff;
    font-size: 14px;
    font-family: Arial, sans-serif;
}

.chat-choice-btn:hover, .chat-back-btn:hover, .chat-choice-btn-selected {
    color: #fff;
    transition: 0.3s ease-in-out;
}

.chat-choice-btn:disabled {
    pointer-events: none;
    cursor: default;
}

.chat-msg-wrapper {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
}

.chat-time {
    font-size: 12px;
    color: #999;
    margin-bottom: 2px;
}
.chat-options-sheet {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.chat-options-sheet.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.chat-options-sheet.closing {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
}

.chat-options-sheet button {
    width: 100%;
    padding: 12px;
    font-size: 14px;
    border: none;
    background: none;
    border-bottom: 1px solid #ddd;
    cursor: pointer;
}

.chat-options-sheet button.cancel {
    font-weight: bold;
}

.chat-options-sheet button:hover {
    background-color: #f5f5f5;
}

.chat-options-sheet button:first-child:hover {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}
/* Animation rotation + fondu */
@keyframes rotateFade {
    0% {
        /*transform: rotate(0deg);*/
        opacity: 1;
        transform: scale(1);
    }
    50% {
        /*transform: rotate(180deg);*/
        opacity: 0;
        transform: scale(0.3); /* réduit à 50% de la taille */
    }
    100% {
        /*transform: rotate(360deg);*/
        opacity: 1;
        transform: scale(0.6);
    }
}

.icon-switching {
    animation: rotateFade 0.4s ease forwards;
}

.hidden {
    display: none;
}

#chat-icon.chat-image {
    background-image: url('../img/agent_chat_monochrome.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: block;
    height: 32px;
    width: 30px;
}

#chat-icon.fa-comments:not(.chat-image),
#chat-icon.fa-xmark {
    font-size: 24px;
    height: auto;
    width: auto;
}

.chat-bubble ul {
    list-style: disc !important;
    padding-left: 15px;
}

.chat-bubble ol {
    padding-left: 15px;
}
.chat-bubble a[href] {
    /* Add ellipsis at the end if text does not fit in given width */
    text-overflow: ellipsis;
    /* Have to add this line to make upper line work */
    overflow: hidden;
}

.chat-actu {
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 6px;
    box-sizing: border-box;
    text-decoration: none;
    transition: 0.3s ease-in-out;
}