﻿body {
    direction: rtl;
    font-family: 'Vazirmatn', sans-serif; /* Replace with your preferred Persian font */
}

.text-left {
    text-align: left !important;
}

.text-right {
    text-align: right !important;
}
.chat-history {
    direction: ltr;
    text-align: left;
}
/* Add more RTL-specific styles here */
/* Optional: wwwroot/css/print-form.css */
@media print {
    body {
        font-size: 10pt; /* Adjust font size for print */
        margin: 1cm; /* Add margins */
    }

    h4 {
        text-align: center;
        margin-bottom: 15px;
    }

    dl.row {
        margin-bottom: 0; /* Reduce bottom margin for dl */
    }

    dt, dd {
        padding-top: 2px;
        padding-bottom: 2px;
        border-bottom: 1px solid #eee; /* Add subtle separators */
        font-size: 9pt;
    }

    .modal-footer, /* Hide modal footer */
    .btn, /* Hide all buttons */
    .no-print /* Hide elements with this class */ {
        display: none !important;
    }

    /* Ensure Bootstrap grid columns work reasonably well in print */
    .col-sm-4, .col-sm-8 {
        float: right; /* Basic float for print layout */
    }

    .col-sm-4 {
        width: 33.33%;
    }

    .col-sm-8 {
        width: 66.66%;
    }

    .row::after { /* Clearfix for floated columns */
        content: "";
        clear: both;
        display: table;
    }
}
