*,
*:before,
*:after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  list-style: none;
  text-decoration: none;
  font-family: "Plus Jakarta Sans", sans-serif;
  /* font-size: 0.9rem; */
  -webkit-tap-highlight-color: transparent;

  /* font-size: 13px;
  font-weight: 300; */
}
:root {
  --primary: #602515 !important;
  --white: #ffffff !important;
  --secondary: #f8ae19 !important;
  --light: #f0ecec !important;
  --text: #595959 !important;
  --dark: #39160c !important;
  --success: #009b81 !important;
  --danger: #b7003d !important;
  --warning: #ffd700 !important;
  --info: #0c7b93 !important;
  --abu: #718ebf !important;
}
/* width */
::-webkit-scrollbar {
  width: 2px;
  height: 2px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #c3c3c3;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #602515;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}
.primary {
  color: var(--primary);
}
.secondary {
  color: var(--secondary);
}
.text {
  color: var(--text);
}
.white {
  color: var(--white);
}
.success {
  color: var(--success);
}
.danger {
  color: var(--danger);
}
.warning {
  color: var(--warning);
}
.info {
  color: var(--info);
}
.dark {
  color: var(--dark);
}
.abu {
  color: var(--abu);
}
.warna-text {
  color: var(--text);
}
a {
  color: var(--text);
}
.fluid-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: row;
}
.sidebar {
  display: flex;
  flex-direction: column;
  max-width: 250px;
  min-height: 100%;
  max-height: 100%;
  background-color: var(--white);
  color: var(--text);
}
/* menu side bar */
/* menu sidebar */
.menu-sidebar {
  display: flex;
  /* align-items: center; */
  /* justify-content: center; */
  flex-direction: column;
  width: 100%;
  height: 100vh;
  overflow-y: auto;
  gap: 20px;
  /* margin: 30px; */
  /* padding: 20px 0px; */
}
.menu-sidebar li a {
  height: 40px;
  display: flex;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  color: var(--text);
  padding: 0px 20px;
}
.menu-sidebar li:first-child {
  margin-top: 20px;
}
.menu-sidebar li:last-child {
  margin-bottom: 20px;
}
.menu-sidebar li {
  position: relative;
}
.menu-sidebar li a:hover,
.menu-sidebar li a:active,
.menu-sidebar li a.active {
  color: var(--primary);
  transition: all 0.2s ease-in-out;
  /* background-color: #f5f7fa; */
  &:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    border-radius: 0px 5px 5px 0px;
    background-color: var(--primary);
  }
  span {
    background-color: var(--light);
  }
  span p {
    color: var(--primary);
  }
}
.menu-sidebar li a span i {
  font-size: 16px;
  line-height: 1;
  width: 16px;
  height: 16px;
}
.menu-sidebar li a span {
  display: flex;
  justify-content: start;
  align-items: center;
  font-size: 18px;
  line-height: 1;
  font-weight: medium;
  font-size: 16px;
  gap: 10px;
  padding: 13px 10px;
  width: 100%;
  border-radius: 10px;
}
.judul-menu-sidebar {
  font-weight: 500;
  margin-top: 20px;
  margin-left: 20px;
}
/* end menu sidebar */
.content {
  width: 100%;
  max-height: 100vh;
  /* background-color: var(--light); */
  color: var(--text);
  /* overflow: hidden; */
}
.topbar {
  width: 100%;
  height: 70px;
  background-color: var(--white);
  color: var(--text);
  display: flex;
  flex-direction: row;
  justify-content: end;
  align-items: center;
  padding: 0px 20px;
}
.main-content {
  width: 100%;
  max-height: calc(100% - 50px);
  background-color: var(--light);
  color: var(--text);
  overflow-y: auto;
}
.container-logo {
  width: 100%;
  min-height: 70px;
  display: flex;
  flex-direction: row;
  /* justify-content: center; */
  align-items: center;
  padding: 10px 20px;
  border-right: solid 2px #c3c3c3;
}
.logo {
  width: 50%;
}
.list-menu {
  width: 100%;
  height: calc(100vh - 50px);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  /* justify-content: center; */
  /* align-items: center; */
}
.list-menu li {
  width: 100%;
  height: 40px;
  display: flex;
  flex-direction: row;
  /* justify-content: center; */
  align-items: center;
  cursor: pointer;
}
.list-menu li:hover {
  background-color: var(--primary);
  color: var(--white);
  a {
    color: var(--white);
  }
}
a {
  text-decoration: none; /* no underline */
}
.footer-sidebar {
  width: 100%;
  /* height: 50px; */
  display: flex;
  flex-direction: row;
  background-color: var(--primary);
  padding: 10px;
  gap: 15px;
  justify-content: space-between;
  align-items: center;
}
.user {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 40px;
  min-width: 40px;
  height: 40px;
  min-height: 40px;
  border-radius: 50%;
  outline: 0px solid var(--primary);
  transition: all 0.2s ease-in-out;
  overflow: hidden;
}
.user:hover {
  outline: 4px solid var(--secondary);
}
.user img:hover {
  transform: scale(1.1);
}
.user img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  transition: all 0.2s ease-in-out;
}
.judul {
  font-size: 0.8rem;
  font-weight: bold;
}
.small {
  font-size: 0.6rem;
}
.big {
  font-size: 1.2rem;
}
.landscape-profile {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.btn-rounded {
  position: relative;
  background-color: var(--white);
  width: 32px;
  min-width: 32px;
  height: 32px;
  min-height: 32px;
  border-radius: 50%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}
.btn-rounded:hover,
.btn-rounded.active {
  background-color: var(--secondary);
  color: var(--white);
}
.btn-transparent {
  position: relative;
  background-color: transparent;
  width: 32px;
  min-width: 32px;
  height: 32px;
  min-height: 32px;
  border-radius: 15px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  padding: 5px;
  transition: all 0.2s ease-in-out;
}
.btn-transparent:hover {
  background-color: var(--light);
  color: var(--text);
  .rounded-icon {
    background-color: transparent;
  }
}
.rounded-icon {
  position: relative;
  background-color: var(--light);
  width: 32px;
  min-width: 32px;
  height: 32px;
  min-height: 32px;
  border-radius: 50%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  /* cursor: pointer; */
  transition: all 0.2s ease-in-out;
}
.fi {
  line-height: 1;
  width: 16px;
  height: 16px;
}
.row {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: start;
  align-items: center;
  gap: 10px;
}
.col {
  flex-direction: column;
}
.text {
  font-size: 0.8rem;
}
.mx15 {
  margin: 0 15px;
}
.mx20 {
  margin: 0 20px;
}
.black-background {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}
.black-background.active {
  left: 0;
}
#menu-toggle-sidebar {
  display: none;
}
/* layar hp */
@media screen and (max-width: 1008px) {
  .sidebar {
    position: fixed;
    top: 0;
    left: -250px;
    transition: all 0.2s ease-in-out;
    z-index: 1;
  }
  .sidebar.active {
    left: 0;
  }
  #menu-toggle-sidebar {
    display: flex;
  }
  .topbar {
    justify-content: space-between;
  }
}
/* end layar hp */
/* menu user */
.menu-user {
  z-index: 2;
  position: absolute;
  top: 65px;
  right: -280px;
  width: 240px;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 20px 10px 10px 10px;
  background-color: var(--white);
  transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 2px 2px 10px #00000022;
}
.menu-user.active {
  right: 0px;
}
/* end menu user */
.menu-notifikasi {
  z-index: 2;
  position: absolute;
  top: 65px;
  right: -280px;
  width: 240px;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 5px 10px;
  background-color: var(--white);
  transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 2px 2px 10px #00000022;
}
.menu-notifikasi.active {
  right: 0px;
}
/* end menu notifikasi */
.btn {
  text-align: center;
  font-size: 0.6rem;
  border: none;
  padding: 10px 20px;
  border-radius: 15px;
  margin: 10px 0px;
  cursor: pointer;
  color: var(--white);
  background-color: var(--primary);
  transition: all 0.2s ease-in-out;
}
.btn:hover {
  background-color: var(--secondary);
  color: var(--white);
}
.btn-small {
  text-align: center;
  font-size: 0.6rem;
  border: none;
  padding: 5px 10px;
  border-radius: 15px;
  /* margin: 10px 0px; */
  cursor: pointer;
  color: var(--white);
  background-color: var(--primary);
  transition: all 0.2s ease-in-out;
}
.btn-small:hover {
  background-color: var(--secondary);
  color: var(--white);
}
.mb10 {
  margin-bottom: 10px;
}
.mb20 {
  margin-bottom: 20px;
}
.mt10 {
  margin-top: 10px;
}
.mt20 {
  margin-top: 20px;
}
.pt10 {
  padding-top: 10px;
}
.pt20 {
  padding-top: 20px;
}
.pb10 {
  padding-bottom: 10px;
}
.pb20 {
  padding-bottom: 20px;
}
.wh60 {
  width: 60px;
  height: 60px;
}
.border {
  border: 1px solid var(--text);
}
.border:hover {
  border: none;
}
.dflex {
  display: flex;
}
.align-center {
  align-items: center;
}
.line-height {
  line-height: 1;
}
.font08 {
  font-size: 0.8rem;
}
.font10 {
  font-size: 1rem;
}
.font12 {
  font-size: 1.2rem;
}
.font14 {
  font-size: 1.4rem;
}
.font16 {
  font-size: 1.6rem;
}
.font18 {
  font-size: 1.8rem;
}
.font20 {
  font-size: 2rem;
}
.font22 {
  font-size: 2.2rem;
}
.gap5 {
  gap: 5px;
}
.gap10 {
  gap: 10px;
}
.gap15 {
  gap: 15px;
}
.gap20 {
  gap: 20px;
}
.badge {
  padding: 3px 7px;
  border-radius: 15px;
  color: var(--white);
  font-size: 0.6rem;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.justify-around {
  justify-content: space-around;
}
.justify-start {
  justify-content: start;
}
.justify-end {
  justify-content: end;
}
.w100 {
  width: 100% !important;
}
.rem1 {
  font-size: 0.9rem;
}
.rem2 {
  font-size: 1rem;
}
.bg-white {
  background-color: var(--white);
}
.bg-primary {
  background-color: var(--primary);
}
.bg-secondary {
  background-color: var(--secondary);
}
.bg-success {
  background-color: var(--success);
}
.bg-danger {
  background-color: var(--danger);
}
.bg-warning {
  background-color: var(--warning);
}
.bg-info {
  background-color: var(--info);
}
.bg-light {
  background-color: var(--light);
}

.line-list {
  padding: 0px 10px;
}
.line-list:first-child {
  border-right: solid 2px var(--light);
}
.line-list:last-child {
  border-left: solid 2px var(--light);
  border-right: none;
}
.nogap {
  gap: 0px;
}
.noRadius:hover {
  border-radius: 0px !important;
}
/* table */
.kotak-table {
  display: flex;
  flex-direction: column;
  width: 98%;
  background-color: white;
  border-radius: 25px;
  padding: 15px;
  margin: 15px 0;
  font-size: 0.8rem;
}
.kotak-table h2 {
  color: #333b69;
  font-size: 22px;
  font-weight: 500;
  margin: 0px 0 10px 0;
}
.table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 20px 0;
  font-size: 0.9em;
  min-width: 400px;
  border-radius: 20px;
  /* overflow-y: scroll; */
  /* overflow: auto; */
  background-color: white;
  /* box-shadow: 0 0 20px rgba(0, 0, 0, 0.15); */
}

.table thead tr {
  /* background-color: #ffffff; */
  color: #718ebf;
  text-align: left;
  font-weight: bold;
  border-bottom: 1px solid #dddddd;
}
.table th,
.table td {
  padding: 12px 15px;
  background-color: white;
}
.table th {
  font-weight: 400;
}
.table tbody tr {
  border-bottom: 1px solid #dddddd;
}
/* .table tbody tr:nth-of-type(even) {
  background-color: #f3f3f3;
} */
.table tbody tr:last-of-type {
  /* border-bottom: 2px solid #1814f3; */
  border-bottom: none;
}
.table tbody tr.active-row {
  font-weight: bold;
  color: #1814f3;
}
.freeze-table th:nth-child(2),
.freeze-table td:nth-child(2) {
  position: sticky;
  left: 0;
}

.freeze-table tr:nth-child(2) th {
  position: sticky;

  top: 0;
}

.freeze-table {
  overflow-x: auto;
}
.kotak-aksi-table {
  width: fit-content;
  border-radius: 20px;
  justify-content: center;
  align-items: center;
  background-color: #f5f7fa;
  padding: 5px;
  display: flex;
  font-size: 15px;
  gap: 8px;
}
.kotak-aksi-table a:first-child {
  background-color: #fe5c73;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  color: white;
}
.kotak-aksi-table a:last-child {
  background-color: #feaa09;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  color: white;
}
.kotak-aksi-table a:hover {
  background-color: var(--primary);
  color: white;
}
.judul-tabel {
  width: 100%;
  display: flex;
  justify-content: start;
  color: #333b69;
  font-size: 22px;
  font-weight: medium;
  padding: 0 0 0 10px;
  margin: 20px 0 0px 0;
}

/* data table */
.dt-container {
  display: flex;
  flex-direction: column;
}
.dt-container .dt-layout-row:first-child {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  gap: 10px;
}
.dt-container .dt-layout-row:first-child .dt-layout-cell .dt-length {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.dt-container .dt-layout-row:first-child .dt-layout-cell .dt-length select {
  font: small-caption;
  outline: none;
  border: solid 2px #dfeaf2;
  padding: 10px 15px;
  border-radius: 15px;
  font-family: "inter", sans-serif;
  font-size: 0.8rem;
  color: #718ebf;
  background-color: white;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.dt-container .dt-layout-row:first-child .dt-layout-cell .dt-length label {
  display: none;
}
.dt-container .dt-layout-row:first-child .dt-layout-cell .dt-search {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.dt-container .dt-layout-row:first-child .dt-layout-cell .dt-search label {
  display: none;
}
.dt-container .dt-layout-row:first-child .dt-layout-cell .dt-search input {
  font: small-caption;
  outline: none;
  border: solid 2px #dfeaf2;
  padding: 10px 15px;
  border-radius: 15px;
  font-family: "inter", sans-serif;
  font-size: 0.8rem;
  color: #718ebf;
  width: 100%;
}
/* .dt-container .dt-layout-row:last-child {
  display: flex !important;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
} */
.dt-container .dt-layout-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.dt-container .dt-layout-row:nth-child(2) {
  display: flex;
  flex-direction: column;
  /* justify-content: space-between; */
  width: 100%;

  /* isi table */
  min-height: fit-content !important;
  overflow-y: scroll;
}
.dt-container .dt-layout-row:nth-child(2) .dt-layout-cell {
  width: 100%;
}
.dt-container .dt-layout-row .dt-layout-cell {
  width: fit-content;
}
.dt-container .dt-layout-row .dt-layout-cell .dt-info {
  margin: 10px 0;
  min-width: fit-content;
  background-color: white;
  border: solid 2px #dfeaf2;
  color: #718ebf;
  border-radius: 15px;
  padding: 10px 15px;
}
.dt-container .dt-layout-row .dt-layout-cell .dt-paging nav {
  margin: 10px 0;
  display: flex;
  gap: 5px;
  align-items: center;
  justify-content: end;
  background-color: white;
  border: solid 2px #dfeaf2;
  border-radius: 15px;
  padding: 5px;
}
.dt-container .dt-layout-row .dt-layout-cell .dt-paging nav button {
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background-color: #f5f7fa;
  border: none;
  color: #718ebf;
  transition: all 0.2s ease-in-out;
}
.dt-container .dt-layout-row .dt-layout-cell .dt-paging nav button i {
  font-size: 14px;
  line-height: 1;
  width: 14px;
  height: 14px;
}
.dt-container .dt-layout-row .dt-layout-cell .dt-paging nav button:hover {
  background-color: #e1e7f0;
}

/* end data table */
/* end table */
/* isi konten */
.main-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 100%;

  gap: 10px;
  padding: 20px 0;
}
/* end isi konten */
/* isi main content */
.isi-main-content {
  display: flex;
  flex-direction: column;
  width: 100%;
  justify-content: center;
  align-items: center;
}
/* end isi main content */
/* footer-content */
.footer-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 20px;
}
.footer-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  /* padding: 20px 0; */
}
.footer-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  /* padding: 20px 0; */
}
/* end footer-content */
/* card mini content */
.mini-content {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  justify-content: center;
  gap: 10px;
}
.card-mini-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 10px;
  width: 10rem;
  min-width: 10rem;
  border-radius: 15px;
  background-color: var(--white);
}
/* end card mini content */
.kotakTogleMenu {
  position: relative;
  width: fit-content;
  min-width: fit-content;
  height: fit-content;
  min-height: fit-content;
}
.isiTogleMenu {
  display: none;
}
.isiTogleMenu.active {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
  position: absolute;
  bottom: 35px;
  right: 0;
  background-color: white;
  border-radius: 15px;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.081);
  z-index: 1;
}
.btn-togleMenu {
  position: relative;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  min-height: 32px;
  border-radius: 50%;
  /* border: solid 2px #dfeaf2; */
  color: #718ebf;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}
.btn-togleMenu.active {
  background-color: #f8ae19;
  border: none;
  color: white;
}
.btn-rounded-toggle {
  /* text-align: center; */
  display: flex;
  justify-content: center;
  align-items: center;
  width: 32px;
  min-width: 32px;
  height: 32px;
  min-height: 32px;
  /* font-size: 0.9rem; */
  border: none;
  border-radius: 50%;
  /* margin: 10px 0px; */
  cursor: pointer;
  color: var(--text);
  background-color: var(--white);
  transition: all 0.2s ease-in-out;
}
.btn-rounded-toggle:hover {
  background-color: var(--secondary);
  color: var(--white);
}
