.grow2rich-chatbot {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 10000;
    font-family: Arial, sans-serif;
    color: #25364a;
}

.grow2rich-chatbot *,
.grow2rich-chatbot *::before,
.grow2rich-chatbot *::after {
    box-sizing: border-box;
}

.grow2rich-chatbot [hidden] {
    display: none;
}

.grow2rich-chatbot__launcher {
    float: right;
    border: 0;
    border-radius: 24px;
    padding: 14px 20px;
    background: #06436a;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .2);
}

.grow2rich-chatbot__launcher:hover,
.grow2rich-chatbot__launcher:focus {
    background: #087aaa;
}

.grow2rich-chatbot__panel {
    display: flex;
    flex-direction: column;
    width: 360px;
    max-width: calc(100vw - 32px);
    height: 380px;/*500px*/
    max-height: calc(100vh - 110px);
    min-height: 280px;
    margin-bottom: 12px;
    overflow: hidden;
    border: 1px solid #d4dee7;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .2);
}

.grow2rich-chatbot__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: #06436a;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}

.grow2rich-chatbot__close {
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    padding: 0px 20px;
}

.grow2rich-chatbot__messages {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    overflow-y: auto;
    background: #f5f8fb;
}

.grow2rich-chatbot__message {
    max-width: 92%;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.5;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.grow2rich-chatbot__message--bot {
    align-self: flex-start;
    background: #fff;
    border: 1px solid #e0e6eb;
}

.grow2rich-chatbot__message--user {
    align-self: flex-end;
    background: #e4f2f8;
}

.grow2rich-chatbot__followup {
    align-self: flex-start;
    max-width: 92%;
    font-size: 13px;
}

.grow2rich-chatbot__followup button {
    padding: 0;
    border: 0;
    background: none;
    color: #075d91;
    font: inherit;
    cursor: pointer;
}

.grow2rich-chatbot__lead-form {
    display: flex;
    gap: 8px;
    width: 100%;
    margin-top: 8px;
}

.grow2rich-chatbot__question-form input,
.grow2rich-chatbot__lead-form input {
    min-width: 0;
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #bbc9d4;
    border-radius: 6px;
    font-size: 14px;
}

.grow2rich-chatbot__question-form {
    display: flex;
    gap: 8px;
    padding: 12px;
    border-top: 1px solid #e0e6eb;
    background: #fff;
}

.grow2rich-chatbot__question-form button,
.grow2rich-chatbot__lead-form button {
    flex: 0 0 auto;
    padding: 9px 13px;
    border: 0;
    border-radius: 6px;
    background: #087aaa;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.grow2rich-chatbot__question-form button:disabled,
.grow2rich-chatbot__lead-form button:disabled {
    cursor: wait;
    opacity: .65;
}

.grow2rich-chatbot__lead-status {
    margin: 8px 0 0;
}

.grow2rich-chatbot__sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    clip-path: inset(50%);
}

@media (max-width: 480px) {
    .grow2rich-chatbot {
        right: 12px;
        bottom: 12px;
    }
}
