﻿/* ChatbotProWeb1Deepseek Frontend CSS */
.chatbotpro-container {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 350px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    overflow: hidden;
    z-index: 999999;
    display: none;
}

.chatbotpro-container.chatbotpro-position-left {
    right: auto;
    left: 20px;
}

.chatbotpro-header {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbotpro-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.chatbotpro-close {
    background: none;
    border: none;
    color: inherit;
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 24px;
    height: 24px;
}

.chatbotpro-messages {
    height: 300px;
    overflow-y: auto;
    padding: 20px;
    background: #f8f9fa;
}

.chatbotpro-message {
    margin-bottom: 15px;
    max-width: 80%;
    clear: both;
}

.chatbotpro-message.user {
    float: right;
    background: #3b82f6;
    color: white;
    border-radius: 18px 18px 4px 18px;
    padding: 10px 16px;
}

.chatbotpro-message.bot {
    float: left;
    background: #e9ecef;
    color: #212529;
    border-radius: 18px 18px 18px 4px;
    padding: 10px 16px;
}

.chatbotpro-message .sender {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 4px;
    opacity: 0.8;
}

.chatbotpro-input-area {
    padding: 15px;
    border-top: 1px solid #dee2e6;
    background: white;
}

#chatbotpro-form {
    display: flex;
    gap: 10px;
}

#chatbotpro-input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #dee2e6;
    border-radius: 20px;
    font-size: 14px;
    outline: none;
}

#chatbotpro-input:focus {
    border-color: #3b82f6;
}

#chatbotpro-send {
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
}

#chatbotpro-send:hover {
    background: #2563eb;
}

.chatbotpro-footer {
    padding: 10px 20px;
    text-align: center;
    font-size: 12px;
    color: #94a3b8;
    border-top: 1px solid #e2e8f0;
}

.chatbotpro-footer a {
    color: #3b82f6;
    text-decoration: none;
}

.chatbotpro-footer a:hover {
    text-decoration: underline;
}

.chatbotpro-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-size: 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbotpro-toggle.chatbotpro-position-left {
    right: auto;
    left: 20px;
}

.chatbotpro-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
    .chatbotpro-container {
        width: 90vw;
        right: 5vw;
        left: 5vw;
    }
    
    .chatbotpro-toggle {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}
