@font-face {
  font-family: 'Vazirmatn';
  src: url('/font/Vazirmatn-Thin.ttf') format('truetype');
  font-weight: 100;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('/font/Vazirmatn-ExtraLight.ttf') format('truetype');
  font-weight: 200;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('/font/Vazirmatn-Light.ttf') format('truetype');
  font-weight: 300;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('/font/Vazirmatn-Regular.ttf') format('truetype');
  font-weight: 400;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('/font/Vazirmatn-Medium.ttf') format('truetype');
  font-weight: 500;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('/font/Vazirmatn-SemiBold.ttf') format('truetype');
  font-weight: 600;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('/font/Vazirmatn-Bold.ttf') format('truetype');
  font-weight: 700;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('/font/Vazirmatn-ExtraBold.ttf') format('truetype');
  font-weight: 800;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('/font/Vazirmatn-Black.ttf') format('truetype');
  font-weight: 900;
}

*:not(i):not([class*="fa-"]) {
  font-family: 'Vazirmatn', sans-serif !important;
}

html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* ───── Shared pagination bar (لیست‌های دانش‌آموز نمایندگی) ───── */
.pagination-bar {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 10px;
    padding: 14px 20px; border-top: 1px solid #f0f3f6; background: #fcfdfe;
}
.pagination-bar .page-info { font-size: 12px; font-weight: 600; color: #7f8fa6; }
.pager { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.pager-link {
    min-width: 34px; height: 34px; padding: 0 10px;
    display: inline-flex; align-items: center; justify-content: center; gap: 4px;
    font-size: 13px; font-weight: 600; color: #495057;
    border: 1px solid #e1e6eb; border-radius: 8px; background: #fff;
    text-decoration: none; transition: all .15s; cursor: pointer;
}
.pager-link:hover { background: #eef8f7; border-color: #c8ebe9; color: var(--primary-color); }
.pager-link.active { background: var(--primary-color); border-color: var(--primary-color); color: #fff; cursor: default; }
.pager-dots { padding: 0 4px; color: #adb5bd; }