:root {
    /* your exact brand color: rgb(80, 113, 184) */
    --brand: #5071B8;
    --muted: #f1f5f9;
    --text: #111827;
    --bg: #ffffff;
}

* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
}

/* Root: fills the iframe height perfectly */
.chat {
    min-height: 100%;
    height: 100dvh; /* mobile-friendly viewport */
    display: flex;
    flex-direction: column;
    background: linear-gradient(to bottom, #ffffff, #f3f4f6);
}

/* Header */
.chat-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: var(--brand);
    color: #fff;
    height: 52px;
    min-height: 52px;
    flex: 0 0 52px;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.35);
}

    /* Logo in header */
    .chat-header .logo {
        width: 28px;
        height: 28px;
        border-radius: 50%;
        background: #fff;
        object-fit: cover;
        flex-shrink: 0;
        user-select: none;
        -webkit-user-select: none;
        -webkit-touch-callout: none;
    }

    /* Title + subtitle wrapper */
    .chat-header .header-text {
        display: flex;
        flex-direction: column;
        gap: 2px;
        margin-right: auto;
    }

    .chat-header .title {
        font-weight: 600;
        font-size: 15px;
    }

    .chat-header .subtitle {
        font-size: 12px;
        opacity: 0.9;
    }

    /* Login button: on the right edge of the header */
    .chat-header .login-btn {
        padding: 6px 14px;
        border: 1px solid rgba(255, 255, 255, 0.7);
        border-radius: 999px;
        background: transparent;
        color: #fff;
        font-size: 13px;
        font-weight: 600;
        cursor: pointer;
    }

        .chat-header .login-btn:hover,
        .chat-header .login-btn:focus-visible {
            background: rgba(255, 255, 255, 0.15);
        }

    /* Toggle Bible panel button: on the right edge of the header */
    .chat-header .panel-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        padding: 4px;
        border: 1px solid rgba(255, 255, 255, 0.7);
        border-radius: 8px;
        background: transparent;
        cursor: pointer;
        color: #fff;
        transition: background 0.15s, border-color 0.15s;
        flex-shrink: 0;
    }

        .chat-header .panel-btn:hover,
        .chat-header .panel-btn:focus-visible {
            background: rgba(255, 255, 255, 0.15);
            border-color: #fff;
        }

        .chat-header .panel-btn[aria-expanded="true"] {
            background: rgba(255, 255, 255, 0.25);
            border-color: #fff;
        }

        .chat-header .panel-btn img {
            width: 20px;
            height: 20px;
            display: block;
        }

/* Fills the space under the header */
.flex-container {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    width: 100%;
    overflow: hidden;
}

/* Column that holds the messages and composer, so #messages can grow and keep the composer at the bottom */
.main-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 5px;
    background: #ffffff;
}

/* Scroll area */
#messages {
    flex: 1 1 auto;
    overflow: auto;
    padding: 12px;
    -webkit-overflow-scrolling: touch;
    background: #f9fafb;
}

/* Message rows */
.chat-message {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    margin: 8px 0;
}

    .chat-message.user {
        justify-content: flex-end;
    }

    .chat-message.bot {
        justify-content: flex-start;
    }


.avatar {
    width: 28px;
    height: 28px;
    overflow: hidden;
    border-radius: 4px; 
    background: transparent;
}

.chat-message.error .avatar img {
  content: url('/img/error-image2.png');
}

    .avatar img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

/* Message bubble */
.message-text {
    max-width: 80%;
    padding: 10px 12px;
    border-radius: 14px;
    line-height: 1.45;
    white-space: pre-wrap;
    word-wrap: break-word;
    word-break: break-word;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12);
    font-size: 14px;
}
.message-text.error {
  color: #b3261e;
  background-color: #a32d20;
  border: 1px solid #972f26;
}
.message-text.Thinking{ 
    animation: thinking-pulse 1.2s ease-in-out infinite; 
}
@keyframes thinking-pulse {

    0%, 100% {opacity: 0.4;}
    50% {opacity: 1; }

}

/* Elapsed-time counter + tool-call indicator, shown under the Thinking bubble */
.msg-status {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: -4px 0 8px 36px; /* 28px avatar + 8px row gap, so it lines up under the bubble */
    font-size: 11px;
    color: #6b7280;
}

.status-elapsed {
    font-variant-numeric: tabular-nums;
}

.status-tool {
    display: flex;
    align-items: center;
    gap: 4px;
    animation: thinking-pulse 1.2s ease-in-out infinite;
}

.status-icon {
    width: 12px;
    height: 12px;
    display: block;
}
/* Access request card: asks the user to allow or deny each tool call that reads their data */
.approval-card {
    max-width: 80%;
    min-width: 220px;
    padding: 10px 12px;
    border-radius: 14px;
    border-bottom-left-radius: 4px;
    background: #fff;
    border: 1px solid #d6deef;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12);
    font-size: 14px;
    line-height: 1.45;
}

.approval-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.approval-title {
    font-size: 12px;
    font-weight: 600;
    color: #4b5563;
}

.approval-summary {
    margin: 6px 0 10px;
    color: var(--text);
    word-break: break-word;
}

/* Dot stepper: one dot per request */
.approval-stepper {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
}

.approval-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1.5px solid #9ca3af;
    background: transparent;
    transition: transform 0.12s ease, background-color 0.12s ease;
}

    .approval-dot.allowed {
        background: var(--brand);
        border-color: var(--brand);
    }

    .approval-dot.denied {
        background: #d1d5db;
        border-color: #d1d5db;
    }

    .approval-dot.current {
        border-color: var(--brand);
        transform: scale(1.3);
    }

.approval-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
}

    .approval-actions button {
        height: 32px;
        padding: 0 14px;
        border-radius: 8px;
        font-size: 13px;
        font-weight: 600;
        cursor: pointer;
    }

    .approval-actions button:focus-visible {
        outline: 2px solid var(--brand);
        outline-offset: 2px;
    }

.approval-back {
    margin-right: auto;
    padding: 0 4px !important;
    border: none;
    background: none;
    color: #4b5563;
    font-weight: 500 !important;
}

    .approval-back:hover {
        color: var(--brand);
    }

.approval-deny {
    border: 1px solid #d1d5db;
    background: #fff;
    color: var(--text);
}

    .approval-deny:hover {
        background: var(--muted);
    }

.approval-allow {
    border: none;
    background: var(--brand);
    color: #fff;
}

    .approval-allow:hover {
        filter: brightness(0.95);
    }

/* Answered: a short record of what was decided */
.approval-card.done {
    background: var(--muted);
    border-color: transparent;
}

.approval-results {
    list-style: none;
    margin: 6px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

    .approval-results li {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        gap: 12px;
        font-size: 13px;
    }

.approval-tag {
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 600;
}

    .approval-tag.allowed {
        color: var(--brand);
    }

    .approval-tag.denied {
        color: #6b7280;
    }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.user .message-text {
    background: var(--brand);
    color: #fff;
    border-bottom-right-radius: 4px;
}

.bot .message-text {
    background: var(--muted);
    color: var(--text);
    border-bottom-left-radius: 4px;
}
/* Rendered Markdown: pre-wrap would show the newlines between HTML tags */
.message-text.md {
    white-space: normal;
}

    .message-text.md > :first-child { margin-top: 0; }
    .message-text.md > :last-child { margin-bottom: 0; }
    .message-text.md p { margin: 0 0 8px; }
    .message-text.md ul,
    .message-text.md ol { margin: 0 0 8px; padding-left: 20px; }

.stream-fade {
    animation: stream-fade 450ms cubic-bezier(0.25, 0.1, 0.25, 1);
}

@keyframes stream-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .stream-fade { animation-duration: 1ms; }
}



/* Composer */
.composer {
    position: relative; /* anchors the mode menu */
    display: flex;
    gap: 8px;
    padding: 10px 10px 3px 10px;
    border-top: 1px solid #e5e7eb;
    flex: 0 0 auto;
    background: #ffffffcc;
    backdrop-filter: blur(4px);
}

/* Line under the composer: mode tag + AI disclosure, part of the same bar */
/* Three columns: tag | disclosure | empty. The two side columns share leftover space equally, so the disclosure
   stays centered whether or not the tag shows; on narrow screens the tag's column grows instead of overlapping. */
.disclosure-row {
    flex: 0 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    column-gap: 6px;
    font-size: 11px;
    line-height: 1.4;
    background: #ffffffcc;
    backdrop-filter: blur(4px);
}

/* AI disclosure - the middle column of .disclosure-row */
.disclosure {
    grid-column: 2;
    display: flex;
    align-items: baseline;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px;
    min-width: 0;
    padding: 0;
    border: none;
    text-align: center;
    font: inherit;
    color: #6b7280;
    background: none;
    cursor: pointer;
}

    .disclosure-sep {
        color: #9ca3af;
    }

    .disclosure:hover,
    .disclosure:focus-visible {
        color: #34508f;
    }

/* Sources dialog */
.notice-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(15, 23, 42, 0.55);
    z-index: 1000;
}

.notice-overlay[hidden] {
    display: none;
}

.notice-dialog {
    position: relative;
    width: 100%;
    max-width: 380px;
    max-height: 85vh;
    overflow-y: auto;
    background: var(--bg);
    color: var(--text);
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.35);
    padding: 22px 20px 20px;
}

.notice-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 50%;
    background: var(--muted);
    color: var(--text);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}

    .notice-close:hover {
        background: #e5e7eb;
    }

/* Login dialog: reuses the notice overlay/dialog. Styling mirrors the Family Core sign-in page. */
.login-dialog {
    --fc-heading: #2c3f69;
    --fc-link: #6f90d9;
    --fc-button: #547cd3;
    --fc-input-empty: #e7efff;
    --fc-error: #d32f2f;
    padding: 28px 24px 22px;
    font-family: Lato, Roboto, Helvetica, Arial, sans-serif;
}

    .login-dialog a {
        color: var(--fc-link);
        text-decoration: none;
    }

        .login-dialog a:hover {
            text-decoration: underline;
        }

        .login-dialog a:focus-visible {
            outline: none;
            border-bottom: 2px solid #4D90F0;
        }

.login-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-bottom: 8px;
}

.login-logo {
    height: 56px;
    width: auto;
}

.login-title {
    align-self: flex-start;
    margin: 0;
    font-family: Jost, Lato, sans-serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 26px;
    color: var(--fc-heading);
}

.login-field {
    margin-top: 16px;
}

    .login-field label {
        display: block;
        margin-bottom: 7px;
        font-size: 13px;
        color: #000;
    }

    .login-field input {
        width: 100%;
        height: 40px;
        padding: 10px 15px;
        border: 1px solid transparent;
        border-radius: 9px;
        background: var(--fc-input-empty);
        color: #272932;
        font: inherit;
        font-size: 16px;
    }

        /* Family Core swaps to a neutral fill once the field has a value */
        .login-field input:not(:placeholder-shown) {
            background: #fafafa;
            border-color: #e1e1e1;
        }

        .login-field input:focus {
            outline: 2px solid var(--fc-button);
            outline-offset: -1px;
        }

        .login-field input[aria-invalid="true"] {
            border-color: var(--fc-error);
        }

.login-password {
    position: relative;
}

    .login-password input {
        padding-right: 46px;
    }

.login-password-toggle {
    position: absolute;
    top: 50%;
    right: 4px;
    transform: translateY(-50%);
    display: flex;
    padding: 6px;
    border: none;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
}

    .login-password-toggle:hover {
        background: rgba(0, 0, 0, 0.04);
    }

    .login-password-toggle svg {
        width: 22px;
        height: 22px;
        fill: #000;
    }

    .login-password-toggle .icon-hide,
    .login-password-toggle[aria-pressed="true"] .icon-show {
        display: none;
    }

    .login-password-toggle[aria-pressed="true"] .icon-hide {
        display: block;
    }

.login-error {
    min-height: 0;
    margin: 4px 14px 0;
    font-size: 12px;
    color: var(--fc-error);
}

    .login-error:empty {
        display: none;
    }

.login-forgot {
    display: inline-block;
    margin-top: 20px;
    font-size: 14px;
    font-weight: 700;
}

.login-submit {
    display: block;
    width: 100%;
    height: 44px;
    margin-top: 32px;
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    background: var(--fc-button);
    color: #fff;
    font: inherit;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.5px;
    cursor: pointer;
}

    .login-submit:hover {
        filter: brightness(0.95);
    }

    .login-submit:disabled {
        opacity: 0.5;
        cursor: default;
    }

.login-divider {
    border: none;
    border-top: 1px solid #e9e9e9;
    margin: 25px 0 0;
}

.login-signup {
    margin: 22px 0 0;
    font-size: 16px;
    color: var(--text);
}

.login-notice {
    margin: 12px 0 0;
    padding: 10px 12px;
    border-radius: 9px;
    background: #fff4e5;
    color: #663c00;
    font-size: 13px;
    line-height: 1.4;
}

/* Family picker, styled like the Family Core select family dropdown */
.login-field select {
    width: 100%;
    height: 40px;
    padding: 0 12px;
    border: none;
    border-radius: 9px;
    background: #fafafa;
    box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.12);
    color: #272932;
    font: inherit;
    font-size: 16px;
    cursor: pointer;
}

    .login-field select:focus {
        outline: 2px solid var(--fc-button);
        outline-offset: -1px;
    }

#login-step-family .login-submit,
#login-step-code .login-submit {
    margin-top: 28px;
}

/* Two factor code step */
.login-instructions {
    margin: 16px 0 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text);
}

    .login-instructions strong {
        word-break: break-all;
    }

.login-field .login-code-input {
    height: 48px;
    text-align: center;
    font-size: 24px;
    letter-spacing: 0.5em;
    /* letter-spacing adds space after the last digit too, so pad it back to centered */
    padding-left: calc(15px + 0.5em);
}

.login-resend {
    margin: 16px 0 0;
    text-align: right;
    font-size: 14px;
    color: var(--fc-link);
}

.login-link-button {
    padding: 0;
    border: none;
    background: none;
    color: var(--fc-link);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

    .login-link-button:hover {
        text-decoration: underline;
    }

    .login-link-button:disabled {
        opacity: 0.5;
        cursor: default;
        text-decoration: none;
    }

/* Outlined button, like Family Core's outlinedPrimary */
.login-secondary {
    display: block;
    width: 100%;
    height: 44px;
    margin-top: 12px;
    border: 2px solid var(--fc-button);
    border-radius: 9px;
    background: transparent;
    color: var(--fc-button);
    font: inherit;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

    .login-secondary:hover {
        background: rgba(84, 124, 211, 0.06);
    }

.notice-section h2 {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 8px;
    color: var(--brand);
}

.notice-section p {
    font-size: 13px;
    line-height: 1.5;
    margin: 0 0 10px;
    color: var(--text);
}

    .notice-section p:last-child {
        margin-bottom: 0;
    }

/* Dev menu */
.dev-flags {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 13px;
}

    .dev-flags li + li {
        margin-top: 6px;
    }

    .dev-flags label {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .dev-flag-type {
        margin-left: auto;
        color: #6b7280;
        font-size: 12px;
    }

.dev-info {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 6px 12px;
    margin: 0;
    font-size: 13px;
}

    .dev-info dt {
        color: #6b7280;
    }

    .dev-info dd {
        margin: 0;
        overflow-wrap: anywhere;
    }

.dev-commit {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.notice-divider {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 16px 0;
}

#user-input {
    flex: 1;
    min-width: 0; /* lets the text box shrink on narrow screens instead of pushing Send off-screen */
    padding: 10px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    outline: none;
    font-size: 16px;
}

    #user-input:focus {
        border-color: var(--brand);
        box-shadow: 0 0 0 1px rgba(80, 113, 184, 0.25);
    }

#send-btn {
    background: var(--brand);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 0 16px;
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
    transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.35);
}

    #send-btn:hover:not(:disabled) {
        filter: brightness(0.95);
        transform: translateY(-1px);
    }

    #send-btn:disabled {
        opacity: 0.7;
        cursor: default;
        box-shadow: none;
    }
    #plus-btn{
        align-self: center;
        flex-shrink: 0;
        background: var(--bg);
        border-radius: 50%;
        aspect-ratio: 1;
        border: var(--bg);
        cursor: pointer;
        height: 30px;
        width: 30px;
        place-items: center;
        justify-content: center;
        display: grid;
        transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
    }

    #plus-btn:hover:not(.pressed){
        filter: brightness(0.95);
        border-radius: 50%;
        aspect-ratio: 1;
        height: 30px;
        width: 30px;
    }
    #plus-btn.pressed:hover{
        filter: brightness(.88);
        border-radius: 50%;
        aspect-ratio: 1;
        height: 30px;
        width: 30px;
        justify-content: center;
        display: grid;
       
    }
    
    #plus-btn.pressed{
        filter: brightness(.9);
        border: brightness(.8);
        aspect-ratio: 1;
        border-radius: 50%;
        box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.35);
        transform: translate(0px, 0px);
        height: 30px;
        width: 30px;
        justify-content: center;
        display: grid;

    }
    #plus-btn.disabled{
        cursor: default;
        box-shadow: none;
    }
/* Chat modes. Every mode uses the same styles; give one its own color with
   [data-mode="its-id"] { --mode-color: ...; } */
.mode-menu-item,
.mode-tag {
    --mode-color: var(--brand);
}

/* Mode menu - a popover, opened by the + button and drawn above everything else.
   The browser hides it when closed, so display is only set while it is open. */
#plus-btn {
    anchor-name: --plus-btn;
}

.mode-menu {
    /* Sits just above the + button */
    position-anchor: --plus-btn;
    inset: auto;
    bottom: anchor(top);
    left: anchor(left);
    margin: 0 0 6px;
    flex-direction: column;
    min-width: 180px;
    padding: 4px;
    background: var(--bg);
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

    .mode-menu:popover-open {
        display: flex;
    }

/* Browsers without anchor positioning: pin it above the composer instead */
@supports not (anchor-name: --plus-btn) {
    .mode-menu {
        left: 10px;
        bottom: 80px;
    }
}

.mode-menu-item,
.menu-action {
    display: flex;
    align-items: center;
    justify-content: left;
    gap: 8px;
    padding: 8px 10px;
    border: none;
    border-radius: 6px;
    background: none;
    font: inherit;
    font-size: 14px;
    color: var(--text);
    cursor: pointer;
}

    .mode-menu-item:hover,
    .mode-menu-item:focus-visible,
    .menu-action:hover,
    .menu-action:focus-visible {
        background: var(--muted);
        outline: none;
    }

/* Active mode tag - on the disclosure line under the message bar.
   A fieldset, so chat.js can disable every mode control at once while a reply streams. */
.mode-indicator {
    grid-column: 1;
    justify-self: start;
    display: flex;
    position: relative;
    top: 4px;
    min-width: 0;
    /* Lines the tag up with the start of the text box: the + button (30px) plus the composer's 8px gap */
    margin: 0 0 0 38px;
    padding: 0;
    border: none;
}

    /* No mode: take no space, so the row's gap doesn't push the disclosure off center.
       The radios still work while hidden (chat.js checks them from the menu). */
    .mode-indicator:has(#mode-none:checked) {
        display: none;
    }

/* Tags are hidden unless the radio right before them is checked */
.mode-tag {
    display: none;
    border: none;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
}
/* Checkmark at the right end of a menu item, only shown on the selected mode */
.mode-check {
    width: 18px;
    height: 18px;
    margin-left: auto;
    visibility: hidden;
}

    .mode-menu-item.mode-selected .mode-check {
        visibility: visible;
    }
/* Sized to the disclosure's 11px text (no vertical padding, 15px ×), so the line stays the same height */
.mode-radio:checked + .mode-tag {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    max-width: 100%;
    padding: 0 2px 0 8px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--mode-color) 12%, transparent);
    color: var(--mode-color);
    font-size: 11px;
    line-height: inherit;
    font-weight: 600;
}

.mode-tag-remove {
    display: grid;
    place-items: center;
    width: 15px;
    height: 15px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: none;
    color: inherit;
    font-size: 13px;
    line-height: 1;
    cursor: pointer;
}

    .mode-tag:hover .mode-tag-remove {
        background: color-mix(in srgb, var(--mode-color) 20%, transparent);
    }

    /* While a reply streams */
    .mode-indicator:disabled .mode-tag {
        opacity: 0.6;
        cursor: default;
    }

.chat-header .header-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.chat-header .title {
    font-weight: 600;
    font-size: 15px;
}   

.chat-header .subtitle {
    font-size: 12px;
    opacity: 0.9;
}


