/* Custom RTL styles and enhancements */
body {
    font-family: 'Vazirmatn', sans-serif;
    direction: rtl;
}

/* Sidebar responsive styles */
@media (max-width: 768px) {
    #sidebar {
        transform: translateX(100%);
    }
    
    #sidebar.show {
        transform: translateX(0);
    }
    
    #main-content {
        margin-right: 0 !important;
    }
}

/* Custom animations */
.fade-in {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Status badges */
.status-badge {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 9999px;
    display: inline-block;
    font-family: 'Vazirmatn', sans-serif;
}

.status-sold {
    background-color: #dcfce7;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.status-pending {
    background-color: #fef3c7;
    color: #d97706;
    border: 1px solid #fde68a;
}

.status-not-sold {
    background-color: #fee2e2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.status-follow-up {
    background-color: #e0e7ff;
    color: #4338ca;
    border: 1px solid #c7d2fe;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}