/* CSS UMUM */
/* biar web ga ke scroll */
.main {
  min-height: calc(100vh - (4.5rem)) !important;
}

.container {
  padding: calc(1rem * 0.3);
  margin: 0px !important;
  max-width: 100% !important;
}


.back-section {
  font-size: 14pt;
  padding-left: 10px;
  padding-right: 20px;
}

.main-title {
  margin-bottom: 15px !important;
}

.main-title-label {
  margin-bottom: 0px !important;
}

/* CSS DASHBOARD */
.dashboard {
  .box {
    cursor: pointer;
    transition: transform 0.3s ease;
  }

  .title-text {
    color: #143c7c;
    font-size: 18px;
  }

  img {
    width: 55%;
  }
}

.dashboard .card-one:hover {
  /* transform: scale(1.1); */
  background-color: #f0f4fc;
}

@media screen and (max-width: 768px) {
  .dashboard .box {
    .title-text {
      font-size: 14px;
    }
  }
}

/* CSS HEADER */
.logo-default {
  max-width: 180px;
  max-height: 40px;
}

@media (max-width: 768px) {
  .logo-default {
    max-width: 150px;
    max-height: 30px !important;
  }
}

/* css avatar yg pke icon */
.avatar2 {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background-color: #4c5c6c;
  font-weight: bold;
  font-size: 20px !important;
  color: #000;
}

@media (max-width: 768px) {
  .profile-name {
    display: none;
  }
}

/* CSS NOTIF */
.list-group {
  padding: 0px !important;
}

.list-group-item.selected {
  border-left: 3px solid #506fd9 !important;
  border-radius: 0 !important;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);

  .list-group-body {
    color: #212830 !important;
  }
}

.list-group-body {
  color: #949494 !important;
}

/* CSS SIDEBAR */
.sidebar {
  .sidebar-header {
    display: flex;
    justify-content: center;
  }

  .sidebar-body {
    padding: 10px;

    .nav-sidebar .nav-link {
      transition: background-color 0.3s ease;
      border-radius: 5px;
      margin-bottom: 5px;
    }

    .nav-sidebar .nav-link.active {
      background-color: #f0f4fc;
      color: #506fd9;
      border-radius: 4px;
    }

    .nav-link:hover {
      background-color: #f0f4fc;
      color: #506fd9;
    }

    .nav-link .icon-fill {
      display: none;
    }

    .nav-link.active .icon-line {
      display: none;
    }

    .nav-link.active .icon-fill {
      display: block;
      color: #103f7a;
    }

    label {
      padding: 10px;
      margin-bottom: -2px;
    }

    .new-btn {
      background-color: #506fd9;
      color: white;
      border-color: #506fd9;
    }

    .new-btn:hover {
      background-color: #485cbc;
    }

    .icon-sidebar {
      width: 20px;
      margin-right: 10px;
    }
  }
}

/* CSS BOTTOM NAVBAR */
@media (max-width: 768px) {
  .switch_pwa {
    display: flex;
  }

  .bottom_navbar {
    height: 72px;
    left: 0;
    right: 0;
    z-index: 800;
    border-top: 1px solid #f3f5f9;
    background-color: white;
    display: none;
    /* justify-content: center; */
    justify-content: space-around;
    align-items: center;
    transition: all 0.25s;
    box-shadow: 0 1px 1px rgba(33, 40, 48, 0.01),
      0 4px 4px rgba(33, 40, 48, 0.01), 0 16px 16px rgba(33, 40, 48, 0.01);
  }

  .group-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 12px;
  }

  .group-nav.active {
    border-top: 3px solid #103f7a;
  }

  .icon-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 5px 25px 0px 25px;
    height: 42px;
  }

  .icon-fill {
    display: none;
  }

  .group-nav.active .icon-line {
    display: none;
  }

  .group-nav.active .icon-fill {
    display: inline;
    color: #103f7a;
  }
}

.nav-sub-link {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.nav-sidebar .nav-link,
.nav-sub .nav-sub-link {
  padding-right: 10px;
  word-wrap: break-word;
}

.nav-sub {
  max-width: 100%;
}

.card-body.card-main {
  overflow: auto;
}

.form-detail .form-label {
  margin-bottom: 0px !important;
}

