
#chat-btn {
    position: fixed;
    bottom: 70px;
    right: 20px;
    background: #007bff;
    color: white;
    font-size: 24px;
    padding: 12px;
    border-radius: 50%;
    cursor: pointer;
}


/* Minimal styles — ضعها في ملف CSS مركزي لو تحب */
#monax-chat {
    position: fixed;
    bottom: 100px;
    right: 20px;
    font-family: Inter, "Segoe UI", Tahoma, Arial, sans-serif;
    z-index: 9999;
    width: 520px;
    max-width: calc(100% - 40px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    border-radius: 12px;
    overflow: hidden;
    display: none;
}

    #monax-chat .header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 12px;
        background: linear-gradient(90deg,#0ea5a4,#2563eb);
        color: #fff;
    }

        #monax-chat .header .title {
            font-weight: 600;
            font-size: 14px;
            display: flex;
            gap: 8px;
            align-items: center;
        }

        #monax-chat .header .lang-toggle {
            background: rgba(255,255,255,0.12);
            border: 0;
            color: #fff;
            padding: 6px 8px;
            border-radius: 8px;
            cursor: pointer;
            font-size: 12px;
        }

    #monax-chat .body {
        background: #fff;
        padding: 12px;
        height: 460px;
        overflow: auto;
        direction: rtl;
        font-size: 14px;
    }

    #monax-chat .msg {
        margin-bottom: 10px;
        max-width: 85%;
        padding: 8px 10px;
        border-radius: 10px;
        line-height: 1.3;
    }

        #monax-chat .msg.time {
            font-size: 11px;
            color: #777;
            text-align: left;
            margin-top: 0px;
            margin-bottom: 10px;
            padding: 0px 0px 0px 0px;
        }

        #monax-chat .msg.user {
            background: lightgreen;
            margin-left: auto;
            text-align: right;
            margin-bottom: 0px;
        }

        #monax-chat .msg.bot {
            background: #eef2ff;
            text-align: right;
            margin-bottom: 0px;
        }

    #monax-chat .footer {
        display: flex;
        gap: 8px;
        padding: 10px;
        background: #fafafa;
        border-top: 1px solid #eee;
    }

    #monax-chat .input {
        flex: 1;
        padding: 8px 10px;
        border: 1px solid #e6e6e6;
        border-radius: 8px;
    }

    #monax-chat .send {
        background: #2563eb;
        color: #fff;
        border: 0;
        padding: 8px 12px;
        border-radius: 8px;
        cursor: pointer;
        width: 80px;
    }

    #monax-chat.rtl .body {
        direction: rtl;
    }

    #monax-chat.rtl .msg.bot {
        text-align: right;
    }

    #monax-chat .badge {
        width: 36px;
        height: 36px;
        background: #fff;
        color: #2563eb;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        font-weight: 700;
    }

.small {
    font-size: 12px;
    color: #334155;
}
.chat-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, #0d6efd, #0bbcd6);
    color: #fff;
    padding: 12px 18px;
    border-radius: 30px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: "Tajawal", sans-serif;
    font-size: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    z-index: 9999;
    transition: all 0.3s ease;
}

    .chat-float:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 25px rgba(0,0,0,0.3);
    }

.chat-icon {
    font-size: 20px;
    background: #fff;
    color: #0d6efd;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-text {
    white-space: nowrap;
}

/* موبايل */
@media (max-width: 480px) {
    .chat-text {
      
    }
}
.call-float {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: #fff;
    padding: 12px 18px;
    border-radius: 30px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: "Tajawal", sans-serif;
    font-size: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    z-index: 9999;
    transition: all 0.3s ease;
}

    .call-float:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 25px rgba(0,0,0,0.3);
    }

.call-icon {
    font-size: 20px;
    background: #fff;
    color: #28a745;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.call-text {
    white-space: nowrap;
}

/* موبايل */
@media (max-width: 480px) {
    .call-text {
        display: none;
    }
}
