.qb-chatbot {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 9999;
    font-family: Poppins, Arial, sans-serif;
    color: #111827;
}

.qb-chatbot * {
    box-sizing: border-box;
}

.qb-chatbot__button {
    width: 62px;
    height: 62px;
    border: 0;
    border-radius: 50%;
    background: #0a58ca;
    color: #fff;
    box-shadow: 0 18px 38px rgba(10, 88, 202, .32);
    cursor: pointer;
    display: grid;
    place-items: center;
}

.qb-chatbot__button svg {
    width: 30px;
    height: 30px;
}

.qb-chatbot__panel {
    position: absolute;
    right: 0;
    bottom: 76px;
    width: min(380px, calc(100vw - 28px));
    height: min(620px, calc(100vh - 112px));
    background: #fff;
    border: 1px solid #d8e2f1;
    border-radius: 18px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .22);
    overflow: hidden;
    display: none;
}

.qb-chatbot.is-open .qb-chatbot__panel {
    display: flex;
    flex-direction: column;
}

.qb-chatbot__head {
    padding: 16px;
    background: linear-gradient(135deg, #0a58ca, #103477);
    color: #fff;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

.qb-chatbot__title {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
}

.qb-chatbot__sub {
    margin: 4px 0 0;
    font-size: 12px;
    opacity: .86;
}

.qb-chatbot__close {
    border: 0;
    background: rgba(255, 255, 255, .14);
    color: #fff;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
}

.qb-chatbot__messages {
    flex: 1;
    overflow-y: auto;
    padding: 14px;
    background: #f4f7fb;
}

.qb-chatbot__msg {
    max-width: 88%;
    padding: 10px 12px;
    border-radius: 14px;
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.45;
    white-space: pre-line;
}

.qb-chatbot__msg--bot {
    background: #fff;
    border: 1px solid #dfe7f3;
    border-top-left-radius: 4px;
}

.qb-chatbot__msg--user {
    margin-left: auto;
    background: #0a58ca;
    color: #fff;
    border-top-right-radius: 4px;
}

.qb-chatbot__quick {
    padding: 10px 12px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    background: #fff;
    border-top: 1px solid #e5edf7;
}

.qb-chatbot__chip {
    border: 1px solid #c9d7eb;
    background: #f8fbff;
    color: #0f2f73;
    border-radius: 999px;
    padding: 8px 10px;
    font-size: 12px;
    cursor: pointer;
}

.qb-chatbot__form {
    padding: 12px;
    display: flex;
    gap: 8px;
    background: #fff;
}

.qb-chatbot__input {
    flex: 1;
    min-width: 0;
    height: 42px;
    border: 1px solid #cdd8ea;
    border-radius: 12px;
    padding: 0 12px;
    font: inherit;
    font-size: 13px;
}

.qb-chatbot__send {
    border: 0;
    border-radius: 12px;
    padding: 0 14px;
    background: #0a58ca;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.qb-chatbot__booking {
    display: grid;
    gap: 8px;
}

.qb-chatbot__booking label {
    display: grid;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
}

.qb-chatbot__booking input,
.qb-chatbot__booking select,
.qb-chatbot__booking textarea {
    width: 100%;
    border: 1px solid #cdd8ea;
    border-radius: 10px;
    padding: 9px 10px;
    font: inherit;
    font-size: 13px;
}

.qb-chatbot__booking button,
.qb-chatbot__link {
    border: 0;
    border-radius: 12px;
    background: #0a58ca;
    color: #fff;
    padding: 10px 12px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
}

.qb-chatbot__summary {
    background: #eef5ff;
    border: 1px solid #cfe0f6;
    border-radius: 12px;
    padding: 10px;
    font-size: 12px;
}

@media (max-width: 560px) {
    .qb-chatbot {
        right: 12px;
        bottom: 12px;
    }

    .qb-chatbot__panel {
        position: fixed;
        inset: 10px;
        width: auto;
        height: auto;
        bottom: 86px;
    }
}
