/********************** CSS Reset *********************/
html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
sidebar,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

body {
  line-height: 1;
}

article,
sidebar,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: none;
}

a {
  margin: 0;
  padding: 0;
  font-size: 100%;
  color: inherit;
  vertical-align: baseline;
  text-decoration: none;
}

del {
  text-decoration: line-through;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

input,
select {
  vertical-align: middle;
}

* {
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
}

:focus {
  outline: 0;
}

html {
  scroll-behavior: smooth;
}

iframe {
  max-width: 100%;
}

/******************************************** Overal Styles *******************************************/
/********************** Fonts *********************/
@font-face {
  font-family: "YekanBakhFaNum-VF";
  src: url("../fonts/YekanBakhFaNum-VF.woff2") format("woff2-variations");
  font-weight: 100 1000;
  font-display: block;
}

/********************** Variables *********************/
:root {
  --white: #fff;
  --black: #0d1922;
  --body: #f1f1f1;
  --header: rgba(0, 0, 0, 0.4);
  --primary-text-color: #777777;
  --secondary--text-color: #979797;
  /*rgba(14,66,138,1)*/
  --primary-color: #0b592d;
  /*rgba(0,171,201,1)*/
  --secondary-color: #91c74a;
  /*rgba(255,128,49,1)*/
  --tertiary-color: #0b7b3f;
  --box-shadow: 6px 6px 3px 0px rgba(235, 235, 235, 0.9);
  --transparent: transparent;
  --YekanBakh: "Vazirmatn Local", "Vazirmatn", Tahoma, sans-serif;
  --fontWeight200: "wght" 200, "dots" 1;
  --fontWeight300: "wght" 300, "dots" 1;
  --fontWeight400: "wght" 400, "dots" 1;
  --fontWeight500: "wght" 500, "dots" 1;
  --fontWeight600: "wght" 600, "dots" 1;
  --fontWeight700: "wght" 700, "dots" 1;
  --fontWeight800: "wght" 800, "dots" 1;
  --fontWeight900: "wght" 900, "dots" 1;
  --title-huge: 32px;
  --title-big: 26px;
  --title-regular: 20px;
  --title-small: 16px;
  --paragraph-big: 14px;
  --paragraph-regular: 14px;
  --paragraph-small: 12px;
  --header-height: 78px;
  --footer-height: 52px;
}

/********************** Overal CSS *********************/
.container {
  max-width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

body {
  direction: rtl;
  width: 100%;
  background: #f4f7f5;
  color: var(--primary-text-color);
  font-family: var(--YekanBakh);
  font-size: var(--paragraph-regular);
  line-height: 1.65;
  word-spacing: normal;
  -webkit-tap-highlight-color: transparent;
}

body.menu-open {
  overflow: hidden;
}

body.menu-open::after {
  content: "";
  background: rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 98;
  transition: 0.3s all;
}

p {
  font-family: var(--YekanBakh);
  font-size: var(--paragraph-regular);
  color: var(--black);
}

a {
  font-family: var(--YekanBakh);
  font-size: var(--paragraph-regular);
  text-decoration: none;
  color: var(--black);
}

ol,
ul {
  padding-right: 20px;
  padding-left: 20px;
}

.content h1,
.content h2,
.content h3,
.content h4,
.content h5 {
  margin-bottom: 20px;
  font-family: var(--YekanBakh);
  font-variation-settings: var(--fontWeight700);
  font-weight: 700;
  line-height: 40px;
  color: var(--black);
}

.content h1 {
  font-size: var(--title-big);
}

.content h2 {
  font-size: var(--title-regular);
}

.content h3 {
  font-size: var(--title-small);
}

.content h4 {
  font-size: var(--paragraph-big);
}

.content p {
  margin-bottom: 10px;
  font-size: var(--paragraph-regular);
  line-height: 30px;
  color: var(--black);
}

.content a {
  color: var(--secondary-color);
}

input[type="search"]::-ms-clear,
input[type="search"]::-moz-clear {
  display: none;
  width: 0;
  height: 0;
}

input[type="search"]::-ms-reveal {
  display: none;
  width: 0;
  height: 0;
}

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
  display: none;
}

[type="button"]:not(:disabled),
[type="reset"]:not(:disabled),
[type="submit"]:not(:disabled),
button:not(:disabled) {
  cursor: pointer;
}

.transparent-highlight {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.w-100 {
  width: 100%;
}

.mw-150 {
  max-width: 150px;
}

.margin-bottom--primary {
  margin-bottom: 30px;
}

.margin-bottom--secondary {
  margin-bottom: 50px;
}

.mb-20 {
  margin-bottom: 20px;
}

.mb-30 {
  margin-bottom: 30px;
}

.mb-40 {
  margin-bottom: 40px;
}

.mt-20 {
  margin-top: 20px;
}

.margin-main {
  margin-top: 30px;
  margin-bottom: 100px;
}

.text-center {
  text-align: center;
}

.two-col {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.two-col .col {
  width: 100%;
}

.two-col .col1 {
  width: 100%;
}

.two-col .col2 {
  width: 100%;
}

.two-col .opt {
  width: 100%;
  text-align: center;
}

.col:not(:last-child) {
  margin-bottom: 0 !important;
}

.d-flex {
  display: flex;
}

.flex-wrap {
  flex-wrap: wrap;
}

.flex-column {
  flex-direction: column;
}

.align-items-center {
  align-items: center;
}

.align-self-end {
  align-items: end;
}

.justify-content-center {
  justify-content: center;
}

.justify-content-between {
  justify-content: space-between;
}

.gap-5 {
  gap: 5px;
}

.gap-10 {
  gap: 10px;
}

.gap-20 {
  gap: 20px;
}

.gap-30 {
  gap: 30px;
}

.gap-40 {
  gap: 40px;
}

.width-350 {
  width: 100%;
  max-width: 350px;
}

.bg-primary {
  background-color: var(--primary-color);
}

.bg-secondary {
  background-color: var(--secondary-color);
}

.bg-tertiary {
  background-color: var(--tertiary-color);
}

.text-black {
  color: var(--black);
}

.text-white {
  color: var(--white);
}

.btn-primary {
  background: var(--secondary-color);
  border: 0;
  border-radius: 30px;
  padding: 5px 30px;
  font-family: var(--YekanBakh);
  font-size: var(--paragraph-big);
  line-height: 32px;
  font-variation-settings: var(--fontWeight400);
  font-weight: 400;
  color: var(--white);
}

.btn-black {
  background: var(--black);
  border: 0;
  border-radius: 30px;
  padding: 5px 30px;
  font-family: var(--YekanBakh);
  font-size: var(--paragraph-big);
  line-height: 32px;
  font-variation-settings: var(--fontWeight400);
  font-weight: 400;
  color: var(--white);
}

.page-title__right {
  padding-right: 40px;
  font-family: var(--YekanBakh);
  font-size: var(--title-big);
  line-height: 50px;
  font-variation-settings: var(--fontWeight500);
  font-weight: 500;
  color: var(--tertiary-color);
  position: relative;
}

.page-title__right::before {
  content: "";
  position: absolute;
  top: 12px;
  right: 0px;
  width: 31px;
  height: 26px;
  background: url(../images/Layer-8.png) no-repeat center;
  line-height: 50px;
}

.page-title {
  text-align: center;
  position: relative;
}

.page-title__text {
  padding: 0;
  font-family: var(--YekanBakh);
  font-size: var(--title-big);
  line-height: 50px;
  font-variation-settings: var(--fontWeight900);
  font-weight: 900;
  color: var(--primary-text-color);
  display: inline-block;
  position: relative;
}

.captcha__text {
  padding: 0 10px;
  font-weight: bolder;
  color: var(--primary-color);
  font-size: 25px;
}

.captcha__text::before {
  content: "[";
  right: 0px;
  text-align: start;
}

.captcha__text::after {
  content: "]";
  left: 0px;
  text-align: end;
}

.captcha__text::before,
.captcha__text::after {
  width: 10px;
  top: 5px;
  font-family: var(--YekanBakh);
  font-weight: bolder;
  color: var(--secondary-color);
}

.form-control {
  text-align: center;
  width: 100%;
}

.form-control__label {
  font-family: var(--YekanBakh);
  font-size: var(--paragraph-big);
  line-height: 32px;
  font-variation-settings: var(--fontWeight500);
  font-weight: 500;
  color: var(--black);
  display: block;
}

.form-control__input {
  width: 100%;
  margin: 0 auto;
  padding: 10px 20px;
  background: #f0f0f0;
  font-family: var(--YekanBakh) !important;
  font-size: var(--paragraph-big);
  line-height: 30px;
  border: 1px solid var(--secondary--text-color);
  border-radius: 30px;
}

.recover-password {
  font-family: var(--YekanBakh);
  font-size: 14px;
  color: var(--secondary--text-color);
  background: none;
  border: 0;
}

/********************** Header *********************/
.main-menu {
  padding: 20px 0;
}

.main-menu__wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.header-logo {
  display: block;
  width: 160px;
  height: 38px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-user {
  display: flex;
  align-items: center;
  gap: 5px;
}

.header-user__name {
  font-family: var(--YekanBakh);
  font-size: 12px;
  line-height: 26px;
  font-variation-settings: var(--fontWeight500);
  font-weight: 500;
  color: var(--secondary--text-color);
}

.header-sign {
  display: block;
  width: 30px;
  height: 30px;
}

.header-left__icon {
  width: 30px;
  height: 30px;
}

/********************** Main *********************/
.customer-exist__text {
  font-family: var(--YekanBakh);
  font-size: var(--title-big);
  line-height: 32px;
  font-variation-settings: var(--fontWeight500);
  font-weight: 500;
  text-align: center;
  color: var(--white);
}

#modal-phone-number {
  word-spacing: 0;
  letter-spacing: 3px;
}

#phone-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 100;
}

.phone-modal__wrapper {
  max-width: 95%;
  width: 992px;
  padding: 35px 20px 20px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 30px;
  background: var(--tertiary-color);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
  overflow: hidden;
}

.phone-modal__close {
  width: 40px;
  height: 40px;
  border-bottom-left-radius: 8px;
  background: var(--primary-color);
  font-size: 30px;
  line-height: 40px;
  text-align: center;
  color: var(--white);
  position: absolute;
  top: -1px;
  right: -1px;
  cursor: pointer;
}

/********************** user profile *********************/
.customer-profile__wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.customer-profile__header {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 20px 40px;
}

.customer-profile__header--item {
  padding: 5px 20px;
  border-radius: 24px;
}

.customer-profile__header--item-two {
  display: grid;
  grid-template-columns: 1fr;
}

.customer-profile__header--text,
.wallet-amount {
  font-family: var(--YekanBakh);
  font-size: var(--title-small);
  letter-spacing: 2px;
  line-height: 34px;
  text-align: end;
  color: var(--white);
}

.customer-profile__new-buy {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.customer-profile__new-buy--link {
  width: 100%;
  height: 100%;
  padding: 5px 20px;
  font-family: var(--YekanBakh);
  font-size: var(--paragraph-big);
  line-height: 34px;
  color: var(--white);
  background: var(--secondary-color);
  border: 0;
  border-radius: 24px;
  display: block;
}

.customer-profile__box {
  padding: 20px;
  background: #f7f7f7;
  border: 1px solid #d5d5d5;
  border-radius: 24px;
}

.customer-profile__box--cash {
  background: #55bd60;
}

.customer-profile__box:not(:last-child) {
  margin-bottom: 20px;
}

.customer-profile-info__link {
  font-family: var(--YekanBakh);
  font-size: 16px;
  line-height: 34px;
  color: var(--white);
}

.customer-profile-info__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.customer-profile-info__item:not(:last-child) {
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #d5d5d5;
}

.customer-profile-info__item--textarea {
  flex-direction: column;
  justify-content: start;
  align-items: start;
}

.customer-profile-info__item--textarea .customer-profile-info__title {
  margin-bottom: 10px;
}

.customer-profile-info__item--textarea .customer-profile-info__input {
  width: 85%;
  margin-right: auto;
}

.customer-profile-info__title {
  font-family: var(--YekanBakh);
  font-size: var(--paragraph-big);
  line-height: 26px;
  font-variation-settings: var(--fontWeight500);
  font-weight: 500;
  color: var(--black);
}

.customer-profile-info__btn {
  background: none;
  border: 0;
  padding: 0;
}

.customer-profile-info__cancel,
.customer-profile-info__save {
  display: none;
}

.customer-profile-info__input {
  width: 100%;
  padding: 5px 10px;
  background: #fff;
  border: 0;
  font-family: var(--YekanBakh);
  font-size: var(--paragraph-big);
  line-height: 26px;
  font-variation-settings: var(--fontWeight500);
  font-weight: 500;
  color: var(--secondary--text-color);
}

.customer-profile-info__input.text-black {
  color: var(--black);
}

.customer-profile-info__input-focus {
  color: var(--black);
}

.customer-profile-history__item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.customer-profile-history__item:not(:last-child) {
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #d5d5d5;
}

.customer-profile-history__item--text {
  font-family: var(--YekanBakh);
  font-size: 16px;
  line-height: 36px;
  font-variation-settings: var(--fontWeight400);
  font-weight: 400;
  color: var(--black);
}

.customer-profile-history__item--number {
  width: 30px;
  background: var(--tertiary-color);
  border-radius: 50%;
  line-height: 30px;
  color: var(--white);
  text-align: center;
}

#customer-profile-birth-day,
#customer-profile-birth-month {
  width: 80px;
}

/********************** customer-sex *********************/
.customer-sex__box {
  display: flex;
  align-items: center;
  border: 1px solid #d5d5d5;
  border-radius: 24px;
  overflow: hidden;
}

.customer-sex__label {
  width: 50%;
  cursor: pointer;
}

.customer-sex__input {
  display: none;
}

#customer-sex-female-image,
#customer-sex-male-image {
  width: 100%;
  height: 78px;
  position: relative;
  transition: 0.6s all;
}

#customer-sex-female-image::before {
  content: "";
  width: 50px;
  height: 50px;
  mask: url("../images/female-image.svg") no-repeat center / contain;
  -webkit-mask: url("../images/female-image.svg") no-repeat center / contain;
  background-color: #cbcbcb;
  position: absolute;
  inset: 50%;
  transform: translate(50%, -50%);
}

#customer-sex-male-image::before {
  content: "";
  width: 50px;
  height: 50px;
  mask: url("../images/male-image.svg") no-repeat center / contain;
  -webkit-mask: url("../images/male-image.svg") no-repeat center / contain;
  background-color: #cbcbcb;
  position: absolute;
  inset: 50%;
  transform: translate(50%, -50%);
}

.customer-sex
  .customer-sex__box
  .customer-sex__label:first-child
  .customer-sex__image-wrapper {
  background: var(--secondary-color);
}

.customer-sex
  .customer-sex__box
  .customer-sex__label:first-child
  #customer-sex-female-image::before {
  background-color: var(--white);
}

.customer-sex
  #customer-sex-male:checked
  ~ .customer-sex__box
  .customer-sex__label
  #customer-sex-female-image {
  background: #f7f7f7;
}

.customer-sex
  #customer-sex-male:checked
  ~ .customer-sex__box
  .customer-sex__label
  #customer-sex-female-image::before {
  background-color: #cbcbcb;
}

.customer-sex
  #customer-sex-male:checked
  ~ .customer-sex__box
  .customer-sex__label
  #customer-sex-male-image {
  background: var(--secondary-color);
}

.customer-sex
  #customer-sex-male:checked
  ~ .customer-sex__box
  .customer-sex__label
  #customer-sex-male-image::before {
  background-color: var(--white);
}

.customer-sex
  #customer-sex-male:checked
  ~ .customer-sex__box
  .customer-sex__label
  #customer-sex-male-image::before {
  background-color: var(--white);
}

.customer-sex
  #customer-sex-female:checked
  ~ .customer-sex__box
  .customer-sex__label
  #customer-sex-female-image {
  background: var(--secondary-color);
}

.customer-sex
  #customer-sex-female:checked
  ~ .customer-sex__box
  .customer-sex__label
  #customer-sex-male-image {
  background: #f7f7f7;
}

.customer-sex
  #customer-sex-female:checked
  ~ .customer-sex__box
  .customer-sex__label
  #customer-sex-female-image::before {
  background-color: var(--white);
}

/********************** customer-profile__section *********************/
.customer-profile__section--title {
  height: 78px;
  padding-right: 40px;
  font-family: var(--YekanBakh);
  font-size: var(--title-regular);
  font-variation-settings: var(--fontWeight700);
  font-weight: 700;
  color: #777777;
  position: relative;
  display: flex;
  justify-content: start;
  align-items: center;
}

.customer-profile__section--title:before {
  content: "";
  width: 26px;
  height: 19px;
  background: url("../images/angle-down.png") no-repeat center / contain;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translate(0, -50%);
}

.customer-profile__radio--wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: start;
  align-items: center;
  gap: 20px;
}

.customer-profile__section--input {
  display: none;
}

.customer-profile__section--label {
  height: 78px;
  padding: 10px 27px;
  background: #f7f7f7;
  border: 1px solid #d5d5d5;
  border-radius: 24px;
  font-family: var(--YekanBakh);
  font-size: var(--paragraph-big);
  line-height: 26px;
  font-variation-settings: var(--fontWeight500);
  font-weight: 500;
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.4s all;
}

.customer-profile__section--input:checked + .customer-profile__section--label {
  background: var(--secondary-color);
  color: var(--white);
}

/********************** date-picker *********************/
.date-picker {
  background: var(--white);
  position: relative;
  display: inline-block;
  border-radius: 8px;
}

#jalaliDateInput {
  width: 100%;
  border: 0;
  font-family: var(--YekanBakh);
  font-size: 14px;
  text-align: center;
}

.date-picker-calendar {
  padding: 10px;
  background: var(--white);
  border: 1px solid #d5d5d5;
  border-radius: 8px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  position: absolute;
  bottom: 60px;
  left: 0;
  display: none;
  z-index: 100;
}

.date-picker__navigation {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.date-picker__navigation button {
  padding: 5px 10px;
  background-color: var(--primary-color);
  font-family: var(--YekanBakh);
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 3px;
}

.date-picker__navigation button:hover {
  background-color: var(--primary-color);
}

.date-picker__day-headers,
.date-picker__days {
  display: grid;
  grid-template-columns: repeat(7, 30px);
  gap: 5px;
}

.date-picker__day-headers {
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px dotted #ccc;
}

.date-picker__day-header {
  font-weight: 700;
  font-variation-settings: var(--fontWeight700);
  text-align: center;
  line-height: 15px;
  color: #666;
}

.date-picker__day {
  font-family: var(--YekanBakh);
  font-weight: 400;
  font-variation-settings: var(--fontWeight400);
  line-height: 20px;
  font-size: 16px;
  padding: 5px;
  cursor: pointer;
  background-color: #f0f0f0;
  border: none;
  border-radius: 3px;
  text-align: center;
}

.date-picker__day:hover {
  background-color: #e0e0e0;
}

.date-picker__day:active {
  background-color: #ccc;
}

.date-picker__empty-day {
  visibility: hidden;
}

.date-picker__month-wrapper {
  height: 244px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  overflow-y: hidden;
}

.date-picker__month-title {
  font-weight: bold;
  text-align: center;
  margin-bottom: 5px;
}

.date-picker__today {
  background-color: var(--primary-color);
  color: white;
}

.date-picker__past-day {
  color: #999;
  cursor: not-allowed;
  opacity: 0.5;
}

.date-picker__selected {
  background-color: #4caf50;
  color: white;
}

/********************** referral *********************/
.referral {
  max-width: 95%;
  width: 992px;
  margin-right: auto;
  margin-left: auto;
  padding: 30px;
  background: #333333;
  border-radius: 24px;
}

.referral__title {
  padding: 5px 40px;
  background: var(--tertiary-color);
  border-radius: 24px;
  font-size: 16px;
  font-variation-settings: var(--fontWeight500);
  font-weight: 500;
  color: var(--white);
}

.form-textarea {
  width: 100%;
  padding: 10px;
  border-radius: 16px;
  font-family: var(--YekanBakh);
  font-size: 16px;
  line-height: 26px;
  color: var(--black);
}

/********************** user login *********************/
.login-note {
  background: var(--white);
}

.login-note__title {
  padding-right: 30px;
  font-family: var(--YekanBakh);
  font-size: 20px;
  font-variation-settings: var(--fontWeight700);
  font-weight: 700;
  color: var(--black);
  position: relative;
}

.login-note__title::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 25px;
  height: 25px;
  background: url(../images/Layer-4.png) no-repeat center / contain;
  border-radius: 50%;
}

.login-note__item {
  font-family: var(--YekanBakh);
  font-size: 14px;
  font-variation-settings: var(--fontWeight400);
  font-weight: 400;
  color: var(--primary-text-color);
}

.login-note__item:not(:last-child) {
  margin-bottom: 10px;
}

/********************** user panel *********************/
.user-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.user-panel__tab {
  width: 100%;
  background: var(--secondary-color);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: fixed;
  bottom: 52px;
  right: 0;
  left: 0;
}

.user-panel__tab--button {
  padding: 10px;
  background: transparent;
  border: 0;
  font-family: var(--YekanBakh);
  font-size: 16px;
  line-height: 30px;
  text-align: start;
  color: var(--white);
  text-align: center;
  transition: 0.6s all;
}

.user-panel__tab--button:not(:last-child) {
  border-left: 1px solid #ccc;
}

.user-panel__tab--button.active {
  color: var(--tertiary-color);
}

.user-panel__content--pane {
  padding: 40px;
  border: 1px solid #d5d5d5;
  border-radius: 24px;
  box-shadow: var(--box-shadow);
}

.user-panel__content--pane {
  display: none;
}

.user-panel__content--pane.active {
  display: block;
}

.profile-form__grid {
  display: grid;
  grid-template-columns: 1fr;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.form-submit__panel {
  margin-top: 20px;
  margin-right: auto;
}

/********************** Footer *********************/
footer {
  background: var(--tertiary-color);
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
}

.footer__wrapper {
  padding: 10px 20px;
  text-align: center;
}

.footer__text {
  font-family: var(--YekanBakh);
  font-size: 10px;
  line-height: 30px;
  font-variation-settings: var(--fontWeight400);
  font-weight: 100;
  color: var(--white);
}

@media only screen and (min-width: 360px) {
  .main-menu__wrapper {
    justify-content: space-between;
  }
}

@media only screen and (min-width: 576px) {
  :root {
    --header-height: 94px;
  }

  .container {
    max-width: 540px;
  }

  body {
    font-size: 14px;
    line-height: 26px;
  }

  body.menu-open {
    overflow: auto;
  }

  body.menu-open::after {
    background: transparent;
    z-index: 0;
  }

  .header-logo {
    width: 220px;
    height: 54px;
  }

  .page-title__text {
    padding: 0 20px;
    font-size: var(--title-huge);
  }

  .page-title__text::before {
    content: "[";
    right: 0px;
    text-align: start;
  }

  .page-title__text::after {
    content: "]";
    left: 0px;
    text-align: end;
  }

  .page-title__text::before,
  .page-title__text::after {
    width: 20px;
    position: absolute;
    top: 5px;
    font-family: var(--YekanBakh);
    font-size: var(--title-huge);
    font-variation-settings: var(--fontWeight300);
    font-weight: 300;
    color: var(--secondary-color);
  }

  .captcha__text {
    padding: 0 10px;
    font-weight: bolder;
    color: var(--primary-color);
    font-size: 25px;
  }

  .captcha__text::before {
    content: "[";
    right: 0px;
    text-align: start;
  }

  .captcha__text::after {
    content: "]";
    left: 0px;
    text-align: end;
  }

  .captcha__text::before,
  .captcha__text::after {
    width: 10px;
    top: 5px;
    font-family: var(--YekanBakh);
    font-weight: bolder;
    color: var(--secondary-color);
  }
}

@media only screen and (min-width: 768px) {
  :root {
    --header-height: 100px;
  }

  .container {
    max-width: 720px;
  }

  .margin-bottom--primary {
    margin-bottom: 60px;
  }

  .margin-bottom--secondary {
    margin-bottom: 50px;
  }

  .header-logo {
    width: 240px;
    height: 60px;
  }

  .header-left {
    gap: 20px;
  }

  .header-sign {
    width: 40px;
    height: 40px;
  }

  .header-left__icon {
    width: 40px;
    height: 40px;
  }

  .two-col .col {
    width: calc(50% - 10px);
  }

  .two-col .col1 {
    width: calc(50% - 10px);
  }

  .two-col .col2 {
    width: calc(50% - 10px);
  }

  .two-col .opt {
    width: calc(2% - 10px);
  }

  .customer-profile__header--item-two {
    grid-template-columns: 1fr 200px;
  }
}

@media only screen and (min-width: 992px) {
  :root {
    --header-height: 164px;
  }

  .container {
    max-width: 960px;
  }

  .margin-main {
    margin-top: 50px;
  }

  .main-menu {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .header-logo {
    width: 260px;
    height: 64px;
  }

  .customer-profile__wrapper {
    grid-template-columns: 1fr 2fr;
  }

  .date-picker__month-wrapper {
    height: initial;
    flex-direction: row;
    justify-content: center;
    align-items: start;
    overflow-y: initial;
  }

  .date-picker__month:nth-child(1) {
    padding-left: 10px;
    border-left: 1px dotted #ccc;
  }

  .customer-profile__header {
    grid-template-columns: 1fr 2fr;
  }

  /********************** user panel *********************/
  .user-panel {
    grid-template-columns: 300px 1fr;
    align-items: start;
    justify-content: start;
  }

  .user-panel__tab {
    background: transparent;
    grid-template-columns: 1fr;
    align-items: start;
    justify-content: start;
    gap: 10px;
    position: initial;
    bottom: initial;
    right: initial;
    left: initial;
  }

  .user-panel__tab--button {
    padding: 10px;
    background: var(--white);
    color: var(--black);
    text-align: start;
    transition: 0.6s all;
  }

  .user-panel__tab--button:not(:last-child) {
    padding-bottom: 20px;
    border-left: 0;
    border-bottom: 1px solid #d5d5d5;
  }

  .user-panel__tab--button.active {
    color: var(--tertiary-color);
  }

  .user-panel__content--pane {
    padding: 40px;
    border: 1px solid #d5d5d5;
    border-radius: 24px;
    box-shadow: var(--box-shadow);
  }

  .profile-form__grid {
    display: grid;
    grid-template-columns: 150px 350px;
  }

  .two-col .col1 {
    width: calc(55% - 10px);
  }

  .two-col .col2 {
    width: calc(35% - 10px);
  }

  .two-col .opt {
    width: calc(2% - 10px);
  }

  .customer-profile__header--item-two {
    grid-template-columns: 1fr 200px;
  }
}

@media only screen and (min-width: 1200px) {
  :root {
    --title-huge: 40px;
    --title-big: 30px;
    --title-regular: 22px;
    --title-small: 20px;
    --paragraph-big: 16px;
    --paragraph-regular: 14px;
    --paragraph-small: 14px;
  }

  .container {
    max-width: 1140px;
  }
}

@media only screen and (min-width: 1400px) {
  .container {
    max-width: 1340px;
  }
}

@media only screen and (min-width: 1600px) {
  .container {
    max-width: 1540px;
  }
}

.otp-container {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 20px 0;
  direction: ltr; /* اضافه کن این خط */
}

.otp-input {
  width: 40px;
  height: 50px;
  font-size: 24px;
  text-align: center;
  border: 2px solid #ccc;
  border-radius: 6px;
  outline: none;
  transition: border-color 0.3s;
  font-family: var(--YekanBakh);
}

.otp-input:focus {
  border-color: #007bff;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

/*****  Request form *********/

.form-section {
  background-color: #fefefe;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #333;
}

.form-control-custom {
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  transition: border-color 0.3s;
}

.form-control-custom:focus {
  border-color: #007bff;
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.1);
}

.form-note {
  font-size: 13px;
  color: #666;
  margin-top: 4px;
}

.btn-submit {
  background-color: #28a745;
  border: none;
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 15px;
  cursor: pointer;
}

.btn-submit:hover {
  background-color: #218838;
}
.error-message {
  color: red;
  font-size: 13px;
  margin-top: 4px;
  /*display: none;*/
}

/********************************نمایش صافی عا *****************/
/* عمومی */
.status-label {
  padding: 3px 8px;
  border-radius: 5px;
  font-size: 0.85rem;
  font-weight: bold;
  display: inline-block;
}

.status-pending {
  background-color: #ffe08a;
  color: #665c00;
}
.status-progress {
  background-color: #cce5ff;
  color: #004085;
}
.status-rejected {
  background-color: #f8d7da;
  color: #721c24;
}
.status-completed {
  background-color: #d4edda;
  color: #155724;
}

.download-link {
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
}
.download-link:hover {
  text-decoration: underline;
}

/* جدول فقط برای دسکتاپ */
.desktop-table {
  display: block;
}
.mobile-cards {
  display: none;
}

.request-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-family: Vazir, Tahoma, sans-serif;
}

.request-table th,
.request-table td {
  border: 1px solid #ccc;
  padding: 10px;
  text-align: center;
  font-size: 0.95rem;
}

.request-table th {
  background-color: #f5f5f5;
}

/* کارت فقط برای موبایل */
.request-card {
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.card-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.92rem;
}

.card-row .label {
  font-weight: bold;
  color: #444;
  min-width: 85px;
}

.card-note {
  margin-top: 10px;
  background-color: #f8f9fa;
  border-right: 4px solid #007bff;
  padding: 8px;
  font-size: 0.92rem;
}

/* Media Query برای موبایل */
@media (max-width: 768px) {
  .desktop-table {
    display: none;
  }
  .mobile-cards {
    display: block;
  }
}

.square-radio input[type="radio"] {
  display: none;
}

.square-radio label {
  position: relative;
  padding-right: 30px;
  cursor: pointer;
  display: inline-block;
  line-height: 1.8;
  user-select: none;
}

.square-radio label::before {
  content: "";
  position: absolute;
  right: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border: 2px solid #007bff;
  background: #fff;
  border-radius: 4px; /* مربع با گوشه نرم */
  box-sizing: border-box;
}

.square-radio input[type="radio"]:checked + label::before {
  background-color: #007bff;
}

.square-radio label::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 8px;
  width: 8px;
  height: 8px;
  background-color: white;
  display: none;
}

.square-radio input[type="radio"]:checked + label::after {
  display: block;
}

/********************** Portal Mobile-First & Responsive Layout *********************/
.portal-login-shell {
  min-height: 100dvh;
  background-color: #f4f7f5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portal-login-shell .form-control,
.portal-shell .form-control {
  text-align: right;
}

.portal-login-shell .form-control[dir="ltr"] {
  text-align: center;
}

.portal-login-shell .form-control.siaq-ltr-input,
.portal-shell .form-control.siaq-ltr-input {
  direction: ltr !important;
  text-align: left !important;
}

.portal-loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(2px);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-color);
  z-index: 9999;
}

.portal-shell {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  background-color: #f4f7f5;
}

.portal-appbar {
  position: sticky;
  top: 0;
  z-index: 1020;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e2e8e4;
  padding-top: env(safe-area-inset-top, 0px);
}

.portal-appbar__inner {
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.portal-container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 12px;
}

.portal-content-area {
  flex: 1;
  padding: 12px 0 calc(84px + env(safe-area-inset-bottom, 0px));
}

.portal-bottom-nav {
  position: fixed;
  bottom: 0;
  right: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-top: 1px solid #dce3de;
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.06);
  z-index: 1030;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.portal-bottom-nav__inner {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  height: 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.portal-bottom-nav__btn {
  background: transparent;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #64748b;
  font-size: 11px;
  font-weight: 600;
  min-height: 48px;
  padding: 4px 2px;
  transition: all 0.2s ease;
  position: relative;
}

.portal-bottom-nav__btn.active {
  color: var(--primary-color);
  font-weight: 800;
}

.portal-bottom-nav__btn.active::before {
  content: "";
  position: absolute;
  top: 0;
  width: 40px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: var(--primary-color);
}

.portal-nav-dot {
  position: absolute;
  top: -2px;
  left: -4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #f59e0b;
  border: 1.5px solid #ffffff;
}

.portal-card {
  background: #ffffff;
  border: 1px solid #e2e8e4;
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
}

.portal-summary-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}

.portal-stat-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fbf9 100%);
  border: 1px solid #dce6df;
  border-radius: 14px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.portal-stat-card__value {
  font-size: 17px;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1.2;
}

.portal-stat-card__label {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
}

.portal-option-card {
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #ffffff;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 46px;
}

.portal-option-card.active {
  border-color: var(--primary-color);
  background: #f0f9f3;
  box-shadow: 0 2px 8px rgba(11, 89, 45, 0.08);
}

.portal-chip-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}

@media (min-width: 768px) {
  .portal-container {
    padding: 0 20px;
  }

  .portal-content-area {
    padding: 20px 0 calc(92px + env(safe-area-inset-bottom, 0px));
  }

  .portal-card {
    padding: 18px;
  }

  .portal-bottom-nav__btn {
    font-size: 12px;
  }
}
