/* assumption-style.css - VA Loan Assumption Planner, scoped under .asp2 */
/* Navy gradient theme matching .aff2 / .ccc2 reference */
.asp2 {
  --navy: #0A2540;
  --navy-deep: #061829;
  --navy-mid: #143256;
  --navy-light: #1E4470;
  --gold: #FFB800;
  --gold-soft: #FFC733;
  --blue: #2B7FFF;
  --blue-bright: #4A96FF;
  --white: #FFFFFF;
  --gray-400: #94A3B8;
  --green: #10B981;
  --green-soft: #34D399;
  --red: #C8102E;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.45;
  color: var(--white);
  background: radial-gradient(circle at 15% 0%, rgba(43,127,255,0.12) 0%, transparent 50%),
    radial-gradient(circle at 85% 100%, rgba(255,184,0,0.08) 0%, transparent 45%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  border-radius: 12px;
  padding: 12px 16px 8px;
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
  max-width: 649px;
  margin: 0 auto;
}
.asp2 *, .asp2 *::before, .asp2 *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Explicit Divi resets at 0-2-1 specificity */
.asp2 p { font-size: 14px; line-height: 1.45; color: var(--white); margin: 0; padding: 0; }
.asp2 ul { font-size: 14px; line-height: 1.45; list-style: none; margin: 0; padding: 0; }
.asp2 li { font-size: 14px; line-height: 1.45; color: var(--white); margin: 0; padding: 0; }
.asp2 label, .asp2.asp2 label { font-size: 10px; line-height: 1.3; color: rgba(255,255,255,0.5); display: block; margin: 0; padding: 0; }
.asp2 h3 { font-size: 18px; line-height: 1.3; font-weight: 700; color: var(--white); margin: 0; padding: 0; }
.asp2 h4 { font-size: 14px; line-height: 1.3; font-weight: 600; color: var(--white); margin: 0; padding: 0; }
.asp2 input, .asp2.asp2 input { font-size: 14px; line-height: 1.4; color: var(--white); margin: 0; }
.asp2 select, .asp2.asp2 select { font-size: 14px; line-height: 1.4; color: var(--white); margin: 0; }
.asp2 button, .asp2.asp2 button { font-size: 13px; line-height: 1; background: transparent; border: none; color: var(--white); margin: 0; padding: 0; cursor: pointer; }
.asp2 details, .asp2.asp2 details { background: transparent; border: none; margin: 0; padding: 0; }
.asp2 summary, .asp2.asp2 summary { background: transparent; border: none; margin: 0; padding: 0; font-size: 12px; line-height: 1.4; color: var(--gold); list-style: none; cursor: pointer; }
.asp2 summary::-webkit-details-marker { display: none; }
.asp2 .asp2-result-grid { padding: 0; }
.asp2 div { padding-bottom: 0; }

/* Head */
.asp2 .asp2-head { margin-bottom: 6px; }
.asp2 .asp2-title { font-family: 'Source Serif 4', Georgia, serif; font-size: 18px; font-weight: 700; margin-bottom: 2px; color: var(--white); }
.asp2 .asp2-subtitle { font-size: 11px; color: rgba(255,255,255,0.5); line-height: 1.4; }

/* Tabs */
.asp2 .asp2-tabs { display: flex; gap: 0; border: 1px solid rgba(255,255,255,0.12); border-radius: 8px; overflow: hidden; margin-bottom: 12px; }
.asp2 .asp2-tab { flex: 1; padding: 8px 0; text-align: center; font-weight: 600; font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; cursor: pointer; border: none; background: transparent; color: rgba(255,255,255,0.6); border-right: 1px solid rgba(255,255,255,0.08); transition: background 0.15s, color 0.15s; }
.asp2 .asp2-tab:last-child { border-right: none; }
.asp2 .asp2-tab[aria-selected="true"] { background: var(--gold); color: var(--navy); }
.asp2 .asp2-panel { display: none; }
.asp2 .asp2-panel[data-active="true"] { display: block; }

/* Fields */
.asp2 .asp2-field { margin-bottom: 6px; }
.asp2 .asp2-field label { font-size: 10px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 2px; }
.asp2 .asp2-field input, .asp2 .asp2-field select { width: 100%; padding: 7px 10px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 6px; color: var(--white); font-size: 14px; font-family: inherit; outline: none; transition: border-color 0.15s; }
.asp2 .asp2-field input:focus, .asp2 .asp2-field select:focus { border-color: var(--blue); }
.asp2 .asp2-field select option { background: var(--navy-deep); color: var(--white); }
.asp2 .asp2-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.asp2 .asp2-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
@media (max-width: 480px) { .asp2 .asp2-row, .asp2 .asp2-row-3 { grid-template-columns: 1fr; } }

/* Toggle */
.asp2 .asp2-toggle { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.asp2 .asp2-toggle input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--gold); }
.asp2 .asp2-toggle label { font-size: 12px; font-weight: 500; color: rgba(255,255,255,0.7); cursor: pointer; text-transform: none; letter-spacing: 0; }

/* CTA button */
.asp2 .asp2-btn { display: inline-flex; align-items: center; justify-content: center; padding: 8px 20px; border: none; border-radius: 8px; font-size: 13px; font-weight: 700; cursor: pointer; text-transform: uppercase; letter-spacing: 0.04em; transition: all 0.15s; }
.asp2 .asp2-btn-primary { background: linear-gradient(135deg, var(--gold), var(--gold-soft)); color: var(--navy); box-shadow: 0 2px 8px rgba(255,184,0,0.3); }
.asp2 .asp2-btn-primary:hover { background: linear-gradient(135deg, var(--gold-soft), var(--gold)); transform: translateY(-1px); }
.asp2 .asp2-btn-bar { display: flex; gap: 8px; margin-top: 4px; }

/* Collapsed assumptions */
.asp2 .asp2-assumptions { margin: 4px 0; border: 1px solid rgba(255,255,255,0.08); border-radius: 6px; }
.asp2 .asp2-assumptions summary { padding: 5px 10px; font-size: 11px; font-weight: 600; color: var(--gold); cursor: pointer; list-style: none; display: flex; align-items: center; gap: 4px; }
.asp2 .asp2-assumptions summary::before { content: '\25B8'; font-size: 10px; transition: transform 0.2s; }
.asp2 .asp2-assumptions[open] summary::before { transform: rotate(90deg); }
.asp2 .asp2-assumptions-body { padding: 4px 10px 8px; }

/* Results */
.asp2 .asp2-results { margin-top: 4px; }
.asp2 .asp2-result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 6px; }
.asp2 .asp2-result-tile { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 8px; padding: 8px 10px; }
.asp2 .asp2-result-label { font-size: 10px; font-weight: 600; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.05em; }
.asp2 .asp2-result-value { font-size: 18px; font-weight: 700; color: var(--white); margin-top: 2px; }
.asp2 .asp2-result-value.positive { color: var(--green-soft); }
.asp2 .asp2-result-value.negative { color: var(--red); }

/* More details toggle */
.asp2 .asp2-more { margin-top: 6px; }
.asp2 .asp2-more summary { font-size: 11px; font-weight: 600; color: var(--gold); cursor: pointer; list-style: none; display: flex; align-items: center; gap: 4px; }
.asp2 .asp2-more summary::before { content: '\25B8'; font-size: 10px; transition: transform 0.2s; }
.asp2 .asp2-more[open] summary::before { transform: rotate(90deg); }

/* Summary bar */
.asp2 .asp2-summary { background: rgba(255,184,0,0.10); border: 1px solid rgba(255,184,0,0.25); border-radius: 8px; padding: 10px 14px; margin-top: 6px; }
.asp2 .asp2-summary-title { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gold); }
.asp2 .asp2-summary-value { font-size: 20px; font-weight: 800; color: var(--white); margin-top: 2px; }
.asp2 .asp2-summary-note { font-size: 10px; color: rgba(255,255,255,0.5); margin-top: 4px; line-height: 1.4; }

/* Lead form toggle */
.asp2 .asp2-form-toggle { margin-top: 4px; }
.asp2 .asp2-form-toggle summary { font-size: 11px; font-weight: 600; color: var(--gold); cursor: pointer; list-style: none; display: flex; align-items: center; gap: 6px; }
.asp2 .asp2-form-toggle summary::before { content: '\25B8'; transition: transform 0.2s; }
.asp2 .asp2-form-toggle[open] summary::before { transform: rotate(90deg); }
.asp2 .asp2-form-body { padding-top: 8px; }
.asp2 .asp2-form-body .asp2-row { margin-bottom: 6px; }
.asp2 .asp2-honeypot { position: absolute; left: -9999px; }

/* Seller panel entitlement */
.asp2 .asp2-entitlement { background: rgba(16,185,129,0.08); border: 1px solid rgba(16,185,129,0.25); border-radius: 8px; padding: 10px; margin-top: 10px; }
.asp2 .asp2-entitlement.encumbered { background: rgba(255,184,0,0.08); border-color: rgba(255,184,0,0.25); }
.asp2 .asp2-entitlement-label { font-size: 10px; font-weight: 600; text-transform: uppercase; color: var(--gray-400); }
.asp2 .asp2-entitlement-text { font-size: 13px; margin-top: 4px; color: rgba(255,255,255,0.85); line-height: 1.5; }

/* Source */
.asp2 .asp2-source { font-size: 10px; color: rgba(255,255,255,0.35); margin-top: 4px; line-height: 1.3; }
.asp2 .asp2-source a { color: rgba(255,255,255,0.5); text-decoration: underline; }
