html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  /* Menghilangkan scroll */
}

.no-scroll::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.no-scroll {
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}

::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-track {
  background: #00000042;
}

::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background: #DB1A40;
}

.scroll::-webkit-scrollbar {
  width: 0px;
  height: 0px;
}


.black {
  color: #101216;
}

.red {
  color: #DB1A40;
}

.blue {
  color: #4472C4;
}

.green {
  color: #4CA33E;
}

.chartd1 {
  width: 5%;
}

.chartd2 {
  width: 57%;
}

.chartd3 {
  width: 15%;
}

.chartd4 {
  width: 20%;
}

.btn:focus-visible {
  box-shadow: none;
}


.modal-backdrop {
  /* background: linear-gradient(0deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)), linear-gradient(119.72deg, rgba(0, 0, 0, 0.29) 16.97%, rgba(0, 0, 0, 0.31) 46.11%, rgba(0, 0, 0, 0.33) 95.76%); */
  /* background-blend-mode: overlay, normal; */
  /* mix-blend-mode: normal; */
  backdrop-filter: blur(9px);
}

/* .modal.fade .modal-dialog {
  transform: translateY(-100px);
  transition: transform 0.5s ease-out, opacity 0.5s ease-out;
  opacity: 0;
}

.modal.fade.show .modal-dialog {
  transform: translateY(0);
  opacity: 1;
} */

.modal-backdrop.fade {
  opacity: 0;
  /* Awal (tidak terlihat) */
  transform: translateY(-100%);
  /* Awal di atas layar */
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.modal-backdrop.show {
  opacity: 0.5;
  /* Warna backdrop menjadi gelap */
  transform: translateY(0);
  /* Backdrop turun ke posisi normal */
}

.modal-footer {
  border-top: 0px;
  padding-top: 0px;
}

.modal-footer .btn {
  border-color: #DB1A40;
  color: #DB1A40;
  transition: all ease-in-out 0.3s;
  padding: 0.4rem 1.2rem;
  font-weight: 700;
}

.modal-footer .btn:hover {
  background-color: #DB1A40;
  color: #ffffff;
}

.daterangepicker {
  color: #101216 !important;
}

.daterangepicker td.active,
.daterangepicker td.active:hover {
  background-color: #DB1A40 !important;
}

body {
  font-family: "Lato", serif;
  background: url('../images/background.jpg') no-repeat center center fixed;
  background-size: cover;
  color: #ffffff;
}

.overlay {
  background-color: rgba(142, 0, 28, 1);
  /* Dark red overlay */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.navbar {
  padding: 15px 15px 15px 15px;
}

.navbar-nav {
  font-size: 16px;
  font-weight: 500;
  line-height: 19px;
}

.navbar-nav li a {
  padding: 0 2rem !important;
  color: #4E4E4E;
  font-weight: 500;
}

.navbar-nav .nav-link.active {
  color: #DB1A40;
  font-weight: 700;
}

.navbar-brand {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.navbar-brand img {
  max-width: 27px;
  margin-right: 5px;
}


.loading {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  min-height: 40px;
}

.loading::after {
  content: "";
  width: 50px;
  height: 50px;
  border: 5px solid #f3f3f3;
  border-top: 5px solid #DB1A40;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  position: absolute;
}

.list-filter {
  padding: 5px 0px;
  overflow-x: auto;
  white-space: nowrap;
  cursor: grab;
  gap: 5px;
  min-height: 41px;
}

.list-filter:active {
  cursor: grabbing;
}

.listing-filter {
  font-size: 13px;
  line-height: 16px;
  border: solid 1px #DB1A40;
  padding: 5px 10px;
  border-radius: 12px;
  user-select: none;
}

#list-filter>.listing-filter:nth-of-type(1) {
  margin-left: 38px;
}

.listing-filter-reset {
  font-size: 13px;
  line-height: 16px;
  border: solid 1px #DB1A40;
  padding: 7px 12px;
  border-radius: 10px;
  user-select: none;
  position: absolute;
  left: 12px;
  background-color: #fff;
  color: #DB1A40;
  font-weight: 700;
}

.listing-filter-reset:hover {
  border: solid 1px #DB1A40;
}

.listing-filter button {
  background-color: transparent;
  color: #c72a49;
  padding: 0;
  border: 0px;
  margin-left: 5px;
  font-size: 13px;
  font-weight: 700;
}



.listing-filter button:hover {
  background-color: transparent;
  color: #ffffff;
}


/* Animasi rotasi */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.welcome-box {
  width: 650px;
}

.welcome-box h1 {
  font-family: "Lato", serif;
  font-weight: 700;
  font-size: 48px;
  line-height: 58px;
  margin-top: 30px;
}

.login-logo img {
  width: auto;
}

.login-form {
  width: 400px;
  margin: 0 auto;
}

.login-box {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  padding: 20px;
}

.login-box label {
  font-size: 16px;
  font-weight: 700;
}

.form-control,
.form-select {
  line-height: 32px;
  border-color: #D9D9D9;
}

.form-control:focus,
.form-select:focus,
.input-group:focus-within .input-group-text {
  border-color: #DB1A40;
  box-shadow: none;
}

.input-group input {
  border-left-width: 0px;
}

.input-group input.is-invalid {
  border-left-width: 1px;
}

.input-group-text {
  background-color: #ffffff;
}

.btn-custom {
  background-color: #DB1A40;
  border: none;
  width: 98%;
  margin-top: 20px;
  border-radius: 50px;
  line-height: 42px;
  font-size: 18px;
  font-weight: 700;
}

.settings .btn-custom {
  background-color: #DB1A40;
  border: none;
  width: 35%;
  margin-top: 10px;
  border-radius: 50px;
  line-height: 32px;
  font-size: 16px;
  font-weight: 700;
}

.btn-custom:hover {
  background-color: #c72a49;
}

.btn:first-child:active {
  background-color: #c72a49;
}

.button:disabled {
  background-color: #c72a49;
  cursor: not-allowed;
}

.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid transparent;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

h3 {
  font-size: 24px;
  font-weight: 400;
  line-height: 22.01px;
}

h1 {
  font-size: 36px;
  font-weight: 700;
  line-height: 33.02px;
}


/* home */

.card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  padding: 15px;
  color: black;
}

.card strong {
  display: block;
  color: #DB1A40;
  font-weight: 700;
}

.card h6 {
  font-size: 14px;
  font-weight: 700;
  line-height: 32px;
  margin: 0;
}

.card h5 {
  font-size: 20px;
  font-weight: 700;
  line-height: 22px;
}

.card p {
  font-size: 13px;
  font-weight: 400;
  line-height: 22px;
}

.card .badge {
  font-size: 0.8rem;
  position: absolute;
  right: 9px;
  top: 10px;
  background-color: #DB1A40;
  padding: 8px;
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
  letter-spacing: 0.5px;
}

.home .card .list-card {
  margin-bottom: 15px;
  border: 1px solid #E1E7EC;
  padding: 10px;
  position: relative;
  border-radius: 8px;
  cursor: pointer;
  transition: all ease-in-out 0.3s;
}

.home .card .list-card:hover {
  background-color: #E1E7EC;
}

.home .card .list-card:last-child {
  margin-bottom: 5px;
}

.home .wrap-chart {
  width: 190px;
  margin: 0 auto;
  padding-top: 15px;
}

.home .list-unstyled {
  margin-top: 20px;
  font-size: 13px;
  font-weight: 700;
  line-height: 23px;
  text-align: left;
  letter-spacing: 0.5px;
  margin-bottom: 0px;
}

.home .list-unstyled li span {
  display: inline-block;
  font-size: 20px;
  padding-right: 5px;
  line-height: 16px;
}

.home .listing-invoice {
  overflow-y: auto;
  max-height: 590px;
}

.home .card .list-card .page-numbers {
  position: absolute;
  right: 8px;
  bottom: 6px;
  font-size: 11px;
  border: 1px solid #101216;
  border-radius: 4px;
  padding: 0px 6px
}

/* orders */
.orders {
  overflow-y: auto;
}

.orders-header,
.search-header,
.graph-header {
  position: relative;
}

.orders-header .filter,
.search-header .filter {
  position: absolute;
  top: 15px;
  right: 15px;
  border-width: 2px;
  line-height: 25px;
  transition: all ease-in-out 0.3s;
}

.graph-header .filter {
  position: absolute;
  top: 15px;
  right: 0px;
  border-width: 2px;
  line-height: 25px;
  transition: all ease-in-out 0.3s;
}


.orders-header .filter svg,
.search-header .filter svg,
.graph-header .filter svg {
  stroke: #ffffff;
  stroke-width: 2.5;
  margin-bottom: 5px;
  transition: all ease-in-out 0.3s;
}

.graph-header .filter svg {
  margin-bottom: 3px;
}

.orders-header .filter:hover svg,
.orders-header .filter:active svg,
.orders-header .filter:focus-visible svg,
.search-header .filter:hover svg,
.search-header .filter:active svg,
.search-header .filter:focus-visible svg,
.graph-header .filter:hover svg,
.graph-header .filter:active svg,
.graph-header .filter:focus-visible svg {
  stroke: #DB1A40;
}


.card.listing-orders {
  cursor: pointer;
  transition: all ease-in-out 0.3s;
}

.card.listing-orders:hover {
  background-color: #E1E7EC;
}

.card.listing-orders h6 {
  font-size: 20px;
  font-weight: 700;
  line-height: 30px;

}

.card.listing-orders .badge {
  font-size: 16px;
  font-weight: 700;
  line-height: 16px;
}

.card.listing-orders p {
  font-size: 15px;
  line-height: 24px;
}

.card.listing-orders .page-numbers {
  position: absolute;
  right: 8px;
  bottom: 6px;
  font-size: 11px;
  border: 1px solid #101216;
  border-radius: 4px;
  padding: 0px 6px
}


.card.listing-orders-detail h6 {
  font-size: 20px;
  font-weight: 700;
  line-height: 30px;
}

.card.listing-orders-detail p.first {
  font-weight: 700;
}

.card.listing-orders-detail p {
  font-size: 16px;
  font-weight: 400;
  line-height: 16px;
}


.nav-back {
  position: absolute;
  left: 25px;
}

.nav-back h4 {
  font-size: 20px;
  font-weight: 400;
  line-height: 18.34px;
}

.nav-back h3 {
  font-size: 24px;
  font-weight: 700;
  line-height: 22.01px;
}

.back-button {
  margin-right: 10px;
}

.look-detail {
  padding: 0;
  font-size: 11px;
  border: 0px;
  text-decoration: underline;
  margin-right: 5px;
}

.look-detail:active {
  background-color: transparent !important;
}

.look-detail svg {
  margin-bottom: 4px;
  fill: #4472C4 !important
}

/* accordion */
.accordion {
  background-color: #ffffff;
}

.accordion-item {
  margin-bottom: 15px;
  border: 1px solid #E7E7ED !important;
  border-radius: 0.375rem !important;
}

.accordion-button {
  color: #101216;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  border-radius: 0.375rem !important;
}

.accordion-button p {
  margin-bottom: 0px;
}

.accordion-button small {
  font-weight: 400;
}

.accordion-button div {
  margin-left: auto;
  padding-left: 8px;
  padding-right: 8px;
}

.accordion-button::after {
  margin-left: 0;
}

.accordion-button:not(.collapsed) {
  background-color: #ffffff;
  box-shadow: none;
  color: #101216;
}

.accordion-button:focus {
  /* border: 0px; */
  box-shadow: none;
}

.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23101216'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  ;
}

.accordion-body {
  border: 1px solid #E7E7ED;
  border-radius: 0.375rem;
  padding: 10px;
  margin: 1rem;

}

/* items */

.list-chart {
  overflow-y: auto;
}

/* search */

.search {
  overflow-y: auto;
}

.card.listing-search h6 {
  font-size: 20px;
  font-weight: 700;
  line-height: 30px;

}

.card.listing-search p.first {
  font-weight: 700;
}

.card.listing-search p {
  font-size: 15px;
  line-height: 16px;
}

.card .listing-search-detail {
  border: 1px solid #E7E7ED;
  border-radius: 0.375rem;
  padding: 10px;
}

/* settting */

.settings .card {
  min-height: 250px
}

.settings label {
  font-size: 16px;
  font-weight: 700;
}

/* .search .btn {
  line-height: 1.7rem;
  font-weight: 700;
  border-radius: 8px;
}

.search .btn:hover {
  color: #DB1A40;
  border-color: #DB1A40;
} */

/* 404 */

.pageempty h1 {
  font-size: 8em;
  font-weight: 700;
  line-height: 100%;
}


@media screen and (max-width: 1279px) {
  .navbar-nav li a {
    padding: 0 1.5rem !important;
    font-size: 1rem;
  }

  h3 {
    font-size: 18px;
    font-weight: 400;
    line-height: 19px;
  }

  h1 {
    font-size: 24px;
    font-weight: 700;
    line-height: 25px;
    margin-bottom: 0px;
  }

  .form-control,
  .form-select {
    line-height: 24px;
  }

  .card h6 {
    font-size: 12px;
    font-weight: 700;
    line-height: 28px;
  }

  .card h5 {
    font-size: 18px;
    font-weight: 700;
    line-height: 19px;
  }

  .card p {
    font-size: 12px;
    font-weight: 400;
    line-height: 14px;
  }

  .card .badge {
    padding: 8px;
    font-size: 11px;
    font-weight: 700;
    line-height: 10px;
  }

  .home .wrap-chart {
    width: 135px;
    margin: 0 auto;
    padding-top: 15px;
  }

  .home .list-unstyled {
    margin-top: 15px;
    font-size: 10.3px;
    line-height: 20px;
  }

  .home .list-unstyled li span {
    font-size: 14px;
    padding-right: 5px;
    line-height: 17px;
  }

  .btn-custom {
    margin-top: 15px;
    line-height: 28px;
    font-size: 16px;
  }

  .card.listing-orders h6 {
    font-size: 16px;
    line-height: 24px;

  }

  .card.listing-orders .badge {
    font-size: 13px;
    line-height: 16px;
  }

  .card.listing-orders p {
    font-size: 13px;
    line-height: 20px;
  }

  .card.listing-orders-detail h6 {
    font-size: 20px;
    font-weight: 700;
    line-height: 30px;
  }

  .card.listing-orders-detail p.first {
    font-weight: 700;
  }

  .card.listing-orders-detail p {
    font-size: 16px;
    font-weight: 400;
    line-height: 16px;
  }

  .orders-header .filter,
  .search-header .filter {
    top: 3px;
    line-height: 15px;
    padding: 7px 11px;
  }

  .orders-header .filter svg,
  .search-header .filter svg,
  .graph-header .filter svg {
    width: 14px;
    height: 18px;
    margin-bottom: 0;
  }

  .graph-header .filter {
    top: 3px;
    right: 0px;
    line-height: 15px;
    padding: 7px 11px;
  }

  .card.listing-search h6 {
    font-size: 16px;
    line-height: 24px;

  }

  .card.listing-search p.first {
    font-weight: 700;
  }

  .card.listing-search p {
    font-size: 13px;
    line-height: 14px;
    margin-bottom: 0 !important;
  }

  .card .listing-search-detail {
    border: 1px solid #E7E7ED;
    border-radius: 0.375rem;
    padding: 10px;
  }


  .settings .btn {
    font-size: 13px;
  }

  .settings .btn-custom {
    line-height: 20px;
  }

  .settings label {
    font-size: 13px;
  }

  .spinner {
    width: 13px;
    height: 13px;
  }

}

@media screen and (max-width: 1024px) {
  .navbar-nav li a {
    font-size: 14px;
  }

  .nav-back h4 {
    font-size: 16px;
    font-weight: 400;
    line-height: 18.34px;
    margin-bottom: 0px;
  }

  .nav-back h3 {
    font-size: 18px;
    font-weight: 700;
    line-height: 22.01px;
    margin-bottom: 0px;
  }

  .welcome-box {
    width: 350px;
    text-align: center;
    margin: 0 auto;
  }

  .welcome-box h1 {
    font-family: "Lato", serif;
    font-weight: 700;
    font-size: 38px;
    line-height: 58px;
    margin-top: 20px;
    margin-bottom: 30px;
  }

  .login-logo img {
    width: 70%;
  }

  .login-form {
    width: 350px;
    margin: 0 auto;
  }

  .login-box label {
    font-size: 14px;
    font-weight: 700;
  }

  .form-control,
  .form-select {
    line-height: 20px;
  }

  .card.listing-orders-detail h6 {
    font-size: 16px;
    font-weight: 700;
    line-height: 26px;
  }

  .card.listing-orders-detail p {
    font-size: 14px;
    font-weight: 400;
    line-height: 14px;
  }

  .accordion-button div {
    font-size: 13px;
    width: 100px;
  }

  .card.listing-search p {
    font-size: 12px;
  }
}


@media screen and (max-width: 768px) {
  .vh-100 {
    height: 90vh !important;
  }

  .welcome-box {
    width: auto;
    text-align: center;
    margin: 0 auto;
  }

  .welcome-box h1 {
    font-family: "Lato", serif;
    font-weight: 700;
    font-size: 30px;
    line-height: 58px;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .login-logo img {
    width: 50%;
  }

  .login-form {
    width: 350px;
    margin: 0 auto;
  }
}