/* Header state: floating on the hero, full width after scrolling. */
.main-header {
  transition: background-color .24s ease, box-shadow .24s ease, backdrop-filter .24s ease;
}

.main-header.home-header {
  top: 0;
}

.main-header .navbar > .container {
  transition: border-color .24s ease, border-radius .24s ease, background-color .24s ease, box-shadow .24s ease;
}

.main-header.is-scrolled {
  top: 0;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  background: rgba(5, 49, 88, .98);
  box-shadow: 0 10px 28px rgba(2, 27, 48, .22);
  backdrop-filter: blur(12px);
}

.main-header.home-header.is-scrolled {
  position: fixed;
  right: 0;
  left: 0;
  height: auto;
}

/* Keep the navigation content fixed; only extend its background edge-to-edge. */
.main-header.is-scrolled .navbar > .container {
  border-color: transparent;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.main-header.is-scrolled .brand-stripe {
  display: block;
}

.navbar-mobile-actions {
  align-items: center;
  gap: 8px;
}

.navbar-search-button {
  display: inline-grid;
  padding: 0;
  border: 0;
  color: rgba(255, 255, 255, .9);
  background: transparent;
  line-height: 1;
  place-items: center;
}

.navbar-search-button > .bi {
  display: block;
  line-height: 1;
}

.navbar-search-button > .bi::before {
  display: block;
  vertical-align: 0;
}

.desktop-nav .navbar-search-button {
  width: 42px;
  height: 42px;
  min-height: 42px;
  flex: 0 0 42px;
  align-self: center;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 50%;
}

.desktop-nav .navbar-search-button:hover,
.desktop-nav .navbar-search-button:focus,
.desktop-nav .navbar-search-button.active {
  border-color: var(--yellow);
  color: var(--yellow);
}

.desktop-nav .navbar-search-button.active::after {
  display: none;
}

.navbar-mobile-actions > .navbar-search-button {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 7px;
  color: #102f5b;
  background: #fff;
  font-size: 1.05rem;
}

.ppid-search-modal .modal-dialog {
  max-width: 720px;
}

.ppid-search-modal .modal-content {
  overflow: hidden;
  border: 1px solid rgba(11, 61, 105, .15);
  border-radius: 18px;
  box-shadow: 0 28px 80px rgba(2, 27, 48, .3);
}

.ppid-search-modal .modal-header {
  align-items: flex-start;
  padding: 25px 28px 19px;
  border-bottom-color: #e2eaf2;
}

.ppid-search-modal .modal-title {
  color: #102f5b;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -.025em;
}

.ppid-search-modal .modal-body {
  padding: 26px 28px;
}

.ppid-search-modal .form-label {
  margin-bottom: 9px;
  color: #344054;
  font-size: .8rem;
  font-weight: 700;
}

.ppid-search-input {
  position: relative;
}

.ppid-search-input > i {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 17px;
  color: #0e73bf;
  transform: translateY(-50%);
}

.ppid-search-input .form-control {
  min-height: 54px;
  padding-left: 48px;
  border-color: #cbd8e6;
  border-radius: 10px;
}

.ppid-search-input .form-control:focus {
  border-color: #0e73bf;
  box-shadow: 0 0 0 4px rgba(14, 115, 191, .12);
}

.ppid-search-modal .modal-footer {
  padding: 17px 28px 23px;
  border-top: 0;
}

/* Neutral dark overlay so the hero image keeps its original colour character. */
.hero {
  background-color: #101010;
  background-image: linear-gradient(90deg, rgba(0, 0, 0, .68) 0%, rgba(0, 0, 0, .48) 52%, rgba(0, 0, 0, .28) 100%), url("../images/hero-ppid.png");
}

.hero .eyebrow {
  max-width: 650px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.brand-copy small {
  max-width: 230px;
  white-space: normal;
}

/* Full-width visual band; the statistics content remains inside its container. */
.statistics-section {
  width: 100%;
  padding: 72px 0;
  border-top: 1px solid #d4e1ec;
  border-bottom: 1px solid #dbe6ef;
  background: linear-gradient(180deg, #e8f1f8 0%, #f0f5f9 100%);
}

.statistics-panel {
  box-shadow: 0 20px 50px rgba(6, 58, 105, .1);
}

.legacy-ppid-content img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 18px auto;
  border-radius: 12px;
}

.legacy-ppid-content > h1:first-of-type {
  display: none;
}

.legacy-ppid-content h2,
.legacy-ppid-content h3 {
  margin-top: 1.6em;
  color: var(--navy);
}

.legacy-ppid-content p,
.legacy-ppid-content li {
  line-height: 1.75;
}

.legacy-ppid-content table {
  width: 100% !important;
  max-width: 100%;
}

.ppid-content-list {
  display: grid;
  gap: 24px;
}

.ppid-content-card {
  margin: 0;
  overflow: hidden;
  padding: 0;
  border: 1px solid #dbe5ef;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(6, 58, 105, .07);
}

.ppid-content-card > h3 {
  margin: 0;
  padding: 22px 26px;
  border-bottom: 1px solid #dbe5ef;
  color: var(--navy);
  background: linear-gradient(90deg, #f7fbff 0%, #fff 100%);
  font-size: 1.15rem;
  font-weight: 800;
}

.ppid-document-content {
  overflow-x: auto;
  padding: 24px 26px 28px;
  color: #344054;
}

.ppid-document-content table {
  width: 100% !important;
  min-width: 760px;
  margin: 0 !important;
  overflow: hidden;
  border: 1px solid #d7e0ea !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  border-radius: 12px;
  color: #344054 !important;
  background: #fff !important;
}

.ppid-document-content td,
.ppid-document-content th {
  height: auto !important;
  padding: 16px 18px !important;
  border-width: 0 1px 1px 0 !important;
  border-style: solid !important;
  border-color: #d7e0ea !important;
  color: #344054 !important;
  background: #fff !important;
  font-family: "Inter", sans-serif !important;
  font-size: .9rem !important;
  line-height: 1.65 !important;
  vertical-align: top !important;
}

.ppid-document-content tr > :last-child {
  border-right-width: 0 !important;
}

.ppid-document-content tbody > tr:last-child > td,
.ppid-document-content tbody > tr:last-child > th {
  border-bottom-width: 0 !important;
}

.ppid-document-content:not([data-category-slug="informasi-serta-merta"]) tbody > tr:first-child > td,
.ppid-document-content:not([data-category-slug="informasi-serta-merta"]) tbody > tr:first-child > th {
  color: #fff !important;
  background: #0b3d69 !important;
  font-size: .78rem !important;
  font-weight: 800 !important;
  letter-spacing: .055em;
  text-align: center !important;
  text-transform: uppercase;
}

.ppid-document-content tbody > tr:nth-child(even) > td {
  background: #f6f9fc !important;
}

.ppid-document-content tbody > tr:hover > td {
  background: #eef6fc !important;
}

.ppid-document-content:not([data-category-slug="informasi-serta-merta"]) tr > :first-child {
  width: 64px !important;
  text-align: center !important;
}

.ppid-document-content:not([data-category-slug="informasi-serta-merta"]) tr > :last-child {
  width: 190px !important;
  text-align: center !important;
}

.ppid-document-content p {
  margin-top: 0;
  margin-bottom: .7rem;
}

.ppid-document-content p:last-child {
  margin-bottom: 0;
}

.ppid-document-content td strong {
  color: #102f5b !important;
  font-size: .95rem;
}

.ppid-document-content[data-category-slug="informasi-setiap-saat"] tr > td,
.ppid-document-content[data-category-slug="informasi-setiap-saat"] tr > th {
  text-align: left !important;
}

.ppid-document-content[data-category-slug="informasi-setiap-saat"] tbody > tr:first-child > td,
.ppid-document-content[data-category-slug="informasi-setiap-saat"] tbody > tr:first-child > th,
.ppid-document-content[data-category-slug="informasi-setiap-saat"] tbody > tr:first-child > td *,
.ppid-document-content[data-category-slug="informasi-setiap-saat"] tbody > tr:first-child > th * {
  color: #fff !important;
}

.ppid-document-content a[href] {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  margin: 3px 2px;
  padding: 7px 11px;
  border: 1px solid #b7d6ed;
  border-radius: 8px;
  color: #075f9f !important;
  background: #eef7fd !important;
  box-shadow: 0 2px 6px rgba(6, 58, 105, .06);
  font-size: .8rem !important;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none !important;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.ppid-document-content a[href]::before {
  margin-right: 7px;
  font-family: "bootstrap-icons";
  font-weight: 400;
  content: "\f30a";
}

.ppid-document-content a[href]:hover {
  border-color: #0e73bf;
  color: #fff !important;
  background: #0e73bf !important;
  transform: translateY(-1px);
}

.ppid-document-content[data-category-slug="informasi-serta-merta"] table {
  min-width: 0;
}

.ppid-document-content[data-category-slug="informasi-serta-merta"] tr > td:first-child {
  width: 62px !important;
  padding-top: 23px !important;
  color: #0b3d69 !important;
  background: #e9f4fc !important;
  font-size: 1rem !important;
  text-align: center !important;
}

.ppid-document-content[data-category-slug="informasi-serta-merta"] tr > td:nth-child(2) {
  display: none;
}

.ppid-document-content[data-category-slug="informasi-serta-merta"] tr > td:last-child {
  width: auto !important;
  padding: 22px 24px !important;
  text-align: left !important;
}

.ppid-document-content[data-category-slug="informasi-serta-merta"] tr:nth-child(even) > td:first-child {
  background: #dfeefa !important;
}

.search-results-heading {
  align-items: center;
}

.search-results-heading h1 {
  margin: 0;
  color: #102f5b;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -.035em;
}

.search-result-count {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 7px 13px;
  border: 1px solid #cae0f1;
  border-radius: 999px;
  color: #075f9f;
  background: #eef7fd;
  font-size: .75rem;
  font-weight: 800;
}

.search-results-form {
  grid-template-columns: minmax(0, 1fr) auto;
}

.search-results-form .btn {
  min-height: 48px;
  padding-right: 22px;
  padding-left: 22px;
}

.search-document-table .info-badge {
  color: #075985;
  background: #e0f2fe;
  white-space: normal;
}

.search-document-table .info-badge.informasi-setiap-saat {
  color: #365314;
  background: #ecfccb;
}

.search-document-table .info-badge.informasi-serta-merta {
  color: #9a3412;
  background: #ffedd5;
}

.search-document-table .document-actions .btn {
  white-space: nowrap;
}

.search-empty-state {
  padding: 54px 24px;
  border: 1px dashed #c7d6e5;
  border-radius: 14px;
  text-align: center;
  background: #f8fbfe;
}

.search-empty-state > i {
  display: inline-grid;
  width: 58px;
  height: 58px;
  margin-bottom: 16px;
  place-items: center;
  border-radius: 50%;
  color: #0e73bf;
  background: #e8f4fc;
  font-size: 1.45rem;
}

.search-empty-state h2 {
  margin-bottom: 8px;
  color: #102f5b;
  font-size: 1.12rem;
  font-weight: 800;
}

.search-empty-state p {
  margin: 0;
  color: #667085;
  font-size: .88rem;
}

@media (max-width: 767.98px) {
  .statistics-section {
    padding: 52px 0;
  }

  .ppid-search-modal .modal-dialog {
    margin: 12px;
  }

  .ppid-search-modal .modal-header,
  .ppid-search-modal .modal-body,
  .ppid-search-modal .modal-footer {
    padding-right: 18px;
    padding-left: 18px;
  }

  .search-results-form {
    grid-template-columns: 1fr;
  }

  .search-results-form .btn {
    width: 100%;
  }

  .ppid-content-card > h3 {
    padding: 18px;
  }

  .ppid-document-content {
    padding: 16px;
  }

  .ppid-document-content table {
    min-width: 680px;
  }

  .ppid-document-content[data-category-slug="informasi-serta-merta"] table {
    min-width: 0;
  }

  .ppid-document-content[data-category-slug="informasi-serta-merta"] tr > td:first-child {
    width: 46px !important;
    padding: 17px 10px !important;
  }

  .ppid-document-content[data-category-slug="informasi-serta-merta"] tr > td:last-child {
    padding: 17px !important;
  }
}

/* Accessibility panel, shared with the main BBKFP portal preferences. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #f9ca24 !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 5px rgba(14, 115, 191, .28) !important;
}

.accessibility-widget { position: fixed; right: 18px; bottom: 18px; z-index: 2147483000; }
.accessibility-trigger { display: inline-flex; min-height: 48px; align-items: center; gap: 10px; padding: 10px 18px; border: 2px solid #f9ca24; border-radius: 999px; color: #fff; background: #102f5b; box-shadow: 0 10px 28px rgba(8, 34, 66, .28); font-size: .78rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.accessibility-trigger:hover, .accessibility-trigger[aria-expanded="true"] { color: #fff; background: #071d3a; transform: translateY(-1px); }
.accessibility-trigger .bi { color: #f9ca24; font-size: 1.35rem; line-height: 1; }
.accessibility-panel { position: absolute; right: 0; bottom: calc(100% + 12px); width: min(380px, calc(100vw - 30px)); max-height: calc(100vh - 100px); overflow-y: auto; border: 1px solid #cbd9ea; border-radius: 20px; color: #172033; background: #fff; box-shadow: 0 22px 60px rgba(7, 29, 58, .3); }
.accessibility-panel-header { position: sticky; top: 0; z-index: 2; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 18px 20px; color: #fff; background: #102f5b; }
.accessibility-panel-header h2 { margin: 0; color: inherit; font-size: 1.1rem; font-weight: 800; text-transform: uppercase; }
.accessibility-panel-header p { margin: 4px 0 0; color: #dce9f8; font-size: .78rem; }
.accessibility-panel-close { display: grid; flex: 0 0 36px; width: 36px; height: 36px; place-items: center; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; color: #fff; background: rgba(255,255,255,.08); }
.accessibility-panel-close:hover { color: #102f5b; background: #fff; }
.accessibility-panel-body { display: grid; gap: 14px; padding: 18px 20px 20px; }
.accessibility-fieldset { min-width: 0; margin: 0; padding: 14px; border: 1px solid #d9e3ef; border-radius: 14px; }
.accessibility-fieldset legend { float: none; width: auto; margin: 0 0 10px; padding: 0 6px; color: #102f5b; font-size: .78rem; font-weight: 800; letter-spacing: .035em; text-transform: uppercase; }
.accessibility-size-options { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.accessibility-size-button { min-height: 40px; border: 1px solid #b8c8da; border-radius: 9px; color: #26364c; background: #f4f7fb; font-size: .78rem; font-weight: 700; }
.accessibility-size-button:hover, .accessibility-size-button[aria-pressed="true"] { border-color: #0e73bf; color: #fff; background: #0e73bf; }
.accessibility-setting-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 11px 0; border-bottom: 1px solid #e7edf4; }
.accessibility-setting-row:first-of-type { padding-top: 0; }
.accessibility-setting-row:last-child { padding-bottom: 0; border-bottom: 0; }
.accessibility-setting-row label { display: block; margin: 0; color: #1c2940; font-size: .88rem; font-weight: 700; cursor: pointer; }
.accessibility-setting-row small { display: block; margin-top: 2px; color: #67758a; font-size: .7rem; line-height: 1.35; }
.accessibility-setting-row .form-switch { padding-left: 2.65rem; }
.accessibility-setting-row .form-check-input { width: 2.25rem; height: 1.2rem; cursor: pointer; }
.accessibility-reset { display: flex; min-height: 42px; align-items: center; justify-content: center; gap: 8px; border: 1px solid #b8c8da; border-radius: 10px; color: #26364c; background: #fff; font-size: .8rem; font-weight: 700; }
.accessibility-reset:hover { border-color: #dc3545; color: #b02a37; background: #fff5f5; }

html[data-a11y-font-size="125"] { font-size: 125%; }
html[data-a11y-font-size="150"] { font-size: 150%; }
html[data-a11y-font-size="200"] { font-size: 200%; }
html[data-a11y-spacing="true"] body { line-height: 1.7; }
html[data-a11y-spacing="true"] :is(p, li, a, button, label, input, select, h1, h2, h3, h4, h5, h6) { letter-spacing: .035em !important; word-spacing: .12em !important; line-height: 1.7 !important; }
html[data-a11y-links="true"] body a:not(.btn):not(.accessibility-trigger) { text-decoration: underline !important; text-decoration-thickness: 2px !important; text-underline-offset: 3px !important; }
html[data-a11y-motion="reduced"] *, html[data-a11y-motion="reduced"] *::before, html[data-a11y-motion="reduced"] *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
html[data-a11y-contrast="high"] body { color: #080808 !important; background: #fff !important; }
html[data-a11y-contrast="high"] :is(.main-header, .hero, .profile-directory, .statistics-section, .statistics-panel, .site-footer) { color: #fff !important; background: #000 !important; }
html[data-a11y-contrast="high"] :is(.main-header, .hero, .site-footer) a { color: #ffec5c !important; }
html[data-a11y-contrast="high"] .accessibility-panel { border-color: #fff; color: #fff; background: #000; }
html[data-a11y-contrast="high"] :is(.accessibility-panel-header, .accessibility-fieldset, .accessibility-size-button, .accessibility-reset) { border-color: #fff; color: #fff; background: #000; }
html[data-a11y-contrast="high"] :is(.accessibility-fieldset legend, .accessibility-setting-row label, .accessibility-setting-row small) { color: #fff; }

@media (max-width: 575.98px) {
  .accessibility-widget { right: 12px; bottom: 12px; }
  .accessibility-trigger { min-height: 44px; padding: 9px 13px; font-size: .7rem; }
  .accessibility-panel { width: calc(100vw - 24px); max-height: calc(100vh - 80px); }
  .accessibility-panel-body { padding: 14px; }
}
