/* File: /home/u120515776/domains/risoprint.fun/public_html/wp-content/plugins/grok-chat-assistant/assets/css/grok-chat.css */

/* grok-chat.css */
#grok-chat {
    max-width: 800px;
    margin: 20px auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background: #fff;
}

.chatbot-top-bar {
    background: #212121;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.chatbot-title-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chatbot-title {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.chat-mode-indicator {
    background: #767676;
    color: #fff;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
}

#chat-messages {
    background: #fff;
    padding: 15px;
    height: 400px;
    overflow-y: auto;
    border-bottom: 1px solid #e0e0e0;
}

.bot-message, .user-message {
    margin: 10px 0;
    padding: 10px 15px;
    border-radius: 12px;
    max-width: 80%;
    line-height: 1.5;
    font-size: 14px;
}

.bot-message {
    background: #212121;
    color: #fff;
    margin-right: auto;
}

.user-message {
    background: #f5f5f5;
    color: #212121;
    margin-left: auto;
    border: 1px solid #e0e0e0;
}

#chat-input-container {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background: #f9f9f9;
}

#grok-user-input {
    flex: 1;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 8px 15px;
    font-size: 14px;
    resize: none;
    height: 40px;
    outline: none;
}

#send-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    margin-left: 10px;
}

#send-button svg {
    fill: #212121;
    width: 24px;
    height: 24px;
}

.chat-toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 15px;
    background: #f9f9f9;
    border-top: 1px solid #e0e0e0;
}

.toolbar-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.toolbar-btn svg {
    fill: #212121;
    width: 20px;
    height: 20px;
}

.active-file-container {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #212121;
}

.active-file-name {
    color: #212121;
}

.remove-file-btn {
    background: none;
    border: none;
    cursor: pointer;
}

.remove-file-btn svg {
    fill: #212121;
    width: 12px;
    height: 12px;
}

.chatbot-footer {
    padding: 10px 15px;
    text-align: center;
    font-size: 12px;
    color: #767676;
    border-top: 1px solid #e0e0e0;
}

.chatbot-footer a {
    color: #212121;
    text-decoration: underline;
}

#chat-messages p {
    margin: 5px 0;
}

#chat-messages ul {
    margin: 10px 0;
    padding-left: 20px;
}

#chat-messages ul li {
    margin-bottom: 5px;
    font-size: 14px;
}

.riso-description-details {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    line-height: 1.4;
    color: #333;
}

.action-button {
    display: inline-block;
    margin: 5px;
    background: #28a745;
    color: #fff;
    border: none;
    padding: 5px 15px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 14px;
}

.action-button:hover {
    background: #218838;
}