/* ═══════════════════════════════════════════════════════
   theme.css — entry point for every Bootstrap-based page.
   Tokens, fonts, top bar and bottom bar live in design.css;
   Bootstrap component styling lives in ui.css (linked last in each page).
   Only page-agnostic leftovers (chat bubbles) are kept here.
═══════════════════════════════════════════════════════ */

body { transition: background-color .25s ease, color .25s ease; }

/* ── Chat bubbles ── */
.chat-box { display: flex; flex-direction: column; gap: .75rem; }
.chat-bubble {
    display: inline-flex; flex-direction: column; max-width: 90%;
    padding: .85rem 1rem; border-radius: 20px; line-height: 1.5; word-wrap: break-word;
}
.chat-bubble--me {
    margin-left: auto; color: #fff;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    border-radius: 20px 20px 5px 20px;
}
.chat-bubble--other {
    margin-right: auto; color: var(--text);
    background: var(--surf2); border: .5px solid var(--border2);
    border-radius: 20px 20px 20px 5px;
}
.chat-bubble__name { font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; opacity: .75; margin-bottom: .35rem; }
.chat-bubble__text { white-space: pre-wrap; }
.chat-input-wrapper { display: flex; gap: .5rem; align-items: center; }
.chat-input    { border-radius: 999px; }
.chat-send-btn { border-radius: 999px; padding: .55rem 1rem; }
