.calculator-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.tab-button {
    padding: 10px 20px;
    border: none;
    background-color: #f5f5f5;
    color: #333;
    cursor: pointer;
    border-radius: 4px;
}

.tab-button.active {
    background-color: #333;
    color: white;
}

.calculator-mode {
    display: none;
}

.calculator-mode.active {
    display: block;
}

.result-summary {
    text-align: center;
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

#retirement-status {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

#retirement-status.on-track {
    background-color: #e8f5e9;
    color: #2e7d32;
}

#retirement-status.needs-attention {
    background-color: #fff3e0;
    color: #ef6c00;
}

.result-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.chart-section, .breakdown-section {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.projection-table {
    overflow-x: auto;
}

#projectionTable {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

#projectionTable th, #projectionTable td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

#projectionTable th {
    background-color: #f8f9fa;
    font-weight: bold;
}

/* Inherit existing styles for common elements */
