﻿/* ============================================================
   GENTEXT CHAT BUBBLES — MAIN CHAT
   ============================================================ */

.gtx-chat .gtx-bubble {
    padding: 22px 26px;
    border-radius: 20px;
    max-width: 75%;
    position: relative;
    margin: 0;
    font-family: 'Inter', sans-serif;
    line-height: 1.45;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    background: #FFFFFF;
    color: #1A1A1A;
    display: block;
    opacity: 1;
    visibility: visible;
}


.gtx-chat .gtx-row {
    margin: 4px 0;
}

.gtx-chat .gtx-block-in {
    align-self: flex-start;
    background: #3A3A3C;
    color: #FFFFFF;
    margin-bottom: 0px; /* tighten the gap */
}
}

    .gtx-chat .gtx-block-in::after {
        content: "";
        position: absolute;
        left: -8px;
        top: 18px;
        border-top: 8px solid transparent;
        border-bottom: 8px solid transparent;
        border-right: 8px solid #3A3A3C;
    }

.gtx-chat .gtx-block-out {
    align-self: flex-end;
    background: #0A84FF;
    color: #FFFFFF;
    margin-bottom: 0px; /* tighten the gap */
}
}

    .gtx-chat .gtx-block-out::after {
        content: "";
        position: absolute;
        right: -8px;
        top: 18px;
        border-top: 8px solid transparent;
        border-bottom: 8px solid transparent;
        border-left: 8px solid #0A84FF;
    }

.gtx-chat .gtx-bubble h2,
.gtx-chat .gtx-bubble h3,
.gtx-chat .gtx-bubble p,
.gtx-chat .gtx-bubble blockquote {
    margin: 0 0 14px 0;
    color: inherit;
}

.gtx-chat .gtx-bubble blockquote {
    font-style: italic;
    opacity: 0.9;
}

.gtx-bubble:last-of-type {
    margin-bottom: 2px; /* tighten this number to taste */
}


/* ============================================================
   LIST PREVIEW BUBBLES (HOVER)
   ============================================================ */

.gtx-hover-preview {
     position: fixed !important;
    z-index: 999999 !important;
    max-width: 260px;
    font-family: 'Inter', sans-serif;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}



/* BASE PREVIEW BUBBLE */
.gtx-prev-in,
.gtx-prev-out {
    padding: 8px 10px;
    border-radius: 12px;
    margin-bottom: 6px;
    font-size: 15px;
    line-height: 1.35;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    display: inline-block;
    max-width: 200px;
    word-wrap: break-word;
    clear: both;
}

/* INCOMING PREVIEW BUBBLE */
.gtx-prev-in {
    background: #3A3A3C;
    color: #FFFFFF;
    position: relative;
    text-align: left;
    float: left;
}

    .gtx-prev-in::after {
        content: "";
        position: absolute;
        left: -6px;
        top: 10px;
        border-top: 6px solid transparent;
        border-bottom: 6px solid transparent;
        border-right: 6px solid #3A3A3C;
    }

/* OUTGOING PREVIEW BUBBLE */
.gtx-prev-out {
    background: #0A84FF;
    color: #FFFFFF;
    position: relative;
    text-align: right;
    float: right;
}

    .gtx-prev-out::after {
        content: "";
        position: absolute;
        right: -6px;
        top: 10px;
        border-top: 6px solid transparent;
        border-bottom: 6px solid transparent;
        border-left: 6px solid #0A84FF;
    }

.gtx-industry-hint {
    font-family: Inter, sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #9aa0a6;
    margin-left: 10px;
    position: relative;
    top: -1px;
}
