/* ===================================================
   BUSINESS VALUATION FORM STYLES
   Landing: Two pricing cards (Appraisal vs Standard)
   Wizard: 4-step wizard with sidebar order summary
   Theme: Blue (#2563eb) and Orange (#f97316)
   =================================================== */

#bv-form-container {
    --bv-primary: #1a1f36;
    --bv-blue: #1A1F36;
    --bv-blue-hover: #0f172a;
    --bv-orange: #FFAF42;
    --bv-orange-hover: #e09428;
    --bv-bg: #f8fafc;
    --bv-white: #ffffff;
    --bv-border: #e2e8f0;
    --bv-text: #334155;
    --bv-muted: #64748b;
    --bv-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.08), 0 2px 4px -2px rgb(0 0 0 / 0.06);

    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 20px 60px;
    color: var(--bv-text);
    background: var(--bv-bg);
    box-sizing: border-box;
}

#bv-form-container * {
    box-sizing: border-box;
}

/* ---------- LANDING PAGE ---------- */
.bv-form-wrapper {
    width: 100%;
}

.bv-landing-header {
    text-align: center;
    margin-bottom: 40px;
}

.bv-landing-header h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--bv-primary);
    margin: 0 0 10px;
    letter-spacing: -0.02em;
}

.bv-landing-header p {
    font-size: 16px;
    color: var(--bv-muted);
    margin: 0;
}

.bv-pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.bv-plan-card {
    background: var(--bv-white);
    border: 1px solid var(--bv-border);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--bv-shadow);
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.bv-plan-card:hover {
    box-shadow: 0 12px 24px -8px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.bv-plan-card.recommended {
    border: 2px solid var(--bv-orange);
}

.bv-popular-tag {
    background: var(--bv-orange);
    color: white;
    text-align: center;
    padding: 8px 16px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.bv-card-inner {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.bv-card-icon-wrap {
    margin-bottom: 20px;
}

.bv-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bv-card-icon.blue {
    background: #eff6ff;
}

.bv-card-icon.orange {
    background: #fff7ed;
}

.bv-card-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--bv-primary);
    margin: 0 0 8px;
}

.bv-card-subtitle {
    font-size: 14px;
    color: var(--bv-blue);
    margin: 0 0 20px;
    line-height: 1.4;
}

.bv-card-price-wrap {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 6px;
}

.bv-card-price {
    font-size: 42px;
    font-weight: 800;
    color: var(--bv-primary);
    line-height: 1;
}

.bv-card-price-label {
    font-size: 14px;
    color: var(--bv-muted);
    font-weight: 600;
}

.bv-card-delivery {
    font-size: 13px;
    color: var(--bv-muted);
    margin: 0 0 24px;
}

.bv-card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
    flex-grow: 1;
}

.bv-card-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--bv-text);
    margin-bottom: 14px;
    line-height: 1.4;
}

.bv-card-features li.bold {
    font-weight: 700;
    color: var(--bv-primary);
}

.bv-check {
    color: #22c55e;
    font-weight: bold;
}

.bv-plan-btn {
    width: 100%;
    padding: 16px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    font-family: inherit;
    color: white;
}

.bv-plan-btn.blue {
    background: var(--bv-blue);
}
.bv-plan-btn.blue:hover {
    background: var(--bv-blue-hover);
}

.bv-plan-btn.orange {
    background: var(--bv-orange);
}
.bv-plan-btn.orange:hover {
    background: var(--bv-orange-hover);
}

/* ---------- WIZARD PAGE ---------- */
.bv-wizard-wrap {
    max-width: 1100px;
    margin: 0 auto;
}

.bv-wizard-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 30px;
}

.bv-wizard-logo {
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.bv-wizard-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--bv-primary);
    margin: 0 0 4px;
}

.bv-wizard-subtitle {
    font-size: 14px;
    color: var(--bv-muted);
    margin: 0;
}

.bv-wizard-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 30px;
    align-items: start;
}

.bv-wizard-main {
    min-width: 0;
}

.bv-wizard-sidebar {
    position: sticky;
    top: 20px;
}

.bv-step-box {
    background: var(--bv-white);
    border: 1px solid var(--bv-border);
    border-radius: 12px;
    padding: 32px;
    box-shadow: var(--bv-shadow);
}

.bv-step-icon-header {
    text-align: center;
    margin-bottom: 30px;
}

.bv-step-icon-circle {
    width: 64px;
    height: 64px;
    background: #fff7ed;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}
.bv-step-icon-circle.blue {
    background: #eff6ff;
}
.bv-step-icon-circle.green {
    background: #f0fdf4;
}

.bv-step-heading {
    font-size: 24px;
    font-weight: 800;
    color: var(--bv-primary);
    margin: 0 0 6px;
}

.bv-step-plan-label {
    font-size: 14px;
    color: var(--bv-orange);
    font-weight: 600;
    margin: 0;
}

/* Fields */
.bv-field-group {
    margin-bottom: 20px;
}

.bv-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.bv-field-row.thirds {
    grid-template-columns: 1fr 1fr 1fr;
}

.bv-field-label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--bv-primary);
    margin-bottom: 8px;
}

.bv-req {
    color: #ef4444;
}

.bv-input-wrap, .bv-select-wrap {
    position: relative;
}

.bv-input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--bv-muted);
    font-size: 16px;
    pointer-events: none;
}

.bv-input, .bv-select, .bv-textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 15px;
    color: var(--bv-primary);
    background: #fff;
    font-family: inherit;
    transition: all 0.2s;
}

.bv-input.with-icon, .bv-select.with-icon {
    padding-left: 44px;
}

.bv-input:focus, .bv-select:focus, .bv-textarea:focus {
    outline: none;
    border-color: var(--bv-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.bv-textarea {
    resize: vertical;
}

.bv-hint {
    font-size: 12px;
    color: var(--bv-muted);
    margin-top: 6px;
}

.bv-hint.orange {
    color: var(--bv-orange);
}

/* Purpose Grid */
.bv-purpose-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 30px;
}

.bv-purpose-card {
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    transition: all 0.2s;
    background: #fff;
}

.bv-purpose-card:hover {
    border-color: var(--bv-orange);
    background: #fff7ed;
}

.bv-purpose-card.active {
    border-color: var(--bv-orange);
    background: #fff7ed;
    box-shadow: 0 0 0 1px var(--bv-orange);
}

.bv-purpose-icon {
    font-size: 24px;
}

.bv-purpose-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--bv-primary);
    margin-bottom: 2px;
}

.bv-purpose-sub {
    font-size: 12px;
    color: var(--bv-muted);
}

/* Upload zone */
.bv-section-card {
    border: 1px solid var(--bv-border);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
}

.bv-section-head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
}

.bv-section-icon {
    font-size: 24px;
}

.bv-section-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--bv-primary);
}

.bv-section-sub {
    font-size: 13px;
    color: var(--bv-muted);
    margin-top: 4px;
}

.bv-optional-tag {
    font-size: 11px;
    background: #f1f5f9;
    color: var(--bv-muted);
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 8px;
    font-weight: 600;
}

.bv-upload-zone {
    position: relative;
    border: 2px dashed #cbd5e1;
    border-radius: 10px;
    background: #f8fafc;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.bv-upload-zone:hover {
    border-color: var(--bv-blue);
    background: #eff6ff;
}

.bv-file-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.bv-upload-inner {
    pointer-events: none;
}

.bv-upload-icon {
    font-size: 24px;
    display: block;
    margin-bottom: 8px;
}

.bv-upload-link {
    color: var(--bv-blue);
    font-weight: 700;
    font-size: 14px;
}

.bv-upload-hint {
    display: block;
    font-size: 12px;
    color: var(--bv-muted);
    margin-top: 6px;
}

.bv-file-list {
    margin-top: 10px;
}

.bv-file-item {
    font-size: 13px;
    color: var(--bv-text);
    padding: 4px 0;
}

/* Review Step */
.bv-review-header h3 {
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 6px;
    color: var(--bv-primary);
}

.bv-review-header p {
    color: var(--bv-muted);
    font-size: 15px;
    margin: 0 0 24px;
}

.bv-review-card {
    border: 1px solid var(--bv-border);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.bv-review-card-head {
    font-weight: 800;
    font-size: 16px;
    color: var(--bv-primary);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--bv-border);
}

.bv-review-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
    border-bottom: 1px solid #f1f5f9;
}

.bv-review-row:last-child {
    border-bottom: none;
}

.bv-review-row span {
    color: var(--bv-muted);
}

.bv-review-row strong {
    color: var(--bv-primary);
    text-align: right;
}

.bv-review-pricing .bv-review-total strong {
    color: var(--bv-orange);
    font-size: 20px;
}

/* Sidebar */
.bv-summary-card {
    background: #fff;
    border: 1px solid var(--bv-border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--bv-shadow);
}

.bv-summary-header {
    background: var(--bv-blue);
    color: white;
    font-size: 16px;
    font-weight: 800;
    padding: 16px 20px;
}

.bv-summary-body {
    padding: 20px;
}

.bv-sidebar-line {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 12px;
    color: var(--bv-text);
}

.bv-sidebar-line strong {
    color: var(--bv-primary);
}

.bv-sidebar-divider {
    border-top: 1px dashed var(--bv-border);
    margin: 16px 0;
}

.bv-total-box {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin: 16px 0;
}

.bv-total-label {
    font-size: 16px;
    font-weight: 800;
    color: var(--bv-primary);
}

.bv-total-val {
    font-size: 24px;
    font-weight: 800;
    color: var(--bv-orange);
}

.bv-deposit-box {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 8px;
    padding: 16px;
    text-align: center;
    margin-bottom: 24px;
}

.bv-deposit-label {
    font-size: 11px;
    font-weight: 800;
    color: var(--bv-orange);
    margin-bottom: 8px;
}

.bv-deposit-val {
    font-size: 28px;
    font-weight: 800;
    color: var(--bv-orange);
    line-height: 1;
    margin-bottom: 6px;
}

.bv-deposit-note {
    font-size: 12px;
    color: #9a3412;
}

.bv-badges {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.bv-trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
}

.bv-trust-item.green {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
}

.bv-trust-item.orange {
    background: #fff7ed;
    border: 1px solid #fed7aa;
}

.bv-trust-icon {
    font-size: 20px;
}

.bv-trust-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--bv-primary);
}

.bv-trust-text {
    font-size: 12px;
    color: var(--bv-muted);
}

.bv-sidebar-trust {
    text-align: center;
    border-top: 1px solid var(--bv-border);
    padding-top: 20px;
}

.bv-trust-stars {
    font-size: 16px;
    margin-bottom: 4px;
}

.bv-trust-count {
    font-size: 12px;
    font-weight: 600;
    color: var(--bv-primary);
}

/* Footer buttons */
.bv-step-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.bv-btn-back {
    background: white;
    border: 1px solid #cbd5e1;
    color: var(--bv-primary);
    padding: 14px 24px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s;
}

.bv-btn-back:hover {
    background: #f8fafc;
}

.bv-btn-continue {
    background: var(--bv-orange);
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s;
}

.bv-btn-continue:hover {
    background: var(--bv-orange-hover);
}

/* Responsive */
@media (max-width: 768px) {
    .bv-pricing-grid,
    .bv-wizard-grid,
    .bv-purpose-grid,
    .bv-field-row,
    .bv-field-row.thirds {
        grid-template-columns: 1fr;
    }
}

/* Financial & Delivery Cards */
.bv-fin-card, .bv-del-card {
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    transition: all 0.2s;
    background: #fff;
    position: relative;
}

.bv-del-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.bv-fin-card:hover, .bv-del-card:hover {
    border-color: var(--bv-orange);
    background: #fff7ed;
}

.bv-fin-card.active, .bv-del-card.active {
    border-color: var(--bv-orange);
    background: #fff7ed;
    box-shadow: 0 0 0 1px var(--bv-orange);
}

.bv-fin-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e2e8f0;
}
