html, body {
    height: 100%;
}

app {
    display: block;
    height: 100%;
}

.header-logo {
    flex-shrink: 0;
    background-color: currentColor;
    -webkit-mask: url('../images/Logo.svg');
    mask: url('../images/Logo.svg');
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    width: 180px;
    height: 24px;
}

#blazor-error-ui {
    background: inherit;
    bottom: 0;
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 100001;
}

.change-history .dxbl-text-edit {
    border: none;
}


.chat-container {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 16px;
    margin: auto;
}

.message {
    display: flex;
    align-items: flex-start;
    max-width: 80%;
}

.message-other {
    justify-content: flex-start;
    align-self: flex-start;
    flex-direction: row;
}

.message-author {
    justify-content: flex-end;
    align-self: flex-end;
    flex-direction: row-reverse;
}

.message-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.author-name {
    font-weight: bold;
    font-size: 13px;
    color: #555;
    margin-bottom: 2px;
}

.bubble {
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 14px;
    max-width: 100%;
    word-wrap: break-word;
    line-height: 1.4;
}

.message-author .bubble {
    background-color: #dcf8c6;
    color:#000;
    border-bottom-right-radius: 4px;
}

.message-other .bubble {
    background-color: #f1f0f0;
    color: #000;
    border-bottom-left-radius: 4px;
}

.timestamp {
    font-size: 11px;
    color: #999;
    margin-top: 2px;
}

.avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin: 0 8px;
    object-fit: cover;
    border: 1px solid #ccc;
}

/***/

.comment-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.comment {
    margin-bottom: 15px;
    clear: both;
    overflow: hidden;
}

.comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.comment-content {
    max-width: 70%;
    padding: 10px 15px;
    border-radius: 18px;
    line-height: 1.4;
    position: relative;
    word-wrap: break-word;
}

/* Messages des autres utilisateurs (à gauche) */
.other-user {
    float: left;
    text-align: left;
}

    .other-user .comment-content {
        background-color: #f1f1f1;
        color: #000;
        margin-left: 10px;
    }

    .other-user .comment-meta {
        margin-left: 50px; /* avatar width + margin */
        padding: 5px 0;
        font-size: 0.8em;
        color: #666;
    }

    .other-user .comment-avatar {
        float: left;
    }

/* Messages de l'auteur (à droite) */
.current-user {
    float: right;
    text-align: right;
}

    .current-user .comment-content {
        background-color: #0084ff;
        color: #fff;
        margin-right: 10px;
    }

    .current-user .comment-meta {
        margin-right: 50px; /* avatar width + margin */
        padding: 5px 0;
        font-size: 0.8em;
        color: #666;
        text-align: right;
    }

    .current-user .comment-avatar {
        float: right;
    }

/* Alignement du contenu avec l'avatar */
.comment-body {
    display: flex;
    align-items: flex-start;
}

.current-user .comment-body {
    justify-content: flex-end;
}

/* Style pour le texte du commentaire */
.comment-text {
    margin: 0;
}

/* Style pour l'heure du commentaire */
.comment-time {
    font-size: 0.7em;
    opacity: 0.8;
    margin-top: 3px;
}

.caterlgix-right-col {
    background-color: #f1f1f1;
   
}