@tailwind base;
@tailwind components;
@tailwind utilities;

@layer base {
  @font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url(/assets/fonts/Inter/static/Inter-Medium.ttf) format('woff2');
  }

  @font-face {
    font-family: 'InterBoild';
    font-style: normal;
    font-display: swap;
    src: url(/assets/fonts/Inter/static/Inter-SemiBold.ttf) format('woff2');
  }

  @font-face {
    font-family: 'Jamjuree';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url(/assets/fonts/Jamjuree/BaiJamjuree-Light.ttf) format('woff2');
  }

  @font-face {
    font-family: 'JamjureeBoild';
    font-style: normal;
    font-display: swap;
    font-weight: 500;
    src: url(/assets/fonts/Jamjuree/BaiJamjuree-SemiBold.ttf) format('woff2');
  }
}

[type='text'], [type='password'], [type='email'] {
  border-color: #e5e7eb;
  border-radius: 5px;
  padding-top: 5px;
  padding-bottom: 5px;
  font-size: 14px;
}

[type='search'] {
  border: none;
}

[type='search']:focus {
  outline: none;
  border-color: unset;
  border-width: 0px !important;
}

body {
  margin-bottom: 0 !important;
}

.btn-add-product:active {
  border: 1px solid rgb(79, 148, 238);
}

.filler-shadow {
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.card {
  position: relative;
  width: 100%;
  border-radius: 0.6rem;
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity));
  --tw-shadow: 0 0 3px rgb(60 72 88 / 0.15);
  --tw-shadow-colored: 0 0 3px var(--tw-shadow-color);
  -webkit-box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.card-body {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  padding: 0.5rem;
}

.box-content::-webkit-scrollbar {
  width: 5px;
}

/* Track */
.box-content::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
.box-content::-webkit-scrollbar-thumb {
  background: #cccccc;
}

/* Handle on hover */
.box-content::-webkit-scrollbar-thumb:hover {
  background: #979696;
}

.shadow-product {
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

li.item-list {
  padding: 10px 30px 10px 12px;
  list-style-type: decimal;
  font-size: 12pt;
  line-height: 24pt;
  font-weight: 500;
  margin: 0px 25px 0px 17px;
}