.bd-placeholder-img {
  font-size: 1.125rem;
  text-anchor: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

@media (min-width: 768px) {
  .bd-placeholder-img-lg {
    font-size: 3.5rem;
  }
}

.b-example-divider {
  width: 100%;
  height: 3rem;
  background-color: #0000001a;
  border: solid rgba(0, 0, 0, 0.15);
  border-width: 1px 0;
  box-shadow: inset 0 0.5em 1.5em #0000001a, inset 0 0.125em 0.5em #00000026;
}

.b-example-vr {
  flex-shrink: 0;
  width: 1.5rem;
  height: 100vh;
}

.bi {
  vertical-align: -0.125em;
  fill: currentColor;
}

.nav-scroller {
  position: relative;
  z-index: 2;
  height: 2.75rem;
  overflow-y: hidden;
}

.nav-scroller .nav {
  display: flex;
  flex-wrap: nowrap;
  padding-bottom: 1rem;
  margin-top: -1px;
  overflow-x: auto;
  text-align: center;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.btn-bd-primary {
  --bd-violet-bg: #712cf9;
  --bd-violet-rgb: 112.520718, 44.062154, 249.437846;
  --bs-btn-font-weight: 600;
  --bs-btn-color: var(--bs-white);
  --bs-btn-bg: var(--bd-violet-bg);
  --bs-btn-border-color: var(--bd-violet-bg);
  --bs-btn-hover-color: var(--bs-white);
  --bs-btn-hover-bg: #6528e0;
  --bs-btn-hover-border-color: #6528e0;
  --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);
  --bs-btn-active-color: var(--bs-btn-hover-color);
  --bs-btn-active-bg: #5a23c8;
  --bs-btn-active-border-color: #5a23c8;
}

.bd-mode-toggle {
  z-index: 1500;
}

.bd-mode-toggle .bi {
  width: 1em;
  height: 1em;
}

.bd-mode-toggle .dropdown-menu .active .bi {
  display: block !important;
}

/* Custom Toastr */
/* ====== BASE TOAST STYLE ====== */
.toast {
  border-radius: 0.75rem !important;
  padding: 1rem 1.25rem !important;
  font-size: 0.95rem;
  font-weight: 500;
  backdrop-filter: blur(6px);
  color: #fff !important;
  border: 0 !important;
  background-repeat: no-repeat !important;
  background-position: 14px center !important;
  background-size: 22px !important;
  padding-left: 50px !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  transition: 0.25s ease;
}

/* =============== LIGHT MODE =============== */
/* SUCCESS */
.toast-success {
  background-color: #16a34a !important; /* hijau */
}

/* ERROR */
.toast-error {
  background-color: #dc2626 !important; /* merah */
}

/* WARNING */
.toast-warning {
  background-color: #ca8a04 !important; /* kuning tua */
}

/* INFO */
.toast-info {
  background-color: #2563eb !important; /* biru */
}

/* =============== DARK MODE =============== */
.toast-dark-mode {
  background-color: #1c1c1c !important; /* gelap */
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* DARK MODE + TIPE → warna tetap muncul sebagai glow */
.toast-dark-mode.toast-success {
  box-shadow: 0 0 12px rgba(74, 222, 128, 0.6);
  color: #4ade80 !important;
}
.toast-dark-mode.toast-error {
  box-shadow: 0 0 12px rgba(248, 113, 113, 0.6);
  color: #f87171 !important;
}
.toast-dark-mode.toast-warning {
  box-shadow: 0 0 12px rgba(250, 204, 21, 0.6);
  color: #fde047 !important;
}
.toast-dark-mode.toast-info {
  box-shadow: 0 0 12px rgba(96, 165, 250, 0.6);
  color: #93c5fd !important;
}

/* =============== ICONS =============== */
.toast-with-icon {
  background-repeat: no-repeat !important;
  background-position: 14px center !important;
  background-size: 22px !important;
}

/* ICON SET */
.toast-icon-success {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 24 24'%3E%3Cpath d='M9.75 16.5l-4.5-4.5L7.5 9.75l2.25 2.25L16.5 7.5l2.25 2.25-9 9z'/%3E%3C/svg%3E");
}
.toast-icon-error {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1010 10A10.011 10.011 0 0012 2zm1 14h-2v-2h2zm0-4h-2V7h2z'/%3E%3C/svg%3E");
}
.toast-icon-warning {
  background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" fill="%23ffffff" viewBox="0 0 24 24"%3E%3Cpath d="M1 21h22L12 2 1 21zm12-3h-2v-2h2zm0-4h-2v-4h2z"/%3E%3C/svg%3E');
}
.toast-icon-info {
  background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" fill="%23ffffff" viewBox="0 0 24 24"%3E%3Cpath d="M12 2a10 10 0 1010 10A10.011 10.011 0 0012 2zm1 15h-2v-6h2zm0-8h-2V7h2z"/%3E%3C/svg%3E');
}

/* Navnar */
/* Dropdown Submenu untuk Bootstrap 5 */
.dropdown-submenu {
  position: relative;
}

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

.dropdown-submenu > a::after {
  content: "›";
  float: right;
  margin-left: 0.5rem;
  font-weight: bold;
}

.dropdown-menu > li > a.active {
  background-color: #0d6efd;
  color: white;
}

.modal {
  padding-bottom: 4rem !important;
}

/* Fancybox */
.fancybox__container {
  z-index: 1800 !important;
}

/* Timeline */
ul.timeline-3 {
  list-style-type: none;
  position: relative;
}

ul.timeline-3:before {
  content: " ";
  background: #d4d9df;
  display: inline-block;
  position: absolute;
  left: 9px;
  width: 2px;
  height: 100%;
  z-index: 400;
}

ul.timeline-3 > li:before {
  content: " ";
  background: white;
  display: inline-block;
  position: absolute;
  border-radius: 50%;
  border: 3px solid #22c0e8;
  left: 0;
  width: 20px;
  height: 20px;
  z-index: 400;
}
