/* --- FONTS --- */
/* Yekan Bakh Font Family */
@font-face {
  font-family: "Yekan Bakh";
  src:
    url("../fonts/yekan-bakh/woff2/YekanBakh-Regular.woff2")
      format("woff2"),
    url("../fonts/yekan-bakh/woff/YekanBakh-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Yekan Bakh";
  src:
    url("../fonts/yekan-bakh/woff2/YekanBakh-Bold.woff2") format("woff2"),
    url("../fonts/yekan-bakh/woff/YekanBakh-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "Yekan Bakh";
  src:
    url("../fonts/yekan-bakh/woff2/YekanBakh-ExtraBlack.woff2")
      format("woff2"),
    url("../fonts/yekan-bakh/woff/YekanBakh-ExtraBlack.woff")
      format("woff");
  font-weight: 900;
  font-style: normal;
}

/* Yekan Bakh FaNum Font Family */
@font-face {
  font-family: "Yekan Bakh FaNum";
  src:
    url("../fonts/yekan-bakh-fanum/woff2/YekanBakhFaNum-Regular.woff2")
      format("woff2"),
    url("../fonts/yekan-bakh-fanum/woff/YekanBakhFaNum-Regular.woff")
      format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Yekan Bakh FaNum";
  src:
    url("../fonts/yekan-bakh-fanum/woff2/YekanBakhFaNum-Bold.woff2")
      format("woff2"),
    url("../fonts/yekan-bakh-fanum/woff/YekanBakhFaNum-Bold.woff")
      format("woff");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "Yekan Bakh FaNum";
  src:
    url("../fonts/yekan-bakh-fanum/woff2/YekanBakhFaNum-ExtraBlack.woff2")
      format("woff2"),
    url("../fonts/yekan-bakh-fanum/woff/YekanBakhFaNum-ExtraBlack.woff")
      format("woff");
  font-weight: 900;
  font-style: normal;
}

* {
  scroll-behavior: smooth;
}

:root {
  --font-yekan-bakh: "Yekan Bakh", sans-serif;
  --font-yekan-bakh-fanum: "Yekan Bakh FaNum", sans-serif;
}

body {
  font-family: var(--font-yekan-bakh);
  color: var(--color-darker);
  overflow-x: hidden;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* width */
#chat-box::-webkit-scrollbar,
#content-list:-webkit-scrollbar {
  width: 5px;
}

/* Track */
#chat-box::-webkit-scrollbar-track,
#content-list:-webkit-scrollbar-track {
  background: var(--color-blue-100);
}

/* Handle */
#chat-box::-webkit-scrollbar-thumb,
#content-list:-webkit-scrollbar-thumb {
  background: linear-gradient(
    to bottom,
    var(--color-blue-300),
    var(--color-blue-600)
  );
  border-radius: 100vw;
}

/* Handle on hover */
#chat-box::-webkit-scrollbar-thumb:hover,
#content-list:-- {
  background: #555;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.hide-scrollbar {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

select {
  -moz-appearance: none; /* Firefox */
  -webkit-appearance: none; /* Safari and Chrome */
  appearance: none;
}

.select-wrapper::after {
  content: "\f078"; /* Font Awesome chevron-down */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  padding: 0.25rem;
  z-index: 2;
  pointer-events: none;
  color: #555;
  font-size: 14px;
}

.scroll-container {
  overflow-x: auto;
  -ms-overflow-style: none; /* IE/Edge */
  scrollbar-width: none; /* Firefox */
}
.scroll-container::-webkit-scrollbar {
  display: none;
}
.scroll-container:active {
  cursor: grabbing;
}

.circular-progress {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 180px;
  border-radius: 50%;
}

.box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: calc(100% - 50px);
  height: calc(100% - 50px);
  border-radius: 50%;
  background: var(--color-blue-300);
}

.box::before {
  position: absolute;
  content: "";
  width: calc(100% + 28px);
  height: calc(100% + 28px);
  border-radius: 50%;
  border: 1px solid var(--color-blue-300);
}

.dots {
  display: block;
  position: absolute;
  z-index: 2;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  transition:
    2s transform,
    2s opacity ease;
}

.dots::after {
  position: absolute;
  content: "";
  width: 10px;
  height: 10px;
  top: 5px;
  left: 50%;
  border-radius: 50%;
  background-color: var(--color-blue-600);
  box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.1);
  transform: translateX(-50%);
}

.svg {
  position: absolute;
  width: 100%;
  height: 100%;
  fill: none;
  transform: rotate(-90deg);
}

.circle {
  stroke: var(--color-blue-500);
  stroke-width: 4px;
  stroke-dasharray: 503;
  stroke-dashoffset: 503;
  animation-duration: 2s;
  animation-timing-function: linear;
  animation-fill-mode: forwards;
  transition: 2s stroke-dashoffset;
}

#countdown {
  position: relative;
  margin: auto;
  height: 40px;
  width: 40px;
  text-align: center;
}

#countdown svg {
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 40px;
  transform: rotateY(-180deg) rotateZ(-90deg);
}

#countdown svg circle {
  stroke-dasharray: 113px;
  stroke-dashoffset: 0px;
  stroke-linecap: round;
  stroke-width: 2px;
  stroke: var(--color-zinc-200);
  fill: none;
}

@keyframes countdown {
  from {
    stroke-dashoffset: 0px;
  }
  to {
    stroke-dashoffset: 113px;
  }
}

.notyf__wrapper {
  gap: 0.75rem;
}

.notyf__toast {
  border-radius: 0.75rem !important;
}


h2, h3, h4, h5, h6 {
    font-family: 'Yekan Bakh FaNum', sans-serif;
    font-weight: bold;
}

h2:hover, h3:hover, h4:hover, h5:hover, h6:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .toolbar {
        top: 0;
        left: 0;
        right: auto;
        transform: translateY(-100%);
    }
}
