/**
 * Chatbot Styles
 */

.chatbot-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 350px;
    height: 500px;
    background: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    overflow: hidden;
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

.chatbot-header {
    background: linear-gradient(90deg, #ff00cc, #3333ff);
    color: white;
    padding: 15px;
    text-align: center;
    font-weight: bold;
    border-radius: 20px 20px 0 0;
}

.chatbot-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.chatbot-message {
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 15px;
    position: relative;
    word-break: break-word;
}

.user-message {
    align-self: flex-end;
    background: linear-gradient(135deg, #ff00cc, #3333ff);
    color: white;
    border-radius: 15px 15px 0 15px;
}

.bot-message {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 15px 15px 15px 0;
}

.chatbot-form {
    display: flex;
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.chatbot-input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 20px 0 0 20px;
    outline: none;
}

.chatbot-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.chatbot-submit {
    padding: 12px 20px;
    background: linear-gradient(90deg, #ff00cc, #3333ff);
    color: white;
    border: none;
    border-radius: 0 20px 20px 0;
    cursor: pointer;
    transition: all 0.3s;
}

.chatbot-submit:hover {
    opacity: 0.9;
}

.chatbot-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(90deg, #ff00cc, #3333ff);
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 1001;
    transition: all 0.3s;
}

.chatbot-toggle:hover {
    transform: scale(1.1);
}

.chatbot-hidden {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .chatbot-container {
        width: 90%;
        height: 70vh;
        bottom: 70px;
        right: 5%;
    }
}