.faqbot-toggle {
    position: fixed;
    right: 16px;
    bottom: 56px;
    border: none;
    border-radius: 16px;
    padding: 14px 18px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
    cursor: pointer;
    background: #111;
    color: #fff;
    font-weight: 600;
    z-index: 9998
}

.faqbot-win {
    position: fixed;
    right: 16px;
    bottom: 55px;
    width: 360px;
    max-width: 92vw;
    height: 540px;
    max-height: calc(100% - 150px);
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, .16);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 9999;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, 'Helvetica Neue', Arial
}

.faqbot-header {
    padding: 12px 14px;
    border-bottom: 1px solid #f1f5f9;
    background: #0f172a;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px
}

.faqbot-header .title {
    font-weight: 700;
    font-size: 14px
}

.faqbot-body {
    flex: 1;
    overflow: auto;
    background: #f8fafc;
    padding: 12px
}

.faqbot-msg {
    max-width: 85%;
    margin: 8px 0;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.35;
    white-space: pre-wrap
}

.faqbot-msg.user {
    background: #111;
    color: #fff;
    border-bottom-right-radius: 4px;
    margin-left: auto
}

.faqbot-msg.bot {
    background: #fff;
    color: #0f172a;
    border: 1px solid #e5e7eb;
    border-bottom-left-radius: 4px
}

.faqbot-footer {
    border-top: 1px solid #e5e7eb;
    padding: 8px;
    background: #fff
}

.faqbot-row {
    display: flex;
    gap: 8px
}

.faqbot-input {
    flex: 1;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 14px
}

.faqbot-send {
    border: none;
    background: #111;
    color: #fff;
    border-radius: 10px;
    padding: 10px 14px;
    font-weight: 600;
    cursor: pointer
}

.faqbot-note {
    font-size: 12px;
    color: #475569;
    margin-top: 6px
}

.faqbot-email {
    display: none;
    padding: 10px;
    border-top: 1px dashed #e5e7eb;
    background: #fff
}

.faqbot-email input {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 14px;
    margin-top: 6px
}

.faqbot-email button {
    margin-top: 8px;
    border: none;
    background: #0f172a;
    color: #fff;
    border-radius: 10px;
    padding: 10px 14px;
    font-weight: 600;
    cursor: pointer
}
