h1 {
  font-size: 60px;
}

.img-wrapper {
  width: 100%;
  aspect-ratio: 9 / 14;
  object-fit: cover;
  /* menjaga proporsi gambar */
  border-top-left-radius: 0.25rem;
  /* opsional, biar tetap rapi */
  border-top-right-radius: 0.25rem;
}

.img-consul-wrapper {
  width: 100%;
  aspect-ratio: 9 / 14;
  object-fit: cover;
  /* menjaga proporsi gambar */
  border-top-left-radius: 0.25rem;
  /* opsional, biar tetap rapi */
  border-top-right-radius: 0.25rem;
}

/* Skeleton shimmer */
.img-skeleton {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      #eee 25%,
      #f5f5f5 37%,
      #eee 63%);
  background-size: 400% 100%;
  animation: shimmer 1.4s ease infinite;
}

@keyframes shimmer {
  0% {
    background-position: 100% 0
  }

  100% {
    background-position: 0 0
  }
}

@media (max-width: 768px) {
  h1.text-gray-900 {
    font-size: 1.8rem !important;
    line-height: 1.3 !important;
  }
}

@media (max-width: 768px) {
  h1.text-main2 {
    font-size: 1.8rem !important;
    line-height: 1.3 !important;
  }
}

@media (max-width: 768px) {
  h2.text-main2 {
    font-size: 1.2rem !important;
    line-height: 1 !important;
  }
}

.hero-promo {
  background-image: url('/assets/img/bg-promo2.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  height: 100%;
  /* Example height */
  width: 100%;
}

.hero-feature {
  background-image: url('/assets/img/bg_login.png');
  background-position: cover;
  background-size: cover;
  object-fit: cover;
  height: 80%;
  /* Example height */
  width: 80%;
}

.img-thumbnail {
  width: 80%;
  height: 400px;
  /* tinggi tetap */
  object-fit: cover;
  /* crop */
  object-position: center;
  background-size: cover;
  /* fokus tengah */
}

@media (max-width: 768px) {
  .img-thumbnail {
    height: 200px;
  }
}

.img-potrait {
  width: 140px;
  height: 200px;
  /* tinggi tetap */
  object-fit: cover;
  border-radius: 8px;
  /* crop */
  object-position: center;
  background-size: cover;
  /* fokus tengah */
}

.img-potrait-list-video {
  width: 100px;
  height: 160px;
  /* tinggi tetap */
  object-fit: cover;
  border-radius: 8px;
  /* crop */
  object-position: center;
  background-size: cover;
  /* fokus tengah */
}

.img-banner {
  width: 100%;
  height: 50vh;
  object-fit: contain;
  /* biar seluruh gambar kelihatan */
  object-position: center;
  display: block;
}



.img-logo {
  width: 100%;
  /* atau misalnya 150px */
  height: auto;
  /* biar aspect ratio tetap terjaga */
  max-width: 130px;
  /* kasih batas maksimum */
}

.logo-img {
  height: 40px;
  /* atur sesuai kebutuhan, misal 24–40px */
  width: auto;
}

@media (max-width: 768px) {
  .logo-img {
    height: 40px;
  }
}



.img-profile {
  object-fit: cover;
}

.img-empty {
  width: 100%;
  /* atau misalnya 150px */
  height: auto;
  /* biar aspect ratio tetap terjaga */
  max-width: 200px;
  /* kasih batas maksimum */
}

.img-small {
  width: 35px;
  /* atau misalnya 150px */
  height: 50px;
  /* biar aspect ratio tetap terjaga */
  max-width: 50px;
  /* kasih ba
  tas maksimum */
}

.video-small {
  width: auto;
  /* atau misalnya 150px */
  height: 40px;
  /* biar aspect ratio tetap terjaga */
  max-width: 100px;
  /* kasih ba
  tas maksimum */
}

.img-qr {
  /* Gunakan width 100% agar gambar mengikuti lebar container-nya */
  width: 100%;

  /* Berikan batas maksimum agar tidak pecah/terlalu besar di desktop */
  max-width: 500px;

  /* height auto menjaga aspect ratio tetap proporsional */
  height: auto;

  /* Opsional: Memastikan gambar berada di tengah jika container-nya lebar */
  display: block;
  margin: 0 auto;
}

.img-library-ebook {
  width: 120px;
  /* atau misalnya 150px */
  height: 175px;
  /* biar aspect ratio tetap terjaga */
  max-width: 120px;
  object-position: center;
  /* pastikan bagian tengah gambar ditampilkan */
  /* kasih ba
  tas maksimum */
}

.img-library-video {
  width: 120px;
  /* atau misalnya 150px */
  height: 175px;
  object-position: center;
  max-width: 120px;
  /* pastikan bagian tengah gambar ditampilkan */
  /* kasih ba
  tas maksimum */
}

.div-library-ebook-das,
.div-library-video-das {
  width: 80px;
  height: 130px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
}

.img-library-ebook-das,
.img-library-video-das {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dropdown-menu {
  width: max-content;
  overflow: visible !important;
  white-space: nowrap;
  outline: none !important;
  /* Biar item gak turun baris */
}

/* Menghilangkan efek biru dan kotak saat diklik */
.dropdown-item:active,
.dropdown-item:focus,
.dropdown-item:hover {
  background-color: #f4f4f4 !important;
  /* Hapus background biru */
  color: #133020 !important;
  /* Warna teks saat diklik/hover */
  outline: none !important;
  /* Hapus garis kotak */
  box-shadow: none !important;
  /* Hapus shadow biru Bootstrap */
}

/* Memastikan teks berada di tengah jika diinginkan */
.dropdown-item {
  text-align: center;
  color: #0d0f0b;
  /* Warna teks default */
}


.img-topbar-user {
  border-radius: 50%;
  width: 80px;
  /* atau misalnya 150px */
  height: 80px;
  /* biar aspect ratio tetap terjaga */
}

.img-smallauto {
  width: 20px;
  /* atau misalnya 150px */
  height: auto;
  /* biar aspect ratio tetap terjaga */
  max-width: 50px;
  /* kasih batas maksimum */
}

.img-detaile-profile {
  width: 80px;
  /* atau misalnya 150px */
  height: 80px;
  /* biar aspect ratio tetap terjaga */
}

.img-detail-ebook {
  width: 150px;
  /* atau misalnya 150px */
  height: 250px;
  /* biar aspect ratio tetap terjaga */
  max-width: 500px;
  /* kasih batas maksimum */
}

.img-blog {
  width: 100%;
  height: 100px;
}

.img-cart {
  width: 150px;
  height: auto;
  object-fit: cover;
}

.promo-bar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1050;
  transition: top 0.3s ease-in-out;
  border-bottom: 1px solid #eee;
}

/* #topbar {
  position: fixed;
  top: 25px;
  width: 100%;
  z-index: 1040;
  transition: all 0.3s ease-in-out;
} */

.marquee-wrapper {
  position: relative;
}

.marquee {
  white-space: nowrap;
  display: inline-block;
  animation: marquee 30s linear infinite;
}

/* ✅ Pause saat hover */
.marquee:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  from {
    transform: translateX(100%);
  }

  to {
    transform: translateX(-100%);
  }
}

/* .promo-bar.hide {
  top: -25px;
} */

/* #topbar.move-up {
  top: 0;
} */


.text-normal-very-smaller {
  font-size: 0.4rem;
}

.text-normal-smaller {
  font-size: 0.6rem;
}

.text-normal-small {
  font-size: 0.8rem;
}

.text-normal {
  font-size: 0.9rem;
}

.text-big {
  font-size: clamp(14px, 2vw, 40vw);
  font-weight: 900;
}


.bg-mainsoft {
  background-color: #f5faf0;
}

.bg-mainsoft2 {
  background-color: #fbf7f0;
}


.bg-black {
  background-color: #000;
}


.text-main {
  color: #f0be49;
}

.text-main2 {
  color: #133020;
}

.text-main3 {
  color: #dd5c36;
}

.border-littlemenu {
  border: 1px solid #133020;
  /* Replace with your desired color */
}


/* transparan + teks merah */
.custom-btn {
  background-color: transparent !important;
  color: #0d0f0b !important;
  border: 1px solid transparent;
  /* Tambahkan ini agar saat di-click mouse tidak muncul garis */
  outline: none !important;
}

/* Hilangkan kotak saat di-click (focus) */
.custom-btn:focus,
.custom-btn:active,
.custom-btn:focus-visible {
  outline: none !important;
  box-shadow: none !important;
  background-color: transparent !important;
}

/* saat aktif: teks kuning (hijau gelap sesuai kode Anda) */
.custom-btn.active,
.custom-btn.active:focus,
.custom-btn.active:hover {
  color: #133020 !important;
  background-color: transparent !important;
  box-shadow: none !important;
  outline: none !important;
}

/* saat hover */
.custom-btn:hover {
  color: #133020 !important;
  outline: none !important;
}

/* Default (desktop) */
.btn-main-res {
  font-size: 1rem;
  display: inline-block;
  white-space: normal;
  /* biar teks bisa turun baris */
  max-width: 100%;
  border: none;
  /* hilangkan border */
}

/* Mobile tweak */
@media (max-width: 576px) {
  .btn-main-res {
    font-size: 0.85rem;
    /* kecilin teks */
    padding: 0.5rem 1rem;
    /* kecilin padding */
    line-height: 1.3;
    display: inline-block;
    max-width: 90%;
    /* jangan terlalu panjang */
    word-wrap: break-word;
    border: none;
    /* hilangkan border */
    /* biar teks pecah baris */
  }
}

.btn-outline-main {
  color: #133020;
  /* Custom text color */
  border: 1px solid #133020;
  /* Custom border color */
}

.btn-outline-main3 {
  /* Custom border color */
  border: 1px solid #dd5c36;
  color: #dd5c36;
}

.btn-main {
  background-color: #f0be49;
  /* Your desired custom color */
  border-color: #f0be49;
  /* Match border color for consistency */
  color: white;
  /* Adjust text color for contrast */
}

.btn-main2 {
  background-color: #133020;
  /* Your desired custom color */
  border-color: #133020;
  /* Match border color for consistency */
  color: white;
  /* Adjust text color for contrast */
}

.line-through {
  text-decoration: line-through !important;
}

.btn-main3 {
  background-color: #dd5c36;
  /* Your desired custom color */
  border-color: #dd5c36;
  /* Match border color for consistency */
  color: white;
  /* Adjust text color for contrast */
}

.bg-main {
  background-color: #f0be49;
}

.bg-main2 {
  background-color: #133020;
}

.bg-main3 {
  background-color: #dd5c36;
}

#sticky-footer {
  position: sticky;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1050;
}

.list-inline {
  display: flex;
  flex-wrap: nowrap;
  /* Biar item tidak turun ke bawah */
}

.list-inline-item {
  margin-right: 1rem;
}

.card-title-small {
  font-size: 0.5rem;
  font-weight: 200;
}

.carousel-indicators li {
  border-radius: 50%;
  width: 10px;
  height: 10px;
  background-color: #dd5c36;
}

.carousel {
  position: relative;
}

/* base style kontrol (override margin utility supaya konsisten) */
.carousel-control-prev,
.carousel-control-next {
  width: 40px;
  height: 40px;
  top: 50%;
  transform: translateY(-50%);
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .18s ease, visibility .12s;
  z-index: 10;
  margin: 0 !important;
  /* override ml-3 mr-3 yang menyebabkan lebar berubah */
}

/* letakkan sedikit di dalam carousel supaya tidak keluar kolom */
.carousel-control-prev {
  left: 8px;
}

.carousel-control-next {
  right: 8px;
}

/* class untuk "sembunyikan" secara visual tanpa menghapus element */
.carousel-control-hidden {
  opacity: 0;
  /* tidak terlihat */
  pointer-events: none;
  /* tidak bisa diklik */
  visibility: hidden;
  /* hindari fokus keyboard */
}

/* alternatif: terlihat tapi disabled (pilih salah satu) */
.carousel-control-disabled {
  opacity: 0.28;
  pointer-events: none;
  cursor: default;
}

.carousel-card {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  display: block;
  background: #fff;
  /* kalau mau transparan bisa dihapus */
}

.position-relative {
  position: relative;
}

.exclusive-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: linear-gradient(135deg, #C5A059 0%, #2e2e2e 100%);
  color: white;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
  z-index: 2;
}

.ebook-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  /* <-- tinggi fix biar seragam */
  padding: 10px;
  color: #fff;
  background: rgba(0, 0, 0, 0.65);
  /* transparan abstrak */
  backdrop-filter: blur(5px);
  /* efek kaca */
  -webkit-backdrop-filter: blur(5px);
  overflow: hidden;
  /* cegah tulisan kepanjangan */
}

.ebook-info .author {
  font-family: "Alan Sans", sans-serif;
  font-size: 8px;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ebook-info .title {
  font-size: 11px;
  font-family: "Alan Sans", sans-serif;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  /* ✅ batasi 2 baris */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 6px;
  /* jarak bawah biar rapi */
  line-height: 1.2em;
  max-height: 2.4em;
  /* 2 baris × 1.2em */
}


.product-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 85px;
  /* <-- tinggi fix biar seragam */
  padding: 10px;
  color: #fff;
  background: rgba(0, 0, 0, 0.65);
  /* transparan abstrak */
  backdrop-filter: blur(5px);
  /* efek kaca */
  -webkit-backdrop-filter: blur(5px);
  overflow: hidden;
  /* cegah tulisan kepanjangan */
}

.product-info .author {
  font-family: "Alan Sans", sans-serif;
  font-size: 8px;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-info .title {
  font-size: 11px;
  font-family: "Alan Sans", sans-serif;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  /* ✅ batasi 2 baris */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 6px;
  /* jarak bawah biar rapi */
  line-height: 1.2em;
  max-height: 2.4em;
  /* 2 baris × 1.2em */
}


.card-img-ebook {
  width: 100%;
  height: auto;
  aspect-ratio: 9/14;
  object-fit: fill;
  /* menjaga proporsi gambar */
  border-top-left-radius: 0.25rem;
  /* opsional, biar tetap rapi */
  border-top-right-radius: 0.25rem;
  opacity: 0;
  transition: opacity .4s ease;
  z-index: 1;
}

.card-img-ebook.loaded {
  opacity: 1;
}


.card-img-product {
  width: 100%;
  height: auto;
  aspect-ratio: 4/4;
  object-fit: fill;
  /* menjaga proporsi gambar */
  border-top-left-radius: 0.25rem;
  /* opsional, biar tetap rapi */
  border-top-right-radius: 0.25rem;
  opacity: 1;
  transition: opacity .4s ease;
  z-index: 1;
}

.carousel-card .card-img-top {
  height: 65%;
  object-fit: fill;
}

.carousel-card-ebook {
  width: 170px;
  position: relative;
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  border-radius: 7px;
  /* opsional biar agak bulat */
  overflow: hidden;
  /* biar konten tidak keluar dari border */
  border: #0d0f0b;
}


.carousel-card-video {
  width: 170px;
  position: relative;
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  border-radius: 7px;
  /* opsional biar agak bulat */
  overflow: hidden;
  /* biar konten tidak keluar dari border */
  border: #0d0f0b;
}


.carousel-card-consultation {
  width: 200px;
  position: relative;
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  border-radius: 7px;
  /* opsional biar agak bulat */
  overflow: hidden;
  /* biar konten tidak keluar dari border */
  border: #0d0f0b;
}

.grouped-list {
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity .4s ease;
  z-index: 1;
}


.grouped-list.loaded {
  opacity: 1;
  animation: fadeInUp 0.35s ease both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.grouped-skeleton {
  height: 420px;
  border-radius: 20px;
  background: linear-gradient(90deg,
      #2a2a2a 25%,
      #3a3a3a 37%,
      #2a2a2a 63%);
  background-size: 400% 100%;
  animation: shimmer 1.4s ease infinite;
}

@keyframes shimmer {
  0% {
    background-position: 100% 0;
  }

  100% {
    background-position: 0 0;
  }
}

.img-video {
  width: 100%;
  height: auto;
  aspect-ratio: 9/14;
  object-fit: fill;
  /* menjaga proporsi gambar */
  border-top-left-radius: 0.25rem;
  /* opsional, biar tetap rapi */
  border-top-right-radius: 0.25rem;
  opacity: 0;
  transition: opacity .4s ease;
  z-index: 1;
}


.img-video.loaded {
  opacity: 1;
}


.img-consultation {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 14;
  object-fit: cover;
  /* menjaga proporsi gambar */
  border-top-left-radius: 0.25rem;
  /* opsional, biar tetap rapi */
  border-top-right-radius: 0.25rem;
  opacity: 0;
  transition: opacity .4s ease;
  z-index: 1;
}


.img-consultation.loaded {
  opacity: 1;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes shine {
  to {
    background-position-x: -200%;
  }
}

.invisible-init {
  opacity: 0;
  visibility: hidden;
}

.carousel-card-video .content-video-item {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  /* selalu di bawah */
  padding-left: 15px;
  padding-right: 5px;
  padding-bottom: 5px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  /* transparan abstrak */
  backdrop-filter: blur(5px);
  /* efek kaca */
  -webkit-backdrop-filter: blur(5px);
}


.carousel-card-consultation .content-consultation-item {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  /* selalu di bawah */
  padding-left: 15px;
  padding-right: 5px;
  padding-bottom: 5px;
  background: rgba(255, 255, 255, 0.5);
  color: #fff;
  /* transparan abstrak */
  backdrop-filter: blur(5px);
  /* efek kaca */
  -webkit-backdrop-filter: blur(5px);
}

.content-video-episode {
  position: absolute;
  right: 0;
  top: 20px;
}


.carousel-card-article {
  width: 300px;
  height: 240px;
  display: flex;
  flex-direction: column;
}

.carousel-card-article .card-img-top {
  height: 65%;
  object-fit: cover;
}

.two-line-ellipsis {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.carousel-item-right {
  display: flex;
  flex-wrap: wrap;
  /* agar responsive */
  justify-content: right;
}

.carousel-item .row {
  display: flex;
  flex-wrap: wrap;
  /* agar responsive */
  justify-content: center;
}

.carousel-item .col-6,
.carousel-item .col-sm-4,
.carousel-item .col-md-3,
.carousel-item .col-lg-2 {
  display: flex;
  flex-direction: column;
}

.google-btn-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
}

.google-btn-wrapper iframe {
  /* perbesar sedikit agar sejajar */
  transform-origin: center;
  /* samakan tinggi dengan tombol lain */
}


.page-link {
  border: none !important;
  /* hilangkan border */
  background: transparent !important;
  /* hilangkan bg */
  text-decoration: none !important;
  /* hilangkan underline */
  color: #133020 !important;
  /* ikut warna text parent */
}

.page-link:hover,
.page-link:focus {
  color: #dd5c36 !important;
  /* biar warna tetap sama pas hover */
  background: transparent !important;
  /* hover juga transparan */
  text-decoration: none !important;
  /* hover tetap no underline */
  box-shadow: none !important;
  /* hilangkan efek fokus Bootstrap */
}

.page-item.active .page-link {
  color: #dd5c36 !important;
  /* abu-abu */
  background: transparent !important;
  /* hilangkan bg biru */
  border: none !important;
  /* hilangkan border */
  font-weight: bold;
  /* opsional biar beda */
}

.page-item.disabled .page-link {
  color: #aeaeae !important;
  /* abu-abu */
  background: transparent !important;
  border: none !important;
  pointer-events: none;
  /* bener2 ga bisa diklik */
}

input:disabled {
  background-color: transparent !important;
  /* biar gak abu-abu */
  color: #999 !important;
  /* kasih abu-abu tipis */
  cursor: not-allowed;
  opacity: 0.7;
  /* agak pudar */
}

input:enabled {
  background-color: #fff !important;
  /* sesuai tema */
  color: var(--main2, #333) !important;
  /* pakai text-main2 */
  opacity: 1;
}

#cropModal .modal-dialog {
  max-width: 400px;
  /* atau sesuai kebutuhan */
  margin: 1.75rem auto;
}

#cropModal img {
  width: 100%;
  height: auto;
  display: block;
}

.vertical-divider {
  width: 0;
  border-right: 1px solid #cecfd3;
  height: calc(2.9rem - 2rem);
  margin: auto 1rem;
}

.nunito-sans-lightextra {
  font-family: "Nunito Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 200;
  font-style: normal;
  font-variation-settings:
    "wdth" 100,
    "YTLC" 500;
}

.nunito-sans-light {
  font-family: "Nunito Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  font-variation-settings:
    "wdth" 100,
    "YTLC" 500;
}

.nunito-sans-regular {
  font-family: "Nunito Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings:
    "wdth" 100,
    "YTLC" 500;
}

.nunito-sans-medium {
  font-family: "Nunito Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-variation-settings:
    "wdth" 100,
    "YTLC" 500;
}

.nunito-sans-bold {
  font-family: "Nunito Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-variation-settings:
    "wdth" 100,
    "YTLC" 500;
}

.chewy-regular {
  font-family: "Chewy", system-ui;
  font-weight: 400;
  font-style: normal;
}

.limelight-regular {
  font-family: "Limelight", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.alan-sans-light {
  font-family: "Alan Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
}

.alan-sans-regular {
  font-family: "Alan Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.alan-sans-medium {
  font-family: "Alan Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}


.alan-sans-bold {
  font-family: "Alan Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}


/* -----------------------------------
   HERO SECTION (A)
----------------------------------- */
.hero-section {
  background: linear-gradient(to right, #f0be49, #f0be49);
  color: #000;
  padding: 100px 0;
}


.hero-subtitle {
  font-size: 18px;
  font-family: 'alan-sans-light';
}

/* -----------------------------------
   PRICING SECTION
----------------------------------- */
.pricing-section {
  background: #fff;
}

.pricing-card-rec {
  border: 1px solid #eee;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: 0.3s;
  background: #133020;
}

.pricing-card-rec:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(-20px);
}


.pricing-card {
  border: 1px solid #eee;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: 0.3s;
  background: #fff;
}

.pricing-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}


.plan-price span {
  font-size: 14px;
  color: #555;
}

.plan-features {
  list-style: none;
  padding: 0;
}

.plan-features li {
  margin: 8px 0;
}

.plan-features i {
  margin-right: 8px;
}

/* FEATURED PLAN */
.featured {
  border: 2px solid #f0be49;
  position: relative;
}

.badge-best {
  background-color: #f0be49;
  /* warna badge */
  color: #000000;
  font-size: 12px;
  font-family: 'Alan Sans', sans-serif;
  font-weight: 500;
  /* bold */
  padding: 3px 8px;
  position: absolute;
  top: -12px;
  left: 50%;
  /* tengah horizontal */
  transform: translateX(-50%);
  /* koreksi posisi tengah */
  border-radius: 5px;
}

.badge-detail {
  background-color: #f0be49;
  color: #000000;
  font-size: 12px;
  font-family: 'Alan Sans', sans-serif;
  font-weight: 500;
  padding: 3px 8px;

  position: absolute;
  top: -12px;
  left: 50%;
  /* tengah secara horizontal */
  transform: translateX(-50%);

  border-radius: 5px;

  /* 🧠 Tambahan penting biar teks selalu satu baris dan center */
  white-space: nowrap;
  /* cegah teks pecah baris */
  text-align: center;
  /* pastikan teks rata tengah */
  display: inline-block;
  /* biar width-nya mengikuti isi */
}

/* -----------------------------------
   BUTTON STYLE B
----------------------------------- */
.btn-custom {
  background: #f0be49;
  border: none;
  color: #000000;
  padding: 10px 30px;
  border-radius: 25px;
  font-family: 'Alan Sans', sans-serif;
  font-weight: 400;
  /* bold */
}

.btn-custom:hover {
  background: #2e2e2e;
  color: #f0be49;
}

.btn-custom-outline {
  border: 2px solid #dd5c36;
  background: none;
  color: #dd5c36;
  padding: 10px 30px;
  border-radius: 25px;
  font-family: 'Alan Sans', sans-serif;
  font-weight: 400;
}

.btn-custom-outline:hover {
  background: #dd5c36;
  color: #fcfcfc;
}



/* -----------------------------------
   RESPONSIVE (B)
----------------------------------- */
@media (max-width: 768px) {
  .hero-title {
    font-size: 32px;
  }

  .plan-price {
    font-size: 28px;
  }
}

/* -----------------------------------
   SIMPLE SCROLL ANIMATION
----------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: none;
}

/* PLAN COMPARISON TABLE */
.plan-comparison-table .table {
  border: 1px solid #eee;
  border-radius: 10px;
  text-align: center;
  transition: 0.3s;
  background: #fff;
  border: 2px solid #dd5c36;
}

.plan-comparison-table th,
.plan-comparison-table td {
  vertical-align: middle;
  font-family: 'Alan Sans', sans-serif;
  font-weight: 300;
  color: #000;
  /* light */
  font-size: 15px;
}

.plan-comparison-table th {
  font-family: 'Alan Sans', sans-serif;
  color: #000;
  font-weight: 500;
  /* light */
  background-color: #133020;
}

.text-gold {
  color: #f0be49;
}

.text-danger {
  color: #dc3545;
}

/* Scroll Animation Reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: none;
}

/* PLAN COMPARISON CARD STYLE */
.plan-comparison-cards {
  background: #fff;
}

.comparison-card {
  border: 2px solid #f0be49;
  border-radius: 12px;
  text-align: left;
  transition: transform 0.3s, box-shadow 0.3s;
  background: #fff;
}

.comparison-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.plan-name {
  font-family: 'Alan Sans', sans-serif;
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 20px;
}

.comparison-features li {
  font-family: 'Alan Sans', sans-serif;
  font-weight: 400;
  margin: 10px 0;
  font-size: 15px;
}

.comparison-features i {
  margin-right: 10px;
}

.cute-table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  font-family: 'Alan Sans', sans-serif;
  border-radius: 15px;
  overflow: hidden;
}

.cute-table th,
.cute-table td {
  font-weight: 500;
  vertical-align: middle;
}

.cute-table thead th {
  background-color: #fff0d9;
  color: #333;
  font-weight: 700;
}

.cute-table tbody tr {
  background-color: #fffaf0;
  transition: background-color 0.3s;
}

.cute-table tbody tr:nth-child(even) {
  background-color: #fff3e6;
}

.cute-table tbody tr:hover {
  background-color: #ffe9c8;
}

.icon-circle {
  display: inline-block;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  border: 1px solid #f0be49;
}

.icon-circle-dark {
  display: inline-block;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  border: 1px solid #133020;
}

/* Scroll animation */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: none;
}

.font-smaller {
  font-size: 0.5rem;
}

/* Tabel font & ikon */

.comparison-table-card {
  border: 2px solid #f0be49;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.comparison-table-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}


.comparison-table-card table td {
  font-family: 'Alan Sans', sans-serif;
  font-weight: 400;
  vertical-align: middle;
}

.comparison-table-card table th {
  font-family: 'Alan Sans', sans-serif;
  font-weight: 700;
  vertical-align: middle;
}

/* Container tabel agar bisa di-scroll secara horizontal di layar kecil */
.comparison-table-card .card-body {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  /* Scroll halus di iOS */
  padding: 0;
  /* Menghilangkan padding agar tabel menempel ke pinggir jika perlu */
}

/* Memastikan tabel tidak terlalu sempit di layar kecil */
.cute-table {
  min-width: 600px;
  /* Memaksa tabel punya lebar minimal agar konten tidak bertumpuk */
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

/* Penyesuaian untuk Mobile */
@media (max-width: 576px) {
  .text-center.mb-5 h2 {
    font-size: 1.5rem;
  }

  .cute-table th,
  .cute-table td {
    padding: 12px 8px !important;
    font-size: 14px;
  }

  /* Sticky Column (Opsional): Agar kolom "Fitur" tetap terlihat saat di-scroll */
  .cute-table th:first-child,
  .cute-table td:first-child {
    position: sticky;
    left: 0;
    background-color: #fff;
    z-index: 2;
    border-right: 1px solid #eee;
  }
}

/* Penyesuaian untuk iPad / Tablet */
@media (min-width: 768px) and (max-width: 1024px) {
  .cute-table {
    min-width: 100%;
    /* Di iPad biasanya sudah cukup lebar untuk tampil full */
  }
}

/* Styling Header Tabel agar lebih manis */
.cute-table thead th {
  background-color: #fef9ed;
  /* Warna senada border kuningmu */
  color: #333;
  border-bottom: 2px solid #f0be49 !important;
}

.text-gold {
  color: #f0be49;
}

.text-danger {
  color: #dc3545;
}

.icon-down {
  display: block;
  /* membuat icon muncul di bawah teks */
  margin-top: 4px;
  /* jarak dari teks */
}

.pricing-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}

/* Overlay untuk kartu disabled */
.disabled-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  /* semi-transparent hitam */
  z-index: 2;
  /* di atas konten */
  pointer-events: all;
  /* mencegah klik di bawah overlay */
}

/* Tombol tetap terlihat tapi tidak bisa di-klik */
.disabled-card button {
  position: relative;
  z-index: 3;
  /* pastikan di atas overlay */
  cursor: not-allowed;
  background-color: #c0c0c0;
  /* bisa disesuaikan */
  color: #fff;
  /* text tombol jelas */
  pointer-events: none;
  /* blok hover dan klik */
}

/* Text kartu agar terlihat disabled */
.disabled-card h3,
.disabled-card h4,
.disabled-card ul li {
  color: #eee;
  /* abu-abu terang agar terlihat disabled */
}


.chat-wrapper {
  position: fixed;
  right: -20px;
  /* sebagian tersembunyi */
  bottom: 70px;
  width: 60px;
  height: 80px;
  border: none;
  padding: 0;
  background: none;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  z-index: 1;
  opacity: 1;
}

.chat-btn {
  position: absolute;
  bottom: 30px;
  width: 80px;
  height: 80px;
  border: none;
  padding: 0;
  background: none;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  z-index: 1;
  opacity: 1;
}

.chat-btn img {
  width: 100%;
  height: 100%;
  display: block;
}

.chat-wrapper:hover {
  right: 0px;
  /* geser masuk saat hover */
  opacity: 1;
}

/* Notif counter */
.chat-notif {
  position: absolute;
  top: 5px;
  right: 60px;
  background-color: #FF3B30;
  color: #fff;
  font-size: 0.7rem;
  font-weight: bold;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  z-index: 2;

  /* animasi */
  transform: scale(1);
  transform-origin: top right;
  transition: transform 0.3s ease;
}

/* muncul saat hover tombol */
.chat-wrapper:hover .chat-notif {
  transform: scale(2);
}


/* Aturan untuk layar kecil / HP */
@media screen and (max-width: 768px) {
  .chat-wrapper {
    right: -20px;
    /* agak tersembunyi, mirip efek desktop */
    bottom: 20px;
    width: 60px;
    height: 60px;
  }

  .chat-btn:hover {
    right: 0px;
    /* geser masuk saat hover */
  }
}

.chat-wrapper:hover #chatInfo {
  opacity: 1;
}

/* Chat bubble di kiri tombol, sedikit menutupi kepala bayi */
#chatInfo {
  position: absolute;
  right: 65%;
  /* posisinya di kiri tombol */
  bottom: 85px;
  /* sejajar dengan tombol */
  margin-right: 10px;
  /* jarak dari tombol */
  background-color: #25D366;
  color: white;
  padding: 8px 14px;
  border-radius: 20px;
  font-weight: 500;
  font-size: 0.9rem;
  white-space: nowrap;
  z-index: 1;
  opacity: 0.4;
  font-family: "Alan Sans", sans-serif;
  font-weight: 600;
  /* awalnya agak transparan */
  transition: opacity 0.3s ease-in-out;
  /* efek halus */

  /* Shadow */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Segitiga ala bubble chat mengarah ke tombol */
#chatInfo::after {
  content: '';
  position: absolute;
  bottom: 5px;
  /* sejajar dengan tombol */
  right: -4px;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid #25D366;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;

  /* Shadow untuk segitiga sedikit opsional, bisa ditambahkan */
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.list-group-item.active {
  background-color: #133020 !important;
  /* pakai !important biar pasti override */
  color: #fff;
}

.list-group-item.active a,
.list-group-item.active .text-main2,
.list-group-item.active .alan-sans-light {
  color: var(--main2) !important;
}

.list-group-item.active i {
  color: var(--main2) !important;
  transform: scale(1.1);
  transition: transform 0.2s ease;
}


.blurred-section {
  filter: blur(6px);
  pointer-events: none;
  user-select: none;
}

.access-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(2px);
  border-radius: 12px;
  text-align: center;
}

.payment-methods input,
.sub-bank-radios input {
  display: none;
  /* sembunyikan radio asli */
}

.custom-radio {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  border: 2px solid #ccc;
  border-radius: 12px;
  cursor: pointer;
  margin-bottom: 10px;
  transition: all 0.2s;
}

.custom-radio i {
  margin-right: 10px;
}

.custom-radio:hover {
  border-color: #133020;
  background-color: #f8fdf7;
}

/* Checked state */
input[type="radio"]:checked+.custom-radio {
  border-color: #133020;
  background-color: #e6f4ea;
  box-shadow: 0 0 5px rgba(25, 135, 84, 0.5);
}

/* Hanya jalankan di layar HP (max-width bisa disesuaikan, misal 768px atau 576px) */
@media (max-width: 768px) {
  .vertical-mobile .carousel-inner {
    height: 100%;
    /* Pastikan inner punya tinggi */
  }

  .vertical-mobile .carousel-item {
    transition: transform 0.6s ease-in-out;
  }

  /* Override logika animasi Bootstrap dari samping ke atas-bawah */
  .vertical-mobile .carousel-item-next,
  .vertical-mobile .carousel-item-prev,
  .vertical-mobile .carousel-item.active {
    display: block;
  }

  .vertical-mobile .carousel-item-next,
  .vertical-mobile .carousel-item-prev {
    position: absolute;
    top: 0;
    left: 0;
    /* Reset posisi horizontal */
    width: 100%;
  }

  /* Logika Vertical Slide */
  .vertical-mobile .carousel-item-next:not(.carousel-item-left),
  .vertical-mobile .active.carousel-item-right {
    transform: translateY(100%);
    -webkit-transform: translateY(100%);
  }

  .vertical-mobile .carousel-item-prev:not(.carousel-item-right),
  .vertical-mobile .active.carousel-item-left {
    transform: translateY(-100%);
    -webkit-transform: translateY(-100%);
  }

  .vertical-mobile .carousel-item-next.carousel-item-left,
  .vertical-mobile .carousel-item-prev.carousel-item-right,
  .vertical-mobile .active {
    transform: translateY(0);
    -webkit-transform: translateY(0);
  }

  /* --- Penyesuaian Tombol Navigasi (Panah) --- */

  /* Pindahkan tombol ke atas dan bawah container, bukan kiri kanan */
  .vertical-mobile .carousel-control-prev {
    bottom: auto;
    top: -30px;
    /* Sesuaikan jarak */
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
  }

  .vertical-mobile .carousel-control-next {
    top: auto;
    bottom: -30px;
    /* Sesuaikan jarak */
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
  }

  /* Putar icon panah agar menunjuk ke atas/bawah */
  .vertical-mobile .carousel-control-prev .fa-chevron-left {
    transform: rotate(90deg);
    /* Panah jadi ke atas */
  }

  .vertical-mobile .carousel-control-next .fa-chevron-right {
    transform: rotate(90deg);
    /* Panah jadi ke bawah */
  }
}

/* 1. Setting Wrapper agar Proporsional & Center */
.team-clean .img-wrapper {
  position: relative;
  width: 70%;
  margin: 0 auto 20px auto;
  padding-top: 70%;
  overflow: hidden;
  border-radius: 20px;
  background-color: #e9ecef;
}

/* 2. Setting Gambar agar mengisi Wrapper tanpa gepeng */
.team-clean img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s ease;
}

/* Efek Zoom halus saat hover */
.team-clean .team-item:hover img {
  transform: scale(1.05);
  /* Zoom sedikit lebih besar */
}

.team-clean h5 {
  font-weight: 700;
  margin-bottom: 5px;
}

.team-clean .role {
  display: inline-block;
  background-color: #f0f2f5;
  padding: 5px 15px;
  border-radius: 50px;
  font-size: 0.8rem;
  color: #555;
  margin-bottom: 15px;
}

/* Menghilangkan efek biru/glow saat input diklik (focus) */
.form-control:focus {
  border-color: transparent;
  box-shadow: none;
  outline: none;
}

/* Menghilangkan perubahan saat kursor di atas input (hover) */
.form-control:hover {
  box-shadow: none;
  border-color: transparent;
}

/* Khusus untuk class form-control-user agar tetap bersih */
.form-control-user:focus,
.form-control-user:hover {
  box-shadow: none !important;
  border: none !important;
}


/* Animasi Fade In & Slide Up */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Class untuk item yang baru di-load */
.ebook-animate {
  animation: fadeInUp 0.5s ease backwards;
}

/* Opsional: Membuat skeleton loading lebih smooth */
.img-skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

.htmx-added {
  opacity: 0;
}

.htmx-settling .htmx-added {
  opacity: 1;
  transition: opacity 0.5s ease-in;
}

/* Animasi Shimmer (Efek Cahaya Berjalan) */
.shimmer-wrapper {
  display: flex;
  justify-content: center;
  gap: 100px;
  width: 100%;
  padding: 20px;
}

.skeleton-card {
  width: 170px;
  height: 220px;
  background: #f6f7f8;
  background-image: linear-gradient(to right, #f6f7f8 0%, #edeef1 20%, #f6f7f8 40%, #f6f7f8 100%);
  background-repeat: no-repeat;
  background-size: 800px 100%;
  display: inline-block;
  position: relative;
  animation: shimmer 1.5s infinite linear;
  border-radius: 12px;
}

/* Sembunyikan di HP jika terlalu sempit (Opsional) */
@media (max-width: 576px) {
  .skeleton-card:nth-child(3) {
    display: none;
  }
}

.btn-group {
  transition: all 0.3s ease;
}

/* Container Mockup Smartphone General */
.mobile-frame-container {
  position: relative;
  width: 280px;
  height: 570px;
  background: #000;
  /* Hitam pekat lebih netral */
  border-radius: 36px;
  /* Sudut lebih modern */
  padding: 10px;
  border: 2px solid #444;
  /* Frame pinggir lebih tipis */
  box-shadow: 0px 30px 60px rgba(0, 0, 0, 0.3);
  margin: 0 auto;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.mobile-frame-container:hover {
  transform: translateY(-12px);
  box-shadow: 0px 40px 80px rgba(0, 0, 0, 0.4);
}

.mobile-dash-frame-container:hover {
  transform: translateY(-12px);
  box-shadow: 0px 20px 40px rgba(0, 0, 0, 0.4);
}

.mobile-dash-frame-container {
  position: relative;
  width: 170px;
  height: 350px;
  background: #000;
  /* Hitam pekat lebih netral */
  border-radius: 36px;
  /* Sudut lebih modern */
  padding: 5px;
  border: 2px solid #444;
  /* Frame pinggir lebih tipis */
  box-shadow: 0px 20px 40px rgba(0, 0, 0, 0.3);
  margin: 0 auto;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Punch Hole Camera (Lebih General daripada Notch) */
.mobile-frame-camera {
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  background: #1a1a1a;
  border-radius: 50%;
  border: 1px solid #333;
  z-index: 10;
}

/* Efek Kaca Refleksi */
.mobile-frame-glass {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 40%);
  pointer-events: none;
  z-index: 5;
}

/* Wadah Layar */
.mobile-frame-screen {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 28px;
  background: #f8f9fa;
  position: relative;
  z-index: 1;
}

.mobile-frame-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Tombol Samping Simetris */
.mobile-frame-btns {
  position: absolute;
  right: -3px;
  top: 100px;
  width: 3px;
  height: 80px;
  background: #444;
  border-radius: 0 2px 2px 0;
}

/* Responsive Adjustment */
@media (max-width: 576px) {
  .mobile-frame-container {
    width: 220px;
    /* Ukuran lebih kecil untuk layar HP */
    height: 450px;
    border-radius: 30px;
    padding: 8px;
  }

  .mobile--dash-frame-container {
    width: 100px;
    height: 300px;
    border-radius: 30px;
    padding: 8px;
  }

  .mobile-frame-screen {
    border-radius: 22px;
  }

  .mobile-frame-camera {
    top: 15px;
    width: 8px;
    height: 8px;
  }

  .mobile-frame-btns {
    height: 60px;
    top: 80px;
  }
}

/* end mobile style */
.transition-hover {
  transition: transform 0.3s ease;
}

.transition-hover:hover {
  transform: translateY(-5px);
}

.btn-outline-main2 {
  border: 1px solid #FFC107;
  color: #FFC107;
}

.btn-outline-main2:hover {
  background-color: #FFC107;
  color: white;
}


.otp-field {
  width: 45px;
  height: 55px;
  border-radius: 12px;
  border: 2px solid #e0e0e0;
  background-color: #f8f9fa;
  text-align: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: #6a884c;
  /* Warna hijau khas Little Menu */
  transition: all 0.2s;
  margin: 0 2px;
}

.otp-field:focus {
  border-color: #6a884c;
  background-color: #fff;
  outline: none;
  box-shadow: 0 0 8px rgba(106, 136, 76, 0.2);
  transform: translateY(-2px);
}

.otp-field.is-invalid {
  border-color: #dc3545;
}

@media (max-width: 400px) {
  .otp-field {
    width: 38px;
    height: 50px;
    font-size: 1.0rem;
    font-weight: bold;
  }
}

/* Gaya Nav Link Utama */
.nav-link.alan-sans-medium {
  font-weight: 500;
  padding: 10px 20px !important;
  transition: color 0.3s;
}

/* Dropdown Container */
.clean-dropdown {
  min-width: 200px;
  border-radius: 12px !important;
  padding: 10px;
  margin-top: 0;
  background: #ffffff;
  border: 1px solid #f0f0f0 !important;
}

/* Item Link di Dalamnya */
.recipe-item {
  display: flex;
  align-items: center;
  padding: 12px 15px;
  text-decoration: none;
  color: #555;
  border-radius: 8px;
  transition: all 0.2s ease-in-out;
}

.recipe-item:hover {
  background-color: #f9f9f9;
  color: #ffb74d;
  /* Warna aksen Mama */
}

/* Label Angka yang Menonjol */
.age-label {
  font-weight: 700;
  font-size: 0.9rem;
  margin-right: 8px;
  color: #333;
  min-width: 40px;
}

.age-text {
  font-size: 0.85rem;
  color: #888;
}

/* Link Lihat Semua */
.all-recipes {
  font-weight: 600;
  font-size: 0.85rem;
  justify-content: space-between;
}


/* 1. Navigasi Utama */
.nav-link.alan-sans-medium {
  color: #444;
  font-weight: 500;
  padding: 10px 20px !important;
  text-decoration: none !important;
  /* Hapus garis bawah */
  transition: color 0.3s ease;
}

.nav-link.alan-sans-medium:hover {
  /* Warna aksen Mama */
  text-decoration: none !important;
}

/* 2. Dropdown Container */
.clean-dropdown {
  min-width: 220px;
  border-radius: 12px !important;
  padding: 15px;
  background: #ffffff;
  border: 1px solid #f0f0f0 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  /* Shadow halus */
}

/* 3. Link Item di Dalam Dropdown */
.recipe-item {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  text-decoration: none !important;
  /* Hapus garis bawah */
  color: #555;
  transition: color 0.3s ease;
}

/* Hover: Hanya Main Warna Teks */
.recipe-item:hover {
  color: #ffb74d !important;
  text-decoration: none !important;
  background-color: transparent;
  /* Pastikan tidak ada background */
}

/* Gaya Teks di Dalam Item */
.age-label {
  font-weight: 700;
  font-size: 0.95rem;
  margin-right: 10px;
  color: inherit;
  /* Ikut warna parent (recipe-item) saat hover */
}

.age-text {
  font-size: 0.85rem;
  color: #888;
}


/* --- GAYA KHUSUS DESKTOP (Hover) --- */
@media (min-width: 992px) {
  .recipe-hover:hover>.clean-dropdown {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .clean-dropdown {
    display: block;
    /* Kita kontrol pakai opacity & visibility */
    position: absolute;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    top: 100%;
    left: 0;
    z-index: 1000;
  }

  /* Menghilangkan panah dropdown di desktop kalau Mama mau lebih clean */
  .dropdown-toggle::after {
    display: none;
  }
}

/* Style umum Item */
.recipe-item {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  color: #555;
  text-decoration: none !important;
}

.recipe-item:hover {
  color: #ffb74d !important;
  text-decoration: none !important;
}

/* Container Utama */
.recipe-card-organic {
  background: transparent;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: none;
}

/* Shape Gambar Unik (Organic Curve) */
.recipe-img-wrapper {
  position: relative;
  width: 100%;
  /* Ubah dari 1/1 menjadi 4/5 agar lebih tinggi ke bawah (Portrait) */
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 45px 15px 45px 15px;
  /* Radius dipertegas */
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
  margin-bottom: 15px;
}

/* 2. Pastikan gambar mengisi penuh tanpa sisa */
.recipe-img-clean {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Hover Effect */
.recipe-card-organic:hover .recipe-img-clean {
  transform: scale(1.1) rotate(2deg);
}

.recipe-card-organic:hover .recipe-img-wrapper {
  box-shadow: 0 15px 30px rgba(255, 183, 77, 0.2);
}

/* Saat HTMX bekerja, buat teks "Pilih" jadi transparan agar tidak tumpuk-tumpuk */
.htmx-request .btn-text {
  visibility: hidden;
}

/* Spinner tetap pakai aturan HTMX indicator */
.htmx-indicator {
  display: none;
}

.htmx-request .htmx-indicator {
  display: block;
}

/* Floating Tag */
.age-floating-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Typography */
.recipe-name-modern {
  font-size: 0.95rem;
  line-height: 1.3;
  letter-spacing: -0.2px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.5rem;
}

/* Detail Info Info */
.info-dot {
  font-size: 0.75rem;
  color: #ffb74d;
}

.info-divider {
  width: 4px;
  height: 4px;
  background: #ddd;
  border-radius: 50%;
  margin: 0 5px;
}

.text-orange {
  color: #ffb74d;
}


/* Styling Dropdown Item */
.recipe-category-item {
  transition: all 0.2s ease;
  border-radius: 8px;
  margin: 4px 8px;
  padding: 10px;
}

.recipe-category-item:hover {
  background-color: #fff9f0;
  /* Warna krem lembut Mama */
  color: #ffb74d;
}

/* Lingkaran Angka Umur */
.category-icon-circle {
  width: 35px;
  height: 35px;
  background: #ffb74d;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
}

.age-label-text {
  font-size: 0.9rem;
  color: #333;
}

.clean-dropdown {
  min-width: 220px;
  border-radius: 15px !important;
  padding: 10px 0;
}

/* Search Glass Style */
.search-glass {
  height: 55px;
  border-radius: 20px !important;
  border: none !important;
  background: #f8f9fa !important;
  padding-left: 25px !important;
  font-size: 1rem;
  transition: all 0.3s;
}

.search-glass:focus {
  background: #fff !important;
  box-shadow: 0 10px 30px rgba(255, 183, 77, 0.1) !important;
}

.btn-search-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: #ffb74d;
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 15px;
}

/* Style Tombol Filter Versi Meal Pill Mama */
.filter-button-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  width: 100%;
}

.filter-button-group input[type="radio"] {
  display: none;
}

.filter-button-group label {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 15px;
  /* Sama dengan meal-pill Mama */
  background-color: #f8f9fa;
  /* Sama dengan meal-pill Mama */
  border: none;
  /* Hilangkan garis tepi */
  border-radius: 15px;
  /* Radius meal-pill Mama */
  color: #888;
  /* Warna teks meal-pill Mama */
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s;
  margin-bottom: 0;
  text-align: center;
}

/* Efek saat di-hover */
.filter-button-group label:hover {
  background-color: #e9ecef;
  color: #666;
}

/* Style saat dipilih (Checked) - Pakai warna tema Mama */
.filter-button-group input[type="radio"]:checked+label {
  background-color: #ffb74d;
  /* Warna orange lembut */
  color: white;
  box-shadow: 0 4px 8px rgba(255, 183, 77, 0.2);
}

.filter-button-group label,
.btn-meal {
  cursor: pointer;
}

.small-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #bbb;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

/* Horizontal Scroll for Mobile */
.scroll-wrapper {
  overflow-x: auto;
  padding-bottom: 5px;
}

.scroll-wrapper::-webkit-scrollbar {
  display: none;
}

/* Search Input Modern */
.filter-search-input {
  border: 2px solid #f8f9fa !important;
  border-radius: 30px !important;
  padding: 12px 25px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  font-size: 1rem;
  transition: all 0.3s;
}

.filter-search-input:focus {
  border-color: #ffb74d !important;
  box-shadow: 0 10px 25px rgba(255, 183, 77, 0.15);
}

.search-icon-inside {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #ffb74d;
  font-size: 1.2rem;
}

/* Chips Style */
.filter-label {
  font-family: 'Alan Sans Bold', sans-serif;
  font-size: 0.85rem;
  color: #999;
  min-width: 50px;
}

.chip,
.chip-meal {
  background: white;
  border: 1.5px solid #eee;
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s;
  color: #666;
}

.chip:hover,
.chip-meal:hover {
  border-color: #ffb74d;
  background: #fff9f0;
}

.chip.active,
.chip-meal.active {
  background: #ffb74d;
  color: white;
  border-color: #ffb74d;
  box-shadow: 0 4px 12px rgba(255, 183, 77, 0.3);
}

/* Agar filter bisa scroll horizontal di HP */
.scroll-hide {
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.scroll-hide::-webkit-scrollbar {
  display: none;
}

/* Dashboard Container */
.filter-dashboard {
  background: #ffffff;
  border-radius: 30px;
  border: 1px solid #f0f0f0;
  overflow: hidden;
}

/* Search Glass Style */
.search-glass {
  height: 55px;
  border-radius: 20px !important;
  border: none !important;
  background: #f8f9fa !important;
  padding-left: 25px !important;
  font-size: 1rem;
  transition: all 0.3s;
}

.search-glass:focus {
  background: #fff !important;
  box-shadow: 0 10px 30px rgba(255, 183, 77, 0.1) !important;
}

.btn-search-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: #ffb74d;
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 15px;
}

/* Segmented Control (Radio Style) */
.segmented-control {
  display: inline-flex;
  background: #f1f1f1;
  padding: 5px;
  border-radius: 18px;
  gap: 5px;
}

.segmented-control input[type="radio"] {
  display: none;
}

.segmented-control label {
  margin: 0;
  padding: 8px 18px;
  border-radius: 14px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  color: #777;
  transition: all 0.3s;
}

.segmented-control input[type="radio"]:checked+label {
  background: white;
  color: #ffb74d;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.small-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #bbb;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

/* Horizontal Scroll for Mobile */
.scroll-wrapper {
  overflow-x: auto;
  padding-bottom: 5px;
}

.scroll-wrapper::-webkit-scrollbar {
  display: none;
}

/* Animasi Slide Warna pada Filter */
.segmented-control label {
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}

.segmented-control input[type="radio"]:checked+label {
  background: #ffb74d;
  /* Warna orange kebanggaan Mama */
  color: white !important;
  box-shadow: 0 4px 15px rgba(255, 183, 77, 0.4);
  transform: scale(1.05);
}

/* Tambahkan efek hover sedikit */
.segmented-control label:hover {
  background: #eeeeee;
}

.meal-pill {
  font-size: 0.85rem;
  font-family: 'Alan Sans Regular', sans-serif;
  font-weight: bold;
  /* Ini akan membuat teks jadi tebal */
  letter-spacing: 0.2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease-in-out;
  background: #f8f9fa;
  border: none;
  padding: 10px 18px;
  border-radius: 15px;
  color: #888;
  cursor: pointer;
}

/* Saat tombol aktif / dipilih */
.meal-pill.active {
  background: #ffb74d !important;
  /* Warna orange Mama */
  color: white !important;
  border-color: #ffb74d;
  box-shadow: 0 4px 12px rgba(255, 183, 77, 0.4);
  transform: translateY(-2px);
  /* Efek sedikit naik */
}

.meal-pill i {
  font-size: 1.1rem;
  vertical-align: middle;
}

/* Container Dropdown */
.clean-dropdown {
  min-width: 280px;
  border-radius: 20px !important;
  padding: 12px !important;
  margin-top: 10px;
}

/* Card Style untuk Link */
.nav-category-card {
  background: #f8f9fa;
  border-radius: 12px !important;
  padding: 12px 15px !important;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.nav-category-card:hover {
  background: #fff9f0 !important;
  /* Warna krem Mama */
  border-color: #ffb74d;
  transform: translateX(5px);
  /* Efek geser dikit pas di-hover */
}

/* Badge Umur di Samping */
.nav-age-badge {
  width: 38px;
  height: 38px;
  background: #ffb74d;
  color: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.75rem;
  box-shadow: 0 4px 8px rgba(255, 183, 77, 0.2);
}

/* Typography */
.nav-category-title {
  font-size: 0.9rem;
  color: #333;
  line-height: 1.2;
}

.nav-category-subtitle {
  font-size: 0.7rem;
}

.nav-arrow {
  color: #ddd;
  font-size: 0.8rem;
  transition: color 0.3s;
}

.nav-category-card:hover .nav-arrow {
  color: #ffb74d;
}

/* Container Paywall */
.premium-lock-container {
  position: relative;
  min-height: 300px;
  border-radius: 20px;
  overflow: hidden;
  background: #fdfdfd;
}

/* Efek Blur pada teks teaser */
.blurred-content {
  filter: blur(5px);
  opacity: 0.4;
  user-select: none;
  /* Biar gak bisa di-copy paste teksnya */
  pointer-events: none;
}

/* Overlay di tengah */
.subscribe-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 30%);
  z-index: 5;
}

/* Ikon Gembok */
.lock-icon-wrapper {
  width: 60px;
  height: 60px;
  background: #fff9e6;
  color: #ffb74d;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 15px rgba(255, 183, 77, 0.2);
}

/* Tombol Subscribe Premium */
.btn-premium-join {
  background: linear-gradient(45deg, #ffb74d, #ffa726);
  color: white;
  font-weight: 700;
  border: none;
  box-shadow: 0 8px 20px rgba(255, 183, 77, 0.3);
  transition: transform 0.3s ease;
}

.btn-premium-join:hover {
  transform: scale(1.05);
  color: white;
}

/* Efek Blur Sidebar */
.micro-nutrition-locked {
  min-height: 80px;
}

.blur-overlay-sidebar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(2px);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ffb74d;
  font-weight: 700;
}

.opacity-2 {
  opacity: 0.2;
}

.text-orange {
  color: #ffb74d !important;
}

.rounded-12 {
  border-radius: 12px;
}


/* Container scroll horizontal */
.scroll-hide {
  display: flex;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  /* Firefox */
}

.scroll-hide::-webkit-scrollbar {
  display: none;
  /* Chrome/Safari */
}

/* Memastikan grup tidak menciut */
.flex-shrink-0 {
  flex-shrink: 0;
}

/* Gabungan Label dan Kontrol */
.filter-item-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Label Kecil yang Manis */
.small-label-inline {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: #888;
  font-weight: bold;
  margin-left: 5px;
  letter-spacing: 0.5px;
}

/* Pemisah vertikal */
.v-divider {
  height: 40px;
  /* Lebih tinggi karena ada label */
  width: 1.5px;
  background-color: #eee;
  align-self: flex-end;
  /* Nempel ke bawah baris */
  margin-bottom: 5px;
}

/* Ukuran Pill */
.meal-pill {
  padding: 5px 12px;
  font-size: 0.8rem;
  height: 32px;
}

.btn-download {
  transition: transform 0.2s ease, opacity 0.2s ease;
  display: inline-block;
}

.btn-download:hover {
  transform: scale(1.05);
  /* Sedikit membesar saat disentuh */
  opacity: 0.9;
}

.btn-download:active {
  transform: scale(0.95);
  /* Sedikit mengecil saat diklik */
}

/* Jarak antar tombol jika tidak pakai Bootstrap 5 (gap-2) */
.btn-download {
  margin: 5px;
}

/* Gaya Bubble yang lebih kecil */

/* Warna Pastel untuk Icon */
.bg-light-orange {
  background: #fff3e0;
  color: #ffb74d;
}

.bg-light-purple {
  background: #f3e5f5;
  color: #ba68c8;
}

.bg-light-blue {
  background: #e3f2fd;
  color: #64b5f6;
}

.glass-bubble {
  position: absolute;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 6px 12px;
  /* Lebih tipis */
  border-radius: 15px;
  /* Sudut lebih tajam dikit */
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 20;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

/* Ukuran Teks Mungil */
.x-small-text {
  font-size: 11px;
  /* Ukuran mungil tapi tetap terbaca */
  font-weight: 600;
  color: #444;
  letter-spacing: -0.2px;
}

/* Kotak Icon lebih kecil */
.icon-box-sm {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

/* Posisi yang lebih dekat ke HP */
.bubble-1 {
  top: 60px;
  left: -90px;
  animation: floatAnim 4s ease-in-out infinite;
}

.bubble-2 {
  bottom: 80px;
  left: -60px;
  animation: floatAnim 5s ease-in-out infinite reverse;
}

.bubble-3 {
  top: 45%;
  right: -90px;
  animation: floatAnim 4.5s ease-in-out infinite 1s;
}

@keyframes floatAnim {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* Biar rapi di HP */
@media (max-width: 991px) {

  /* Jangan di-none, tapi kita kecilin bubble-nya */
  .glass-bubble {
    padding: 4px 8px;
    /* Lebih mungil lagi */
    gap: 5px;
  }

  .x-small-text {
    font-size: 9px;
    /* Teks super mungil buat di HP */
  }

  .icon-box-sm {
    width: 22px;
    height: 22px;
    font-size: 11px;
  }

  /* Geser posisinya supaya nggak keluar layar HP */
  .bubble-1 {
    left: -40px;
    top: 40px;
  }

  .bubble-2 {
    left: -20px;
    bottom: 60px;
  }

  .bubble-3 {
    right: -40px;
    top: 50%;
  }
}

/* HP Kiri ditarik ke atas */
.hp-atas {
  transform: translateY(-30px);
}

/* HP Kanan ditarik ke bawah */
.hp-bawah {
  transform: translateY(30px);
}

/* Biar tetap rapi di HP, kita kurangi jarak gesernya */
@media (max-width: 991px) {
  .hp-atas {
    transform: translateY(-15px);
  }

  .hp-bawah {
    transform: translateY(15px);
  }
}