/* ===== Additions for: life claim tab, sub-tabs under "buying a policy", government schemes tab ===== */

.sub-tab-row { display: flex; gap: 6px; margin-bottom: 18px; }
.sub-tab-row-stacked { flex-direction: column; }
.sub-tab-btn {
  flex: 1; padding: 8px 12px; font-size: 12.5px; font-weight: 600;
  border: 1px solid #D3D1C7; background: #FAF9F5; color: #5F5E5A;
  border-radius: 4px; cursor: pointer;
}
.sub-tab-row-stacked .sub-tab-btn { width: 100%; text-align: left; padding: 10px 14px; }
.sub-tab-btn.active {
  border: 1px solid #8A6A2A; background: #FAEEDA; color: #633806;
}

.sub-tab-content { display: none; }
.sub-tab-content.active { display: block; }

/* ---- Government scheme card: styled like an official notice, with a
   small gold seal badge echoing the score-seal graphic elsewhere ---- */
.scheme-card {
  background: #FFFFFF;
  border: 1px solid #D3D1C7;
  border-radius: 4px;
  padding: 22px 22px 18px;
  margin-bottom: 16px;
  position: relative;
  border-top: 3px solid #8A6A2A;
}
.scheme-card-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 12px;
}
.scheme-badge {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 3px solid #8A6A2A;
  background: #FAEEDA;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-6deg);
}
.scheme-badge-inner {
  font-family: 'Source Serif Pro', Georgia, serif;
  font-size: 10px;
  font-weight: 700;
  color: #633806;
  text-align: center;
  line-height: 1.1;
  letter-spacing: 0.02em;
}
.scheme-card-title {
  font-family: 'Source Serif Pro', Georgia, serif;
  font-size: 17px;
  color: #0F1B2E;
  margin: 4px 0 0;
}
.scheme-card .box-text { margin-bottom: 8px; }
.scheme-card ul {
  font-size: 14px; color: #2C2C2A; line-height: 1.7; margin: 8px 0 0; padding-left: 20px;
}

.scheme-highlight-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.scheme-highlight {
  display: inline-block;
  font-size: 12px;
  background: #EEEDFE;
  color: #3C3489;
  padding: 5px 10px;
  border-radius: 4px;
  font-weight: 600;
}

.select-input {
  width: 100%;
  box-sizing: border-box;
  padding: 9px 11px;
  font-size: 14px;
  border-radius: 4px;
  border: 1px solid #D3D1C7;
  background: #FFFFFF;
  color: #0F1B2E;
  font-family: inherit;
}

/* ---- Document-style header used above the AI-generated policy
   recommendation, echoing the letter-box / case-file treatment ---- */
.doc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid #0F1B2E;
  padding-bottom: 10px;
  margin-bottom: 4px;
}
.doc-header .eyebrow { margin-bottom: 0; }
.doc-stamp {
  font-family: 'Courier New', monospace;
  font-size: 11px;
  color: #8A6A2A;
  border: 1px solid #8A6A2A;
  border-radius: 3px;
  padding: 3px 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
  transform: rotate(-3deg);
}

/* ---- FAQ accordion ---- */
.faq-item {
  background: #FFFFFF;
  border: 1px solid #D3D1C7;
  border-radius: 4px;
  margin-bottom: 10px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 14px 16px;
  font-size: 14.5px;
  font-weight: 600;
  color: #0F1B2E;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-family: inherit;
}
.faq-question:hover { background: #FAF9F5; }
.faq-chevron {
  color: #8A6A2A;
  font-size: 13px;
  flex-shrink: 0;
  transition: transform 0.15s ease;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  display: none;
  padding: 0 16px 16px;
  border-top: 1px solid #EFEDE5;
}
.faq-item.open .faq-answer { display: block; padding-top: 12px; }
.faq-answer .box-text { margin: 0; }
