.lumpsum-calculator {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 800px;
    margin: 0 auto;
    padding: 25px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.lumpsum-calculator h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 25px;
    font-weight: 600;
}

.lumpsum-input-group {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 25px;
}

.lumpsum-input-field {
    flex: 1;
    min-width: 200px;
}

.lumpsum-input-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #34495e;
}

.lumpsum-input-field input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
}

.lumpsum-input-field input:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.lumpsum-slider {
    width: 100%;
    margin-top: 10px;
    -webkit-appearance: none;
    height: 8px;
    border-radius: 5px;
    background: #d3d3d3;
    outline: none;
}

.lumpsum-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #3498db;
    cursor: pointer;
    transition: all 0.2s;
}

.lumpsum-slider::-webkit-slider-thumb:hover {
    background: #2980b9;
    transform: scale(1.1);
}

.lumpsum-calculate-btn {
    display: block;
    width: 100%;
    padding: 14px;
    background: linear-gradient(to right, #3498db, #2c3e50);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 25px;
}

.lumpsum-calculate-btn:hover {
    background: linear-gradient(to right, #2980b9, #1a252f);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.lumpsum-results {
    display: none;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 25px;
}

.lumpsum-result-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.lumpsum-result-card {
    flex: 1;
    min-width: 150px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.lumpsum-result-card h3 {
    font-size: 14px;
    color: #7f8c8d;
    margin-bottom: 10px;
}

.lumpsum-result-card p {
    font-size: 22px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
}

.lumpsum-chart-container {
    height: 300px;
    margin-bottom: 20px;
}

.lumpsum-tabs {
    display: flex;
    border-bottom: 1px solid #ddd;
    margin-bottom: 15px;
}

.lumpsum-tab {
    padding: 10px 20px;
    cursor: pointer;
    font-weight: 500;
    color: #7f8c8d;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
}

.lumpsum-tab.active {
    color: #3498db;
    border-bottom-color: #3498db;
}

.lumpsum-tab-content {
    display: none;
}

.lumpsum-tab-content.active {
    display: block;
}

.lumpsum-growth-table {
    width: 100%;
    border-collapse: collapse;
}

.lumpsum-growth-table th, .lumpsum-growth-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.lumpsum-growth-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #34495e;
}

.lumpsum-growth-table tr:hover {
    background-color: #f5f7fa;
}

@media (max-width: 600px) {
    .lumpsum-result-cards {
        flex-direction: column;
    }
    
    .lumpsum-input-group {
        flex-direction: column;
    }
}