body {
  background: #DEFDF2 !important;
}
#appCapsule {
  position: relative;
  margin-bottom: env(safe-area-inset-bottom);
  margin-top: env(safe-area-inset-top);
  background: #d4f3ff;
  background: linear-gradient(151deg, rgba(212, 243, 255, 1) 0%, rgba(224, 255, 237, 1) 53%, rgba(255, 251, 230, 1) 100%);
}
}
.input-icon-append {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4f5050;
  height: 38px;
  font-size: 24px;
  position: absolute;
  right: 7px;
  bottom: 1px;
  width: 32px;
  opacity: 0.5;
}
a {
  color: #076b89;
}
.appHeader {
  position: sticky;
}
#appCapsule {
  background-color: #ecf6f3;
  padding-top: 0;
}
.appBottomMenu,
.appHeader,
#appCapsule,
.extraHeader {
  max-width: 630px;
  margin: 0 auto;
}
.appContent {
  padding: 0 16px 16px;
}
.container-large {
  margin: 0 auto;
}
.container-large .appHeader,
.container-large #appCapsule,
.container-large .extraHeader {
  max-width: 1024px;
  margin: 0 auto;
}
.appHeader.bg-brand {
  box-shadow: none !important;
}
.bg-brand {
  background-color: #3bc0cf !important;
}
.bg-brand-2 {
  background-color: #157ca1 !important;
}
.backlayer {
  width: 100%;
  height: 150px;
  position: absolute;
  z-index: -10;
  border-radius: 0 0 25px 25px;
}
.glassmorph {
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1) !important;
}
.smallthin {
  font-size: 0.74em;
  line-height: 14px !important;
  font-weight: 500;
}
.rounded-thumbnail {
  border-radius: 15px !important;
}
dl {
  margin-bottom: 0.5rem;
}
.page-content p,
.page-content li {
  font-size: 1rem;
  line-height: 1.5rem;
}
.object-fit-cover {
  object-fit: cover;
}
.swiper-thumbnail-image {
  height: 150px;
  object-fit: cover;
}
.bg-grey {
  background-color: #161616 !important;
}
.rounded-20 {
  border-radius: 20px !important;
}
.scroll-thumbnail-video {
  height: 235px;
  object-fit: cover;
}
.text-elipsis {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: calc(3 * 1.5em);
  line-height: 1.5em;
}
.text-elipsis-3 {
  -webkit-line-clamp: 3;
  line-clamp: 3;
}
[data-calendar-theme="light"]
  .vanilla-calendar-day__btn_weekend.vanilla-calendar-day__btn_selected,
[data-calendar-theme="light"]
  .vanilla-calendar-day__btn_holiday.vanilla-calendar-day__btn_selected,
[data-calendar-theme="light"]
  .vanilla-calendar-day__btn_weekend.vanilla-calendar-day__btn_selected:hover,
[data-calendar-theme="light"]
  .vanilla-calendar-day__btn_holiday.vanilla-calendar-day__btn_selected:hover {
  background-color: rgb(6 182 212 / var(--tw-bg-opacity));
  color: white;
}
[data-calendar-theme="light"] .vanilla-calendar-week__day_weekend {
  color: #64748b;
}
button.vanilla-calendar-day__btn.izin,
.presensi-status-container.izin {
  background: #ffe7c2;
}
button.vanilla-calendar-day__btn.sakit,
.presensi-status-container.sakit {
  background: #d8c2ff;
}
button.vanilla-calendar-day__btn.alpa,
.presensi-status-container.alpa {
  background: #f7adad;
}
[data-calendar-theme="light"] .vanilla-calendar-day__btn_selected,
[data-calendar-theme="light"] .vanilla-calendar-day__btn_selected:hover {
  background-color: transparent;
  color: #222;
  border: 2px solid #2196f3;
}
.icon-video {
  width: 35px;
  position: absolute;
  bottom: 5px;
  left: 8px;
  z-index: 10;
}
.thumbnail-image::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.6) 100%
  );
  pointer-events: none;
}
.thumbnail-image-rounded::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.6) 100%
  );
  pointer-events: none;
  border-radius: 0 0 1rem 1rem;
}
.swiper-horizontal
  > .swiper-pagination-bullets.swiper-pagination-bullets-dynamic,
.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic {
  z-index: 100;
}
.swiper-pagination-fraction {
  background: #3b3e41cc;
  color: #e1e1e1;
  z-index: 100;
  width: 51px;
  border-radius: 10px;
  font-size: 0.8rem;
  margin: 8px;
  font-weight: 500;
  top: 0;
  bottom: auto;
  right: 0;
  left: auto;
  letter-spacing: -1px;
}
.swiper-pagination-bullet {
  background: #ffffff;
  opacity: 0.8;
}
.swiper-pagination-bullet-active {
  background: #ffffff;
  opacity: 1;
}
.feed-carousel::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 20%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.4) 100%
  );
  pointer-events: none;
  z-index: 10;
}
.swiper-button-next,
.swiper-button-prev {
  width: 30px;
  height: 30px;
  color: #666;
  background: #eee;
  border-radius: 50%;
  box-shadow: var(--bs-box-shadow-sm) !important;
}
.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 14px;
  font-weight: bold;
}
.swiper-wrapper {
  align-items: center;
}
.offcanvas-body img {
  max-width: 100%;
}

.btn-commit {
  background-color: #3bc0cf;
  background-image: linear-gradient(160deg, #3bc0cf 0%, #1e74fd 100%);
  border: 0;
  color: #eee;
}

.btn-progress {
  box-shadow: none;
  color: transparent !important;
  pointer-events: none;
  background-color: var(--bs-btn-disabled-bg);
  border-color: var(--bs-btn-disabled-border-color);
  opacity: var(--bs-btn-disabled-opacity);
  position: relative;
}
.btn-progress:after {
  content: "";
  --bs-spinner-width: 1rem;
  --bs-spinner-height: 1rem;
  --bs-spinner-border-width: 0.2em;
  --bs-spinner-animation-speed: 0.75s;
  --bs-spinner-animation-name: spinner-border;
  border: var(--bs-spinner-border-width) solid currentcolor;
  border-right-color: transparent;

  display: inline-block;
  width: var(--bs-spinner-width);
  height: var(--bs-spinner-height);
  vertical-align: var(--bs-spinner-vertical-align);
  border-radius: 50%;
  animation: var(--bs-spinner-animation-speed) linear infinite
    var(--bs-spinner-animation-name);
  color: white;
  left: calc(50% - 0.6em);
  position: absolute;
  top: calc(50% - 0.6em);
}
.toastify {
  margin: auto;
  left: 0;
  right: 0;
  max-width: 768px;
  width: 100%;
  z-index: 10000;
  font-size: 1rem;
  line-height: 1.3rem;
}
.toastify.bottom {
  bottom: 55px !important;
  top: initial !important;
}
.toastify.primary {
  background: #2196f3;
}
.toastify.success {
  background: #4caf50;
}
.toastify.info {
  background: #03a9f4;
}
.toastify.warning {
  background: #ff9800;
}
.toastify.danger {
  background: #e91e63;
}
.toast-close {
  position: absolute;
  top: 12px;
  right: 10px;
}

.dark-mode-active .appHeader,
.dark-mode-active .appBottomMenu,
.dark-mode-active .card,
.dark-mode-active #template-container {
  background-color: rgba(var(--bs-dark-rgb), var(--bs-bg-opacity)) !important;
}

.sidebar {
  display: none;
  top: 0;
  left: 0;
  border-right: 1px solid #cfdadf;
  height: 100%;
  width: 250px;
  overflow: hidden;
  transition: 0.5s;
}
.sidebar .icon-box-transparent {
  font-size: 28px !important;
}
.sidebar .in {
  font-size: 16px;
  color: #555;
  line-height: 0;
}
.sidebar .image-listview > li a.item:after {
  display: none !important;
}

.sidebar .image-listview > li a.item.active,
.sidebar .image-listview > li a.item.active .in {
  background: #174556;
  color: white !important;
}

.sidebar .sidebar-logo {
  padding: 20px;
}

@media (min-width: 768px) {
  .header-mobile-only .appHeader {
    display: none;
  }
  .appBottomMenu {
    display: none;
  }
  .container-large {
    margin-left: 250px;
  }
  .sidebar {
    display: block !important;
  }
}
@media (min-width: 768px) and (max-width: 1129.98px) {
  .container-large {
    margin-left: 60px;
  }
  .sidebar {
    width: 60px !important;
  }
  .sidebar .sidebar-logo {
    padding-left: 11px !important;
  }
  .sidebar .image-listview > li .item {
    padding: 12px !important;
  }
}

.text-success-darker {
  color: #2e7d32 !important;
}

div#lesson_text_container img {
  max-width: 100%;
}

@page {
  size: A4 landscape;
  margin: 0;
  padding: 0;
  /* overflow: hidden; */
}

/* Gaya default untuk tampilan di layar */
#img-cert {
  width: 600px;
  height: auto;
  display: block;
}

#no-certi {
  top: 110px;
  left: 27px;
  font-size: 12px;
  /* Ukuran font default di layar */
}

#name-certi {
  top: 165px;
  left: 27px;
  /* Pastikan ada ukuran font default agar bisa di-override */
  font-size: 24px;
  /* Contoh: ukuran default untuk h3 */
}

/* --- Gaya khusus untuk pencetakan --- */
@media print {
  #img-cert {
    width: 1117px !important;
    /* Lebar saat dicetak */
    height: auto !important;
  }

  #no-certi {
    /* Atur posisi dan ukuran font saat dicetak */
    top: 215px !important;
    /* Contoh posisi baru */
    left: 50px !important;
    /* Contoh posisi baru */
    font-size: 23px !important;
    /* Ukuran font saat dicetak */
  }

  #name-certi {
    /* Atur posisi dan ukuran font saat dicetak */
    top: 310px !important;
    /* Posisi yang Anda inginkan saat dicetak */
    left: 50px !important;
    font-size: 40px !important;
    /* Ukuran font yang Anda inginkan saat dicetak */
  }
}

.score-vertical span {
  display: inline-block;
  width: 15px;
  height: 15px;
  line-height: 15px;
  text-align: center;
}
.dropdown .list-group {
  list-style: none;
  position: absolute;
  z-index: 10;
  background-color: #fff;
}
.dropdown .list-group .list-group-item {
  background-color: #fff;
  text-wrap: nowrap;
  text-align: left;
}


.header-image{
  border-radius: 50%; 
  width: 70px;
  object-fit: cover;
}

p {
  font-size: 14px;
}

.button-submit{
  color: #5D4BF6;
  border-color: #5D4BF6;
  background-color: white;
  font-weight: 300;
  transition: 0.3s ease;
}

.button-submit:hover{
  background-color: rgb(237, 237, 237);
}

.nav-tabs .nav-link{
  color: grey;
}

.nav-tabs .nav-link.active{
  color: #5D4BF6;
  font-weight: 600;
}

.nav-tabs .nav-link:hover{
  color: #4336b5;
}

.item:hover {
  background-color: #f8f9fa;
}

.item2:hover {
  background-color: #f8f9fa;
}

.item2,.item2:focus,
.item2:active,
.item2:visited  {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  padding: 16px 16px;
  border-bottom: 3px solid #c5c7c9;
  text-decoration: none;
  color: inherit;
  width: 100%;      
}

.in {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex: 1;
}

.image-listview header {
  font-weight: 500;
  font-size: 0.85rem;
  color: #6c757d;
}

.image-listview footer {
  font-size: 0.8rem;
  color: #6c757d;
}

.text-muted {
  font-size: 0.85rem;
}

.image-listview {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.aspek{
  color: grey;
  font-weight: bold;
}

.auba1 footer{
    color: #000000;
    font-size: 17px;
    margin-top: 5px;
}

.judul{
    font-weight: 500;
    color: #000000;
    margin-top: 10px;
}

.tanggal{
  margin-top: -85px;
}

.tanggal-kelas {
  min-width: 90px;
  font-weight: 500;
  margin-right: 10px;
}

.flex-tengah{
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.flex-kanan{
  display: flex;
  flex-direction: column;
  gap: 0.5rem;

}

.edit-link {
  text-decoration: none;
}
.item-disabled .edit-link {
  display: none;
}

.item-disabled {
  background-color: #eceeed; 
  opacity: .7;
  pointer-events: none;
}

.badge-score {
  background-color: #d6fadf;
  padding: 3px 5px;
  font-size: 16px;
  height: 25px;
  border-radius: 1px;
  font-weight: bold;
  display: inline-block;
  min-width: 25px;
  text-align: center;
  color: #009688;
  margin-left: 10px;
}
.badge-score.c,
.badge-score.d {
    background-color: #fff3cf;
}
.badge-score.e {
    background-color: #ffcbbeff;
    color: #666;
}

.badge-score-warning{
  color: #EA7E2C;
  background-color: #faf2d6;
}

.badge-tanggal{
  background-color: #8bc34a30;
  padding: 1px 8px;
  font-size: 16px;
  line-height: 1.5;
  border-radius: 1px;
  font-weight: bold;
  display: inline-block;
  min-width: 20px;
  text-align: center;
  color: #5D4BF6;  
}

.rata-kiri{
  text-align: left;
}

.kelas{
  color: brown;
}

.badge-disabled {
    opacity: 0.5;
    pointer-events: none;
    cursor: default;
}

.disabled {
    opacity: 0.7;
    pointer-events: none;
    background-color: #f0f0f0;
    border-radius: 10px;       
    cursor: default;
}

.badge-aksi {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: nowrap; 
}

/* tab 3 */
.btn-outline-purple {
      color: #6c4efc;
      border: 2px solid #c9bfff;
      background-color: transparent;
      font-weight: 500;
      font-size: 1rem;
      border-radius: 0.5rem;
      padding: 0.2rem 0.55rem;
    }

    .btn-outline-purple:hover {
      background-color: #f2ebff;
      border-color: #a98cff;
    }

    .btn-outline-purple i {
      margin-right: 0.5rem;
    }

    .btn-catatan{
      margin-top: 12px;
      margin-left: 250px;
    }

    .catatan-umum {
    font-size: 0.9rem;
    line-height: 1.4;
    background-color: #f8f9fa;
    border-left: 4px solid #0d6efd;
    pointer-events: auto;
}



@media (max-width: 576px) {
  .nav-tabs .nav-link {
    font-size: 14px;
    padding: 6px 10px;
  }

  .tanggal{
  margin-top: -160px;
}

  .flex-row {
    flex-direction: column;
  }
  .flex-kanan {
    width: 100%;
  }
  .btn-outline-purple {
    width: 100%;
  }

    .btn-catatan{
      margin-top: 12px;
      margin-left: 165px;
    }
}
.bg-past {
  background-color: #fafafa;
}