@import url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/Vazirmatn-font-face.css');

:root {
    --primary: #4f46e5;
    --primary-hover: #4338ca;
    --bg-main: #f8fafc;
    --surface: #ffffff;
}

* {
    font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
    background-color: var(--bg-main);
    color: #1e293b;
    direction: rtl;
    text-align: right;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Chat Bubbles */
.chat-bubble-customer {
    background-color: #f1f5f9;
    color: #1e293b;
    border-radius: 16px 16px 4px 16px;
}

.chat-bubble-operator {
    background-color: #4f46e5;
    color: #ffffff;
    border-radius: 16px 16px 16px 4px;
}

.chat-bubble-ai {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    color: #065f46;
    border: 1px solid #a7f3d0;
    border-radius: 16px 16px 16px 4px;
}

.chat-bubble-flagged {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border: 1px solid #fca5a5;
    color: #991b1b;
}

/* Pulse animation for active badges */
@keyframes pulse-soft {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}
.animate-pulse-soft {
    animation: pulse-soft 2s infinite ease-in-out;
}
