@import url("https://fonts.googleapis.com/css2?family=Lexend+Deca:wght@100..900&display=swap");

body {
  font-family: "Lexend Deca", sans-serif !important;
}

#content ~ .ck.ck-editor .ck-editor__editable,
#solution ~ .ck.ck-editor .ck-editor__editable {
  min-height: 170px;
}

.ck-wordcount {
  width: 100%;
  box-sizing: border-box;
  font-size: 11px;
  padding: 6px 10px;
  background: #f7f7f7; /* sama dengan background editor */
  border: 1px solid #ddd;
  border-top: none; /* hilangkan garis atas */
  border-radius: 0 0 6px 6px; /* sudut bawah menyatu */
  color: #333;
  display: flex;
  justify-content: flex-end; /* teks rata kanan */
  gap: 16px;
  font-family: Arial, sans-serif;
}

.truncate {
  max-height: 100px; /* Adjust as needed */
  overflow: hidden;
  position: relative;
}

.content-table {
  max-height: 100%; /* Adjust as needed */
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.modal-mask {
  position: absolute;
  left: 0;
  background-color: rgba(255, 255, 255, 0.3);
  width: 100%;
  bottom: 0;
}

.show-more {
  display: block;
  background-color: #007bff;
  color: #fff;
  border: none;
  padding: 10px;
  cursor: pointer;
  text-align: center;
}

.show-more.hidden {
  display: none;
}

.expanded .content-table {
  max-height: none;
}

.expanded .show-more {
  display: none;
}

.icon-big {
  background-color: whitesmoke;
  width: 60px;
  height: 60px;
  border-radius: 90px;
  font-size: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.border-right-white {
  border-right: 2px solid #fff;
}

.rounded-bottom {
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.btn-primary-tka {
  --btn-color: #fff;
  --btn-bg: #061e43;
  --btn-border-color: #061e43;
  --btn-hover-color: #fff;
  --btn-hover-bg: #0c3f8b;
  --btn-hover-border-color: #0c3f8b;
  --btn-focus-shadow-rgb: 48, 150, 255;
  --btn-active-color: #fff;
  --btn-active-bg: #1153b6;
  --btn-active-border-color: #1153b6;
  --btn-active-shadow: inset 0 0 0 0 transparent;
  --btn-disabled-color: #fff;
  --btn-disabled-bg: #061e43;
  --btn-disabled-border-color: #061e43;
  --navbar-color: #fff;
  --navbar-hover-color: #1153b6;
}

.bg-primary {
  background-color: #061e43 !important;
}

.bg-primary-dark {
  background-color: #061e43;
}

.card-role {
  transition: 0.4s;
  background-color: rgba(255, 255, 255, 0.8) !important;
}

.card-role:hover {
  transition: 0.4s;
  background-color: white !important;
}

.btn-kotak {
  display: inline-flex;
  width: 38px;
  height: 38px;
  padding: 0px !important;
  align-items: center;
  justify-content: center;
}

.navbar {
  --navbar-link-padding-y: 0.525rem;
  --navbar-link-padding-x: 0.6375rem;
}

.nav-tka a.navbar-nav-link {
  --navbar-hover-bg: transparent;
  --navbar-hover-color: #1153b6;
}

.kerangka-tka a:hover .hover-top {
  margin-top: -10px !important;
  transition: 0.4s;
}

.kerangka-tka a .hover-top {
  transition: 0.4s;
}

.rounded label {
  margin-bottom: 0px;
}

.bg-success-light {
  background-color: #ddffec;
  box-shadow: none;
}
.content-wrapper.m-0 .content {
  padding: 0px !important;
  margin: 0px !important;
}

.stimulus-preview-container img {
  max-height: 450px;
  max-width: 70%;
}

.ck-body-wrapper {
  z-index: 10000;
}

.h-58px {
  height: 58px;
}

.ck.ck-button.ck-insert-table-dropdown-grid-box {
  padding: 0 !important;
  border-radius: 0 !important;
}

.custom-table-sm .dataTables_wrapper,
.custom-table-sm .table-xs {
  --dt-spacer-y: 0.625rem;
  --table-cell-padding-y: 0.5rem;
  --table-cell-padding-x: 0.5rem;
}

.dropdown-submenu {
  position: relative;
}

.dropdown-submenu > .dropdown-menu {
  top: 0;
  left: 100%;
  margin-left: 0;
  margin-right: 0;
}

.hero-img {
  width: 100%;
  margin-top: -190px;
}

@media screen and (max-width: 768px) {
  .hero-img {
    width: 100%;
    margin-top: 100px;
  }
}

.section-top {
  background-color: #3c4257;
}

.navbar-home {
  z-index: 999;
  position: fixed;
  top: 0;
  width: 100% !important;
}

.rejected-info {
  cursor: pointer;
}

.readonly-section {
  pointer-events: none;
  opacity: 0.6;
}

.fs-smallest {
  font-size: 0.6rem;
}

.ck-mathlive-panelhook {
  bottom: 0;
  position: fixed;
  right: 0;
  z-index: 9999 !important;
}

body.modal-open > .noty_modal {
  z-index: 1067;
}
body.modal-open > .noty_layout {
  z-index: 1068 !important;
}
