:root {
  --primary: #e3bc55;
  --secondary: #1c6571;
  --background: #f8f8f8;
  --onBg: #e8e8e8;
  --text: #373737;
  --white: #ffffff;
  --success: #1cc497;
  --danger: #cd3a3a;
  --bgText: #a0a0a0;
  --border: #e5e7eb;
}
a,
a:active,
a:link,
a:hover {
  text-decoration: none;
}
body,
* {
  font-family: "Noora";
  box-sizing: border-box;
  color: var(--text);
  font-size: 11pt;
  direction: rtl;
  margin: 0;
}
.container {
  display: flow-root;
  margin: 0 auto;
  max-width: 1280px;
  padding: 0 20px;
}
.btn {
  display: block;
  padding: 8px 16px;
  border-radius: 25px;
  min-width: 100px;
  color: var(--text);
  transition: all ease 0.3s;
  text-align: center;
  opacity: 1;
  border: 0;
}
.opt .btn {
  width: max-content;
  float: left;
  border-radius: 10px;
}
.btn.primary {
  background-color: var(--primary);
  border: 1px solid var(--primary);
}
.btn.primaryStroke {
  background-color: var(--white);
  border: 1px solid var(--primary);
}
.btn.success {
  background-color: var(--success);
  color: var(--white);
}
.btn.danger {
  background-color: var(--danger);
  color: var(--white);
}
.btn:hover {
  opacity: 0.8;
}
.btnStroke {
  border: 1px solid var(--text);
}
.btn.hasIcon {
  padding: 8px 20px 8px 20px;
  width: max-content;
}
.btn.hasIcon::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  margin-left: 8px;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  background-color: var(--text);
  width: 24px;
  height: 24px;
}
.btn.hasIcon.download::before {
  -webkit-mask-image: url(/icons/download.svg);
}
.btn.hasIcon.user::before {
  -webkit-mask-image: url(/icons/user.svg);
}
.btn.hasIcon.gold::before {
  background-color: var(--primary);
  -webkit-mask-image: url(/icons/gold.svg);
}
.hide {
  display: none !important;
}
.pageTitle span {
  display: block;
  border: 1px solid var(--text);
  padding: 6px 20px;
  border-radius: 25px;
  width: max-content;
}
h1.title {
  font-size: 20pt;
  margin-top: 20px;
}
.contentDesc {
  color: var(--bgText);
  margin: 10px 0;
}
.backward {
  display: block;
  position: fixed;
  width: 100%;
  height: 100%;
  background: #37373730;
  top: 0;
  left: 0;
  overflow-y: hidden;
  visibility: hidden;
  opacity: 0;
  transition: all ease 0.3s;
  z-index: 9;
}
.backward.active {
  opacity: 1;
  visibility: inherit;
}
.menuMobileSite {
  display: none;
}
[type="tel"],
[type="number"],
[type="email"] {
  text-align: left;
  direction: ltr;
}
.Disable {
  pointer-events: none;
  opacity: 0.6;
}
/* استایل‌های مودال و پس‌زمینه */
.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white); /* پس‌زمینه تاریک */
  display: block; /* مودال به صورت پیش‌فرض مخفی است */
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* استایل مودال */
.modal {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60%;
  height: auto;
  background: var(--white);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transform: translate(-50%, -50%);
  opacity: 0;
  visibility: hidden;
  transition: all ease 0.3s;
  z-index: 99999;
}
.modal.active {
  opacity: 1;
  visibility: inherit;
}
/* هدر مودال */
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* دکمه بستن مودال */
.close-btn {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #333;
  padding: 5px;
}

/* بدنه مودال */
.modal-body {
  padding: 10px 0;
  font-size: 16px;
  color: #333;
}

/* فوتر مودال */
.modal-footer {
  display: flex;
  justify-content: flex-end;
  padding-top: 10px;
}

/* دکمه‌های فوتر */
.modal-footer .btn {
  background: #4caf50;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.modal-footer .btn:hover {
  background: #45a049;
}
.disableBtn {
  background-color: var(--bgText) !important;
  opacity: 0.7;
  pointer-events: none !important;
}
@media screen and (min-width: 0) and (max-width: 600px) {
  .modal {
    width: 90%;
  }
  .gold {
    margin: 0 auto;
  }
  .menuMobileSite {
    display: flex;
    flex-direction: column;
    width: 280px;
    height: 100vh;
    background-color: var(--white);
    position: fixed;
    right: -100%;
    top: 0;
    z-index: 999999999;
    padding: 20px;
    gap: 40px;
    font-weight: bold;
    transition: all ease 0.3s;
  }
  .menuMobileSite.active {
    right: 0;
  }
  .menuMobileSite a {
    display: flex;
    justify-content: space-between;
  }
  .menuMobileSite a::after {
    content: "";
    display: inline-block;
    vertical-align: middle;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    background-color: var(--text);
    -webkit-mask-image: url(/icons/arrowFill.svg);
    width: 24px;
    height: 24px;
    transform: rotate(90deg);
  }
  .menuMobileSite img {
    width: 110px;
  }
}
