.quickbot-widget {
    bottom: 24px;
    color: #17211c;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    position: fixed;
    right: 24px;
    z-index: 99999;
}

.quickbot-launcher {
    align-items: center;
    background: var(--quickbot-accent, #1f7a5b);
    border: 0;
    border-radius: 999px;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
    color: #fff;
    cursor: pointer;
    display: flex;
    font-size: 15px;
    font-weight: 700;
    gap: 10px;
    line-height: 1;
    min-height: 48px;
    padding: 0 18px;
}

.quickbot-launcher-icon {
    align-items: center;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    display: inline-flex;
    height: 28px;
    justify-content: center;
    width: 28px;
}

.quickbot-panel {
    background: #fbfaf7;
    border: 1px solid rgba(23, 33, 28, 0.12);
    border-radius: 8px;
    bottom: 64px;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.24);
    overflow: hidden;
    position: absolute;
    right: 0;
    width: min(360px, calc(100vw - 32px));
}

.quickbot-header {
    align-items: center;
    background: var(--quickbot-accent, #1f7a5b);
    color: #fff;
    display: flex;
    justify-content: space-between;
    padding: 16px;
}

.quickbot-header strong,
.quickbot-header span {
    display: block;
}

.quickbot-header span {
    font-size: 12px;
    margin-top: 3px;
    opacity: 0.82;
}

.quickbot-close {
    background: transparent;
    border: 0;
    color: #fff;
    cursor: pointer;
    font-size: 20px;
    height: 32px;
    line-height: 1;
    width: 32px;
}

.quickbot-body {
    display: grid;
    gap: 12px;
    max-height: min(520px, calc(100vh - 160px));
    overflow-y: auto;
    padding: 16px;
}

.quickbot-message {
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.45;
    padding: 12px 14px;
}

.quickbot-message-bot {
    background: #fff;
    border: 1px solid rgba(23, 33, 28, 0.1);
}

.quickbot-message-user {
    background: rgba(31, 122, 91, 0.1);
    justify-self: end;
    max-width: 92%;
}

.quickbot-question-list {
    display: grid;
    gap: 8px;
}

.quickbot-question {
    background: #fff;
    border: 1px solid rgba(31, 122, 91, 0.28);
    border-radius: 8px;
    color: #17211c;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.35;
    padding: 11px 12px;
    text-align: left;
}

.quickbot-question:hover,
.quickbot-question:focus {
    border-color: var(--quickbot-accent, #1f7a5b);
    outline: 2px solid rgba(31, 122, 91, 0.12);
}

.quickbot-whatsapp {
    align-items: center;
    background: #25d366;
    border-radius: 8px;
    color: #073b1b;
    display: flex;
    font-weight: 800;
    justify-content: center;
    min-height: 44px;
    padding: 0 14px;
    text-decoration: none;
}

@media (max-width: 520px) {
    .quickbot-widget {
        bottom: 16px;
        left: 16px;
        right: 16px;
    }

    .quickbot-launcher {
        justify-content: center;
        width: 100%;
    }

    .quickbot-panel {
        bottom: 62px;
        left: 0;
        right: 0;
        width: 100%;
    }
}
