.chatbot-toggle {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #3d6bff;
    color: #fff;
    border: none;
    box-shadow: 0 8px 24px rgba(61, 107, 255, 0.35);
    cursor: pointer;
    z-index: 9999;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-panel {
    position: fixed;
    right: 24px;
    bottom: 96px;
    width: 340px;
    max-width: calc(100vw - 32px);
    height: 460px;
    max-height: calc(100vh - 140px);
    background: #14161b;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 9999;
    font-family: "IBM Plex Sans", sans-serif;
}

.chatbot-panel.open {
    display: flex;
}

.chatbot-header {
    background: #16224d;
    color: #fff;
    padding: 14px 16px;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.chatbot-header small {
    display: block;
    font-weight: 400;
    opacity: 0.7;
    font-size: 12px;
}

.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #0a0b0d;
}

.chatbot-msg {
    max-width: 85%;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.4;
    white-space: pre-wrap;
}

.chatbot-msg.user {
    align-self: flex-end;
    background: #3d6bff;
    color: #fff;
    border-bottom-right-radius: 2px;
}

.chatbot-msg.assistant {
    align-self: flex-start;
    background: #1a1d24;
    color: #eef0f5;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom-left-radius: 2px;
}

.chatbot-msg.assistant.typing {
    color: #90959f;
    font-style: italic;
}

.chatbot-form {
    display: flex;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    background: #14161b;
}

.chatbot-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 12px;
    font-size: 14px;
    color: #eef0f5;
    outline: none;
}

.chatbot-input::placeholder { color: #6b7280; }

.chatbot-send {
    background: #3d6bff;
    color: #fff;
    border: none;
    padding: 0 18px;
    cursor: pointer;
}

.chatbot-send:disabled {
    opacity: 0.5;
    cursor: default;
}

.chatbot-credit {
    display: block;
    text-align: center;
    padding: 6px 0;
    background: #14161b;
    font-size: 10.5px;
    color: #52586a;
    text-decoration: none;
}

.chatbot-credit:hover {
    color: #8a90a3;
}
