/* Scheme Details + Key Features — ported verbatim from the PostPay Android app.
   Scoped to the Schemes and Insurance pages (schemes.html, pli-rpli.html). */

.scheme-detail-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 12px 0 20px;
}

.scheme-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  padding: 9px 12px;
  background: #F8FAFC;
  border: 1px solid #EEF1F6;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.55;
}

.scheme-detail-row .sd-label {
  color: #6B7280;
  font-weight: 600;
  flex: 1 1 auto;
}

.scheme-detail-row .sd-value {
  font-weight: 800;
  text-align: right;
  color: #111827;
  flex: 0 1 auto;
}

.scheme-detail-row.is-highlight {
  background: #EEF4FF;
  border-color: #D6E4FF;
}

.scheme-detail-row.is-highlight .sd-value {
  color: var(--primary);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
}

.feature-list li {
  position: relative;
  padding: 7px 0 7px 26px;
  font-size: 14px;
  line-height: 1.6;
  border-bottom: 1px dashed #EEF1F6;
}

.feature-list li:last-child {
  border-bottom: 0;
}

.feature-check {
  position: absolute;
  left: 0;
  top: 7px;
  color: #16A34A;
  font-weight: 800;
}

.scheme-note {
  background: #FFF8E1;
  border-left: 4px solid #F59E0B;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.6;
  margin: 14px 0 0;
  color: #5B4300;
}

.plan-sub {
  font-size: 12px;
  font-weight: 600;
  color: #6B7280;
  margin: 4px 0 10px;
}

.plan-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 12px;
}

.plan-features-head {
  font-size: 14px;
  font-weight: 800;
  color: var(--primary);
  margin: 4px 0 6px;
}

.info-card h4 {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.4;
}

.info-card h3 {
  margin-top: 4px;
}

.content-card,
.info-card {
  scroll-margin-top: 88px;
}

.detail-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid #D9E5F5;
  border-radius: 12px;
  background: linear-gradient(135deg, #F8FBFF, #FFF7F7);
}

.detail-tools-copy { min-width: 0; }

.detail-tools-title {
  display: block;
  color: #111827;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.detail-tools-note {
  display: block;
  margin-top: 3px;
  color: #64748B;
  font-size: 12px;
  line-height: 1.45;
}

.detail-calc-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--primary);
  color: #FFF !important;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(198, 40, 40, .18);
}

.detail-calc-link:hover,
.detail-calc-link:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(198, 40, 40, .25);
}

.detail-jump-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: 0 0 20px;
  padding: 2px 0 8px;
  scrollbar-width: thin;
}

.detail-jump-nav a {
  flex: 0 0 auto;
  padding: 8px 12px;
  border: 1px solid #E2E8F0;
  border-radius: 999px;
  background: #FFF;
  color: #334155;
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
}

.detail-jump-nav a:hover,
.detail-jump-nav a:focus-visible {
  border-color: var(--primary);
  color: var(--primary);
}

@media (max-width: 560px) {
  .scheme-detail-row {
    flex-direction: column;
    gap: 2px;
  }
  .scheme-detail-row .sd-value {
    text-align: left;
  }
  .feature-list li {
    font-size: 13.5px;
  }
  .detail-tools {
    align-items: stretch;
    flex-direction: column;
  }
  .detail-calc-link { width: 100%; }
}
