/* تنسيقات الأيقونات العائمة */

/* أيقونة الشات بوت */
#ai-chat-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

#ai-chat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

#ai-chat-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

#ai-chat-icon i {
    color: white;
    font-size: 24px;
}

/* نافذة الشات */
#ai-chat-window {
    display: none;
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    height: 500px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
    z-index: 9998;
    flex-direction: column;
}

#ai-chat-window.show {
    display: flex;
}

/* أيقونة Contact Us */
.floating-contact {
    position: fixed;
    bottom: 105px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #4CAF50;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 9997;
    transition: all 0.3s ease;
}

.floating-contact:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.floating-contact i {
    font-size: 20px;
}

/* تنسيقات إضافية للشات */
.chat-header {
    padding: 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header span {
    font-weight: bold;
}

#close-chat {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

#chat-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
}

.bot-message {
    background: #f5f5f5;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 10px;
    max-width: 80%;
}

.chat-input {
    padding: 15px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
}

#user-input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

#send-message {
    background: #6e8efb;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 0 15px;
    cursor: pointer;
}
