﻿html body table.dataTable thead th,
html body table.dataTable thead td,
html body table.dataTable tfoot th,
html body table.dataTable tfoot td {
    text-align: right !important;
}


body, .menu, .menu-item, .card, .form-label, .btn, h1, h2, h3, h4, h5, h6, input, textarea {
    font-family: 'Vazir', 'Segoe UI', sans-serif !important;
}




/*-----------------------------------------------------------------*/
/*
.table-modern {
    border-collapse: separate;
    border-spacing: 0 6px;
}

    .table-modern thead th {
        background: #f5f8fa;
        border: none;
        font-weight: 600;
        font-size: 13px;
        color: #7e8299;
    }

    .table-modern tbody tr {
        background: #ffffff;
        box-shadow: 0 2px 6px rgba(0,0,0,0.04);
        transition: all .15s ease;
    }

        .table-modern tbody tr:hover {
            transform: translateY(-1px);
            box-shadow: 0 4px 10px rgba(0,0,0,0.08);
        }

    .table-modern td {
        border-top: none !important;
        vertical-align: middle;
    }

    .table-modern tbody tr:hover {
        background: #f9fafb;
    }






.row-debt {
    background: #fff5f5 !important;
    border-right: 3px solid #f1416c;
}
*/





/*-----------------------------------------------------------------*/

/*.table-clean {
    border-collapse: separate;
    border-spacing: 0;
    background: #ffffff;
}*/

    /* Header */
    /*.table-clean thead th {
        background: linear-gradient(180deg,#f9fafb,#f1f5f9);
        color: #475569;
        font-weight: 600;
        font-size: 13px;
        border-bottom: 1px solid #e5e7eb;
        padding: 14px 12px;
        letter-spacing: .3px;
    }*/

    /* Rows */
    /*.table-clean tbody tr {
        border-bottom: 1px solid #f1f5f9;
        transition: background .15s ease;
    }

        .table-clean tbody tr:hover {
            background: #f8fafc;
        }*/

    /* Cells */
    /*.table-clean td {
        padding: 12px;
        vertical-align: middle;
        color: #334155;
    }*/

    /* Zebra subtle */
    /*.table-clean tbody tr:nth-child(even) {
        background: #fcfcfd;
    }*/

/* بدهکار */
/*.row-debt {
    background: #fff6f6 !important;
    border-right: 4px solid #f1416c;
}
.table-clean thead th:first-child {
    border-top-right-radius: 8px;
}

.table-clean thead th:last-child {
    border-top-left-radius: 8px;
}*/


.table-modern {
    border-collapse: collapse !important;
    border-spacing: 0;
}

    /* header */
    .table-modern thead th {
        background: linear-gradient(180deg,#ffffff,#f5f7fa);
        color: #344054;
        font-weight: 700;
        font-size: 13px;
        padding: 13px 14px;
        border-bottom: 1px solid #e4e6ef;
    }

    /* rows */
    .table-modern tbody tr {
        background: #ffffff;
        transition: background .1s ease;
    }

        /* hover خیلی ملایم */
        .table-modern tbody tr:hover {
            background: #fafbfd !important;
        }

    /* cells */
    .table-modern td {
        padding: 7px 10px;
        vertical-align: middle;
        color: #475467 !important;
        border-bottom: 1px dotted #e6e8ec;
    }

    /* آخرین ردیف border نداشته باشد */
    .table-modern tbody tr:last-child td {
        border-bottom: none !important;
    }

/* highlight خاص */
.row-debt {
    background: #fff6f6 !important;
}






/* فاصله بین منوها */
.menu-item {
    margin: 4px 8px;
}

    /* کادر ظریف */
    .menu-item > .menu-link {
        border: 1px solid #e4e6ef;
        border-radius: 6px;
    }

        /* hover خیلی ملایم */
        .menu-item > .menu-link:hover {
            background-color: rgba(0,0,0,0.03);
        }

        /* active */
        .menu-item > .menu-link.active {
            border-color: #009ef7;
        }



//-----------------------//
/* استایل کلی برای زیباتر شدن SweetAlert */
.swal2-popup.swal2-toast {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1) !important;
    border-radius: 12px !important;
    border: 1px solid rgba(0,0,0,0.05);
}

.swal2-styled.swal2-confirm {
    background-color: #009ef7 !important; /* رنگ سازمانی شما */
    border-radius: 8px !important;
}

.swal2-title {
    font-family: 'Tahoma', sans-serif !important;
    font-size: 15px !important;
}
