  .logo-site {
    width: 35px;
    height: 35px;
    display: block;      /* biar tidak ada whitespace bawaan inline-svg */
    color: #080808 !important; /* untuk svg yang pakai fill="currentColor" */
    margin-left: 20px;
  }

/* Untuk semua link di seluruh halaman */
a {
    color: #080808;   /* Ganti dengan warna dominanmu */
    text-decoration: underline;
    transition: color 0.2s;
  }
  
  a:hover,
  a:focus {
    color: #080808;  /* Warna saat hover, bisa kamu ganti */
    text-decoration: underline; /* Boleh dihilangkan kalau tidak suka garis bawah */
  }
  
  .main-content {
    flex: 1 1 0%;
    overflow-x: auto;
    min-width: 0;
    min-height: 0;
    transition: margin-left 0.3s, width 0.3s;
    display: flex;
    flex-direction: column;
  }
  .main-content-expanded {
    margin-left: 282px;  /* default sidebar width */
  }
  .main-content-collapsed {
    margin-left: 75px;   /* collapsed sidebar width */
  }

/* ========== SIDEBAR BASE ========== */
.sidebar-custom {
    display: flex;
    flex-direction: column;
    background-color: #fdfdfd;
    border-right: 1px solid #E0E0E0;
    min-width: 282px;
    max-width: 282px;
    height: 100vh;
    z-index: 2200;
    padding: 12px 12px 12px 12px;
    transition: width 0.2s cubic-bezier(.4,0,.2,1);
    overflow-y: auto !important;
    padding-bottom: 56px !important;
  }

  .sidebar-custom nav {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
  }
  
  .sidebar-custom .nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 12px;
    color: #787878;           /* Warna default untuk teks & icon */
    padding: 7px 7px 7px 20px;
    font-size: 1rem;
    font-weight: 500;
    transition: background 0.15s, color 0.15s;
  }
  
  .sidebar-custom .nav-link:hover,
  .sidebar-custom .nav-link.active {
    background: #f0f0f0;
    color: #080808;           /* Warna saat hover/active untuk SEMUA (icon & text) */
    text-decoration: none;
  }
  
  .sidebar-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    min-height: 22px;
    align-items: center;
    justify-content: center;
  }
  
  .sidebar-icon svg {
    width: 22px;
    height: 22px;
    color: inherit;            /* Inherit dari .nav-link! */
    display: block;
    transition: color 0.15s;
  }

  .text-muted {
    color: #787878 !important; /* misal jadi hitam */
  }

  .text-muted-diskon {
    color: #F95151 !important; 
    margin-inline-start: 9px;
  }

  .btnBeli {
    background: #080808;
    color: #fff;
  }
  .btnBeli:hover {
    background: #312529;
    color: #fff;
  }
  
   /* ========== SIDEBAR COLLAPSE ========== */
  .sidebar-custom.collapsed {
    width: 75px;             /* atau 64px, sesuaikan selera */
    min-width: 75px;
    max-width: 75px;
  }
  
  .sidebar-custom.collapsed .sidebar-label,
  .sidebar-custom.collapsed .text-muted,
  .sidebar-custom.collapsed .text-uppercase {
    display: none !important;
  }
  
  .sidebar-custom.collapsed .nav-link {
    justify-content: center;  /* icon di tengah */
    padding: 7px 0;           /* kiri kanan minimal */
    gap: 0;
  }
  
  .sidebar-custom.collapsed .sidebar-icon {
    justify-content: center;
  }

  .sidebar-custom.collapsed .sidebar-divider { 
    margin: 16px 0; 
    width: 60%; 
    margin-left: 20%; 
  }
  .main-content {
    flex-grow: 1;
    min-width: 0;
  }

.btn-logout-custom {
    font-size: 1rem;                  /* Ukuran font */
    padding: 6px 18px;                /* Ukuran tombol */
    border-radius: 10px;              /* Sudut membulat */
    border: 1px solid #fff;        /* Outline */
    color: #fff;                   /* Warna font */
    background: #080808;                 /* Background */
    font-weight: 500;
    transition: all 0.15s;
  }
  
  .btn-logout-custom:hover, 
  .btn-logout-custom:focus {
    background: #080808;              /* Hover */
    color: #fff;                      /* Font */
    border-color: #fff;            /* Outline lebih tua */
    text-decoration: none;
  }
  
  .btn-logout-custom:active {
    background: #b02020;              /* Active: merah lebih tua */
    color: #fff;
    border-color: #b02020;
  }
  
  .footer-custom {
    background: transparent;
    border-top: 1px solid #E0E0E0;
    font-size: 1rem;
    color: #787878;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    bottom: 0;
    width: 100%;
    z-index: 1100;
    padding: 0;
    margin-top: auto; /* ini yang penting agar sticky di bawah */
    box-sizing: border-box;
  }

/* Bagian sidebar footer (tombol collapse) */
.footer-sidebar-area {
    min-width: 282px;
    max-width: 282px;
    padding-left: 10px;
    display: flex;
    align-items: center;
    height: 56px;
    box-sizing: border-box;
    transition: min-width 0.2s cubic-bezier(.4,0,.2,1), max-width 0.2s cubic-bezier(.4,0,.2,1);
  }

/* Divider vertical */
.footer-divider {
    width: 1px;
    height: 36px;
    background: #E0E0E0;
  }

/* Konten utama footer */
.footer-content-area {
    flex-grow: 1;
    justify-content: center;
    align-items: center;
    display: flex;
    min-width: 0;
    padding-right: 12px;
    overflow: auto;
    height: 56px;
    box-sizing: border-box;
  }

.sidebar-collapse-footer {
    border-radius: 12px;
    background: #fff;
    color: #787878;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 20px 7px 20px;
}

.sidebar-collapse-footer:hover,
.sidebar-collapse-footer:active {
    background: #f0f0f0;
    color: #080808;
}

/* ========== FOOTER COLLAPS ========== */
  
  .sidebar-custom.collapsed ~ footer .footer-sidebar-area {
    min-width: 60px;
    max-width: 60px;
    transition: min-width 0.2s, max-width 0.2s;
  }  

@media (max-width: 767.98px) {
    .footer-sidebar-area, .footer-divider {
        display: none !important;
    }
    .footer-custom {
        justify-content: center !important;
    }
}

  /* Sembunyikan hr saat sidebar TIDAK collapsed */
.sidebar-custom:not(.collapsed) .sidebar-divider {
    display: none !important;
  }
  
  /* Munculkan hr saat sidebar collapsed */
  .sidebar-custom.collapsed .sidebar-divider {
    display: block !important;
  }

  /* SEMBUNYIKAN label section SAAT sidebar collapsed */
.sidebar-custom.collapsed .text-muted,
.sidebar-custom.collapsed .text-uppercase {
  display: none !important;
}

/* TAMPILKAN label section SAAT sidebar normal (tidak collapsed) */
.sidebar-custom:not(.collapsed) .text-muted,
.sidebar-custom:not(.collapsed) .text-uppercase {
  display: block !important;
}

/* Slim scrollbar khusus sidebar */
.sidebar-custom {
    scrollbar-width: thin;              /* Firefox */
    scrollbar-color: #d4d4d4 #fff;      /* Firefox */
  }
  
  /* Chrome, Edge, Safari */
  .sidebar-custom::-webkit-scrollbar {
    width: 1px;                         /* SLIM */
    background: #fff;
  }
  
  .sidebar-custom::-webkit-scrollbar-thumb {
    background: #d4d4d4;
    border-radius: 1px;
  }
  
  .sidebar-custom::-webkit-scrollbar-thumb:hover {
    background: #bbb;
  }
  
  /* Card Subscription Styling */
  .card {
    border-radius: 16px;
    border: 1.5px solid #C4C4C4 !important;
    box-shadow: 0 2px 8px rgba(20,159,144,0.05);
    background: #fff;
    min-width: 320px;
    max-width: 370px;
    display: flex;
    flex-direction: column;
    height: 100%;
    align-items: stretch;
    justify-content: space-between;
  }
  .card-body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 2.4rem 2rem 1.4rem 2rem;
  }
  .card .btn {
    margin-top: auto;
  }  
  ul.list-unstyled {
    margin-bottom: 1.3rem;
    padding-left: 0;
  }
  li.d-flex {
    font-size: 1.07rem;
  }
  .sidebar-icon svg {
    width: 22px !important;
    height: 22px !important;
  }
  .badge.bg-danger {
    font-size: 0.95rem;
    font-weight: 600;
    padding: 7px 13px;
    border-radius: 14px;
    background: #F95151 !important;
    letter-spacing: 0.2px;
    position: absolute;
    left: 32px;
    top: 26px;
    z-index: 2;
  }
  .btn-danger, .btn-dark {
    border-radius: 999px;
    font-weight: 700;
    padding: 11px 24px;
    min-width: 140px;
    font-size: 1.08rem;
  }
  .btn-dark {
    background: #080808;
    border: none;
  }
  .btn-dark:hover, .btn-dark:focus {
    background: #080808;
    color: #fff;
  }
  .btn-success {
    background: #149F90;
    border: none;
  }
  .btn-success:hover, .btn-success:focus {
    background: #117A6E;
  }

  .subscription-row {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 50px;
    width: 100%;
    margin: 0 auto;
    flex-wrap: wrap;
    padding-bottom: 32px;
  }
  
  .subscription-row > div {
    display: flex;
    flex: 1 1 350px;
    max-width: 370px;
    min-width: 320px;
  }
  
  .badge-promo {
      position: absolute;
      top: 24px;
      right: 24px;
      z-index: 2;
      background: #F95151;
      color: #fff;
      font-size: 0.95rem;
      font-weight: 600;
      padding: 7px 7px;
      border-radius: 14px;
      letter-spacing: 0.2px;
    }

/* --- Sidebar Mobile full layar tanpa sisa, sticky, dan responsive --- */
.sidebar-custom {
    position: fixed;
    top: 56px; /* Adjust sesuai tinggi navbar kamu */
    left: 0;
    min-width: 282px;
    max-width: 282px;
    height: calc(100% - 56px); /* 56px adalah navbar */
    background: #fdfdfd;
    border-right: 1px solid #e0e0e0;
    margin-top: 1px;
    margin-bottom: 1px;
    z-index: 1052;
    overflow-y: auto;
    transition: transform 0.3s ease;
  }
  
  /* Default: Sidebar tampil di desktop */
  @media (min-width: 992px) {
    .sidebar-custom {
      transform: translateX(0);
    }
      .sidebar-custom, .footer-sidebar-area {
        min-width: 282px;
        max-width: 282px;
      }
      .logo-site {
        width: 35px;
        height: 35px;
      }
  }
  
  /* --- Hide sidebar on mobile by default --- */
  @media (max-width: 991.98px) {
    .sidebar-custom {
        position: fixed !important;
        top: 55 !important;
        left: 0 !important;
        height: 100vh !important;
        width: 100vw !important;
        min-width: 100vw !important; /* kunci sidebar full */
        max-width: 100vw !important; /* kunci sidebar full */
        background: #fdfdfd !important;
        z-index: 1052 !important;
        transform: translateX(-100%) !important;
        transition: transform 0.3s cubic-bezier(.4,0,.2,1) !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        overflow-y: auto !important;
        display: block !important;
    }
    .sidebar-custom.show {
      transform: translateX(0) !important;
      top: 100px !important;
    }      
  }
  
  /* --- Untuk overlay hitam ketika sidebar muncul di mobile --- */
  .sidebar-overlay {
    display: none;
  }
  @media (max-width: 991.98px) {
    .sidebar-overlay.active {
      display: block;
      position: fixed;
      top: 56px;
      left: 0;
      width: 100vw;
      height: calc(100% - 56px);
      background: rgba(0,0,0,0.4);
      z-index: 1049;
    }
  }
  
  /* --- Untuk sticky tombol toggle --- */
  #menuToggle {
    position: relative;
    z-index: 1100;
    font-size: 2rem;
    padding: 8px 18px !important;
  }
  
  /* Tambahkan agar body tidak bisa scroll saat sidebar mobile aktif */
  body.sidebar-open {
    overflow: hidden;
  }
  
  /* Optional: animasi smooth */
  .sidebar-custom,
  .sidebar-overlay {
    transition: all 0.3s;
  }

  @media (max-width: 991.98px) {
    .dashboard-content {
      padding-left: 15rem !important;
      padding-right: 15rem !important;
    }
    .card {
      padding: 1rem 0.7rem !important;
      margin-left: 0 !important;
      margin-right: 0 !important;
      margin-top: 3rem !important;
      width: 100% !important;
      max-width: 100% !important;
    }
    .subscription-row {
      gap: 0.8rem !important;
      flex-direction: column;
      align-items: stretch;
    }
    /* Sidebar menu font & spacing */
    .sidebar-custom {
        font-size: 2rem !important;       /* Lebih besar dari desktop */
        letter-spacing: 0.01em;
    }
    .sidebar-custom .sidebar-label,
    .sidebar-custom .nav-link,
    .sidebar-custom .sidebar-section-title {
        font-size: 2rem !important;
    }
    .sidebar-custom .nav-link {
        min-height: 54px !important;
        display: flex;
        align-items: center;
    }
    /* Icon sidebar (SVG/Icon) ikut membesar */
    .sidebar-custom .sidebar-icon svg {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
        max-width: 40px !important;
        max-height: 40px !important;
        margin-right: 15px !important;
    }
    .footer-sidebar-area {
        display: none !important;
    }
  }
@media (max-width: 991.98px) {
  .subscription-row {
    gap: 0.5rem !important;
    margin: 0 !important;
  }
  .card {
    margin-bottom: 0.7rem !important;
  }
}  
@media (max-width: 991.98px) {
    .main-content, .main-content-expanded, .main-content-collapsed {
      margin-left: 0 !important;
      width: 100vw !important;
    }
  }

/*============================================*/

html {
  background: radial-gradient(circle at top, #e0ecf9, #fdf5f5, #f8f6f4, #f9f8f7) fixed no-repeat;
  overflow: hidden;    /* sembunyikan scroll bar */
}

body {
  background: transparent;
  margin: 0;
  padding: 0;
  overflow: hidden;    /* sembunyikan scroll bar */
  }
  
  .main-wrapper {
    padding: 40px 20px;
    text-align: center;
    margin-bottom: 20px;
  }
  
  .header {
    margin-bottom: 40px;
    margin-top: 60px;
  }
  
  .title {
    font-size: 46px;
    font-weight: bold;
    color: #312529;
  }

  .ico-title {
    width: 55px;
    height: 55px;
    color: #312529 !important; /* untuk svg yang pakai fill="currentColor" */
    margin-bottom: 10px;
  }
  
  .subtitle {
    font-size: 28px;
    color: #666;
  }
  
  .pricing-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    text-align: left;
    margin-top: 10px;
  }

  h4 {
    margin-bottom: 30px;
  }

  .plan-kanan h4,h2 {
    color: #000;
  }

  .plan-kanan h2 {
    font-weight: 600;
  }

  .plan-kiri h2 {
    font-weight: 400;
  }

  .desc-kiri {
    margin-top: 70px;
    margin-bottom: 20px;
  }
  
  .desc-kanan {
    margin-top: 35px;
    margin-bottom: 20px;
  }

  .plan-kanan span {
    font-size: 20px;
    font-weight: normal;
    color: #555;
  }

.plan-kiri h4 {
    color: #787878;
    font-size: 20px;
    font-weight: 400;
}

  .plan-kiri, .plan-kanan {
    width: 420px;
    padding: 20px;
  }
  
  .promo {
    color: #e63946;
    font-size: 14px;
    margin-bottom: 12px;
  }
  
  button {
    width: 100%;
    padding: 10px 0;
    border-radius: 12px;
    border: 1px solid #ccc;
    background: transparent;
    font-weight: 500;
    cursor: pointer;
  }
  
  .btn-dark {
    background: #000;
    color: #fff;
    border: none;
  }

  .text-muted {
    color: #787878 !important; /* misal jadi hitam */
  }
  
  #closeBtn {
    width: auto !important;
    margin-right: 20px;
    position: fixed;
      top: 20px;
      right: 20px;
      z-index: 9999;
      background: none;
      border: none;
      font-size: 28px;
      cursor: pointer;
      line-height: 1;
      padding: 6px 12px 8px 12px;
  }

  #closeBtn:hover {
    width: auto !important;
    margin-right: 20px;
    background-color: #ebebeb;
  }

  .btnTrial {
    border-color: #a9a9a9;
    border-radius: 100px;
    background-color: transparent;
    color: #484848;
    padding: 11px 24px;
    min-width: 140px;
    font-size: 1.08rem;
  }

  .btnTrialVisitor {
    border-color: #787878;
    border-radius: 100px;
    background-color: transparent;
    color: #484848;
    padding: 11px 24px;
    min-width: 140px;
    font-size: 1.08rem;
  }

  .btnTrialVisitor:hover,
  .btnTrialVisitor:focus {
    border-color: #080808;
    border-radius: 100px;
    padding: 11px 24px;
    min-width: 140px;
    font-size: 1.08rem;
  }

  /* wrapper agar kedua container menumpuk */
#pricing-container,
#order-form-container {
  transition: max-height 0.5s ease, opacity 0.5s ease;
  overflow: hidden;
}

/* pricing‐container: default tampil */
#pricing-container {
  max-height: 1000px;   /* cukup besar untuk menampung isi */
  opacity: 1;
}

/* form: default tersembunyi */
#order-form-container {
  max-height: 1000px;   /* harus ≥ tinggi form */
  opacity: 1;
  margin-top: 10px;     /* beri spasi atas */
}

/* saat aktif, pricing slide‐up */
#pricing-container.hidden {
  max-height: 0;
  opacity: 0;
}

/* saat aktif, form slide‐down */
#order-form-container.active {
  max-height: 1000px;   /* harus ≥ tinggi form */
  opacity: 1;
  margin-top: 10px;     /* beri spasi atas */
}

/*=============== order form ===============*/

.order-form-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  text-align: left;
  margin-top: 10px;
}

h4 {
  margin-bottom: 30px;
}

.order-kanan h4,h2 {
  color: #000;
}

.order-kanan h2 {
  font-weight: 600;
}

.order-kiri h4,h2 {
  color: #000;
}

.desc-form-kiri {
  margin-top: 35px;
  margin-bottom: 20px;
}

.desc-form-kanan .form-control{
  background: none !important;
}

/* Ubah border‐width dan warna saat fokus */
.form-control {
  border-width: 1px;                 /* tebal border */
  border-color: #6a6a6a;             /* warna border */
  border-radius: 10px;
  box-shadow: none;                  
}

/* Ubah border‐width dan warna saat fokus */
.form-control:focus {
  border-width: 2px;                 /* tebal border */
  border-color: #6a6a6a;             /* warna border */
  border-radius: 10px;
  box-shadow: none;                  
}

.desc-form-kanan {
  margin-top: 35px;
  margin-bottom: 20px;
  color: #666;
}

.desc-form-kiri p {
  font-size: 14px;
  color: #212121;
}

.order-kanan span {
  font-size: 20px;
  font-weight: normal;
  color: #555;
}

.order-kiri {
  width: 420px;
  padding: 20px;
}

.order-kanan {
  width: 420px;
  padding: 20px;
}

.form-promo {
  color: #e63946;
  font-size: 14px;
  margin-bottom: 12px;
}

button {
  width: 100%;
  padding: 10px 0;
  border-radius: 12px;
  border: 1px solid #ccc;
  background: transparent;
  font-weight: 500;
  cursor: pointer;
}

.btn-dark {
  background: #000;
  color: #fff;
  border: none;
}

.btn-back-to-pricing {
  border-color: #a9a9a9;
  border-radius: 100px;
  background-color: transparent;
  color: #484848;
  padding: 11px 24px;
  min-width: 140px;
  font-size: 1.08rem;
  margin-top: 0px;
}

.btn-back-to-pricing:hover,
.btn-back-to-pricing:focus {
  border-color: #a9a9a9;
  border-radius: 100px;
  padding: 11px 24px;
  min-width: 140px;
  font-size: 1.08rem;
}

.text-muted {
  color: #787878 !important; /* misal jadi hitam */
}

.main-wrapper,
.pricing-container,
#order-form-container {
  background: transparent;
}

#btnConfirm {
  margin-top: 10px;
}

/*Jika hanya ingin styling <code> di dalam feedback validasi Bootstrap: */
.invalid-feedback code {
  color: #ff2e2e;
}

.price-wrap {
  display: inline-flex;
  align-items: baseline; /* garis bawah angka h2 & teks span sejajar */
  gap: .25em;            /* spasi tipis antara angka & unit */
}

.price-wrap span {
  font-size: 20px;
  font-weight: normal;
  color: #555;
}