.calculator-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

h2 {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 20px;
}

.calc-form {
    display: grid;
    gap: 15px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

label {
    color: #34495e;
    font-weight: 600;
}

input, select {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

input:focus, select:focus {
    outline: none;
    border-color: #3498db;
}

.button-group {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.calc-btn, .reset-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.2s, background-color 0.3s;
}

.calc-btn {
    background-color: #2ecc71;
    color: white;
}

.reset-btn {
    background-color: #e74c3c;
    color: white;
}

.calc-btn:hover, .reset-btn:hover {
    transform: translateY(-2px);
}

.results-container {
    margin-top: 30px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.result-item {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.result-item span:first-child {
    color: #7f8c8d;
    font-size: 14px;
}

.result-item span:last-child {
    color: #2c3e50;
    font-weight: 600;
    font-size: 18px;
}

.chart-container {
    max-width: 400px;
    margin: 20px auto;
}