#ai-assistant-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1050;
}

#ai-assistant-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

#ai-assistant-icon:hover {
    transform: scale(1.1);
    background-color: var(--secondary-color);
}

#ai-assistant-chat-window {
    width: 350px;
    max-height: 500px;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    position: absolute;
    bottom: 80px;
    right: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.3s ease;
}

#ai-assistant-chat-window.hidden {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

#ai-assistant-header {
    background-color: var(--primary-color);
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

#ai-assistant-close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
}

#ai-assistant-body {
    padding: 15px;
    overflow-y: auto;
    flex-grow: 1;
}

.ai-message p {
    margin-bottom: 15px;
    font-size: 14px;
}

#ai-assistant-questions .ai-question {
    padding: 10px;
    border-radius: 8px;
    background-color: #f1f1f1;
    margin-bottom: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 14px;
}

#ai-assistant-questions .ai-question:hover {
    background-color: #e0e0e0;
}

.ai-answer {
    padding: 15px;
    background-color: #f9f9f9;
    border-left: 4px solid var(--primary-color);
    margin-top: -5px;
    margin-bottom: 10px;
    font-size: 14px;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

#ai-assistant-footer {
    padding: 15px;
    background-color: #f1f1f1;
    text-align: center;
    font-size: 12px;
}

#ai-assistant-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

/* Responsive Styles */
@media (max-width: 768px) {
    #ai-assistant-chat-window {
        width: 90vw;
        right: 10px;
        bottom: 90px;
    }
}
