body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

/* Chatbot styles */
.assistant-wrapper {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.assistant-trigger-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #2196F3;
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.assistant-trigger-btn:hover {
    background-color: #0b7dda;
    transform: scale(1.1);
}

.assistant-dialog-box {
    width: 350px;
    height: 75vh;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    overflow: hidden;
    position: fixed;
    bottom: 80px;
    right: 20px;
    transition: all 0.3s ease;
}

.assistant-dialog-box.fullsize-mode {
    width: 750px;
    height: 75vh;
    bottom: 80px;
    right: 20px;
}

.assistant-dialog-box.collapsed-state {
    height: 60px;
    overflow: hidden;
}

.assistant-title-bar {
    background-color: #2196F3;
    color: white;
    padding: 15px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.window-action-buttons {
    display: flex;
    gap: 10px;
}

.exit-btn, .hide-btn, .expand-btn {
    background: none;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    padding: 4px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.exit-btn:hover, .hide-btn:hover, .expand-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.exit-btn {
    font-size: 20px;
}

.conversation-area {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.assistant-dialog-box.collapsed-state .conversation-area,
.assistant-dialog-box.collapsed-state .message-input-section {
    display: none;
}

.chat-bubble {
    max-width: 80%;
    margin-bottom: 10px;
    padding: 10px 15px;
    border-radius: 18px;
    line-height: 1.4;
    word-wrap: break-word;
    animation: fadeIn 0.3s ease-out;
}

.ai-response {
    align-self: flex-start;
    background-color: #f1f1f1;
    border-top-left-radius: 5px;
    color: black;
}

.human-message {
    align-self: flex-end;
    background-color: #2196F3;
    color: white;
    border-top-right-radius: 5px;
}

.message-input-section {
    display: flex;
    padding: 10px;
    border-top: 1px solid #ddd;
    align-items: center;
    gap: 8px;
}

.file-attachment-btn {
    background: none;
    border: none;
    color: #666;
    font-size: 18px;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.2s;
}

.file-attachment-btn:hover {
    color: #2196F3;
    background-color: #f1f1f1;
}

.message-input-section input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 20px;
    outline: none;
}

.message-input-section button {
    background-color: #2196F3;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
}

.message-input-section button:hover {
    background-color: #0b7dda;
}

.invisible-element {
    display: none !important;
}

.uploaded-image {
    max-width: 200px;
    max-height: 200px;
    border-radius: 10px;
    margin-top: 5px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile responsiveness */
@media (max-width: 600px) {
    .assistant-dialog-box {
        width: calc(100% - 40px);
        right: 20px;
        left: 20px;
        bottom: 80px;
    }
    
    .assistant-dialog-box.fullsize-mode {
        width: calc(100% - 40px);
        height: 50vh;
        right: 20px;
        left: 20px;
        bottom: 80px;
    }
    
    .assistant-trigger-btn {
        right: 20px;
        bottom: 20px;
    }
    
    .chat-bubble {
        max-width: 90%;
    }
    
    .uploaded-image {
        max-width: 150px;
    }
}