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;
}


/* معرفی فونت B Nazanin */
@font-face {
    font-family: 'B Nazanin';
    src: url('../fonts/BNazanin.woff2') format('woff2'), url('../fonts/BNazanin.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* معرفی فونت وزیرمتن (برای ظاهر کلی سایت) */
@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-RD-FD-Regular.woff2') format('woff2'), url('../fonts/Vazirmatn-RD-FD-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* اعمال فونت مدرن وزیرمتن به کل بدنه سایت و پنل ادمین */
body, h1, h2, h3, h4, h5, h6, p, a, span, div, input, button, select, textarea {
    font-family: 'Vazirmatn', Tahoma, Arial, sans-serif !important;
    text-decoration:none !important;
}

/* اعمال فونت B Nazanin فقط برای محیط ادیتور SunEditor و محتوای دروس */
.sun-editor-editable, .content-section, .exercise-section {
    font-family: 'B Nazanin', Tahoma, Arial, sans-serif !important;
    font-size: 18px; /* فونت نازنین معمولاً باید کمی درشت‌تر باشد تا خوانا شود */
    line-height: 1.8;
}