/* CSS Resmi Pakasir App (app.pakasir.com) */
body {
  background-color: #ddd;
  color: #373a3c;
  font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Dashboard / Admin container full-flush ke sidebar */
.dashboard-container,
div[style*="background-color: #ddd"] > .container {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

@media (min-width: 768px) {
  .container {
    max-width: 720px !important;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px !important;
  }
}

.container.narrow {
  max-width: 540px !important;
}

/* Navbar Top Pakasir Asli: padding kiri-kanan persis app.pakasir.com */
nav.navbar.fixed-top.container {
  padding-left: 1.5rem !important;
  padding-right: 1.5rem !important;
}

/* Sidebar Asli Pakasir */
#sidebar {
  width: 180px;
  position: fixed;
  z-index: 1000;
  height: calc(100vh - 59px);
  background-color: #373a3c !important;
  transition: margin-left 0.5s;
  top: 59px;
  margin-left: -180px;
}

#sidebar.show {
  margin-left: 0 !important;
}

#sidebar-btn {
  top: 59px;
  z-index: 900;
  border-radius: 0;
  background-color: #373a3c !important;
  border-color: #373a3c !important;
  color: #fff !important;
}

#sidebar-backdrop {
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 901;
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0.4);
}

#sidebar .nav-link {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.95rem;
  padding: 8px 0;
  text-decoration: none;
  display: flex;
  align-items: center;
}

#sidebar .nav-link:hover {
  color: rgba(255, 255, 255, 0.85);
}

#sidebar .nav-link.active {
  color: #38bdf8 !important; /* Cyan terang serasi logo */
  font-weight: 600;
}

#sidebar .nav-link.text-primary {
  color: #38bdf8 !important;
}

#sidebar-blocker {
  background-color: #ddd;
  width: 180px;
  height: 100vh;
  position: fixed;
  top: 0;
  z-index: 1100;
  margin-left: -180px;
}

/* Main Content Box Asli Pakasir */
main.pakasir-main {
  background-attachment: fixed;
  min-height: calc(100vh - 112px);
  padding: 24px;
  padding-top: 3.5rem !important; /* Ruang untuk tombol fixed mobile #sidebar-btn (59px navbar + 38px button) */
  background-color: #fff !important;
  transition: margin-left 0.5s, padding-top 0.5s;
}

@media (min-width: 768px) {
  #sidebar {
    margin-left: 0;
  }
  #sidebar + main {
    margin-left: 180px;
    padding-top: 1.5rem !important;
  }
  #sidebar + main + footer {
    margin-left: 180px;
  }
}

/* Table Responsiveness Asli Pakasir */
.table-responsive td,
.table-responsive th {
  white-space: nowrap !important;
}

/* Dokumentasi Panduan Mobile-Friendly */
.article pre {
  max-width: 100%;
  overflow-x: auto;
  white-space: pre;
  word-break: normal;
  font-size: 0.875rem;
  border-radius: 4px;
}

.article pre code {
  white-space: pre;
  word-break: normal;
}

.article code {
  word-break: break-word;
}

.article table {
  width: 100%;
  margin-bottom: 1.5rem;
}

@media (max-width: 767.98px) {
  .article table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* Modal Alert List Bullets Asli */
.modal .alert ul {
  list-style-type: disc !important;
}
.modal .alert ul li {
  list-style-type: disc !important;
  display: list-item !important;
}

/* Card Asli Pakasir */
.card {
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.176) !important;
  border-radius: 0 !important;
}

.card .card-header {
  background-color: rgba(55, 58, 60, 0.03) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.176) !important;
  padding: 8px 16px;
  font-size: 0.95rem;
  font-weight: 400;
  color: #373a3c;
}

.card .card-body {
  padding: 16px;
}

/* Di Pakasir Asli: H1 nominal TIDAK BOLD tebal, melainkan normal 400/500 */
.card .card-body h1 {
  font-size: 27.625px !important;
  font-weight: 400 !important;
  margin-bottom: 4px;
  color: #373a3c;
  line-height: 1.2;
}

/* Typography Headings */
h1, .h1 { font-size: 27.625px; font-weight: 400; }
h2, .h2 { font-size: 24.575px; font-weight: 400; }
h3, .h3 { font-size: 23px; font-weight: 400; }
h4, .h4 { font-size: 21.525px; font-weight: 400; }
h5, .h5 { font-size: 20px; font-weight: 500; }
h6, .h6 { font-size: 16px; font-weight: 500; }

/* FAQ Akordeon */
details {
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  padding: 8px 12px;
  margin-bottom: 6px;
}

details summary {
  color: #2780e3;
  cursor: pointer;
  font-weight: 500;
}

/* Floating WA Button */
.wa-float {
  position: fixed;
  bottom: 40px;
  right: 20px;
  background-color: #fff;
  color: #000;
  border-radius: 30px;
  padding: 10px 15px;
  text-decoration: none;
  font-weight: 700;
  display: flex;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  transition: background-color 0.3s ease;
  font-size: 0.9rem;
}

.wa-float:hover {
  background-color: #eee;
}
