@tailwind base;
@tailwind components;
@tailwind utilities;

@font-face {
  font-family: "yekan";
  src: url(./fonts/YekanBakh/Yekan\ Bakh.ttf),
    url(./fonts/YekanBakh/YekanBakh-Bold.ttf),
    url(./fonts/YekanBakh/YekanBakh-Heavy.ttf),
    url(./fonts/YekanBakh/YekanBakh-Medium.ttf),
    url(./fonts/YekanBakh/YekanBakh_Light.ttf);
}

* {
  font-family: "yekan" !important;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  direction: rtl;
  font-size: 14px;
  color: "#212529";
}

html,
body {
  max-width: 100vw;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  /* display: none; <- Crashes Chrome on hover */
  -webkit-appearance: none;
  margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

input[type="number"] {
  -moz-appearance: textfield; /* Firefox */
}

input[type="search"]::-webkit-search-cancel-button {
  position: relative;
  left: 0px;
  -webkit-appearance: none;
  height: 12px;
  width: 12px;
  border-radius: 10px;
  background: #0b4958;
  content: url(../images/icon/cancel.png);
  cursor: pointer;
}

/* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 5px;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 5px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555;
}
