#rcb-launcher {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #d61f26;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
    z-index: 999999;
    font-size: 26px;
}

.rcb-chat-window {
    position: fixed;
    bottom: 172px;
    right: 20px;
    width: 340px;
    max-width: 90vw;
    height: 480px;
    max-height: 75vh;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 34px rgba(0, 0, 0, 0.32);
    overflow: hidden;
    display: none;
    flex-direction: column;
    z-index: 999999;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

.rcb-header-title {
    font-size: 17px;
    font-weight: 600;
}

.rcb-close {
    cursor: pointer;
    font-size: 14px;
}

.rcb-header-sub {
    background: #d61f26;
    color: #fff;
    text-align: center;
    padding: 0 16px 16px;
}

.rcb-avatars {
    margin-bottom: 8px;
}

.rcb-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 -6px;
    border: 2px solid #fff;
}

.rcb-avatar-1 { background: #b23a3a; }
.rcb-avatar-2 { background: #b93bbf; }

.rcb-header-sub p {
    margin: 0;
    font-size: 13px;
}

.rcb-body {
    flex: 1;
    padding: 14px;
    overflow-y: auto;
    background: #f7f7f7;
}

.rcb-msg {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 16px;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.4;
}

.rcb-msg-bot {
    background: #fde3e4;
    color: #333;
    border-bottom-left-radius: 4px;
}

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

.rcb-msg-meta {
    font-size: 11px;
    color: #999;
    margin-top: 4px;
}

.rcb-lead-form {
    display: flex;
    gap: 6px;
    padding: 8px 12px;
    border-top: 1px solid #eee;
    background: #fff;
}

.rcb-lead-form input {
    flex: 1;
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 13px;
}

.rcb-input-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-top: 1px solid #eee;
    background: #fff;
}

.rcb-input-row input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 22px;
    font-size: 14px;
}

.rcb-send-btn {
    background: #d61f26;
    color: #fff;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    flex-shrink: 0;
}

@media (max-width: 480px) {
    .rcb-chat-window {
        width: 92vw;
        right: 4vw;
        bottom: 164px;
    }
}
