/* ==========================================================================
   Base / Reset
   ========================================================================== */

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Peyda-FD", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

/* ==========================================================================
   Content overflow / long text wrapping
   ========================================================================== */

:where(p, div, span, li, blockquote, dd, dt, label, small, strong, em) {
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}

a {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

:where(pre, code, kbd, samp) {
  max-width: 100%;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: normal;
}

:where(button, .btn, input[type="button"], input[type="submit"]) {
  white-space: nowrap;
}

:where(.content, .main, .page-content, .course-content, .lms-content) {
  min-width: 0;
}

:where(td, th) {
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
}

.MuiTableCell-head,
th {
  white-space: normal;
  overflow-wrap: normal;
  word-break: keep-all;
  hyphens: none;
}

.MuiTableCell-body,
td {
  overflow-wrap: normal;
  /* به جای anywhere */
  word-break: normal;
  hyphens: none;
}

.MuiTableContainer-root {
  overflow-x: auto;
}

/* ==========================================================================
   Media responsiveness
   ========================================================================== */

img,
video,
iframe {
  max-width: 100%;
}

/* ------------------------------------------
   Peyda-FD (only 400 / 500 / 700)
   ------------------------------------------ */

@font-face {
  font-family: "Peyda-FD";
  font-style: normal;
  font-weight: 400;
  src: url("fonts/Peyda-FD/Regular.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Peyda-FD";
  font-style: normal;
  font-weight: 500;
  src: url("fonts/Peyda-FD/Medium.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Peyda-FD";
  font-style: normal;
  font-weight: 700;
  src: url("fonts/Peyda-FD/Bold.ttf") format("truetype");
  font-display: swap;
}