@font-face {
  font-family: "sans";
  src: url(../fonts/isans.woff);
}

body * {
  font-family: "sans", sans-serif;
}
body {
  background-color: #f8f9fa;
}
.form-wrapper {
  background-color: #ffffff;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  max-width: 700px;
  margin: 50px auto;
}
.form-title {
  color: #16564d;
  margin-bottom: 30px;
  text-align: center;
}
.form-control:focus {
  box-shadow: 0 0 0 0.2rem rgba(22, 86, 77, 0.25);
}
.btn-success {
  background-color: #16564d;
  border-color: #16564d;
}
.btn-success:hover {
  background-color: #128172;
}
.info-text {
  font-size: 0.9rem;
  color: #6c757d;
  text-align: center;
  margin-top: 20px;
}
.navbar {
  top: 0;
  width: 100%;
  background-color: #16564d; /* دوبار نوشتی، یکی از `background-color`ها حذف شد */
  transition: background-color 0.4s ease;
  z-index: 999;
  height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center; /* اضافه شد برای وسط‌چین کردن عمودی */
  box-sizing: border-box;
}

.navbar a {
  text-decoration: none;
  color: white;
  font-size: 18px;
  display: flex;
  align-items: center;
}
/* فاصله دادن بین سایر و وردپرس */
.mb-3.mt-0 {
  margin-top: 20px;
}

/* اضافه کردن 0 و 100 به دو طرف اسلایدر */
.form-range {
  width: 100%;
  position: relative;
}

.form-range::before {
  position: absolute;
  left: 0;
  top: -20px;
  font-size: 14px;
}

.form-range::after {
  position: absolute;
  right: 0;
  top: -20px;
  font-size: 14px;
}

input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  background: #ddd;
  border-radius: 5px;
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 15px;
  width: 15px;
  background: #16564d; /* رنگ دایره */
  border-radius: 50%;
  cursor: pointer;
}
/* حالت پیش‌فرض (موبایل و کوچکتر) */
.navbar .navbar-brand {
  font-size: 18px;
  margin-bottom: 0;
}

.navbar img {
  width: 60px;
  height: 60px;
  margin-bottom: 0;
}

/* حالت لپ‌تاپ و بالاتر */
@media (min-width: 768px) {
  .navbar .navbar-brand {
    font-size: 28px;
    margin-top: 30px;
  }

  .navbar img {
    width: 90px;
    height: 90px;
    margin-top: 30px;
  }
}

.form-check-label span {
  font-size: small;
}

.custom-range {
  margin-bottom: 1.48rem;
}

.checkbox-student {
  margin-right: 13px;
}

.range-wrapper {
  position: relative;
}

.range-value {
  position: absolute;
  top: -15px; /* میاد بالای دایره */
  color: black; /* رنگ عدد */
  font-size: 12px;
  white-space: nowrap;
  transform: translateX(-50%);
  background: transparent; /* بدون بک‌گراند */
}
input[type="range"] {
  direction: rtl; /* حرکت از راست به چپ */
}

.textarea::placeholder {
  font-size: 13px !important;
  color: #6c757d;
}
