/* ===========================================
    Future Value Calculator - Tool Specific Styles
    =========================================== */

/* Box Styling */
.fv-box {
    max-width: 650px;
    margin: 0 auto;
    padding: 0; 
}

/* Form Container */
.fv-form {
    padding: 25px; 
    border: 1px solid #FF9800; /* Amber/Gold Border */
    border-radius: 8px;
    background-color: #FFF8E1; /* Very Light Gold Background */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.fv-section-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #FF8F00; /* Darker Gold */
    border-bottom: 2px solid #FFE0B2;
    padding-bottom: 5px; 
    margin-top: 5px; 
    margin-bottom: 20px; 
}

/* --- Input Grid --- */
.fv-input-grid {
    display: flex;
    flex-wrap: wrap; 
    justify-content: space-between;
    gap: 15px 2%;
    margin-bottom: 10px; 
}

.fv-input-group {
    flex-basis: 48%; /* Allows two inputs per row */
    min-width: 250px;
    display: flex;
    flex-direction: column;
}

.fv-input-group label {
    font-weight: 600;
    color: #495057;
    font-size: 0.95rem; 
    margin-bottom: 8px;
}

.fv-input-group input, .fv-input-group select {
    padding: 12px;
    border: 1px solid #FFCC80;
    border-radius: 6px;
    font-size: 1rem;
    flex-grow: 1;
    text-align: right;
}

/* Button Styles */
.fv-calculate-btn {
    display: block;
    width: 100%;
    padding: 16px; 
    margin-top: 30px; 
    background-color: #FF8F00; /* Primary Dark Gold */
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s;
}
.fv-calculate-btn:hover {
    background-color: #FF6F00;
}

/* --- Results Display --- */
.fv-results {
    margin-top: 20px; 
    padding: 25px;
    border: 2px solid #FF9800; 
    border-radius: 8px;
    background-color: #FFE0B2; /* Light Gold */
    text-align: center;
}

.fv-results-title {
    color: #FF8F00;
    font-size: 1.6rem;
    margin-bottom: 15px;
    border-bottom: 2px solid #FFCC80;
    padding-bottom: 5px;
}

/* Results Table */
.fv-results-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
.fv-results-table th, .fv-results-table td {
    padding: 12px 10px;
    border-bottom: 1px solid #FFCC80;
    text-align: left;
}
.fv-results-table th {
    background-color: #FFF8E1; 
    color: #FF8F00;
    font-weight: 600;
    width: 55%;
}

/* Key Value Styling */
.fv-results-table td {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1565C0; /* Blue for money values */
}

/* Final Balance Highlight */
.fv-results-table tr.final-balance td {
    font-size: 1.6rem;
    color: #C62828; /* Deep Red for key result */
}

/* Recalculate Button (Global Style Reuse) */
.bc-recalculate-btn {
    display: block;
    width: 100%;
    padding: 10px;
    margin-top: 20px;
    background-color: #9E9E9E;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}
.bc-recalculate-btn:hover {
    background-color: #616161;
}

/* --- Responsive Adjustments --- */
@media (max-width: 550px) {
    .fv-input-group {
        flex-basis: 100%;
    }
}