.select2-selection__placeholder {
  padding: 0.375rem 0.75rem;
}

.select2-container--bootstrap4 .select2-results__option--highlighted,
.select2-container--bootstrap4
  .select2-results__option--highlighted.select2-results__option[aria-selected="true"] {
  background-color: #0d0b0b;
}

.swal2-success-circular-line-left {
  display: none;
}

.swal2-success-circular-line-right {
  display: none;
}

.swal2-success-fix {
  display: none;
}

.small-swal {
  width: 320px !important;
  /* default SweetAlert width is 512px */
  font-size: 12px;
}

#debug-icon {
  display: none;
}

body {
  background-color: #f4f6f8;
  font-family: "Segoe UI", sans-serif;
}

.offcanvas.offcanvas-bottom#offcanvasBottom {
  position: fixed !important;
  left: 50% !important;
  bottom: 0 !important;
  transform: translateX(-50%) !important;
  width: 420px !important;
  height: 50vh !important;
  max-height: 50vh !important;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
  z-index: 1055 !important;
  /* Optional: Untuk tampilan mobile */
}
@media (max-width: 500px) {
  .offcanvas.offcanvas-bottom#offcanvasBottom {
    width: 100vw !important;
    left: 0 !important;
    transform: none !important;
    border-radius: 1rem 1rem 0 0;
  }
}

.mobile-container {
  max-width: 420px;
  margin: 0 auto;
  padding: 0 15px;
}

.bg-jr {
  background: #0d0b0b;
  background: linear-gradient(
    90deg,
    rgba(13, 11, 11, 1) 0%,
    rgba(45, 29, 54, 1) 50%,
    rgba(11, 50, 59, 1) 100%
  );
  box-shadow: 0px 10px 25px -16px rgba(0, 0, 0, 1);
  -webkit-box-shadow: 0px 10px 25px -16px rgba(0, 0, 0, 1);
  -moz-box-shadow: 0px 10px 25px -16px rgba(0, 0, 0, 1);
}

.card-menu {
  border-radius: 15px;
  padding: 20px;
  transition: 0.3s;
}

#icon-card-menu {
  background-color: #ffffff;
  border-radius: 50%;
  padding: 15px;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.1);
}

.icon-wrapper {
  background: white;
  border-radius: 50%;
  padding: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.1);
}

.icon-wrapper-offcanvas {
  background: #0d0b0b; /* fallback solid */
  background: -webkit-linear-gradient(
    90deg,
    rgba(13, 11, 11, 1) 0%,
    rgba(45, 29, 54, 1) 50%,
    rgba(11, 50, 59, 1) 100%
  ); /* for Safari/older iOS */
  background: linear-gradient(
    90deg,
    rgba(13, 11, 11, 1) 0%,
    rgba(45, 29, 54, 1) 50%,
    rgba(11, 50, 59, 1) 100%
  ); /* standard */
  border-radius: 50%;
  padding: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.1);
}
.icon-wrapper-offcanvas i {
  color: white !important;
}

.two-color {
  background: #0d0b0b;
  background: linear-gradient(
    90deg,
    rgba(13, 11, 11, 1) 0%,
    rgba(45, 29, 54, 1) 50%,
    rgba(11, 50, 59, 1) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 1.5rem;
  display: inline-block;
}

.btn-back {
  background: linear-gradient(
    90deg,
    rgba(13, 11, 11, 1) 0%,
    rgba(45, 29, 54, 1) 50%,
    rgba(11, 50, 59, 1) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 12px;
}

.feed-card {
  border-radius: 10px;
  background: #fff;
  padding: 15px;
  margin-bottom: 15px;
}

.jr-card {
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(40, 20, 80, 0.13);
  padding: 0.7rem 1.5rem 1rem 1.5rem;
  margin-bottom: 1.25rem;
  transition: box-shadow 0.2s;
}

.icon-footer {
  color: #646464;
  text-decoration: none;
  text-align: center;
  font-size: 12px;
}

.icon-footer:hover {
  color: #0d0b0b;
  text-decoration: none;
  text-align: center;
  font-size: 12px;
}

.icon-footer-active {
  color: #0d0b0b;
  text-decoration: none;
  text-align: center;
  font-size: 12px;
}

.icon-footer-active:hover {
  color: #0d0b0b;
  text-decoration: none;
  text-align: center;
  font-size: 12px;
}

.footer-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-width: 420px;
  height: 60px;
  margin: 0 auto;
  background: #ffffff;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
  /* shadow footer */
  padding: 5px 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
}

.footer-nav::before {
  content: "";
  position: absolute;
  top: -29px;
  left: 50%;
  transform: translateX(-55%);
  width: 80px;
  height: 80px;
  background: #ffffff;
  border-radius: 50%;
  z-index: 0;
  box-shadow: 0 -7px 5px rgba(0, 0, 0, 0.03);
  /* sama persis seperti footer */
}

.jr-btn {
  width: 70px;
  height: 70px;
  background: #0d0b0b;
  background: linear-gradient(
    90deg,
    rgba(13, 11, 11, 1) 0%,
    rgba(45, 29, 54, 1) 50%,
    rgba(11, 50, 59, 1) 100%
  );
  border: 6px solid #ffffff;
  color: white;
  border-radius: 50%;
  text-align: center;
  line-height: 70px;
  margin-top: -40px;
  position: relative;
  z-index: 1;
}

.pamflet-scroll {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.pamflet-scroll::-webkit-scrollbar {
  display: none;
  /* Sembunyikan scrollbar untuk UI lebih bersih */
}

.pamflet-img {
  flex: 0 0 auto;
  width: 180px;
  /* height: 120px; */
  object-fit: cover;
  /* Atau sesuaikan dengan kebutuhan */
  border-radius: 10px;
  scroll-snap-align: start;
}

.modal-backdrop.show {
  opacity: 1 !important;
  /* biar blur-nya kentara, bisa juga pakai 0.8 jika ingin lebih transparan */
  background: rgba(30, 30, 30, 0.4) !important;
  /* hitam semi transparan */
  backdrop-filter: blur(8px);
  /* efek glass, bisa 4-16px sesuai selera */
  -webkit-backdrop-filter: blur(8px);
  /* Optional: border/gradient di backdrop agar makin glassy */
}

.offcanvas-backdrop.show {
  opacity: 1 !important;
  /* biar blur-nya kentara, bisa juga pakai 0.8 jika ingin lebih transparan */
  background: rgba(30, 30, 30, 0.4) !important;
  /* hitam semi transparan */
  backdrop-filter: blur(8px);
  /* efek glass, bisa 4-16px sesuai selera */
  -webkit-backdrop-filter: blur(8px);
  /* Optional: border/gradient di backdrop agar makin glassy */
}
