/* ============================================================
   Bot-dialog Q&A block — chat-bubble style
   BongaBonga assistent vastab populaarsetele küsimustele
   ============================================================ */

.bb26-bot-dialog {
    margin: 32px 0;
    padding: 24px 22px 26px;
    background: linear-gradient(180deg, #fff8e1 0%, #fff 100%);
    border: 1px solid #f0e0a0;
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(240, 165, 0, 0.08);
}

.bb26-bot-dialog__head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(240, 165, 0, 0.25);
}

.bb26-bot-dialog__avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #ffd76b 0%, #f0a500 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(240, 165, 0, 0.3);
}

.bb26-bot-dialog__heading {
    flex: 1;
    min-width: 0;
}

.bb26-bot-dialog__title {
    margin: 0 0 2px !important;
    font-size: 19px !important;
    font-weight: 800;
    color: #1a202c;
    line-height: 1.2;
}

.bb26-bot-dialog__sub {
    margin: 0;
    font-size: 13px;
    color: #4a5568;
    line-height: 1.3;
}

.bb26-bot-dialog__chat {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bb26-bd-row {
    display: flex;
    gap: 10px;
    align-items: flex-end;
    max-width: 100%;
}

.bb26-bd-row--user {
    justify-content: flex-end;
}

.bb26-bd-row--bot {
    justify-content: flex-start;
}

.bb26-bd-avatar {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #ffd76b 0%, #f0a500 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(240, 165, 0, 0.25);
}

.bb26-bd-bubble {
    max-width: 78%;
    padding: 10px 14px;
    font-size: 14px;
    line-height: 1.5;
    color: #1a202c;
    word-break: break-word;
}

.bb26-bd-bubble--user {
    background: #fff;
    border: 1px solid #f0e0a0;
    border-radius: 16px 16px 4px 16px;
    color: #4a5568;
    font-style: italic;
}

.bb26-bd-bubble--bot {
    background: linear-gradient(135deg, #fff 0%, #fffaf0 100%);
    border: 1px solid #f0e0a0;
    border-radius: 16px 16px 16px 4px;
    box-shadow: 0 2px 8px rgba(240, 165, 0, 0.1);
}

.bb26-bd-bubble--bot a {
    color: #d68900 !important;
    font-weight: 600;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(217, 135, 0, 0.3);
}

.bb26-bd-bubble--bot a:hover {
    border-bottom-color: #d68900;
    color: #b45309 !important;
}

.bb26-bd-bubble--bot strong {
    color: #1a202c;
}

@media (max-width: 600px) {
    .bb26-bot-dialog {
        padding: 18px 14px 20px;
        border-radius: 12px;
        margin: 24px 0;
    }
    .bb26-bot-dialog__avatar {
        width: 40px; height: 40px; font-size: 22px;
    }
    .bb26-bot-dialog__title { font-size: 17px !important; }
    .bb26-bot-dialog__sub { font-size: 12px; }
    .bb26-bd-bubble { font-size: 13px; padding: 9px 12px; max-width: 88%; }
    .bb26-bd-avatar { width: 28px; height: 28px; font-size: 14px; }
}

/* Last updated badge */
.bb26-last-updated {
    display: inline-block;
    padding: 2px 8px;
    background: rgba(240, 165, 0, 0.12);
    border: 1px solid rgba(240, 165, 0, 0.3);
    border-radius: 999px;
    font-size: 12px;
    color: #b45309;
    font-weight: 500;
}
.bb26-last-updated strong {
    color: #1a202c;
    font-weight: 700;
}
