.reai-chatbot {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 999999;
    font-family: Arial, sans-serif;
}

.reai-chatbot-toggle {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    border: 0;
    background: #25D366;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.reai-chatbot-panel {
    display: none;
    width: 350px;
    max-width: calc(100vw - 30px);
    height: 500px;
    max-height: calc(100vh - 110px);
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 14px 40px rgba(0,0,0,0.22);
    overflow: hidden;
    position: absolute;
    right: 0;
    bottom: 78px;
}

.reai-chatbot-panel.reai-open {
    display: flex;
    flex-direction: column;
}

.reai-chatbot-header {
    background: #111827;
    color: #fff;
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.reai-chatbot-header small {
    display: block;
    opacity: 0.8;
    margin-top: 3px;
}

#reai-chatbot-close {
    background: transparent;
    color: #fff;
    border: 0;
    font-size: 26px;
    cursor: pointer;
}

.reai-chatbot-messages {
    flex: 1;
    padding: 14px;
    overflow-y: auto;
    background: #f8fafc;
}

.reai-message {
    margin-bottom: 12px;
    display: flex;
}

.reai-message span {
    padding: 10px 12px;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.45;
    max-width: 85%;
}

.reai-message-user {
    justify-content: flex-end;
}

.reai-message-user span {
    background: #25D366;
    color: #fff;
    border-bottom-right-radius: 4px;
}

.reai-message-bot span {
    background: #fff;
    color: #111827;
    border-bottom-left-radius: 4px;
    border: 1px solid #e5e7eb;
}

.reai-whatsapp-link {
    display: inline-block;
    margin-top: 8px;
    padding: 8px 10px;
    border-radius: 8px;
    background: #25D366;
    color: #fff !important;
    text-decoration: none;
    font-weight: 600;
}

.reai-chatbot-form {
    display: flex;
    gap: 8px;
    padding: 10px;
    border-top: 1px solid #e5e7eb;
    background: #fff;
}

.reai-chatbot-form input {
    flex: 1;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    padding: 10px;
    font-size: 14px;
}

.reai-chatbot-form button {
    border: 0;
    background: #111827;
    color: #fff;
    border-radius: 10px;
    padding: 0 14px;
    cursor: pointer;
    font-weight: 600;
}

.reai-chatbot {
    display: none !important;
}