/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800;900&display=swap');

:root {
  --color-black: 0, 0, 0;
  --color-red-100: 178, 42, 46;
  --color-red-80: 180, 91, 91;
  --color-red-60: 198, 131, 132;
  --color-red-40: 207, 152, 152;
  --color-red-20: 236, 213, 213;
  --color-red-10: 243, 232, 232;
  --color-lightRed: 242, 46, 52;
  --color-gray-100: 29, 29, 29;
  --color-gray-80: 97, 97, 97;
  --color-gray-60: 142, 142, 142;
  --color-gray-40: 187, 187, 187;
  --color-gray-20: 239, 239, 239;
  --color-gray-10: 224, 224, 224;
  --color-gray: 181, 181, 181;
  --color-orange: 242, 144, 27;
  --color-darkOrange: 228, 159, 94;
  --color-lightOrange: 255, 232, 210;
  --color-blue: 12, 81, 220;
  --color-tiffany: 1, 172, 215;
  --color-lightBlue: 99, 158, 246;
  --color-tosca: 29, 195, 186;
  --color-darkTosca: 106, 171, 151;
  --color-lightTosca: 224, 245, 239;
  --color-lightTiffany: 229, 250, 255;
  --color-green: 44, 150, 33;
  --color-white: 255, 255, 255;
}

html {
  color: rgb(var(--color-gray-100));
  font-size: 16px;
  line-height: 1.4;
}

::-moz-selection {
  background: #babeff;
  text-shadow: none;
}

::selection {
  background: #babeff;
  text-shadow: none;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #a8a8a8;
  margin: 1em 0;
  padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

textarea {
  resize: vertical;
}

a {
  color: rgb(var(--color-red-100));
  text-decoration: none;
  transition: all 100ms ease-in-out;
}

a:hover,
a:focus {
  text-decoration: none;
  color: rgb(var(--color-red-80));
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

body {
  font-family: 'Poppins', Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 400;
  background: #FAFAFA;
  color: rgb(var(--color-gray-100));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ========== Typography ========== */
h1 {
  font-size: 42px;
  line-height: 51px;
}

h2 {
  font-size: 36px;
  line-height: 44px;
}

h4 {
  font-size: 26px;
  line-height: 31px;
}

h6 {
  font-size: 24px;
  line-height: 36px;
}

.text-base {
  font-size: 16px;
  line-height: 28px;
}

.text-md {
  font-size: 18px;
  line-height: 24px;
}

.text-sm {
  font-size: 14px;
  line-height: 24px;
}

.text-xs {
  font-size: 12px;
  line-height: 18px;
}

.text-xxs {
  font-size: 10px;
  line-height: 14px;
}

.text-lg {
  font-size: 20px;
  line-height: 30px;
}

.text-xl {
  font-size: 22px;
  line-height: 30px;
}

/* ========== Colors ========== */

.color-black {
  color: rgb(var(--color-black));
}

.color-gray-100 {
  color: rgb(var(--color-gray-100));
}

.color-gray-80 {
  color: rgb(var(--color-gray-80));
}

.color-gray-60 {
  color: rgb(var(--color-gray-60));
}

.color-gray-40 {
  color: rgb(var(--color-gray-40));
}

.color-gray-20 {
  color: rgb(var(--color-gray-20));
}

.color-gray-10 {
  color: rgb(var(--color-gray-10));
}

.color-red-100 {
  color: rgb(var(--color-red-100));
}

.color-red-80 {
  color: rgb(var(--color-red-80));
}

.color-red-60 {
  color: rgb(var(--color-red-60));
}

.color-red-40 {
  color: rgb(var(--color-red-40));
}

.color-red-20 {
  color: rgb(var(--color-red-20));
}

.color-lightRed {
  color: rgb(var(--color-lightRed));
}

.color-orange {
  color: rgb(var(--color-orange));
}

.color-darkOrange {
  color: rgb(var(--color-darkOrange));
}

.color-tosca {
  color: rgb(var(--color-tosca));
}

.color-darkTosca {
  color: rgb(var(--color-darkTosca));
}

.color-white {
  color: rgb(var(--color-white));
}

.color-green {
  color: rgb(var(--color-green));
}

.color-blue {
  color: rgb(var(--color-blue));
}

.color-tiffany {
  color: rgb(var(--color-tiffany));
}

.color-lightBlue {
  color: rgb(var(--color-lightBlue));
}

.bg-red-10 {
  background-color: rgb(var(--color-red-10));
}

.bg-lightOrange {
  background-color: rgb(var(--color-lightOrange));
}

.bg-lightTosca {
  background-color: rgb(var(--color-lightTosca));
}

.bg-tosca {
  background-color: rgb(var(--color-tosca));
}

.bg-orange {
  background-color: rgb(var(--color-orange));
}

.bg-blue {
  background-color: rgb(var(--color-blue));
}

.bg-green {
  background-color: rgb(var(--color-green));
}

.bg-lightBlue {
  background-color: rgb(var(--color-lightBlue));
}

.bg-lightTiffany {
  background-color: rgb(var(--color-lightTiffany));
}

.dashed {
  border-style: dashed;
}


/* ========== Forms & Input ========== */

.form-control,
.form-select {
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 400;
  color: rgb(var(--color-gray-100));
  background-color: rgb(var(--color-white));
  background-clip: padding-box;
  border: 1px solid #F2F2F2;
  border-radius: 8px;
}

.auth .form-control {
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 400;
  color: rgb(var(--color-gray-100));
  background-color: rgb(var(--color-white));
  background-clip: padding-box;
  border: 1px solid rgb(var(--color-gray-10));
  border-radius: 8px;
}

.form-control:focus,
.form-select:focus {
  color: rgb(var(--color-gray-100));
  background-color: rgb(var(--color-white));
  border-color: rgb(var(--color-red-100));
  outline: 0;
  box-shadow: none;
}

.form-select {
  background-image: none;
}

.form-control::-moz-placeholder {
  color: rgb(var(--color-gray-40));
}

.form-control::placeholder {
  color: rgb(var(--color-gray-40));
}

.form-check-input:checked {
  background-color: rgb(var(--color-orange));
  border-color: rgb(var(--color-orange));
}

.form-check-input:focus {
  border-color: rgb(var(--color-orange));
  outline: 0;
  box-shadow: none;
}

.search-wrapper {
  display: flex;
  align-items: center;
  position: absolute;
  z-index: 150;
  top: -100%;
  left: 0;
  width: 100%;
  transition: all 100ms ease-in-out;
}

.search-wrapper.show {
  top: 0;
}

.form-search .form-control {
  padding-left: 45px;
}

.form-search::before {
  content: "\e91d";
  font-family: 'icomoon';
  position: absolute;
  left: 15px;
  top: 10px;
  color: rgb(var(--color-gray-60));
  font-size: 16px;
}

.form-control:read-only {
  background-color: rgb(var(--color-gray-20));
  border-color: rgb(var(--color-gray-20));
  color: rgb(var(--color-gray-80));
}

.form-control.input-number {
  padding: 0;
  width: 35px;
  border: 0;
  font-weight: 600;
  text-align: center;
  font-size: 12px;
}

input[type=number] {
  -moz-appearance: textfield;
  -webkit-appearance: none;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.dataTables_length label {
  position: relative;
}

.icn-calendar::after,
.icn-clock::after,
.icn-chevron::after,
.dataTables_length label::after,
.icn-left::after,
.icn-percent::after {
  font-family: 'icomoon';
  width: 45px;
  height: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  color: rgb(var(--color-red-100));
  right: 0;
  top: 0;
  font-size: 18px;
}

.icn-calendar::after {
  content: "\e903";
}

.icn-clock::after {
  content: "\e909";
  font-size: 16px;
}

.icn-chevron::after {
  content: "\e905";
  font-size: 16px;
}

.icn-left::after {
  content: "Rp";
  font-family: 'Poppins';
  left: 0;
  right: auto;
  font-size: 14px;
  color: rgb(var(--color-gray-100));
}

.icn-percent::after {
  content: "%";
  font-family: 'Poppins';
  left: 0;
  right: auto;
  font-size: 14px;
  color: rgb(var(--color-gray-100));
}

.dataTables_length label::after {
  content: "\e905";
  font-size: 16px;
  width: 20px;
  right: 10px;
}

.icn-left .form-control,
.icn-percent .form-control {
  padding-left: 45px;
}

div.dataTables_wrapper div.dataTables_length select {
  padding-right: 30px !important;
  padding: 10px;
}

.medical .form-control {
  border-left: 0;
  border-top: 0;
  border-right: 0;
  border-radius: 0;
  padding-left: 0;
  font-weight: 500;
  border-bottom: 1px solid rgb(var(--color-gray-20));
}

/* ========== Button ========== */

.btn {
  font-size: 14px;
  font-weight: 500;
  padding: 12px 24px;
  border-radius: 10px;
  border: 0;
}

.btn:focus,
.btn:hover {
  outline: 0;
  box-shadow: none;
  border: transparent;
}

.btn-check:active+.btn:focus,
.btn-check:checked+.btn:focus,
.btn.active:focus,
.btn.show:focus,
.btn:active:focus {
  box-shadow: none;
}

.btn-eye {
  width: 45px;
  height: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  position: absolute;
  right: 0px;
  top: 0px;
  cursor: pointer;
  color: rgb(var(--color-red-100));
}

.btn-eye::before {
  content: "\e90f";
  font-family: 'icomoon';
}

.btn-eye.switch::before {
  content: "\e910";
  font-family: 'icomoon';
}

.btn-primary {
  color: #fff;
  background-color: rgb(var(--color-red-100));
  border: 1px solid rgb(var(--color-red-100));
}

.btn-primary:hover,
.btn-primary:focus {
  color: #fff;
  background-color: rgb(var(--color-red-80));
  border: 1px solid rgb(var(--color-red-80));
}

.btn-border-primary {
  color: rgb(var(--color-red-100));
  background-color: transparent;
  border: 1px solid rgb(var(--color-red-100));
}

.btn-border-primary:hover,
.btn-border-primary:focus {
  color: #fff;
  background-color: rgb(var(--color-red-100));
  border: 1px solid rgb(var(--color-red-100));
}

.btn-primary.disabled,
.btn-primary:disabled {
  color: #fff;
  background-color: rgb(var(--color-gray-80));
  border-color: rgb(var(--color-gray-80));
}

.btn-secondary {
  color: rgb(var(--color-gray-60));
  background-color: rgb(var(--color-gray-20));
  border: 1px solid rgb(var(--color-gray-20));
}

.btn-secondary:hover,
.btn-secondary:focus {
  color: rgb(var(--color-white));
  background-color: rgb(var(--color-gray-40));
  border: 1px solid rgb(var(--color-gray-40));
}

/* ========== Auth Content ========== */
.bg-auth {
  background-color: #B22A2E;
}

.decoration {
  position: relative;
  overflow-x: hidden;
}

.decoration::before {
  content: url(../img/left-deco.svg);
  width: 200px;
  height: 300px;
  position: fixed;
  left: 0;
  top: -100px;
  z-index: -1;
}

.decoration::after {
  content: url(../img/right-deco.svg);
  width: 321px;
  height: 370px;
  position: fixed;
  right: 0;
  bottom: 0;
  z-index: -1;
}

.auth-content {
  padding-top: 10vh;
  padding-left: 5%;
  padding-right: 5%;
}

.copyright {
  padding-top: calc(100vh - 85vh);
  padding-bottom: 10%;
}

#form-code input {
  border-bottom: 2px solid rgb(var(--color-gray-60));
  border-left: 0;
  border-top: 0;
  border-right: 0;
  margin: 0 10px;
  text-align: center;
  padding: 10px 5px;
  font-weight: 600;
  font-size: 32px;
  line-height: 40px;
  width: 45px;
  color: rgb(var(--color-red-100));
}

#form-code input:focus {
  outline: 0;
}


/* ========== Content ========== */

.header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bg-white {
  background-color: rgb(var(--color-white));
}

.shadow {
  box-shadow: 0px 4px 16px rgba(178, 42, 46, 0.06) !important;
}

.wrapper {
  display: flex;
  justify-content: space-between;
}

.sidebar {
  width: 265px;
  transition: all 100ms ease-in-out;
}

.inner-side-menu {
  width: 265px;
  position: fixed;
  bottom: 0;
  left: 0;
  top: 0;
  z-index: 300;
  transition: all 100ms ease-in-out;
}


.main-content {
  width: calc(100% - 265px);
  padding: 24px 24px;
}

.menu-inner ul {
  padding-left: 0;
  list-style: none;
}

.menu-inner ul li a {
  display: block;
  color: rgb(var(--color-gray-60));
  padding: 14px 30px;
  font-size: 14px;
  line-height: 20px;
  transition: all 100ms ease-in-out;
  position: relative;
  background: linear-gradient(90deg, rgba(167, 36, 40, 0) -219.75%, rgba(217, 217, 217, 0) 110.92%);
}

.menu-inner ul li a::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background-color: transparent;
  height: 100%;
  border-radius: 4px 0px 0px 4px;
}

.menu-inner ul li a:hover,
.menu-inner ul li a.active {
  color: rgb(var(--color-red-100));
  font-weight: 500;
  background: linear-gradient(270deg, rgba(167, 36, 40, 0.54) -160.08%, rgba(217, 217, 217, 0) 79.97%);
}

.menu-inner ul li a:hover::after,
.menu-inner ul li a.active::after {
  background-color: rgb(var(--color-red-100));
}

.menu-inner ul li a span {
  margin-right: 10px;
  color: rgb(var(--color-gray-10));
  font-size: 18px;
  vertical-align: middle;
}

.menu-inner ul li a:hover span,
.menu-inner ul li a.active span {
  color: rgb(var(--color-red-100));
}

.right-header {
  display: flex;
}

.close {
  position: absolute;
  top: 0;
  right: 0;
}

.info-user {
  border-left: 1px solid #D9D9D9;
  padding-left: 20px;
  margin-left: 15px;
}

.new-item::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgb(var(--color-red-100));
  position: absolute;
  top: 5px;
  right: 5px;
  border: 1px solid #F6F8FB;
}

.unread::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgb(var(--color-red-100));
  position: absolute;
  top: 0;
  right: -10px;
  border: 1px solid #F6F8FB;
}

.user-top {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(250, 210, 211, 0.3);
}

.user-top img {
  height: 100%;
  overflow: hidden;
}

.info-user {
  display: flex;
}

.center-header img {
  max-height: 35px;
}

.left-header button,
.center-header img {
  display: none;
}

.header-home {
  margin-top: -40px;
}

.inner-home {
  margin-top: 40px;
}

.img-layanan img {
  height: 90px;
}

.bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.item-info {
  display: flex;
  padding-left: 0;
  list-style: none;
}

.item-info li {
  font-size: 14px;
  color: rgb(var(--color-gray-60));
  margin-right: 5px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.item-info.lg li {
  margin-right: 15px;
}

.item-info li::after {
  font-size: 14px;
  content: '|';
  display: inline-block;
  margin-left: 5px;
  color: rgb(var(--color-gray-40));
}

.item-info.lg li::after {
  margin-left: 15px;
}

.item-info li:last-child::after {
  display: none;
}

.nav-slider {
  position: absolute;
  top: 0;
  width: 30%;
  right: 0;
}

.arrow-box {
  width: 80px;
  position: relative;
  height: 20px;
  border-left: 1px solid #E9E9E9;
  margin-left: 15px;
}

.status {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 50px;
}

.notification {
  min-width: 420px;
  border: 1px solid #F6F6F6;
  box-shadow: 0px 4px 16px rgba(178, 42, 46, 0.06);
  border-radius: 10px;
}

.deco-treatment {
  background-image: url(../img/deco-treatment.png);
  background-position: right;
  background-repeat: no-repeat;
  background-size: auto;
}

.img-48 {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  overflow: hidden;
  object-fit: cover;
  object-position: center;
}

.choose-treatment {
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
}

.choose-treatment label::before {
  content: "\e91a";
  font-family: 'icomoon';
  color: rgb(var(--color-red-100));
  font-size: 28px;
}

.choose-treatment input:checked+label::before {
  content: "\e917";
  font-family: 'icomoon';
  color: rgb(var(--color-gray-80));
  font-size: 28px;
}

.accordion-item {
  color: rgb(var(--color-gray-100));
  background-color: rgb(var(--color-white));
  border: rgb(var(--color-white));
  border-radius: 12px !important;
  font-size: 12px;
  overflow: hidden;
}

.accordion-button::after {
  flex-shrink: 0;
  width: auto;
  height: auto;
  margin-left: auto;
  content: "\e905";
  font-family: 'icomoon';
  background-image: none;
  color: rgb(var(--color-red-100));
  background-repeat: no-repeat;
  background-size: var(--bs-accordion-btn-icon-width);
  transition: var(--bs-accordion-btn-icon-transition);
}

.accordion-button:not(.collapsed)::after {
  background-image: none;
  transform: var(--bs-accordion-btn-icon-transform);
}

.accordion-button:not(.collapsed) {
  color: rgb(var(--color-gray-100));
  background-color: rgb(var(--color-white));
  box-shadow: none;
}

button:focus:not(:focus-visible) {
  outline: 0;
  box-shadow: none;
}

.choose-user label {
  display: flex;
  align-items: center;
  background-color: rgb(var(--color-white));
  border: 1px solid #F2F2F2;
  border-radius: 12px;
  position: relative;
  padding: 15px;
  font-weight: 500;
  font-size: 12px;
  line-height: 18px;
}

.choose-staff label {
  display: flex;
  align-items: center;
  position: relative;
  padding: 15px 0;
  font-weight: 500;
  font-size: 14px;
  line-height: 21px;
  border-bottom: 1px solid rgb(var(--color-gray-20));
}

.choose-user label::before,
.choose-staff label::before {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid #CFCFCF;
  background-color: rgb(var(--color-white));
}

.choose-user input:checked+label {
  border: 1px solid rgb(var(--color-red-100));
}

.choose-user input:checked+label::before,
.choose-staff input:checked+label::before {
  border: 1px solid rgb(var(--color-red-100));
}

.choose-user input:checked+label::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  left: 18px;
  border-radius: 50%;
  background-color: rgb(var(--color-red-100));
}

.choose-staff input:checked+label::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  left: 3px;
  border-radius: 50%;
  background-color: rgb(var(--color-red-100));
}

.bank-choose {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid rgb(var(--color-gray-20));
  position: relative;
}

.bank-choose::after {
  content: "\e907";
  font-family: 'icomoon';
  color: rgb(var(--color-gray-40));
}

.bg-pay {
  background-image: url(../img/bg-payment.png);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: auto;
}

#tabTop .nav-link {
  margin-bottom: 0;
  background: rgb(var(--color-white));
  border: 1px solid #F6F6F6;
  border-radius: 30px !important;
  font-size: 12px;
  color: rgb(var(--color-gray-60));
}

#tabTop .nav-item {
  margin-right: 5px;
}

#tabTop .nav-item.show .nav-link,
#tabTop .nav-link.active {
  color: rgb(var(--color-red-100));
  background-color: rgb(var(--color-white));
  border-color: rgb(var(--color-red-100));
}

.img-product {
  width: 100%;
  height: 93px;
  overflow: hidden;
  border-radius: 10px;
}

.img-product img {
  object-fit: cover;
  object-position: center;
}

.border-inventory {
  height: calc(100vh - 20vh);
  border-right: 1px solid rgb(var(--color-gray-20));
}

.img-inventory img {
  height: 60px;
}

#inventory-tab .nav-item {
  width: 100%;
}

#inventory-tab .nav-link {
  width: 100%;
  background-color: rgb(var(--color-white));
  border-radius: 12px;
  border: 1px solid rgb(var(--color-gray-20));
  text-align: left;
  padding: 14px;
}

#inventory-tab .nav-link.active,
#inventory-tab .show>.nav-link {
  border: 1px solid rgb(var(--color-red-100));
  box-shadow: 0px 4px 16px rgba(178, 42, 46, 0.06);
}

#inventory-tab .nav-link:focus {
  box-shadow: none;
  outline: 0;
}

.img-profile {
  border-radius: 50%;
  width: 90px;
  height: 90px;
  overflow: hidden;
  border: 5px solid rgba(255, 210, 210, 0.2);
}

#information-tab .nav-link {
  padding-left: 0;
  padding-right: 0;
  padding-top: 0;
  border-left-color: transparent;
  border-top-color: transparent;
  border-right-color: transparent;
  border-width: 4px;
  margin-right: 25px;
  font-size: 14px;
  color: rgb(var(--color-gray-40));
}

#information-tab .nav-item.show .nav-link,
#information-tab .nav-link.active {
  color: rgb(var(--color-red-100));
  background-color: transparent;
  border-left-color: transparent;
  border-top-color: transparent;
  border-right-color: transparent;
  font-weight: 500;
  border-bottom-color: rgb(var(--color-red-100));
}

.pagination-table {
  display: flex;
  align-items: center;
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.pagination-table li {
  text-align: center;
  margin: 0 5px;
}

.pagination-table li a {
  display: block;
  color: rgb(var(--color-grey-500));
  font-weight: 500px;
  font-size: 14px;
  border: 0;
}

.page-item:hover .page-link,
.page-item.active .page-link {
  z-index: 3;
  color: rgb(var(--color-red-100));
  background-color: rgb(var(--color-white));
  border-color: rgb(var(--color-white));
}

.page-item.disabled .page-link {
  color: rgb(var(--color-gray-40));
  pointer-events: none;
  background-color: #E9E9E9;
  border-color: #E9E9E9;
}

.pagination-table li:first-child a,
.pagination-table li:last-child a {
  display: inline-block;
  width: 32px;
  height: 32px;
  background-color: rgb(var(--color-red-100));
  color: rgb(var(--color-white));
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 4px !important;
  font-size: 14px;
}

div.dataTables_wrapper div.dataTables_filter {
  text-align: left;
}

.dataTables_length {
  font-size: 14px;
}

.bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

table {
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  overflow: hidden;
}

.table-main thead {
  background-color: #ECD5D5;
}

.table-main thead tr th {
  font-weight: 500;
}

.table-main thead tr th {
  padding: 12px 15px;
  font-size: 14px;
}

.table-main tbody tr td {
  padding: 8px 15px;
  vertical-align: middle;
  font-size: 14px;
}

.table-responsive {
  overflow-y: hidden;
}

.check-table label {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  background-color: rgb(var(--color-white));
  cursor: pointer;
  position: relative;
  border: 1px solid rgb(var(--color-gray-40));
}

.check-table label::before {
  content: '';
  width: 14px;
  height: 14px;
  position: absolute;
  left: 2px;
  top: 2px;
  border-radius: 5px;
  background-color: rgb(var(--color-white));
  transition: all 100ms ease-in-out;
}

.check-table input:checked+label {
  border: 1px solid rgb(var(--color-red-100));
}

.check-table input:checked+label::before {
  background-color: rgb(var(--color-red-100));
}

.table.dataTable thead>tr>th.sorting.no-sort {
  padding-right: 15px;
}

table.dataTable thead>tr>th.sorting_asc.no-sort:before,
table.dataTable thead>tr>th.sorting_asc.no-sort:after,
table.dataTable thead>tr>th.sorting.no-sort:before,
table.dataTable thead>tr>th.sorting.no-sort:after,
.no-sort::after,
.no-sort::before {
  display: none;
}

.valign-middle {
  vertical-align: middle;
}

.toggled {
  cursor: pointer;
  display: inline-block;
}

.toggle-switch {
  display: inline-block;
  background: #E0E0E0;
  border-radius: 16px;
  width: 58px;
  height: 32px;
  position: relative;
  vertical-align: middle;
  transition: background 0.25s;
}

.toggle-switch:before,
.toggle-switch:after {
  content: "";
}

.toggle-switch:before {
  display: block;
  background: rgb(var(--color-white));
  border-radius: 50%;
  box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.08);
  width: 33px;
  height: 33px;
  position: absolute;
  top: 0;
  left: 0;
  transition: left 0.25s;
}

.toggle:hover .toggle-switch:before {
  background: rgb(var(--color-white));
  box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.08);
}

.toggle-checkbox:checked+.toggle-switch {
  background: rgb(var(--color-red-100));
}

.toggle-checkbox:checked+.toggle-switch:before {
  left: 30px;
}

.toggle-checkbox {
  position: absolute;
  visibility: hidden;
}

/* ========== Grid  ========== */
.grid-product {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid-inventory {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* ========== Swiper Overide ========== */
.swiper-button-next,
.swiper-button-prev {
  width: 30px;
  height: 20px;
  margin-top: 0;
  cursor: pointer;
  top: 0;
  color: rgb(var(--color-red-100));
}

.swiper-button-next::after {
  content: "\e901";
  font-family: 'icomoon';
  font-size: 16px;
}

.swiper-button-prev::after {
  content: "\e900";
  font-family: 'icomoon';
  font-size: 16px;
}

/* ========== Scroll ========== */
.scroll-notif {
  height: calc(100vh - 30vh);
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-color: #f3f3f3 transparent;
  scrollbar-width: thin;
}

.table-responsive {
  scrollbar-color: #f3f3f3 transparent;
  scrollbar-width: thin;
}

.scroll-notif::-webkit-scrollbar,
.table-responsive::-webkit-scrollbar {
  width: 5px;
  border-radius: 3px;
}

/* Track */
.scroll-notif::-webkit-scrollbar-track,
.table-responsive::-webkit-scrollbar-track {
  background: transparent;
}

/* Handle */
.scroll-notif::-webkit-scrollbar-thumb,
.table-responsive::-webkit-scrollbar-thumb {
  background: #f3f3f3;
}

/* ========== Popup ========== */
.overlay,
.overlay-popup {
  background-color: rgba(0, 0, 0, 0.35);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 321;
  padding: 24px;
  visibility: hidden;
  opacity: 0;
  transition: all 100ms ease-in-out;
}

.overlay {
  z-index: 121;
}

.overlay.show,
.overlay-popup.show {
  visibility: visible;
  opacity: 1;
}

.box-xs {
  max-width: 360px;
  width: 100%;
}

.box-sm {
  max-width: 430px;
  width: 100%;
}

.box-md {
  max-width: 530px;
  width: 100%;
}

.box-lg {
  max-width: 720px;
  width: 100%;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.hidden,
[hidden] {
  display: none !important;
}

.center-content {
  display: flex;
  justify-content: center;
  align-items: center;
}

.text-hidden {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cursor-pointer {
  cursor: pointer;
}

.text-right {
  text-align: right;
}

.text-left {
  text-align: left;
}

.text-extraBold {
  font-weight: 800;
}

.text-bold {
  font-weight: 700;
}

.text-semiBold {
  font-weight: 600;
}

.text-medium {
  font-weight: 500;
}

.text-normal {
  font-weight: 400;
}

.text-italic {
  font-style: italic;
}

.ls-1 {
  letter-spacing: 1px;
}

.transition-all {
  transition: all 100ms ease-in-out;
}

.no-border {
  border: 0;
}

.mw-0 {
  min-width: 0;
}

.rounded-2 {
  border-radius: 2px;
}

.rounded-4 {
  border-radius: 4px;
}

.rounded-8 {
  border-radius: 8px;
}

.rounded-10 {
  border-radius: 10px;
}

.rounded-12 {
  border-radius: 12px;
}

.rounded-16 {
  border-radius: 16px;
}

.rounded-20 {
  border-radius: 20px;
}

.rounded-24 {
  border-radius: 24px;
}

.rounded-50 {
  border-radius: 50px;
}

.p-16 {
  padding: 16px;
}

.p-24 {
  padding: 24px;
}

.border-left {
  border-left: 1px solid rgb(var(--color-gray-60)) !important;
}

.border-right {
  border-right: 1px solid rgb(var(--color-gray-20)) !important;
}

.border-grey-60 {
  border: 1px solid rgb(var(--color-gray-60));
}

.border-color-gray-60 {
  border-color: rgb(var(--color-gray-60));
}

.border-color-gray-40 {
  border-color: rgb(var(--color-gray-40));
}

.border-color-gray-20 {
  border-color: rgb(var(--color-gray-20));
}

.border-color-gray {
  border-color: #F6F6F6;
}

.border-1 {
  border-width: 1px !important;
}

.border-solid {
  border-style: solid;
}

.border-red {
  border: 1px solid rgb(var(--color-red-100));
}

.border-dash {
  border-style: dashed;
}

.mh-0 {
  min-height: 0;
}

.no-scroll {
  overflow: hidden;
  height: 100vh;
}

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

.invisible {
  visibility: hidden;
}

.clearfix::before,
.clearfix::after {
  content: " ";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   Responsive Design.
   ========================================================================== */
@media (min-width: 1501px) {
  .grid-product {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1500px) {
  .grid-product {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {

  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    max-width: 1200px;
  }
}

@media (max-width: 1024px) {

  #hide-t,
  #hide-top {
    display: none;
  }

  .main-content {
    width: calc(100% - 215px);
    padding: 15px;
  }

  .sidebar,
  .inner-side-menu {
    width: 215px;
  }

  .header {
    padding: 15px;
  }

  .grid-product {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-inventory {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  #hide-tm {
    display: none;
  }

  .header {
    padding: 15px;
  }

  .main-content {
    width: calc(100% - 215px);
    padding: 15px;
  }

  .sidebar,
  .inner-side-menu {
    width: 215px;
  }

  .header-home {
    margin-top: -60px;
  }

  .nav-slider {
    width: 40%;
  }

  #tabTop .nav-item {
    margin-bottom: 5px;
  }

  .border-inventory {
    height: 100%;
    border-right: 0;
  }
}

@media (max-width: 767px) {

  .container,
  .container-fluid,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    padding-right: 15px;
    padding-left: 15px;
  }

  #hide-tm {
    display: block;
  }

  body {
    padding-top: 60px;
  }

  .main-content {
    width: calc(100% - 240px);
    padding: 15px;
  }

  .auth-content {
    padding-top: 5vh;
    padding-left: 0;
    padding-right: 0;
  }

  .copyright {
    padding-top: calc(100vh - 95vh);
    padding-bottom: 10%;
  }

  .main-content {
    width: 100%;
    padding: 15px;
    margin-bottom: 40px;
  }

  .sidebar {
    width: 0;
  }

  .inner-side-menu {
    width: 240px;
    left: -240px;
  }

  .inner-side-menu.show {
    left: 0;
  }

  .header {
    padding: 10px 15px;
    background-color: rgb(var(--color-white));
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
  }

  .img-layanan img {
    height: 55px;
  }

  .info-user {
    display: none;
  }

  .left-header button,
  .center-header img {
    display: block;
  }

  .right-header {
    justify-content: flex-end;
  }

  .left-header {
    width: 10%;
  }

  .header-home {
    margin-top: 0;
  }

  .inner-home {
    margin-top: 20px;
  }

  .nav-slider {
    position: relative;
    width: 100%;
    margin-top: 15px;
  }

  #for-nav.justify-content-end {
    justify-content: space-between !important;
  }

  .search-wrapper {
    position: fixed;
  }

  .notification {
    min-width: calc(100vw - 30px);
    border-radius: 10px;
    z-index: 150;
  }

  .grid-inventory {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #information-tab .nav-link {
    margin-right: 13px;
    font-size: 12px;
  }

  .bottom {
    flex-wrap: wrap;
  }

  .dataTables_length,
  .dataTables_paginate {
    width: 100%;
  }

  .pagination-table {
    justify-content: center;
    margin: 15px 0;
  }

  .decoration::before {
    left: -250px;
    top: -100px;
  }
}

@media (min-width: 1025px) {
  #hide-d {
    display: none;
  }
}

@media (min-width: 768px) {

  .hide-on-tablet,
  .close {
    display: none;
  }

}

@media (max-width: 992px) and (orientation: landscape) {


  @media (min-width: 576px) {

    .container,
    .container-sm {
      max-width: 720px;
    }
  }
}

/* ==========================================================================
   Print styles.
   ========================================================================== */

@media print {

  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}