#groq-chatbot-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 80px;
    height: 80px;
    background: transparent;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999999;
    padding: 0;
    box-shadow: none;
    overflow: hidden;
}

#groq-chatbot {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 480px;
    height: 480px;
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.18);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 999999;
    font-family: Arial, sans-serif;
}

.groq-chatbot-hidden {
    display: none !important;
}

#groq-chatbot-header {
    background: #00325B;
    color: #ffffff;
    padding: 14px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

#groq-chatbot-close {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 22px;
    cursor: pointer;
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
}

#groq-chatbot-messages {
    flex: 1;
    padding: 12px;
    overflow-y: auto;
    background: #f9fafb;
}

.bot-message,
.user-message {
    padding: 10px 12px;
    margin-bottom: 10px;
    border-radius: 10px;
    max-width: 85%;
    line-height: 1.4;
    font-size: 14px;
    word-wrap: break-word;
}

.bot-message {
    background: #e5e7eb;
    color: #111827;
}

.user-message {
    background: #2563eb;
    color: #ffffff;
    margin-left: auto;
}

#groq-chatbot-input-area {
    display: flex;
    border-top: 1px solid #ddd;
}

#groq-chatbot-input {
    flex: 1;
    padding: 12px;
    border: none;
    outline: none;
    font-size: 14px;
}

#groq-chatbot-send {
    padding: 12px 16px;
    background: #2563eb;
    color: white;
    border: none;
    cursor: pointer;
}

#groq-chatbot-send:hover {
    background: #1d4ed8;
}

@media screen and (max-width: 480px) {
    #groq-chatbot {
        width: calc(100% - 24px);
        height: 75vh;
        right: 12px;
        bottom: 12px;
    }

    #groq-chatbot-toggle {
        right: 16px;
        bottom: 16px;
    }
}