/* Chatbot Styles */
.chatbot-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 350px;
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    z-index: 1000;
    overflow: hidden;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.chatbot-header {
    background: var(--darker-bg);
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.chatbot-header span {
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
}

.close-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.2rem;
}

.close-btn:hover {
    color: var(--danger);
}

.chatbot-messages {
    height: 300px;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.msg {
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 15px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.msg.ai {
    background: rgba(109, 40, 217, 0.2);
    align-self: flex-start;
    border-bottom-left-radius: 5px;
}

.msg.user {
    background: var(--secondary);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 5px;
}

.chatbot-input {
    display: flex;
    padding: 15px;
    background: rgba(11, 15, 25, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.chatbot-input input {
    flex: 1;
    background: var(--dark-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 15px;
    border-radius: 20px;
    color: var(--text-main);
    outline: none;
}

.chatbot-input input:focus {
    border-color: var(--primary-light);
}

.chatbot-input button {
    background: var(--primary);
    color: white;
    border: none;
    width: 40px;
    border-radius: 50%;
    margin-left: 10px;
    cursor: pointer;
    transition: transform 0.2s;
}

.chatbot-input button:hover {
    transform: scale(1.1);
}