/* Modal detail skema. */

.skema-modal-catbadge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 20px;
  padding: 5px 13px;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: #fff;
}

.skema-modal-catbadge.gold {
  background: #5c4600;
}

.skema-modal-catbadge.red {
  background: #6b1712;
}

.skema-modal-catbadge.orange {
  background: #6b3f00;
}

.skema-modal-cta {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.skema-modal {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(6,8,10,.86);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 8vh 20px 40px;
  overflow-y: auto;
}

.skema-modal.open {
  display: flex;
}

.skema-modal-panel {
  width: 100%;
  max-width: 620px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 32px 30px;
  position: relative;
  box-shadow: var(--shadow);
}

.skema-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.skema-modal-close svg {
  width: 18px;
  height: 18px;
}

.skema-modal-eyebrow {
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin-bottom: 10px;
}

.skema-modal-title {
  font-size: 1.3rem;
  color: var(--text);
  line-height: 1.25;
  padding-right: 30px;
}

.skema-modal-nomor {
  font-family: var(--font-mono);
  font-size: .8rem;
  color: var(--text-soft);
  margin-top: 8px;
}

.skema-modal-stats {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}

.skema-modal-stat {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 20px;
  text-align: center;
}

.skema-modal-stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold-ink);
}

.skema-modal-stat span {
  display: block;
  font-size: .72rem;
  color: var(--text-soft);
  margin-top: 4px;
  font-family: var(--font-mono);
  letter-spacing: .03em;
}

.skema-modal-section {
  margin-top: 26px;
}

.skema-modal-section h4 {
  font-size: .8rem;
  letter-spacing: .06em;
  color: var(--text);
  margin-bottom: 12px;
}

.skema-modal-section .syarat-sub {
  font-size: .82rem;
  font-weight: 600;
  color: var(--gold-ink);
  margin: 4px 0 10px;
}

.skema-modal-section .syarat-list + .syarat-sub {
  margin-top: 18px;
}

.skema-modal-section ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.skema-modal-section ul li {
  display: flex;
  gap: 8px;
  font-size: .86rem;
  color: var(--text-soft);
  line-height: 1.55;
}

.skema-modal-section ul li::before {
  content: "✓";
  color: var(--gold-ink);
  flex: none;
  font-weight: 700;
}

.skema-modal-section ol {
  list-style: none;
  counter-reset: unit-counter;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.skema-modal-section ol li {
  counter-increment: unit-counter;
  display: flex;
  gap: 10px;
  font-size: .86rem;
  color: var(--text-soft);
  line-height: 1.55;
}

.skema-modal-section ol li::before {
  content: counter(unit-counter);
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--gold-ink);
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.unit-kode {
  display: block;
  font-family: var(--font-mono);
  font-size: .7rem;
  color: var(--gold-ink);
  letter-spacing: .02em;
  margin-bottom: 2px;
}
