@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

body, html, input, select, textarea, button, table {
    font-family: 'Vazirmatn', sans-serif !important;
    direction: rtl;
    text-align: right;
}
.table-responsive {
    overflow-x: auto; /* اسکرول افقی */
    -webkit-overflow-scrolling: touch; /* اسکرول نرم در موبایل */
}
.table th, .table td {
    vertical-align: middle;
}

.text-danger {
    color: red;
    font-weight: bold;
}
@media (max-width: 576px) {
    .d-flex.justify-content-between.mb-3.align-items-center {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    .d-flex.align-items-center.gap-2 {
        justify-content: center;
        margin-top: 10px;
    }
}
header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    flex-wrap: wrap; /* مهم برای شکستن خط دکمه‌ها */
    padding: 10px 20px; 
    box-shadow: 0 2px 8px rgba(0,0,0,0.1); 
    background: #fff;

}

header .buttons { 
    display: flex; 
    gap: 10px; 
    flex-wrap: wrap; /* دکمه‌ها روی خط بعدی می‌روند */
}

body { background-color: #1c6c7b1c; margin:0; padding:0; }
header img { width:309px; height:74px; max-width:100%;max-height: fit-content; }
header .buttons a, header .buttons button { font-size:0.9rem; }
.container { max-width: 1200px; margin: 40px auto 60px; }
.btn-dokme {
    --bs-btn-color: #fff;
    --bs-btn-bg: #1c6c7b;
    --bs-btn-border-color: #1c6c7b;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #185f6c;
    --bs-btn-hover-border-color: #1c6c7b;
}
h3.page-title {
    text-align: center;
    margin: 40px;
    font-weight: 700;
    color: #1c6c7b;
}
.table-dark {
    --bs-table-bg: #1c6c7b;
    --bs-table-border-color: #fff;
}
th, tr {
    text-align-last: center;
}