/* Native business-structure quiz styles. */
/* ===== Base ===== */
.business-structure-tool { background: white; border-radius: 12px; box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1); border: 1px solid #e5e7eb; overflow: hidden; font-family: 'Montserrat', system-ui, sans-serif; max-width: 850px; margin-left: auto; margin-right: auto; }
.business-structure-tool * { box-sizing: border-box; }
.business-structure-step { padding: 1.5rem 1.75rem; }

/* ===== Intro Screen ===== */
.business-structure-tool .bst-intro { text-align: center; max-width: 480px; margin: 0 auto; }
.business-structure-tool .bst-intro h4 { font-size: 1.15rem; font-weight: 700; color: #2c4141; line-height: 1.5; margin: 0 0 0.75rem 0; }
.business-structure-tool .bst-intro p { font-size: 0.9rem; color: #595959; line-height: 1.6; margin: 0 0 1.5rem 0; }
.business-structure-tool .bst-intro .bst-intro-icon { font-size: 2.5rem; color: #9DFF20; margin-bottom: 1rem; }

/* ===== Header ===== */
.business-structure-tool .bst-header { display: flex; justify-content: space-between; align-items: center; background-color: #2c4141; color: white; padding: 0.75rem 1rem; }
.business-structure-tool .bst-header h3 { margin: 0; padding: 0; border: none; font-size: 1.1rem; font-weight: 700; color: white; display: flex; align-items: center; gap: 0.5rem; }
.business-structure-tool .bst-step-badge { background-color: rgba(255,255,255,0.2); padding: 0.25rem 0.75rem; border-radius: 9999px; font-size: 0.85rem; font-weight: 700; white-space: nowrap; }
@media (max-width: 400px) {
    .business-structure-tool .bst-header { padding: 0.5rem 0.75rem; gap: 0.5rem; }
    .business-structure-tool .bst-header h3 { font-size: 1rem; gap: 0.35rem; }
    .business-structure-tool .bst-step-badge { padding: 0.2rem 0.5rem; font-size: 0.75rem; }
}

/* ===== Progress ===== */
.business-structure-tool .bst-progress-track { background-color: #f3f4f6; height: 6px; width: 100%; }
.business-structure-tool .bst-progress-bar { height: 100%; background-color: #9DFF20; transition: width 0.4s ease; }

/* ===== Question Header ===== */
.business-structure-tool .bst-question-row { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.5rem; }
.business-structure-tool .bst-question { font-size: 1.1rem; font-weight: 700; color: #2c4141; margin: 0; }
.business-structure-tool .bst-help-btn { background: #F4FFE8; border: 1px solid #9DFF20; color: #9DFF20; border-radius: 0.25rem; padding: 0.25rem 0.5rem; cursor: pointer; font-size: 12px; font-weight: 700; }
.business-structure-tool .bst-subtitle { color: #595959; font-size: 0.9rem; margin: 0 0 1rem 0; padding: 0; }

/* ===== Options Grid ===== */
.business-structure-tool .bst-options { display: grid; gap: 1rem; margin-bottom: 1.5rem; }
.business-structure-tool .bst-options-2 { grid-template-columns: repeat(2, 1fr); }
.business-structure-tool .bst-options-3 { grid-template-columns: repeat(3, 1fr); }
.business-structure-tool .bst-options-4 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 700px) {
    .business-structure-tool .bst-options-3 { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .business-structure-tool .bst-options-2,
    .business-structure-tool .bst-options-4 { grid-template-columns: 1fr; }
}
.business-structure-tool .business-structure-option { border: 2px solid #e5e7eb; border-radius: 8px; padding: 1.25rem; cursor: pointer; transition: all 0.2s; background: white; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.business-structure-tool .business-structure-option:hover { border-color: #9ca3af; }
.business-structure-tool .business-structure-option.selected { border-color: #9DFF20; background-color: #F4FFE8; box-shadow: 0 4px 6px -1px rgba(249,115,22,0.1); }
.business-structure-tool .business-structure-option i { font-size: 1.8rem; margin-bottom: 0.75rem; }
.business-structure-tool .business-structure-option .bst-card-title { font-weight: 700; color: #1f2937; margin-bottom: 0.25rem; }
.business-structure-tool .business-structure-option .bst-card-desc { font-size: 12px; color: #6b7280; }

/* ===== Mobile: Compact Cards & Tighter Spacing ===== */
@media (max-width: 700px) {
    .business-structure-step { padding: 1rem 1.25rem; }
    .business-structure-tool .business-structure-option { display: grid; grid-template-columns: 28px 1fr; gap: 0.125rem 0.75rem; padding: 0.75rem 1rem; text-align: left; align-items: center; }
    .business-structure-tool .business-structure-option i { grid-column: 1; grid-row: 1 / 3; font-size: 1.3rem; margin-bottom: 0; align-self: center; }
    .business-structure-tool .business-structure-option .bst-card-title { grid-column: 2; grid-row: 1; font-size: 0.9rem; }
    .business-structure-tool .business-structure-option .bst-card-desc { grid-column: 2; grid-row: 2; font-size: 11px; }
    .business-structure-tool .bst-options { gap: 0.5rem; margin-bottom: 1rem; }
    .business-structure-tool .bst-question { font-size: 1rem; }
    .business-structure-tool .business-structure-button--accent, .business-structure-tool .business-structure-button--primary { padding: 0.65rem 1.25rem; font-size: 0.85rem; }
    .business-structure-tool .bst-result-card { padding: 1rem; }
    .business-structure-tool .bst-aff-card { padding: 0.75rem 1rem; }
    .business-structure-tool .bst-coupon-box { padding: 0.4rem 0.6rem; }
}

/* ===== Buttons ===== */
.business-structure-tool .bst-btn-row { display: flex; justify-content: space-between; align-items: center; }
.business-structure-tool .bst-btn-row.end { justify-content: flex-end; }
.business-structure-tool .business-structure-button--accent { background-color: #9DFF20; color: #2c4141; padding: 0.75rem 1.5rem; border-radius: 0.375rem; font-weight: 700; border: 1px solid #000; box-shadow: 0 2px 0 rgba(0,0,0,0.5); font-size: 0.9rem; cursor: pointer; text-decoration: none; }
.business-structure-tool .business-structure-button--accent:hover { background-color: #8be01c; color: #2c4141; }
.business-structure-tool .business-structure-button--primary { background-color: #2c4141; color: #fff !important; padding: 0.75rem 1.5rem; border-radius: 0.375rem; font-weight: 700; border: 1px solid #000; box-shadow: 0 2px 0 rgba(0,0,0,0.4); font-size: 0.9rem; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.business-structure-tool .business-structure-button--primary:hover { background-color: #233535; color: #fff !important; }
.business-structure-tool .business-structure-back { background: transparent; border: none; color: #9ca3af; font-weight: 700; font-size: 0.85rem; cursor: pointer; padding: 0.5rem; }
.business-structure-tool .business-structure-back:hover { color: #4b5563; }

/* ===== Help Box ===== */
.business-structure-tool .help-box { display: none; background: #eff6ff; padding: 1rem; border-radius: 0.5rem; margin-bottom: 1rem; border: 1px solid #dbeafe; font-size: 0.85rem; color: #595959; }
.business-structure-tool .help-box.open { display: block !important; }
.business-structure-tool .help-box p { margin: 0 0 0.5rem 0; padding: 0; }
.business-structure-tool .help-box ul { margin: 0; padding-left: 1.25rem; }
.business-structure-tool .help-box li { margin-bottom: 0.25rem; font-size: 12px; }

/* ===== Result Headline ===== */
.business-structure-tool .bst-result-headline { text-align: center; margin: 0 0 1.5rem 0; }
.business-structure-tool .bst-result-headline p { font-size: 0.95rem; color: #595959; margin: 0 0 0.25rem 0; }
.business-structure-tool .bst-result-headline h4 { font-size: 1.3rem; font-weight: 800; color: #2c4141; margin: 0; }

/* ===== Results ===== */
.business-structure-tool .bst-result-card { background: #eff6ff; border: 2px solid #93c5fd; border-radius: 12px; padding: 1.5rem; margin-bottom: 1.5rem; }
.business-structure-tool .bst-result-icon { width: 60px; height: 60px; background: #2c4141; color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; font-size: 1.5rem; }
.business-structure-tool .bst-result-title { text-align: center; font-size: 1.25rem; font-weight: 700; color: #2c4141; margin: 0 0 0.5rem 0; }
.business-structure-tool .bst-result-label { text-align: center; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin: 0 0 0.25rem 0; }
.business-structure-tool .bst-result-summary { text-align: left; color: #595959; margin: 0 0 1rem 0; font-size: 0.9rem; line-height: 1.6; }
.business-structure-tool .bst-pros-cons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-bottom: 1rem; }
@media (max-width: 600px) { .business-structure-tool .bst-pros-cons { grid-template-columns: 1fr; } }
.business-structure-tool .bst-pros-cons h4 { font-size: 0.9rem; font-weight: 700; margin: 0 0 0.5rem 0; }
.business-structure-tool .bst-pros-cons ul { margin: 0; padding-left: 1.25rem; }
.business-structure-tool .bst-pros-cons li { font-size: 0.85rem; color: #595959; margin-bottom: 0.25rem; }
.business-structure-tool .bst-next-steps { border-top: 1px solid #e5e7eb; padding-top: 1rem; font-size: 0.85rem; color: #595959; }

/* ===== S-Corp Accordion ===== */
.business-structure-tool .bst-scorp-accordion { border: 2px solid #2c4141; border-radius: 12px; margin-top: 1.5rem; overflow: hidden; }
.business-structure-tool .bst-scorp-toggle { width: 100%; background: #2c4141; color: white; border: none; padding: 1rem 1.25rem; font-size: 0.95rem; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: space-between; font-family: 'Montserrat', system-ui, sans-serif; }
.business-structure-tool .bst-scorp-toggle:hover { background: #233535; }
.business-structure-tool .bst-scorp-toggle .toggle-icon { transition: transform 0.3s ease; }
.business-structure-tool .bst-scorp-toggle.open .toggle-icon { transform: rotate(180deg); }
.business-structure-tool .bst-scorp-body { display: none; padding: 1.25rem; background: #f8fafc; }
.business-structure-tool .bst-scorp-body.open { display: block; }
.business-structure-tool .bst-scorp-body p { margin: 0 0 0.75rem 0; font-size: 0.85rem; color: #595959; line-height: 1.6; }
.business-structure-tool .bst-scorp-body p:last-child { margin-bottom: 0; }
.business-structure-tool .bst-scorp-body strong { color: #2c4141; }

/* ===== Reasons Accordion ===== */
.business-structure-tool .bst-reasons-accordion { border: 1px solid #e5e7eb; border-radius: 12px; margin-top: 1.5rem; overflow: hidden; }
.business-structure-tool .bst-reasons-toggle { width: 100%; background: #f8fafc; color: #2c4141; border: none; border-bottom: 1px solid #e5e7eb; padding: 1rem 1.25rem; font-size: 0.95rem; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: space-between; font-family: 'Montserrat', system-ui, sans-serif; }
.business-structure-tool .bst-reasons-toggle:hover { background: #f1f5f9; }
.business-structure-tool .bst-reasons-toggle .toggle-icon { transition: transform 0.3s ease; }
.business-structure-tool .bst-reasons-toggle.open .toggle-icon { transform: rotate(180deg); }
.business-structure-tool .bst-reasons-toggle.open { border-bottom: 1px solid #e5e7eb; }
.business-structure-tool .bst-reasons-body { display: none; padding: 1.25rem; background: white; }
.business-structure-tool .bst-reasons-body.open { display: block; }

/* ===== Warning Box ===== */
.business-structure-tool .bst-warning-box { background: #fef2f2; border: 2px solid #fca5a5; border-radius: 12px; padding: 1rem 1.25rem; margin-bottom: 1.5rem; }
.business-structure-tool .bst-warning-box h4 { color: #dc2626; font-weight: 700; margin: 0 0 0.5rem 0; font-size: 0.95rem; }
.business-structure-tool .bst-warning-box p { color: #595959; font-size: 0.85rem; margin: 0; line-height: 1.5; }

/* ===== LLC Upsell Box ===== */
.business-structure-tool .bst-upsell-box { background: rgba(217,119,6,0.1); border: 1px solid #d97706; border-radius: 12px; padding: 1rem 1.25rem; margin-top: 1.5rem; }
.business-structure-tool .bst-upsell-box h4 { color: #d97706; font-weight: 700; margin: 0 0 0.5rem 0; font-size: 1rem; }
.business-structure-tool .bst-upsell-box p { color: #595959; font-size: 0.85rem; margin: 0 0 0.75rem 0; line-height: 1.5; }

/* ===== Affiliate Cards ===== */
.business-structure-tool .bst-aff-card { border: 1px solid #e5e7eb; border-radius: 12px; padding: 1rem 1.25rem; margin-top: 1rem; background: white; position: relative; }
.business-structure-tool .bst-aff-card.recommended { background: #eff6ff; border: 2px solid #93c5fd; }
.business-structure-tool .bst-aff-badge { position: absolute; top: -10px; left: 16px; background: #9DFF20; color: #2c4141; font-size: 10px; font-weight: 700; padding: 0.25rem 0.5rem; border-radius: 9999px; text-transform: uppercase; }
.business-structure-tool .bst-aff-row { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.business-structure-tool .bst-aff-info { flex: 1; min-width: 150px; }
.business-structure-tool .bst-aff-name { font-weight: 700; color: #1f2937; margin: 0; font-size: 1rem; }
.business-structure-tool .bst-aff-pitch { font-size: 12px; color: #595959; margin: 0.125rem 0 0 0; }
.business-structure-tool .bst-aff-promo { font-size: 11px; color: #9DFF20; font-weight: 700; margin: 0.25rem 0 0 0; }
.business-structure-tool .bst-aff-price { text-align: center; min-width: 80px; }
.business-structure-tool .bst-aff-price .price { font-size: 1.25rem; font-weight: 700; color: #9DFF20; }
.business-structure-tool .bst-aff-price .note { font-size: 9px; text-transform: uppercase; color: #9ca3af; font-weight: 700; }
.business-structure-tool .bst-aff-cta { flex: 1; min-width: 180px; }
.business-structure-tool .bst-aff-cta a { display: block; text-align: center; width: 100%; }

/* ===== Disclaimer ===== */
.business-structure-tool .bst-disclaimer { background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 8px; padding: 0.75rem 1rem; margin-top: 1.5rem; }
.business-structure-tool .bst-disclaimer p { margin: 0; font-size: 11px; color: #9ca3af; line-height: 1.5; }
.business-structure-tool .bst-disclaimer strong { color: #6b7280; }

/* ===== Utility Colors ===== */
.business-structure-tool .text-green { color: #16a34a !important; }
.business-structure-tool .text-orange { color: #9DFF20 !important; }
.business-structure-tool .text-blue { color: #2c4141 !important; }
.business-structure-tool .text-gray { color: #6b7280 !important; }
.business-structure-tool .text-red { color: #dc2626 !important; }

/* ===== Coupon Box ===== */
.business-structure-tool .bst-coupon-box { background: #F4FFE8; border: 1px dashed #9DFF20; border-radius: 8px; padding: 0.5rem 0.75rem; margin-top: 0.5rem; display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.business-structure-tool .bst-coupon-box .coupon-label { font-size: 11px; font-weight: 700; text-transform: uppercase; color: #9DFF20; letter-spacing: 0.03em; }
.business-structure-tool .bst-coupon-box .coupon-code { background: #9DFF20; color: white; font-weight: 700; padding: 3px 10px; border-radius: 4px; font-size: 14px; letter-spacing: 0.05em; font-family: 'Montserrat', monospace; }
.business-structure-tool .bst-coupon-box .coupon-desc { font-size: 12px; color: #595959; font-weight: 600; }

/* ===== Reset Link ===== */
.business-structure-tool .bst-reset { text-align: center; border-top: 1px solid #f3f4f6; padding-top: 1rem; margin-top: 1rem; }
.business-structure-tool .bst-reset button { background: transparent; border: none; color: #9ca3af; font-size: 0.85rem; text-decoration: underline; cursor: pointer; font-family: 'Montserrat', system-ui, sans-serif; }
.business-structure-tool .bst-reset button:hover { color: #9DFF20; }
