/* Peyda Font Family */
@font-face {
  font-family: "Peyda";
  font-style: normal;
  font-weight: 100;
  font-display: swap;
  src:
    url("/fonts/woff2/Peyda-Thin.woff2") format("woff2"),
    url("/fonts/woff/Peyda-Thin.woff") format("woff");
}
@font-face {
  font-family: "Peyda";
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  src:
    url("/fonts/woff2/Peyda-ExtraLight.woff2") format("woff2"),
    url("/fonts/woff/Peyda-ExtraLight.woff") format("woff");
}
@font-face {
  font-family: "Peyda";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src:
    url("/fonts/woff2/Peyda-Light.woff2") format("woff2"),
    url("/fonts/woff/Peyda-Light.woff") format("woff");
}
@font-face {
  font-family: "Peyda";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src:
    url("/fonts/woff2/Peyda-Regular.woff2") format("woff2"),
    url("/fonts/woff/Peyda-Regular.woff") format("woff");
}
@font-face {
  font-family: "Peyda";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src:
    url("/fonts/woff2/Peyda-Medium.woff2") format("woff2"),
    url("/fonts/woff/Peyda-Medium.woff") format("woff");
}
@font-face {
  font-family: "Peyda";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src:
    url("/fonts/woff2/Peyda-SemiBold.woff2") format("woff2"),
    url("/fonts/woff/Peyda-SemiBold.woff") format("woff");
}
@font-face {
  font-family: "Peyda";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src:
    url("/fonts/woff2/Peyda-Bold.woff2") format("woff2"),
    url("/fonts/woff/Peyda-Bold.woff") format("woff");
}
@font-face {
  font-family: "Peyda";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src:
    url("/fonts/woff2/Peyda-ExtraBold.woff2") format("woff2"),
    url("/fonts/woff/Peyda-ExtraBold.woff") format("woff");
}
@font-face {
  font-family: "Peyda";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src:
    url("/fonts/woff2/Peyda-Black.woff2") format("woff2"),
    url("/fonts/woff/Peyda-Black.woff") format("woff");
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  height: 100%;
}

body {
  font-family: "Peyda", sans-serif !important;
  overflow: overlay;
  overflow-x: hidden;
  background-color: #979797;
  touch-action: none;
  margin: 0 auto;
  position: relative;
  max-width: 640px !important;
}

.container_body {
  max-width: 640px !important;
  left: 50%;
  transform: translateX(-50%);
}

body:has(.modal-main-overlay.visible) {
  overflow: hidden !important;
  height: 100vh !important;
}

/* Form Elements */
input,
button {
  font-family: "Peyda", sans-serif;
}

/* Links */
a {
  text-decoration: none;
  color: #2563eb;
  font-size: 15px;
}

/* Icons */

@font-face {
  font-family: "bazargam-icons";
  src: url("/fonts/icon/icons.eot?w8t37o");
  src:
    url("/fonts/icon/icons.eot?w8t37o#iefix") format("embedded-opentype"),
    url("/fonts/icon/icons.ttf?w8t37o") format("truetype"),
    url("/fonts/icon/icons.woff?w8t37o") format("woff"),
    url("/fonts/icon/icons.svg?w8t37o#bazargam-icons") format("svg");
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

i {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: "bazargam-icons" !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  cursor: pointer;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-Arrow---Down-2:before {
  content: "\e916";
}
.icon-Arrow---Left-2:before {
  content: "\e917";
}
.icon-Arrow---Right-2:before {
  content: "\e918";
}
.icon-Arrow---Up-2:before {
  content: "\e919";
}
.icon-Lock:before {
  content: "\e928";
}
.icon-Location:before {
  content: "\e91a";
}
.icon-Search:before {
  content: "\e900";
}
.icon-textalign-justifyleft:before {
  content: "\e90b";
}
.icon-discount-shape:before {
  content: "\e920";
}
.icon-tick:before {
  content: "\e901";
}
.icon-Supermarket:before {
  content: "\e904";
}
.icon-fruit:before {
  content: "\e905";
}
.icon-food:before {
  content: "\e906";
}
.icon-bread:before {
  content: "\e907";
}
.icon-bag-tick:before {
  content: "\e902";
}
.icon-Delete:before {
  content: "\e91d";
}
.icon-Edit:before {
  content: "\e91e";
}
.icon-Xmark:before {
  content: "\e91b";
}
.icon-Category:before {
  content: "\e915";
}
.icon-Profile:before {
  content: "\e913";
}
.icon-Logout:before {
  content: "\e90d";
}
.icon-Arrow---Right:before {
  content: "\e92d";
}
.icon-Arrow---Left:before {
  content: "\e92e";
}
.icon-Wallet:before {
  content: "\e92f";
}
.icon-Document:before {
  content: "\e908";
}
.icon-User:before {
  content: "\e92c";
}
.icon-Upload:before {
  content: "\e909";
}
.icon-people:before {
  content: "\e90a";
}
.icon-shop:before {
  content: "\e92a";
}
.icon-task-square:before {
  content: "\e92b";
}
.icon-Buy-3:before {
  content: "\e903";
}
.icon-Notification-1:before {
  content: "\e91f";
}
.icon-Show1:before {
  content: "\e924";
}
.icon-Hide1:before {
  content: "\e929";
}
.icon-Paper-Download:before {
  content: "\e90c";
}
.icon-Bag:before {
  content: "\e914";
}
.icon-Minus:before {
  content: "\e91c";
}
.icon-ticket-discount:before {
  content: "\e926";
}
.icon-coin:before {
  content: "\e90e";
}
.icon-home:before {
  content: "\e90f";
}
.icon-d-cube-scan:before {
  content: "\e910";
}
.icon-support:before {
  content: "\e911";
}
.icon-share:before {
  content: "\e912";
}
.icon-money-change:before {
  content: "\e927";
}
.icon-task:before {
  content: "\e925";
}
.icon-plus:before {
  content: "\e922";
}
.icon-tag:before {
  content: "\e923";
}
.icon-box:before {
  content: "\e921";
}

/* Map Controls */
.neshan-platform,
.neshan-web-app,
.open-street,
.water-mark-img,
.mapboxgl-ctrl-geolocate {
  display: none !important;
}

.mapboxgl-ctrl-group button {
  width: 41px !important;
  height: 41px !important;
}

/* Custom Close Button */
.custom-close-button {
  position: fixed;
  top: 25px;
  left: 25px;
  z-index: 10000000000;
  padding: 20px;
  background-color: transparent;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

@media (min-width: 650px) {
  .custom-close-button {
    top: auto;
    right: 370px;
    left: auto;
    bottom: 600px;
  }
}
