:root {
  --bg-color: #f9fafb;
  --primary-color: #0095ff;
  --secondary-color: #f28282;
  --text-color: #737791;
  --hover-bg-color: #f2f2f2;
  --scrollbar-track-color: var(--bg-color);
  --scrollbar-thumb-color: #62baf9;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-color);
}
h1 {
  font-size: 1.5vw; /* Adjust as needed */
}

h2 {
  font-size: 1.25vw; /* Adjust as needed */
}

h3 {
  font-size: 1.5vw; /* Adjust as needed */
}

h4 {
  font-size: 1.5vw; /* Adjust as needed */
}

h5 {
  font-size: 1.25vw; /* Adjust as needed */
}

/* Paragraphs */
p,
th,
td,
a,
::placeholder,
.form-select {
  font-size: 1vw; /* Adjust as needed */
}

/* Links */
.item-list a {
  font-size: 1vw; /* Adjust as needed */
}

a {
  text-decoration: none;
  color: var(--bg-color);
}
* {
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

*:focus {
  outline: none;
}
.sideBar,
.side-order {
  background-color: #fff;
  box-shadow: 2px 0 4px rgba(217, 217, 217, 0.7);
}
aside {
  height: 100vh;
}

body {
  height: 100%;
}
.sideBar {
  width: 20vw;
  height: 100vh;
}
nav {
  /* height: 100vh; */
}
.side-order {
  width: 20vw;
  height: 100vh;
}

.bottom-side {
  height: 50vh;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: end;
}

.list-category {
  border-radius: 8px;
  margin-right: 16px;
  display: inline-block;
  padding: 0.5vw 1vh;
  border: 1px solid #65b8f3;
}
.list-category p {
  color: var(--primary-color);
  margin-bottom: 0;
}

.category {
  display: flex;
  height: 10vh;
  overflow-x: scroll;
  white-space: nowrap;
}

.active-category {
  background-color: var(--primary-color);
}

.active-category p {
  color: var(--bg-color);
  font-weight: 600;
}
#toogle-content {
  width: 100%;
}

.item-list,
.active-menu {
  width: 15vw;
  height: 42px;
  display: flex;
  align-items: center;
  margin-bottom: 38px;
  border-radius: 8px;
  padding-left: 18px;
  transition: 500ms;
}

.item-side .active-menu {
  font-weight: 500;
}

.active-menu {
  background-color: var(--primary-color);
}

.active-menu:hover {
  background-color: #2ea5fa;
  color: var(--bg-color);
}

.non-act {
  text-decoration: none;
  display: flex;
  color: var(--text-color);
}

.non-act:hover {
  background-color: var(--hover-bg-color);
  color: var(--text-color);
}

.card {
  border: none;
  display: flex;
  justify-content: center;
  height: max-content;
}

.card-body h2 {
  font-weight: 500;
}

.card img {
  width: 100%;
}

.card-detail {
  margin-top: -15px;
}

.content {
  width: 100%;
  height: 100vh;
  overflow-y: scroll;
}

.tabel {
  height: 30vh;
  overflow-y: scroll;
}

.content,
.tabel {
  --sb-size: 3px;
}

.content::-webkit-scrollbar,
.tabel::-webkit-scrollbar {
  width: var(--sb-size);
}

.content::-webkit-scrollbar-track,
.tabel::-webkit-scrollbar-track {
  background: var(--scrollbar-track-color);
  border-radius: 9px;
}

.content::-webkit-scrollbar-thumb,
.tabel::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb-color);
  border-radius: 9px;
}

.btn-confirm {
  background-color: var(--primary-color);
  color: var(--bg-color);
  border: none;
}
input.btn-cancelled,
input .btn-confirm {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1vw;
}
.btn-cancelled {
  background-color: var(--secondary-color);
  color: var(--bg-color);
  border: none;
}

.form-label p {
  margin: 0;
}
.product-card {
  width: 15vw;
  height: 32vh;
  border: 2px solid #ebebeb;
  border-radius: 8px;
}
.ProductContainer {
  height: 80vh;
  overflow-y: auto;
  overflow-x: hidden;
}
.Productadmin {
  height: 75vh;
  overflow-y: auto;
  overflow-x: hidden;
}
.pengeluaran {
  height: 60vh;
  overflow-y: auto;
  overflow-x: hidden;
}
.Productadmin .product-card {
  height: 41vh;
  width: 15vw;
}

input,
select {
  width: 100%;
  height: 4vh;
  display: flex;
  justify-content: center;
  align-items: center;
}
@media only screen and (max-width: 1280px) and (max-height: 720px) {
  .dataKeluar {
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
  }
  input,
  select {
    height: 4vh;
    margin-bottom: 1px;
  }

  body {
    font-size: 10px;
    height: 100vh;
    width: 100vw;
  }
  .item-list,
  .active-menu {
    width: 15vw;
    height: 5vh;
    display: flex;
    align-items: center;
    margin-bottom: 1vw;
    border-radius: 8px;
    padding-left: 18px;
    transition: 500ms;
  }
  .sidebar {
    width: 15rem;
  }

  .product-card {
    width: 15vw;
    height: 25vh;
  }
  h1 {
    font-size: 1.5vw; /* Adjust as needed */
  }

  h2 {
    font-size: 1.25vw; /* Adjust as needed */
  }

  h3 {
    font-size: 1.5vw; /* Adjust as needed */
  }

  h4 {
    font-size: 1.5vw; /* Adjust as needed */
  }

  h5 {
    font-size: 1.25vw; /* Adjust as needed */
  }

  /* Paragraphs */
  p {
    font-size: 1vw; /* Adjust as needed */
  }
  .btn,
  .form-control {
    font-size: 12px !important;
  }
  /* Links */
  .item-list a {
    font-size: 1vw; /* Adjust as needed */
  }

  /* Placeholders in inputs */
  input::placeholder,
  textarea::placeholder {
    font-size: 1vw; /* Adjust as needed */
    color: #999; /* Optional: color for placeholder */
  }

  .side-order {
    width: 22vw;
  }
  .pengeluaran table {
    overflow-x: scroll;
  }
  input {
    height: 5vh;
  }
  .btn {
    padding-left: 2px;
    padding-right: 2px;
  }
}
@media only screen and (max-width: 428px) and (max-height: 926px) {
  .item-list a {
    font-size: 12px; /* Adjust as needed */
  }
  .item-list {
    height: 40px;
    width: 80px;
  }
  .sideBar .tittle-side {
    display: none;
  }
  .sideBar {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .item-list,
  .active-menu {
    display: flex;
    align-items: center;
    border-radius: 8px;
    transition: 500ms;
  }
  .Productadmin .product-card {
    width: 120px;
    height: 300px;
    padding: none;
    border: none;
    overflow: hidden;
  }
  input {
    height: 5vh;
  }
  body {
    font-size: 10px;
    height: 150vh;
    width: 100vw;
  }

  h1 {
    font-size: 16px; /* Adjust as needed */
  }

  h2 {
    font-size: 16px; /* Adjust as needed */
  }

  h3 {
    font-size: 16px; /* Adjust as needed */
  }

  h4 {
    font-size: 16px; /* Adjust as needed */
  }

  h5 {
    font-size: 16px; /* Adjust as needed */
  }

  /* Paragraphs */
  p,
  td,
  th {
    font-size: 10px; /* Adjust as needed */
  }
  .btn,
  .form-control,
  ::placeholder {
    font-size: 10px !important;
  }
  .btn {
    padding-left: 2px;
    padding-right: 2px;
  }
  .card-dashboard {
    width: 170px;
    height: 70px;
  }
  .card-dashboard .card-body {
    padding: 5px;
  }
  .card-dashboard h5 {
    font-size: 12px;
    font-weight: 600;
  }
  .card-dashboard h1 {
    font-size: 12px;
    font-weight: 400;
  }

  /* Links */
  .item-list {
    font-size: 10px; /* Adjust as needed */
  }
  .pengeluaran table {
    overflow-x: scroll;
  }
}
