    body {
      font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
      background-color: var(--bg-color);
      margin: 0;
      padding: 20px;
      padding-top: 64px;
      color: var(--text-color);
    }
    /* Sticky Menu */
    .sticky-menu {
      position: fixed;
      top: 0; left: 0; right: 0;
      width: 100vw;
      height: 60px;
      background: var(--menu-bg);
      border-bottom: 1.5px solid var(--menu-border);
      z-index: 200;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 2.5vw;
      box-sizing: border-box;
      box-shadow: 0 4px 14px 0 rgba(60,50,100,0.05);
      transition: background 0.2s, border 0.2s;
    }
    .logo {
      display: flex;
      align-items: center;
      gap: 11px;
      text-decoration: none;
    }
    .logo-img {
      height: 100%;
      width: 100%;
      border-radius: 10px;
      background: transparent;
      object-fit: contain;
      margin-right: 6px;
    }
    .logo-title {
      font-size: 1.16rem;
      color: var(--header-color);
      font-weight: 700;
      letter-spacing: 0.2px;
      text-shadow: 0 1px 6px rgba(100,100,100,0.06);
    }
    .right-bar {
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .theme-toggle {
      background: none;
      border: 2px solid var(--header-color);
      border-radius: 7px;
      padding: 8px 13px;
      cursor: pointer;
      color: var(--header-color);
      font-size: 1.5em;
      margin-left: 8px;
      display: flex; align-items: center; justify-content: center;
      transition: background 0.2s;
    }
    .theme-toggle:hover, .theme-toggle:focus {
      background: var(--menu-bg);
      filter: brightness(0.96);
    }
    #themeIcon {
      pointer-events: none;
      font-size: 1.22em;
      line-height: 1;
    }
    .menu {
      display: flex;
      gap: 22px;
      align-items: center;
      transition: all 0.23s;
    }
    .menu a {
      color: var(--header-color);
      font-weight: 500;
      font-size: 1rem;
      text-decoration: none;
      transition: color 0.15s;
    }
    .menu a.btn-daftar {
      background: #ff9900;
      color: #222;
      padding: 7px 16px;
      border-radius: 6px;
      margin-left: 6px;
      font-weight: 600;
    }
    .menu a.btn-daftar:hover {
      filter: brightness(1.05);
    }
    .menu a:hover {
      color: var(--bg-color);
      background: var(--header-color);
      border-radius: 6px;
      padding: 5px 10px;
    }
    /* Hamburger Button */
    .hamburger {
      display: none;
      flex-direction: column;
      justify-content: center;
      width: 37px; height: 37px;
      cursor: pointer;
      border: 2px solid var(--header-color);
      background: var(--menu-bg);
      border-radius: 9px;
      margin-left: 8px;
      z-index: 201;
    }
    .hamburger span {
      height: 4px;
      width: 23px;
      background: var(--header-color);
      border-radius: 2px;
      margin: 3px auto;
      display: block;
      transition: all 0.3s;
    }
    
    .sr-only {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0;
    }

/* Responsive Menu */
    @media (max-width: 860px) {
      .menu {
        position: fixed;
        right: 0; top: 60px;
        flex-direction: column;
        align-items: flex-end;
        background: var(--menu-bg);
        box-shadow: 0 4px 14px 0 rgba(60,50,100,0.06);
        padding: 28px 16px 24px 30vw;
        gap: 22px;
        border-bottom: 2.5px solid var(--menu-border);
        transform: translateY(-140%);
        pointer-events: none;
        opacity: 0;
        transition: all 0.23s;
        min-width: 185px;
      }
      .menu.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
        z-index: 202;
      }
      .hamburger { display: flex; }
    }
    @media (max-width: 600px) {
      .logo-title { font-size: 0.99rem; }
      .logo-img { width: 100%; height: 100%; }
      .theme-toggle { font-size: 1.13em; padding: 6px 9px;}
      .sticky-menu { height: 54px; padding: 0 1vw; }
      .menu { padding-left: 10vw; }
    }
    /* FAB WhatsApp */
    .fab-wa {
      position: fixed;
      bottom: 26px; right: 28px;
      z-index: 500;
      background: #25d366;
      color: #fff;
      border-radius: 50%;
      box-shadow: 0 6px 28px rgba(0,0,0,0.14);
      width: 64px; height: 64px;
      display: flex; align-items: center; justify-content: center;
      font-size: 32px;
      text-decoration: none;
      transition: background 0.18s, box-shadow 0.16s;
      border: none;
      outline: none;
    }
    .fab-wa:hover {
      background: #1da851;
      color: #fff;
    }
    @media (max-width: 700px) {
      .fab-wa {
        width: 50px; height: 50px;
        font-size: 27px;
        bottom: 18px; right: 12px;
      }
    }
    .back-to-top {
      position: fixed;
      bottom: 105px;
      right: 32px;
      z-index: 499;
      display: none;
      background: none;
      border: none;
      outline: none;
      cursor: pointer;
      border-radius: 50%;
      box-shadow: 0 2px 10px rgba(60,50,100,0.13);
      opacity: 0.88;
      padding: 0;
      transition: opacity 0.21s, transform 0.19s;
    }
    .back-to-top svg {
      width: 48px;
      height: 48px;
      display: block;
    }
    .back-to-top:hover {
      opacity: 1;
      transform: translateY(-4px) scale(1.07);
    }
    @media (max-width: 700px) {
      .back-to-top { right: 12px; bottom: 85px;}
      .back-to-top svg { width: 41px; height: 41px;}
    }
    
/* Tambahkan border halus di setiap section */
.card, .spoiler-container {
  border: 1px solid var(--menu-border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

    /* --- Kalkulator simulasi (sama seperti sebelumnya) --- */
    .card {background:var(--card-bg);border-radius:10px;box-shadow:0 4px 12px rgba(0,0,0,0.08);margin:0 auto 30px;max-width:700px;padding:20px;}
    .tabel-action-btns {display:flex;gap:12px;margin:12px 0 0 0;flex-wrap:wrap;}
    .tabel-action-btns .btn {width:auto;min-width:110px;flex:1 1 auto;}
    table {width:100%;border-collapse:collapse;}
    th {background-color:var(--table-header-bg);color:var(--btn-text);padding:12px;text-align:left;font-weight:600;}
    td {padding:12px;border-bottom:1px solid #bbb;}
    input,select {width:100%;padding:10px;font-size:1rem;margin-top:5px;border:1px solid #aaa;border-radius:6px;background:var(--bg-color);color:var(--text-color);transition:background 0.2s,color 0.2s;}
    .form-group {
  margin-bottom: 15px;
  width: 100%;
  box-sizing: border-box;
}
.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 4px;
}
input, select {
  width: 100%;
  box-sizing: border-box;
}
@media (max-width:600px) {
  .form-group, input, select, .btn {
    font-size: 0.97rem;
    width: 100%;
  }
}

.btn {
  background: var(--btn-bg);
  color: var(--btn-text);
  padding: 12px;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  width: 100%;
  margin-top: 10px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  transition: background 0.16s, color 0.16s;
}

.btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn:hover,
.btn:focus {
  opacity: 0.92;
  filter: brightness(0.94);
}

.message {
  color: var(--success-color);
  font-size: 0.9rem;
  margin-top: 10px;
}

.error {
  color: var(--error-color);
}

h2 {
  color: var(--header-color);
  margin-bottom: 10px;
}

.spinner {
  border: 3px solid var(--spinner-border);
  border-top: 3px solid var(--spinner-top);
  border-radius: 50%;
  width: 22px;
  height: 22px;
  animation: spin 1s linear infinite;
  display: inline-block;
  vertical-align: middle;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

.tooltip {
  display: inline-block;
  cursor: pointer;
  margin-left: 4px;
  color: #ffffff;
  border-radius: 50%;
  background: #d40000;
  width: 19px;
  height: 19px;
  text-align: center;
  font-weight: normal;
  font-size: 16px;
  line-height: 19px;
  position: relative;
  outline: none;
}

.tooltip:hover::after,
.tooltip:focus::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: #d40000;
  color: #fff;
  padding: 10px 10px;
  border-radius: 6px;
  font-size: 0.95em;
  white-space: pre-line;
  line-height: 1.5;
  z-index: 20;
  top: 26px;
  min-width: 250px;
  max-width: 300px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
  pointer-events: none;
}

/* Responsive styles */
@media (max-width: 700px) {
  .card {
    max-width: 98vw;
  }
}

@media (max-width: 600px) {
  th,
  td {
    font-size: 0.92rem;
    padding: 7px;
  }

  .btn {
    font-size: 0.97rem;
  }
}

@media (max-width: 360px) {
  .card {
    padding: 7px;
  }

  th,
  td {
    font-size: 0.89rem;
    padding: 5px;
  }

  .btn {
    font-size: 0.94rem;
  }
}

#mode-toggle .btn {
  border: 2px solid #ffb84d;
  background: #190A32;
  color: var(--praktis);
  font-weight: 600;
  opacity: 0.85;
}
#mode-toggle .btn:focus, #mode-toggle .btn.active {
  background: var(--lanjutan) !important;
  opacity: 1;
}

body, 
.card, 
.card *, 
h1, h2, h3, h4, h5, h6, 
p, td, th, input, label, button, select {
  user-select: none !important;
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
}

    /* Watermark transparan (bisa dihapus kalau tidak mau) */
.watermark {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 100px;
  color: rgba(0, 0, 0, 0.05);
  z-index: 0;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.watermark img {
  width: 700px;
  height: auto;
}

@media (max-width: 768px) {
  .watermark img {
    width: 400px;
  }
}

/* Spoiler Style */
.spoiler-container {
  margin-bottom: 20px;
  border: 1px solid var(--menu-border);
  border-radius: 6px;
  overflow: hidden;
}

.spoiler-header {
  background: var(--menu-bg);
  color: var(--header-color);
  cursor: pointer;
  padding: 10px 14px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
}

.spoiler-header span {
  transition: transform 0.3s ease;
  display: inline-block;
}
.spoiler-container.open .spoiler-header span {
  transform: rotate(-180deg);
}

.spoiler-content {
  display: none;
  padding: 0;
  background: transparent;
  animation: fadeIn 0.25s ease-in-out;
}

.spoiler-container.open .spoiler-content {
  display: block;
}


@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

#dailyTable tbody tr:hover {
  background-color: rgba(255, 184, 77, 0.15); /* warna kuning lembut */
  transition: background-color 0.2s ease;
  cursor: pointer;
}
/* Hover untuk tabel Hasil Simulasi */
#resultTable tbody tr:hover {
  background-color: rgba(255, 184, 77, 0.15); /* warna kuning lembut */
  transition: background-color 0.2s ease;
  cursor: default;
}

#resultTable td:nth-child(2) {
  font-weight: bold;
}

#resultTable td:first-child,
#resultTable th:first-child {
  width: 40%;
  white-space: nowrap;
}

    /* Form durasi disesuaikan dengan flex agar tetap rapi di mobile */
    .form-group input[type="number"] { width: 100%; }
    @media (max-width: 600px) {
      .form-group > div { flex-direction: column !important; gap: 4px !important; }
      #durationUnit { max-width: 100% !important; }
    }


.footer-bottom {
  text-align: center;
  border-top: 1px solid var(--menu-border);
  padding-top: 16px;
  font-size: 0.85rem;
  color: #aaa;
}

/* Responsif */
@media (max-width: 600px) {
  .site-footer {
    padding: 40px 16px 20px;
  }
  .footer-grid {
    gap: 20px;
  }
}
