/* Business Valuation Calculator Styles */

.bv-calculator-wrapper {
    max-width: 1200px;
    margin: 40px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Progress Bar */
.bv-progress-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.bv-progress-bar::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: #e0e0e0;
    z-index: 0;
}

.bv-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    flex: 1;
}

.bv-step .step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #888;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.bv-step.active .step-number,
.bv-step.completed .step-number {
    background: #121C27;
    color: white;
}

.bv-step .step-label {
    font-size: 14px;
    color: #666;
    text-align: center;
}

.bv-step.active .step-label {
    color: #121C27;
    font-weight: 600;
}

/* Step Content */
.bv-step-content {
    display: none;
}

.bv-step-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bv-step-content h2 {
    color: #1e293b;
    margin-bottom: 10px;
    font-size: 28px;
}

.bv-step-content > p {
    color: #64748b;
    margin-bottom: 30px;
    font-size: 16px;
}

.bv-step-content h3 {
    color: #334155;
    margin-top: 30px;
    margin-bottom: 20px;
    font-size: 20px;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 10px;
}

/* Form Tables */
.bv-form-table {
    overflow-x: auto;
    margin-bottom: 30px;
}

.bv-form-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.bv-form-table thead {
    background: #f8fafc;
}

.bv-form-table th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
    color: #334155;
    border-bottom: 2px solid #e2e8f0;
}

.bv-form-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #e2e8f0;
}

.bv-form-table input[type="number"] {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 15px;
    transition: border-color 0.2s ease;
}

.bv-form-table input[type="number"]:focus {
    outline: none;
    border-color: #121C27;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Form Groups */
.bv-form-group {
    margin-bottom: 20px;
}

.bv-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #334155;
    font-size: 15px;
}

.bv-form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 15px;
    transition: border-color 0.2s ease;
}

.bv-form-group input:focus {
    outline: none;
    border-color: #121C27;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Monthly Revenue Grid */
.bv-monthly-revenue {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

/* Asset Inputs */
.bv-asset-inputs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

/* Buttons */
.bv-btn {
    padding: 14px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bv-btn-next,
.bv-btn-primary {
    background: #121C27;
    color: white;
}

.bv-btn-next:hover,
.bv-btn-primary:hover {
    background: #000000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.bv-btn-back,
.bv-btn-secondary {
    background: #64748b;
    color: white;
}

.bv-btn-back:hover,
.bv-btn-secondary:hover {
    background: #475569;
}

.bv-button-group {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

/* Error Messages */
.bv-error-message {
    color: #dc2626;
    background: #fee2e2;
    padding: 12px 16px;
    border-radius: 6px;
    margin-top: 20px;
    display: none;
}

.bv-error-message.show {
    display: block;
}

/* Results */
.bv-result-box {
    text-align: center;
}

.bv-final-value {
    background: linear-gradient(135deg, #121C27 0%, #333 100%);
    padding: 50px 30px;
    border-radius: 12px;
    margin: 30px 0;
    color: white;
}

.bv-final-value p {
    font-size: 20px;
    margin-bottom: 20px;
    opacity: 0.95;
}

.bv-value-display {
    font-size: 56px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.bv-detailed-results {
    margin: 40px 0;
    background: #f8fafc;
    padding: 30px;
    border-radius: 12px;
}

.bv-detailed-results table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

.bv-detailed-results th {
    background: #334155;
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.bv-detailed-results td {
    padding: 15px;
    border-bottom: 1px solid #e2e8f0;
}

.bv-detailed-results tr:last-child td {
    border-bottom: none;
    font-weight: 600;
    background: #f1f5f9;
}

.bv-report-request {
    margin: 40px 0;
}

.bv-report-request h3 {
    margin-bottom: 20px;
    font-size: 22px;
    color: #1e293b;
}

.bv-report-options {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.bv-contact-form {
    max-width: 500px;
    margin: 30px auto;
    text-align: left;
    background: #f8fafc;
    padding: 30px;
    border-radius: 12px;
}

.bv-contact-form h3 {
    text-align: center;
    margin-bottom: 25px;
}

#report-message {
    margin-top: 15px;
    padding: 12px;
    border-radius: 6px;
    text-align: center;
    font-weight: 500;
}

#report-message.success {
    background: #d1fae5;
    color: #065f46;
}

#report-message.error {
    background: #fee2e2;
    color: #dc2626;
}

/* Responsive */
@media (max-width: 768px) {
    .bv-calculator-wrapper {
        padding: 20px;
    }
    
    .bv-progress-bar {
        flex-wrap: wrap;
    }
    
    .bv-step .step-number {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .bv-step .step-label {
        font-size: 12px;
    }
    
    .bv-monthly-revenue,
    .bv-asset-inputs {
        grid-template-columns: 1fr;
    }
    
    .bv-button-group {
        flex-direction: column;
    }
    
    .bv-btn {
        width: 100%;
    }
    
    .bv-value-display {
        font-size: 30px;
		line-height: 1.2;
    }
    
    .bv-report-options {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .bv-form-table {
        font-size: 14px;
    }
    
    .bv-form-table th,
    .bv-form-table td {
        padding: 8px;
    }
}
