/* نادي القراء */
.manus-points-banner {
    background: linear-gradient(135deg, #6e8efb 0%, #a777e3 100%);
    color: #fff;
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 30px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(110, 142, 251, 0.2);
}

.manus-points-banner h3 { color: #fff; margin-top: 0; }
.manus-points-banner strong { font-size: 1.5em; }

.manus-earn-notice {
    background: #fff9e6;
    border: 1px dashed #ffcc00;
    padding: 10px 15px;
    border-radius: 8px;
    margin: 15px 0;
    font-size: 0.95em;
    color: #856404;
}

/* بوت الدردشة */
#manus-ai-chat {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 300px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    z-index: 9999;
    transition: all 0.3s ease;
    overflow: hidden;
}

.manus-chat-closed { height: 50px; width: 50px !important; border-radius: 50% !important; }
.manus-chat-closed .chat-header, .manus-chat-closed #chat-body, .manus-chat-closed .chat-footer { display: none; }
.manus-chat-closed #chat-trigger { display: flex !important; }

#chat-trigger {
    width: 50px;
    height: 50px;
    background: #2271b1;
    color: #fff;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
}

.chat-header {
    background: #2271b1;
    color: #fff;
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#chat-body {
    height: 300px;
    padding: 15px;
    overflow-y: auto;
    background: #f9f9f9;
}

.ai-msg {
    background: #e1f0ff;
    padding: 10px;
    border-radius: 10px 10px 10px 0;
    margin-bottom: 10px;
    font-size: 0.9em;
}

.user-msg {
    background: #2271b1;
    color: #fff;
    padding: 10px;
    border-radius: 10px 10px 0 10px;
    margin-bottom: 10px;
    font-size: 0.9em;
    text-align: right;
}

.chat-footer {
    padding: 10px;
    display: flex;
    border-top: 1px solid #eee;
}

#chat-input {
    flex: 1;
    border: none;
    padding: 8px;
    outline: none;
}

#send-chat {
    background: #2271b1;
    color: #fff;
    border: none;
    padding: 5px 15px;
    border-radius: 5px;
    cursor: pointer;
}

/* الترشيحات الذكية */
.manus-smart-recs {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #eee;
}

.manus-smart-recs h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #2271b1;
}

.recs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.rec-item {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.rec-item:hover { transform: translateY(-5px); }

.rec-item img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 10px;
}

.rec-item h4 {
    font-size: 0.95em;
    margin: 10px 0;
    color: #333;
}

.rec-item .price {
    color: #2271b1;
    font-weight: bold;
}

.rec-item a { text-decoration: none; }
