* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Gellix, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
}

.calculator-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

.header {
    text-align: center;
    margin-bottom: 40px;
}

.header h1 {
    font-size: 2.5rem;
    font-weight: 600;
    background: linear-gradient(135deg, #4A7C7E, #6B9B9D);
    color: white;
    padding: 20px 40px;
    border-radius: 8px;
    display: inline-block;
    min-width: 300px;
}

.input-section {
    background: white;
    border-radius: 12px;
    margin-bottom: 30px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 2px solid #e1e5e9;
}

.input-row {
    display: grid;
    grid-template-columns: 1fr 600px;
    gap: 30px;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid #f0f0f0;
    min-height: 80px;
}

.input-row:last-child {
    border-bottom: none;
}

.input-description {
    font-size: 1.1rem;
    color: #555;
    font-weight: 500;
}

.input-control {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.slider-input-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.slider {
    flex: 1;
    height: 8px;
    border-radius: 4px;
    background: #e1e5e9;
    outline: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #4A7C7E;
    cursor: pointer;
}

.slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #4A7C7E;
    cursor: pointer;
    border: none;
}

.number-input {
    width: 80px;
    padding: 8px 12px;
    border: 2px solid #e1e5e9;
    border-radius: 6px;
    font-size: 0.95rem;
    text-align: center;
    background: white;
    transition: border-color 0.2s ease;
}

.number-input:focus {
    outline: none;
    border-color: #4A7C7E;
}

.number-input::-webkit-outer-spin-button,
.number-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.number-input[type=number] {
    -moz-appearance: textfield;
}

.input-value {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
}

.unit {
    color: #666;
    font-weight: 500;
}

.calculation-section {
    background: white;
    border-radius: 12px;
    margin-bottom: 30px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 2px solid #e1e5e9;
}

.section-header {
    background: #333;
    color: white;
    padding: 15px 25px;
    text-align: center;
}

.section-header h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.calculation-row {
    display: grid;
    grid-template-columns: 1fr 200px;
    gap: 30px;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid #f0f0f0;
    min-height: 70px;
}

.calculation-row:last-child {
    border-bottom: none;
}

.calc-description {
    font-size: 1.1rem;
    color: #555;
    font-weight: 500;
}

.calc-result {
    text-align: right;
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a1a;
}

.calc-unit {
    color: #666;
    font-weight: 500;
}

.chart-section {
    background: white;
    border-radius: 12px;
    margin-bottom: 30px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 2px solid #e1e5e9;
}

.chart-container {
    padding: 30px;
    position: relative;
    height: 400px;
}

.chart-container canvas {
    max-height: 100%;
}

.time-savings-section {
    background: #ecf2f2;
    border-radius: 12px;
    margin-bottom: 30px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 2px solid #e1e5e9;
    margin-bottom: 30px;
}

.time-savings-content {
    padding: 30px 30px 0 30px;
    text-align: center;
}

.time-savings-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.time-savings-text strong {
    color: #4A7C7E;
    font-size: 1.25rem;
}

.time-savings-note {
    font-size: 0.9rem;
    color: #777;
    margin-top: 15px;
    line-height: 1.25;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
    text-align: center;
}

.conclusion-section {
    background: #ecf2f2;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 2px solid #e1e5e9;
    text-align: center;
    margin-bottom: 30px;
}

.conclusion-section h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.conclusion-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    max-width: 600px;
    margin: 0 auto;
}

.conclusion-text strong {
    color: #4A7C7E;
    font-size: 1.25rem;
}

/* Multi-year breakdown styles - Minimalistic table design */
.multi-year-breakdown {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #E5E5E5;
}

.year-breakdown-header h3 {
    font-size: 1.125rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 16px;
    text-align: left;
    letter-spacing: -0.025em;
}

.year-breakdown-grid {
    display: block;
    background: #FAFAFA;
    border: 1px solid #E5E5E5;
    border-radius: 8px;
    overflow: hidden;
}

.year-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: transparent;
    border: none;
    border-bottom: 1px solid #E5E5E5;
    transition: background-color 0.15s ease;
    margin: 0;
    border-radius: 0;
}

.year-item:last-child {
    border-bottom: none;
}

.year-item:hover {
    background: #F3F4F6;
    transform: none;
    box-shadow: none;
    border-color: #E5E5E5;
}

.year-label {
    font-weight: 400;
    color: #6B7280;
    font-size: 0.875rem;
    letter-spacing: 0.025em;
}

.year-amount {
    font-weight: 600;
    color: #111827;
    font-size: 0.875rem;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.025em;
}

/* Responsive Design */
@media (max-width: 768px) {
    .calculator-container {
        padding: 20px 15px;
    }
    
    .header h1 {
        font-size: 2rem;
        padding: 15px 20px;
        min-width: 250px;
    }
    
    .input-row, .calculation-row {
        grid-template-columns: 1fr;
        gap: 15px;
        text-align: center;
        padding: 20px;
    }
    
    .input-control {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .slider-input-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .number-input {
        width: 120px;
        align-self: center;
    }
    
    .calc-result {
        text-align: center;
    }
    
    .chart-container {
        padding: 20px;
        height: 300px;
    }
    
    .time-savings-content {
        padding: 20px;
    }
    
    .time-savings-text {
        font-size: 1rem;
    }
    
    .time-savings-note {
        font-size: 0.8rem;
    }
    
    .conclusion-section {
        padding: 20px;
    }
    
    .conclusion-text {
        font-size: 1rem;
    }
    
    .year-breakdown-grid {
        border-radius: 4px;
    }
    
    .year-item {
        padding: 8px 10px;
    }
    
    .year-label, .year-amount {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 1.75rem;
        min-width: 200px;
    }
    
    .input-row, .calculation-row {
        padding: 15px;
    }
    
    .input-control {
        max-width: 280px;
    }
    
    .number-input {
        width: 100px;
    }
    
    .chart-container {
        padding: 15px;
        height: 250px;
    }
    
    .time-savings-content {
        padding: 15px;
    }
    
    .time-savings-text {
        font-size: 0.9rem;
    }
    
    .time-savings-note {
        font-size: 0.75rem;
    }
    
    .conclusion-section h2 {
        font-size: 1.5rem;
    }
} 