body {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  text-align: left;
  background-color: #f8f9fa;
}

.active {
  background-color: #037967;
}

.card-title {
  /* capitalize */
  text-transform: capitalize;
  font-weight: 600;
}

.badge-primary {
  color: #fff;
  font-weight: 600;
  font-size: 0.8em;
  background-color: #037967;
}

.font-weight-medium {
  font-weight: 600;
}
/* Gaya default untuk elemen select */
#groupSelect {
  color: black; /* Warna teks default */
}

/* Gaya untuk elemen select ketika item terpilih */
#groupSelect.selected {
  color: #037967; /* Warna teks ketika item terpilih */
}

.main-sidebar {
  font-size: 15px;
}

.sidebar-dark-primary .nav-sidebar > .nav-item > .nav-link.active,
.sidebar-light-primary .nav-sidebar > .nav-item > .nav-link.active {
  color: #f8f9fa;
  background-color: #037967;
}

.sidebar-dark-primary .nav-sidebar > .nav-item > .nav-link,
.sidebar-light-primary .nav-sidebar > .nav-item > .nav-link {
  color: #01443a;
}

/* //hover */
.sidebar-dark-primary .nav-sidebar > .nav-item > .nav-link:hover,
.sidebar-light-primary .nav-sidebar > .nav-item > .nav-link:hover {
  color: #01443a;
  background-color: rgba(3, 121, 103, 0.2);
  transition: background-color 0.3s;
}

#bg-primary {
  background-color: #037967;
}

#bg-secondary {
  background-color: #fb5607;
}

#border-primary {
  border: 1px solid #037967;
  border-radius: 0.25rem;
}

#border-secondary {
  border: 1px solid #fb5607;
  border-radius: 0.25rem;
}

.border-black {
  border: 1px solid #000;
}

.textt-primary {
  color: #037967;
}

.invalid-feedback {
  color: #dc3545;
  font-size: small;
}

.textt-secondary {
  color: #fb5607;
}

.card-primary:not(.card-outline) > .card-header {
  background-color: #037967;
  color: #f8f9fa;
}
.button-primary {
  background-color: #037967;
  font-weight: 600;
  border-color: #026354;
  color: #f8f9fa;
}

.alert-default-warning-outline {
  border: 1px solid #fb5607;
  border-color: #fb5607;
  color: #fb5607;
  border-radius: 0.25em;
}
alert-default-success-outline {
  border: 1px solid #026354;
  border-color: #026354;
  color: #026354;
  border-radius: 0.25em;
}
.tab {
  padding: 1em;
}

.tab-l {
  border-radius: 0.25em 0 0 0.25em;
}

.tab-r {
  border-radius: 0 0.25em 0.25em 0;
}
.tab-primary-outline {
  border: 1px solid #037967;
  border-color: #037967;
  color: #037967;
  border-radius: 0.25em;
}

.tab-primary-outline:hover,
.tab-primary-outline:focus {
  box-shadow: 0 0.5em 0.5em -0.4em #037967;
  /* transform: translateY(0.1em); */
  transition: ease-in-out 0.3s;
  background-color: #026354;
  border-color: #026354;
  color: #f8f9fa;
}
.tab-primary-outline svg g {
  fill: #026354;
}
.tab-secondary-outline svg g {
  fill: #fb5607;
}
.tab-primary-outline:hover svg g,
.tab-primary-outline:focus svg g,
.tab-secondary-outline:hover svg g,
.tab-secondary-outline:focus svg g {
  fill: #f8f9fa;
}

.tab-secondary-outline {
  border: 1px solid #fb5607;
  border-color: #fb5607;
  color: #fb5607;
  border-radius: 0.25em;
  background-color: antiquewhite;
}

.tab-secondary-outline:hover,
.tab-secondary-outline:focus {
  box-shadow: 0 0.5em 0.5em -0.4em #fb5607;
  /* transform: translateY(0.1em); */
  transition: ease-in-out 0.3s;
  background-color: #e55d0e;
  border-color: #e55d0e;
  color: #f8f9fa;
}

.button-primary:hover,
.button-primary:focus {
  box-shadow: 0 0.5em 0.5em -0.4em #037967;
  transform: translateY(0.1em);
  transition: ease-in-out 0.3s;
  background-color: #026354;
  border-color: #026354;
  color: #f8f9fa;
}

.button-secondary {
  font-weight: 600;
  background-color: #fb5607;
  border-color: #e55d0e;
  color: #f8f9fa;
}

.button-secondary:hover,
.button-secondary:focus {
  box-shadow: 0 0.5em 0.5em -0.4em #fb5607;
  transform: translateY(0.1em);
  transition: ease-in-out 0.3s;
  background-color: #e55d0e;
  border-color: #e55d0e;
  color: #f8f9fa;
}

.button-secondary:active {
  background-color: #e55d0e;
  border-color: #e55d0e;
  color: #f8f9fa;
}

.button-primary-outline {
  border: 1px solid #037967;
  border-color: #037967;
  color: #037967;
}

.button-primary-outline:hover,
.button-primary-outline:focus {
  box-shadow: 0 0.5em 0.5em -0.4em #037967;
  transform: translateY(0.1em);
  transition: ease-in-out 0.3s;
  background-color: #026354;
  border-color: #026354;
  color: #f8f9fa;
}

.button-secondary-outline {
  border: 1px solid #fb5607;
  border-color: #fb5607;
  color: #fb5607;
}

.button-secondary-outline:hover,
.button-secondary-outline:focus {
  box-shadow: 0 0.5em 0.5em -0.4em #fb5607;
  transform: translateY(0.1em);
  transition: ease-in-out 0.3s;
  background-color: #ffede4;
  border-color: #fb5607;
  color: #fb5607;
}

.button-secondary-outline:hover {
  background-color: #ffede4;
  border-color: #fb5607;
  color: #fb5607;
}

.button-secondary-outline > a:hover {
  color: inherit;
  background-color: transparent;
}

.button-secondary-outline:active {
  background-color: #ffede4;
  border-color: #fb5607;
  color: #fb5607;
}

.button-secondary-outline:focus {
  background-color: #ffede4;
  border-color: #fb5607;
  color: #fb5607;
}

.button-neutral-outline {
  border: 1px solid #6c757d;
  border-color: #6c757d;
  color: #6c757d;
}

.button-neutral-outline:hover,
.button-neutral-outline:focus {
  box-shadow: 0 0.5em 0.5em -0.4em #6c757d;
  transform: translateY(0.1em);
  transition: ease-in-out 0.3s;
  background-color: #495057;
  border-color: #495057;
  color: #f8f9fa;
}

.button-base-outline {
  border: 1px solid #2c302e;
  border-color: #2c302e;
  color: #2c302e;
}

.button-base-outline:hover,
.button-base-outline:focus {
  box-shadow: 0 0.5em 0.5em -0.4em #2c302e;
  transform: translateY(0.1em);
  transition: ease-in-out 0.3s;
  background-color: #2c302e;
  border-color: #2c302e;
  color: #f8f9fa;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
select,
textarea {
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
  border-color: #037967;
  box-shadow: 0 0 0 0.2rem rgba(3, 121, 103, 0.25);
}

.text-is-primary {
  color: #01443a;
}

.page-item.active .page-link {
  z-index: 3;
  color: #fff;
  background-color: #026354;
  border-color: #025246;
}

.page-link {
  position: relative;
  display: block;
  padding: 0.5rem 0.75rem;
  margin-left: -1px;
  line-height: 1.25;
  color: #025246;
  background-color: #fff;
  border: 1px solid #dee2e6;
}

.page-link:hover {
  color: #01443a;
}

.page-item.active .page-link {
  border-color: #026354;
}
.span-active:active {
  background-color: #026354;
}

.alert-success {
  color: #155724;
  background-color: #d4edda;
  border-color: #c3e6cb;
}

.alert-danger {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}

#sidebar-custom {
  background-color: #fff;
  max-width: 280px;
  /* width: 100%; */
  height: 100vh;
  overflow-y: auto;
  position: fixed;
}

#sidebar-custom::-webkit-scrollbar {
  width: 8px;
  cursor: pointer;
}
#sidebar-custom::-webkit-scrollbar-thumb {
  box-shadow: darkgrey 0 0 1px;
  background-color: rgb(226, 226, 226);
  border-radius: 10px;
}

/* #sidebar-custom::-webkit-scrollbar-track {
  background: #f1f1f1;
} */

#sidebar-custom::-webkit-scrollbar-thumb:hover {
  background: #d4d4d4;
}

/* // body scrollbar */
html::-webkit-scrollbar {
  width: 8px;
  cursor: pointer;
}

html::-webkit-scrollbar-thumb {
  box-shadow: rgb(78, 78, 78) 0 0 1px;
  background-color: rgba(2, 99, 84, 0.8);
  border-radius: 8px;
}

html::-webkit-scrollbar-thumb:hover {
  background: #d4d4d4;
  background-color: rgba(2, 99, 84, 1);
}

/* track */
html::-webkit-scrollbar-track {
  background-color: #fff;
}

.hero-logo {
  width: 100%;
  min-width: 5px;
  max-width: 400px;
  height: auto;
}
.card-logo {
  width: 100%;
  min-width: 5px;
  max-width: 300px;
  height: auto;
}

.bg-glass {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  /* backdrop-filter: blur(4.4px); */
  /* -webkit-backdrop-filter: blur(4.4px); */
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.activation-card {
  min-width: 50em;
  /* padding: 1em; */
}

.is-valid {
  width: 100%;
  color: #198754;
}

/* class .is-invalid execpt input  */
.is-invalid:not(input) {
  width: 100%;
  color: #dc3545;
  font-size: smaller;
  padding-left: 0.5em;
}

#password-error,
#confpassword-error,
#recoveryemail_err {
  font-size: smaller;
}

.br-name {
  display: none;
}

#header-welcome {
  justify-content: space-between;
}

.card {
  min-width: 20em;
}

#panduan {
  justify-content: end;
}

.visual-dashboard {
  flex-direction: column;
}
/* media query sidebar custom at mobile */
@media (max-width: 768px) {
  .visual-dashboard {
    flex-direction: column;
  }
  .display-3 {
    font-size: 2.5em;
  }
  .hero-logo {
    max-width: 15em;
    width: 100%;
  }

  .card-logo {
    width: 100%;
    min-width: 5px;
    max-width: 235px;
    height: auto;
  }
  .card-text-body {
    font-size: 0.9em;
  }

  .text-mobile {
    font-size: 0.9em;
  }

  h4 {
    font-size: 1.2em;
  }
  .today {
    display: none;
  }

  #header-welcome {
    justify-content: end;
  }

  /* add <br> after span closest with #header-welcome */
  .br-name {
    display: block;
  }
  /* .card {
    min-width: 20em;
  } */

  #panduan {
    justify-content: center;
  }
}

@media (min-width: 992px) {
  .visual-dashboard {
    flex-direction: row;
  }
  .display-3 {
    font-size: 3.5em;
  }
  .sidebar-mini.sidebar-collapse .main-sidebar,
  .sidebar-mini.sidebar-collapse .main-sidebar::before {
    margin-left: 0;
    width: 5rem;
  }
}
@media (min-width: 768px) {
  .display-3 {
    font-size: 2.5em;
  }
  body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav)
    .content-wrapper,
  body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav)
    .main-footer,
  body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav)
    .main-header {
    transition: margin-left 0.3s ease-in-out;
    margin-left: 275px;
  }
}

.main-sidebar,
.main-sidebar::before {
  transition: margin-left 0.3s ease-in-out, width 0.3s ease-in-out;
  width: auto;
}

.sidebar-collapse .main-sidebar,
.sidebar-collapse .main-sidebar::before {
  margin-left: -275px;
}

@media (max-width: 768px) {
  .main-sidebar,
  .main-sidebar::before {
    box-shadow: none !important;
    margin-left: -275px;
  }
}

.main-sidebar,
.main-sidebar::before {
  transition: margin-left 0.3s ease-in-out, width 0.3s ease-in-out;
  width: 275px;
}

.spinner-border {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-block;
  vertical-align: -0.125em;
  border: 0.25em solid #037967;
  border-right-color: transparent;
  border-radius: 50%;
  -webkit-animation: 0.75s linear infinite spinner-border;
  animation: 0.75s linear infinite spinner-border;
}
