/* =========================================================
   NPWP ISTRI GABUNG SUAMI — V2
   Dedicated styles for information tables and selected icons.
   The 4-column matrix is forced to stay inside the article width.
   ========================================================= */

.jk-article,
.jk-article * {
  box-sizing: border-box;
}

/* =========================================================
   SELECTIVE SYMBOLS
   ========================================================= */

.npwp-card-icon,
.npwp-table-type-icon {
  display: grid;
  place-items: center;
  color: var(--blue);
}

.npwp-card-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 15px;
  border: 1px solid #d6e7f7;
  border-radius: 14px;
  background: #eef6ff;
}

.npwp-card-icon-muted {
  border-color: #e2e2e7;
  background: #f5f5f7;
  color: #6e6e73;
}

.npwp-card-icon svg,
.npwp-integration-icon svg,
.npwp-table-type-icon svg {
  width: 22px;
  height: 22px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.jk-service-card-icon.npwp-integration-icon {
  border: 1px solid #d6e7f7;
  background: #eef6ff;
  color: var(--blue);
  font-size: 0;
}

.jk-service-card-icon.npwp-integration-icon svg {
  width: 23px;
  height: 23px;
}

.npwp-table-type {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #1d1d1f;
  font-weight: 750;
}

.npwp-table-type-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border: 1px solid #d6e7f7;
  border-radius: 10px;
  background: #eef6ff;
}

.npwp-table-type-icon svg {
  width: 18px;
  height: 18px;
}

/* Status pills inside the summary matrix */
.npwp-status-pill {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 6px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.25;
  white-space: normal;
}

.npwp-status-pending {
  border: 1px solid #f0dfbd;
  background: #fff7e8;
  color: #8a5700;
}

.npwp-status-inactive {
  border: 1px solid #dedee3;
  background: #f5f5f7;
  color: #5c5c62;
}

.npwp-status-active {
  border: 1px solid #cfe8d3;
  background: #edf8ef;
  color: #2f6e3c;
}

/* =========================================================
   INFORMATION TABLE WRAPPER
   NO horizontal slide / shift on desktop.
   ========================================================= */

.jk-info-table-wrapper {
  width: 100%;
  max-width: 100%;
  margin: 26px 0 38px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, .07);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(20, 43, 76, .07);
}

/* =========================================================
   HARD RESET AGAINST GLOBAL TABLE CSS
   ========================================================= */

.article-body .jk-info-table,
.jk-article .jk-info-table {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  table-layout: fixed !important;
  background: #fff !important;
}

.article-body .jk-info-table thead,
.jk-article .jk-info-table thead {
  display: table-header-group !important;
}

.article-body .jk-info-table tbody,
.jk-article .jk-info-table tbody {
  display: table-row-group !important;
  padding: 0 !important;
  background: #fff !important;
}

.article-body .jk-info-table tr,
.article-body .jk-info-table tbody tr,
.article-body .jk-info-table tbody tr:nth-child(odd),
.article-body .jk-info-table tbody tr:nth-child(even),
.article-body .jk-info-table tbody tr:hover,
.jk-article .jk-info-table tr,
.jk-article .jk-info-table tbody tr {
  display: table-row !important;
  width: auto !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
}

.article-body .jk-info-table th,
.article-body .jk-info-table td,
.article-body .jk-info-table tbody tr:nth-child(odd) td,
.article-body .jk-info-table tbody tr:nth-child(even) td,
.article-body .jk-info-table tbody tr:hover td,
.jk-article .jk-info-table th,
.jk-article .jk-info-table td {
  display: table-cell !important;
  width: auto;
  max-width: none !important;
  min-width: 0 !important;
  overflow: visible !important;
  padding: 15px 16px !important;
  border-top: 0 !important;
  border-left: 0 !important;
  border-right: 1px solid #e7e7ec !important;
  border-bottom: 1px solid #e7e7ec !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: #515154 !important;
  opacity: 1 !important;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    Helvetica,
    sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 400 !important;
  font-style: normal !important;
  line-height: 1.58 !important;
  letter-spacing: -0.004em !important;
  text-align: left !important;
  text-transform: none !important;
  vertical-align: top !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
  text-overflow: clip !important;
}

.article-body .jk-info-table thead th,
.article-body .jk-info-table thead th:nth-child(1),
.article-body .jk-info-table thead th:nth-child(2),
.article-body .jk-info-table thead th:nth-child(3),
.article-body .jk-info-table thead th:nth-child(4),
.jk-article .jk-info-table thead th,
.jk-article .jk-info-table thead th:nth-child(1),
.jk-article .jk-info-table thead th:nth-child(2),
.jk-article .jk-info-table thead th:nth-child(3),
.jk-article .jk-info-table thead th:nth-child(4) {
  padding: 14px 15px !important;
  background: #111113 !important;
  color: #fff !important;
  opacity: 1 !important;
  font-size: 10px !important;
  font-weight: 780 !important;
  line-height: 1.35 !important;
  letter-spacing: .045em !important;
  text-transform: uppercase !important;
  vertical-align: middle !important;
  white-space: normal !important;
  overflow: visible !important;
  overflow-wrap: anywhere !important;
}

.article-body .jk-info-table th:last-child,
.article-body .jk-info-table td:last-child,
.jk-article .jk-info-table th:last-child,
.jk-article .jk-info-table td:last-child {
  border-right: 0 !important;
}

.article-body .jk-info-table tbody tr:last-child td,
.jk-article .jk-info-table tbody tr:last-child td {
  border-bottom: 0 !important;
}

.article-body .jk-info-table tbody td:first-child,
.jk-article .jk-info-table tbody td:first-child {
  color: #1d1d1f !important;
  font-weight: 680 !important;
}

/* =========================================================
   TABLE 1 — HIBAH / WARIS
   ========================================================= */

.article-body .jk-info-table-skb th:nth-child(1),
.article-body .jk-info-table-skb td:nth-child(1),
.jk-article .jk-info-table-skb th:nth-child(1),
.jk-article .jk-info-table-skb td:nth-child(1) {
  width: 18% !important;
}

.article-body .jk-info-table-skb th:nth-child(2),
.article-body .jk-info-table-skb td:nth-child(2),
.jk-article .jk-info-table-skb th:nth-child(2),
.jk-article .jk-info-table-skb td:nth-child(2) {
  width: 41% !important;
}

.article-body .jk-info-table-skb th:nth-child(3),
.article-body .jk-info-table-skb td:nth-child(3),
.jk-article .jk-info-table-skb th:nth-child(3),
.jk-article .jk-info-table-skb td:nth-child(3) {
  width: 41% !important;
  color: #515154 !important;
  font-size: 13.5px !important;
  font-weight: 400 !important;
  text-align: left !important;
}

/* =========================================================
   TABLE 2 — SUMMARY MATRIX
   IMPORTANT: no min-width, no horizontal scrolling.
   ========================================================= */

.article-body .jk-info-table-matrix,
.jk-article .jk-info-table-matrix {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

.article-body .jk-info-table-matrix th:nth-child(1),
.article-body .jk-info-table-matrix td:nth-child(1),
.jk-article .jk-info-table-matrix th:nth-child(1),
.jk-article .jk-info-table-matrix td:nth-child(1) {
  width: 29% !important;
}

.article-body .jk-info-table-matrix th:nth-child(2),
.article-body .jk-info-table-matrix td:nth-child(2),
.jk-article .jk-info-table-matrix th:nth-child(2),
.jk-article .jk-info-table-matrix td:nth-child(2) {
  width: 17% !important;
}

.article-body .jk-info-table-matrix th:nth-child(3),
.article-body .jk-info-table-matrix td:nth-child(3),
.jk-article .jk-info-table-matrix th:nth-child(3),
.jk-article .jk-info-table-matrix td:nth-child(3) {
  width: 25% !important;
}

.article-body .jk-info-table-matrix th:nth-child(4),
.article-body .jk-info-table-matrix td:nth-child(4),
.jk-article .jk-info-table-matrix th:nth-child(4),
.jk-article .jk-info-table-matrix td:nth-child(4) {
  width: 29% !important;
}

/* Keep all matrix body columns as normal prose */
.article-body .jk-info-table-matrix tbody td:nth-child(3),
.article-body .jk-info-table-matrix tbody td:nth-child(4),
.jk-article .jk-info-table-matrix tbody td:nth-child(3),
.jk-article .jk-info-table-matrix tbody td:nth-child(4) {
  color: #515154 !important;
  font-size: 13.5px !important;
  font-weight: 400 !important;
  text-align: left !important;
}

/* =========================================================
   MID-SIZE SCREENS
   At narrower widths, the matrix becomes cards BEFORE it can
   become cramped or slide horizontally.
   ========================================================= */

@media (max-width: 980px) {
  .jk-info-table-wrapper {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .article-body .jk-info-table-matrix,
  .jk-article .jk-info-table-matrix {
    table-layout: auto !important;
    background: transparent !important;
  }

  .article-body .jk-info-table-matrix thead,
  .jk-article .jk-info-table-matrix thead {
    display: none !important;
  }

  .article-body .jk-info-table-matrix tbody,
  .jk-article .jk-info-table-matrix tbody {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 14px !important;
    background: transparent !important;
  }

  .article-body .jk-info-table-matrix tbody tr,
  .article-body .jk-info-table-matrix tbody tr:nth-child(odd),
  .article-body .jk-info-table-matrix tbody tr:nth-child(even),
  .article-body .jk-info-table-matrix tbody tr:hover,
  .jk-article .jk-info-table-matrix tbody tr {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    overflow: hidden !important;
    border: 1px solid #e5e5ea !important;
    border-radius: 19px !important;
    background: #fff !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .045) !important;
  }

  .article-body .jk-info-table-matrix tbody td,
  .article-body .jk-info-table-matrix tbody td:nth-child(1),
  .article-body .jk-info-table-matrix tbody td:nth-child(2),
  .article-body .jk-info-table-matrix tbody td:nth-child(3),
  .article-body .jk-info-table-matrix tbody td:nth-child(4),
  .jk-article .jk-info-table-matrix tbody td {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 14px 16px !important;
    border-right: 1px solid #ededf0 !important;
    border-bottom: 1px solid #ededf0 !important;
    background: #fff !important;
    color: #515154 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.55 !important;
    text-align: left !important;
  }

  .article-body .jk-info-table-matrix tbody td:nth-child(even),
  .jk-article .jk-info-table-matrix tbody td:nth-child(even) {
    border-right: 0 !important;
  }

  .article-body .jk-info-table-matrix tbody td:nth-child(3),
  .article-body .jk-info-table-matrix tbody td:nth-child(4),
  .jk-article .jk-info-table-matrix tbody td:nth-child(3),
  .jk-article .jk-info-table-matrix tbody td:nth-child(4) {
    border-bottom: 0 !important;
  }

  .article-body .jk-info-table-matrix tbody td::before,
  .jk-article .jk-info-table-matrix tbody td::before {
    display: block !important;
    margin-bottom: 6px;
    color: #86868b;
    content: attr(data-label) !important;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: .05em;
    text-transform: uppercase;
  }

  .article-body .jk-info-table-matrix tbody td:first-child,
  .jk-article .jk-info-table-matrix tbody td:first-child {
    background: #f3f8ff !important;
    color: #1d1d1f !important;
    font-weight: 700 !important;
  }
}

/* =========================================================
   MOBILE
   Both tables become vertical cards.
   ========================================================= */

@media (max-width: 700px) {
  .jk-info-table-wrapper {
    margin: 22px 0 34px;
  }

  .article-body .jk-info-table-skb,
  .jk-article .jk-info-table-skb {
    table-layout: auto !important;
    background: transparent !important;
  }

  .article-body .jk-info-table-skb thead,
  .jk-article .jk-info-table-skb thead {
    display: none !important;
  }

  .article-body .jk-info-table-skb tbody,
  .jk-article .jk-info-table-skb tbody {
    display: grid !important;
    gap: 14px !important;
    background: transparent !important;
  }

  .article-body .jk-info-table-skb tbody tr,
  .jk-article .jk-info-table-skb tbody tr {
    display: block !important;
    overflow: hidden !important;
    border: 1px solid #e5e5ea !important;
    border-radius: 19px !important;
    background: #fff !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .045) !important;
  }

  .article-body .jk-info-table-skb tbody td,
  .article-body .jk-info-table-skb tbody td:nth-child(1),
  .article-body .jk-info-table-skb tbody td:nth-child(2),
  .article-body .jk-info-table-skb tbody td:nth-child(3),
  .jk-article .jk-info-table-skb tbody td {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 13px 16px !important;
    border-right: 0 !important;
    border-bottom: 1px solid #ededf0 !important;
    background: #fff !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
  }

  .article-body .jk-info-table-skb tbody td::before,
  .jk-article .jk-info-table-skb tbody td::before {
    display: block !important;
    margin-bottom: 5px;
    color: #86868b;
    content: attr(data-label) !important;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
  }

  .article-body .jk-info-table-skb tbody td:first-child,
  .jk-article .jk-info-table-skb tbody td:first-child {
    background: #f3f8ff !important;
  }

  .article-body .jk-info-table-skb tbody td:last-child,
  .jk-article .jk-info-table-skb tbody td:last-child {
    border-bottom: 0 !important;
  }

  .article-body .jk-info-table-matrix tbody tr,
  .jk-article .jk-info-table-matrix tbody tr {
    grid-template-columns: 1fr !important;
  }

  .article-body .jk-info-table-matrix tbody td,
  .article-body .jk-info-table-matrix tbody td:nth-child(even),
  .article-body .jk-info-table-matrix tbody td:nth-child(3),
  .article-body .jk-info-table-matrix tbody td:nth-child(4),
  .jk-article .jk-info-table-matrix tbody td {
    border-right: 0 !important;
    border-bottom: 1px solid #ededf0 !important;
  }

  .article-body .jk-info-table-matrix tbody td:last-child,
  .jk-article .jk-info-table-matrix tbody td:last-child {
    border-bottom: 0 !important;
  }

  .npwp-card-icon {
    width: 42px;
    height: 42px;
    border-radius: 13px;
  }
}

/* =========================================================
   PRINT
   ========================================================= */

@media print {
  .jk-info-table-wrapper {
    overflow: visible !important;
    border: 1px solid #bbb !important;
    box-shadow: none !important;
  }

  .article-body .jk-info-table,
  .jk-article .jk-info-table {
    display: table !important;
    width: 100% !important;
  }

  .article-body .jk-info-table thead,
  .jk-article .jk-info-table thead {
    display: table-header-group !important;
  }

  .article-body .jk-info-table tbody,
  .jk-article .jk-info-table tbody {
    display: table-row-group !important;
  }

  .article-body .jk-info-table tr,
  .jk-article .jk-info-table tr {
    display: table-row !important;
  }

  .article-body .jk-info-table td,
  .article-body .jk-info-table th,
  .jk-article .jk-info-table td,
  .jk-article .jk-info-table th {
    display: table-cell !important;
  }

  .article-body .jk-info-table thead th,
  .jk-article .jk-info-table thead th {
    background: #eee !important;
    color: #000 !important;
  }
}
