/* Skill Owners Chatbot Styles */
.chatbot-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1060;
}

.chatbot-fab {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #10b981;
    color: white;
    border: none;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: transform 0.3s, background 0.3s;
}

.chatbot-fab:hover {
    transform: scale(1.1);
    background: #059669;
}

.chatbot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 500px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.3s ease-out;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.chatbot-header {
    background: #111827;
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-mini {
    background: #10b981;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.text-success-so {
    color: #10b981;
    font-size: 10px;
    font-weight: 600;
}

.chatbot-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.message {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 15px;
    font-size: 14px;
    line-height: 1.4;
}

.message.assistant {
    align-self: flex-start;
    background: #f3f4f6;
    color: #1f2937;
    border-bottom-left-radius: 5px;
}

.message.user {
    align-self: flex-end;
    background: #10b981;
    color: white;
    border-bottom-right-radius: 5px;
}

.chatbot-footer {
    padding: 15px;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
}

.quick-questions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.btn-quick {
    background: white;
    border: 1px solid #d1d5db;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 12px;
    color: #4b5563;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-quick:hover {
    border-color: #10b981;
    color: #10b981;
    background: rgba(16, 185, 129, 0.05);
}

/* Mobile Adjustments */
@media (max-width: 480px) {
    .chatbot-window {
        width: calc(100vw - 40px);
        height: 80vh;
        bottom: 70px;
        right: -10px;
    }
}