@font-face {
    font-family: 'Peyda100';
    src: url('../fonts/PeydaWebFaNum-Thin.4dc9791976a333b36501.woff2') format('woff2');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'Peyda200';
    src: url('../fonts/PeydaWebFaNum-ExtraLight.cb12d7d5e9d6131c285f.woff') format('woff');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'Peyda300';
    src: url('../fonts/PeydaWebFaNum-Light.e5c4aa2be8084a7fd345.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Peyda400';
    src: url('../fonts/PeydaWebFaNum-Regular.a85fc388413d6fb2707b.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Peyda500';
    src: url('../fonts/PeydaWebFaNum-Medium.5ae94427bffc3c292a70.woff') format('woff');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Peyda600';
    src: url('../fonts/PeydaWebFaNum-SemiBold.bee880ae22ea6f0f046e.woff') format('woff');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Peyda700';
    src: url('../fonts/PeydaWebFaNum-Bold.2106f9398d9799d35d55.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Peyda800';
    src: url('../fonts/PeydaWebFaNum-ExtraBold.5d0e4f0b138c23493636.woff') format('woff');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'Peyda900';
    src: url('../fonts/PeydaWebFaNum-Black.ce8ffc88f1303a4ed135.woff') format('woff');
    font-weight: 900;
    font-style: normal;
}

body,
html {
    font-family: 'Peyda400', sans-serif !important;
    /* Regular */
    font-weight: 400 !important;
}

h1,
h2 {
    font-family: 'Peyda900', sans-serif !important;
    /* Black */
    font-weight: 900 !important;
}

h3,
h4 {
    font-family: 'Peyda700', sans-serif !important;
    /* Bold */
    font-weight: 700 !important;
}

p {
    font-family: 'Peyda300', sans-serif !important;
    /* Light */
    font-weight: 300 !important;
}

strong,
b {
    font-family: 'Peyda800', sans-serif !important;
    /* ExtraBold */
    font-weight: 800 !important;
}

em {
    font-family: 'Peyda200', sans-serif !important;
    /* ExtraLight */
    font-weight: 200 !important;
}

a {
    font-family: 'Peyda500', sans-serif !important;
    /* Medium */
    font-weight: 500 !important;
}

small,
.caption {
    font-family: 'Peyda100', sans-serif !important;
    /* Thin */
    font-weight: 100 !important;
}

button,
input,
textarea,
select {
    font-family: 'Peyda600', sans-serif !important;
    /* SemiBold */
    font-weight: 600 !important;
}

/* ── Input field base style (LIGHT MODE) ─────────────────────────── */
.input-field {
  background-color: rgb(241 245 249 / 0.8);   /* slate-100/80 */
  border: 1px solid rgb(203 213 225 / 0.8);   /* slate-300/80 */
  color: #1e293b;                              /* slate-800 */
  border-radius: 0.75rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-family: 'Vazirmatn', sans-serif;
  transition: border-color 0.15s, box-shadow 0.15s;
  width: 100%;
  appearance: auto;
}

.input-field:focus {
  outline: none;
  border-color: #6366f1;                       /* همان رنگ فوکوس قبلی */
  box-shadow: 0 0 0 2px rgb(99 102 241 / 0.25); /* کمی روشن‌تر برای لایت */
}

.input-field::placeholder {
  color: #94a3b8;                              /* slate-400 */
}

/* ── Select arrow RTL fix ─────────────────────────── */
select.input-field {
  padding-left: 2rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236787A1' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
  /* stroke=#6787A1 ≈ slate-500 */
  background-repeat: no-repeat;
  background-position: left 0.5rem center;
  background-size: 1.25rem;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* ── Scrollbar (LIGHT MODE) ─────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; } /* slate-300 */
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }                /* slate-400 */

/* ── Toggle switch fix (بدون تغییر) ─────────────────── */
input[type=checkbox].sr-only:checked ~ div > div {
  transform: translateX(-16px);
}

/* ── Number input arrows hide (بدون تغییر) ─────────── */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  opacity: 0.4;
}
html{
    zoom: 1.1 !important;
}