@import url(./preflight.css);
@import url(../font/font.css);
@import url(./component.css);

:root {
  /* --color-theme: #EFB156; */
  --color-theme: #28c4cc;
  --color-secondary-1: #28c4cc;
  --container-padding: 0 20px;
  --container-padding-carousel: 16px 20px;
  --rounded-full: 99999px;
  --typographi-h1: 2rem;
  --typographi-h2: 1.85rem;
  --typographi-h3: 1.7rem;
  --typographi-h4: 1.55rem;
  --typographi-h5: 1.4rem;
  --typographi-h6: 1.25rem;
  --typographi-description: 0.8rem;
}

* {
  font-family: IRANSansX, "Arial", "Segoe UI", Tahoma, sans-serif;
  font-feature-settings: "ss02";
}

.en {
  font-feature-settings: "ss02" 0;
}

html {
  font-size: 14px;
}

body {
  max-width: 768px;
  margin: auto;
  overflow-x: hidden;
}

.app-container {
  width: 100%;
  height: 100%;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

.side {
  width: 0;
  height: 100vh;
  position: fixed;
  inset: 0;
  z-index: 10;
  user-select: none;
}

.side.active {
  width: 100%;
}

.overlay {
  width: 100%;
  height: 100%;
  background: rgba(90, 93, 96, 0.25);
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: 0.2s ease-in-out;
}

.overlay.active {
  opacity: 1;
}

@media only screen and (min-width: 768px) {
  body {
    border: 1px solid rgba(132, 132, 139, 0.2);
    border-top: 0;
    border-bottom: 0;
  }
  nav {
    border-left: 1px solid rgba(132, 132, 139, 0.2);
    border-right: 1px solid rgba(132, 132, 139, 0.2);;
  }
}

.btn {
    border: none;
    outline: none;
    user-select: none;
    cursor: pointer;
    /* editable properties */
    border-radius: 10px;
    padding: 10px;
    color: #908f94;
    background-color: #f1f1f1;
    font-size: 14px;
    user-select: none;
}

.btn.lg {
  padding: 14px;
  font-size: 18px;
  border-radius: 12px;
}

.btn.btn-theme {
  color: #fff;
  background-color: var(--color-theme);
}

.btn.type-2 {
  min-width: 40px;
  min-height: 40px;
  background-color: #f9f9f9;
  border-radius: 9999px;
  color: #434343;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
}

.radio {
    display: flex;
    justify-content: center;
    align-items: center;
    appearance: none;
    margin: 0;
    font: inherit;
    width: 20px;
    height: 20px;
    border: 2px solid #cbd9dd;
    border-radius: 50%;
    transition: all 0.2s ease-in-out;
    user-select: none;
}

.radio::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-theme);
  color: inherit;
  transform: scale(0);
  opacity: 0;
  transition: all 0.2s ease-in-out;
}

.radio:checked {
  border-color: var(--color-theme);
}

.radio:checked::before {
  transform: scale(1);
  opacity: 1;
}

.checkbox {
    display: flex;
    justify-content: center;
    align-items: center;
    appearance: none;
    margin: 0;
    font: inherit;
    width: 20px;
    height: 20px;
    border: 2px solid #cbd9dd;
    transition: all 0.2s ease-in-out;
    user-select: none;
}

.checkbox[data-type="circle"] {
  border-radius: 50%;
}

.checkbox[data-type="squircle"] {
  border-radius: 6px;
  background: #f5fafe;
  border-color: #ecf6ff;
}

.checkbox::before {
  content: "";
  display: block;
  width: 10px;
  height: 8px;
  background-image: url(../images/iconpack/check-2.svg);
  background-position: center center;
  transform: scale(0);
  opacity: 0;
  transition: all 0.2s ease-in-out;
}

.checkbox:checked {
  border-color: var(--color-theme);
  background-color: #e9f9fa;
}

.checkbox:checked::before {
  transform: scale(1);
  opacity: 1;
}

nav,
.like-nav {
  width: 100%;
  max-width: 768px;
  position: fixed;
  bottom: 0;
  z-index: 2;
  left: 50%;
  transform: translateX(-50%);
  background-color: #fff;
  padding: 0px 10px;
  border-top: 1px solid #ebeff1;
  box-shadow: 0 1px 14px rgba(42, 51, 70, 0.05);
  user-select: none;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-around;
}

nav:after,
.like-nav:after {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  background: #e5ecf1;
  top: -1px;
  left: 0;
}

nav .nav-item {
  padding: 14px 12px;
  width: 100%;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 6px;
  cursor: pointer;
  stroke: #717476;
  flex-direction: column;
  font-weight: 600;
  font-size: 14px;
  max-width: 150px;
  gap: 4px;
}

nav .nav-item svg {
  stroke-width: 1.6px;
}

nav .nav-item.active {
  color: #0a4904;
}

nav .nav-item.active svg {
  stroke-width: 2px;
}

nav .nav-item.active:first-child {
  color: #a86ce4;
  stroke: #a86ce4;
}

nav .nav-item.active:first-child svg {
  fill: rgba(173, 77, 232, 0.1);
}

nav .nav-item.active:nth-child(2) {
  color: #00C0C4;
  stroke: #00C0C4;
}

nav .nav-item.active:nth-child(2) svg {
  fill: rgba(0, 192, 196, 0.1);
}

nav .nav-item.active:nth-child(3) {
  color: #0e9a82;
  stroke: #0e9a82;
}

nav .nav-item.active:nth-child(3) svg {
  fill: rgba(14, 154, 131, 0.1);
}

nav .nav-item.active:nth-child(4) {
  color: #efb156;
  stroke: #efb156;
}

nav .nav-item.active:nth-child(4) svg {
  fill: rgba(239, 177, 86, 0.14);
}

nav .nav-item .nav-text {
  font-weight: 600;
  font-size: 14px;
}

nav .nav-item:not(.active) .nav-text {
  font-size: 14px;
  font-weight: 500;
  color: #717476;
}

@media only screen and (max-width: 576px) {
  * {
    cursor: default !important;
  }
}

@media only screen and (min-width: 576px) {
  nav {
    padding: 4px 8px;
  }

  nav .nav-item {
    font-size: 16px;
    line-height: normal;
    padding: 10px 20px;
  }

  nav .nav-icon svg {
    width: 28px;
    height: 28px;
  }
}

[hidden] {
  display: none !important;
}

/* loader animation */
.secloader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
}

.loader {
    border: 4px solid #ffffff2b;
    width: 1.5em;
    height: 1.5em;
    min-width: 1em;
    min-height: 1em;
    border-radius: 50%;
    border-top-color: #ffffff;
    animation: RotateAnime 2s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
    margin: auto;
    user-select: none;
}

@keyframes RotateAnime {
  0% {
    transform: rotate(45deg);
  }

  50% {
    transform: rotate(405deg);
  }

  100% {
    transform: rotate(765deg);
  }
}

/* loader animation */
.advanced-loader {
    width: 1.5em;
    min-width: 1em;
    min-height: 1em;
    transform-origin: center;
    animation: advanced-loader-rotate4 2s linear infinite;
    user-select: none;
}

.advanced-loader circle {
  fill: none;
  stroke: hsl(214, 84%, 15%);
  stroke-width: 6;
  stroke-dasharray: 1, 200;
  stroke-dashoffset: 0;
  stroke-linecap: round;
  animation: advanced-loader-dash4 1.5s ease-in-out infinite;
}

@keyframes advanced-loader-rotate4 {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes advanced-loader-dash4 {
  0% {
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
  }

  50% {
    stroke-dasharray: 90, 200;
    stroke-dashoffset: -35px;
  }

  100% {
    stroke-dashoffset: -125px;
  }
}

/* skeleton  */
.skeleton {
  animation: skeleton-animation 1s linear infinite alternate;
}

@keyframes skeleton-animation {
  0% {
    background-color: hsl(276.23deg 16.93% 88.23%);
  }

  100% {
    background-color: hsl(0deg 0% 94.94%);
  }
}

.skeleton-text {
  width: 100%;
  height: 0.8rem;
  margin-bottom: 0.2rem;
  border-radius: 0.4rem;
}

.skeleton-title {
  width: 60%;
  height: 0.8rem;
  margin-bottom: 0.2rem;
  border-radius: 0.4rem;
}

.skeleton-description {
  width: 60%;
  height: 0.5rem;
  margin-bottom: 0.2rem;
  border-radius: 0.4rem;
}

.skeleton-minitext {
  width: 10%;
  height: 0.5rem;
  margin-bottom: 0.2rem;
  border-radius: 0.4rem;
}

.side-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  z-index: 8;
  border-radius: 15px 0 0px 15px;
  max-width: 300px;
  transition: all 0.4s cubic-bezier(0.46, 0, 0.14, 0.98);
  user-select: none;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  user-select: none;
}

.side-menu .head {
  display: flex;
  padding: 8px 14px 8px 20px;
  background-color: #f9f4ff;
  border-radius: 18px;
  position: relative;
  margin: 8px;
  justify-content: space-between;
  align-items: center;
}

.side-menu .body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}
.side-menu .body .linkes {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 0 24px;
  margin-top: 20px;
  position: relative;
}

.side-menu .body .select-line {
  position: absolute;
  right: 0;
  top: 0;
  height: 24px;
  width: 3px;
  border-radius: 20px 0 0 20px;
  background-color: #a863ff;
  transition: all 0.4s;
}

.side-menu .link-item {
  display: flex;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
  color: #5b6879;
  line-height: normal;
  cursor: pointer;
}

.side-menu .link-item svg {
  transition: all 250ms;
}

.side-menu .link-item.active svg {
  stroke: #a863ff !important;
}

.logout {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 15px;
  font-weight: 650;
  color: #FF2B67;
}
.side-menu .logout {
  margin: 0 16px;
  padding: 24px 8px;
}
.side-menu .logo {
  width: 54px;
  height: 54px;
}

.side-menu .informations .name {
  font-size: 14px;
  font-weight: 600;
  color: #434343;
}

header .sidemenu-btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

@media screen and (min-width: 768px) {
  .side-menu {
    position: absolute !important;
    height: 100vh !important;
  }
}
