/* Calculator Specific Styles */
.calculator-section {
    padding: 60px 20px;
    background: var(--light-gray);
    min-height: calc(100vh - 200px);
}

.calculator-header {
    text-align: center;
    margin-bottom: 3rem;
}

.calculator-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.calculator-subtitle {
    font-size: 1.125rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.calculator-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Input Panel */
.input-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
}

.input-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--dark);
}

.input-group {
    margin-bottom: 2rem;
}

.input-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.input-group input[type="number"],
.input-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: var(--font-family);
    transition: border-color 0.2s;
}

.input-group input[type="number"]:focus,
.input-select:focus {
    outline: none;
    border-color: var(--primary);
}

.input-with-prefix,
.input-with-suffix {
    position: relative;
    display: flex;
    align-items: center;
}

.input-prefix,
.input-suffix {
    position: absolute;
    color: var(--gray);
    font-weight: 600;
    font-size: 1.125rem;
}

.input-prefix {
    left: 1rem;
}

.input-suffix {
    right: 1rem;
}

.input-with-prefix input {
    padding-left: 2.5rem;
}

.input-with-suffix input {
    padding-right: 2.5rem;
}

.input-slider {
    margin-top: 0.5rem;
}

.input-slider input[type="range"] {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #e2e8f0;
    outline: none;
    -webkit-appearance: none;
}

.input-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
}

.input-slider input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    border: none;
}

.input-help {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--gray);
}

/* Results Panel */
.results-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
}

.results-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--dark);
}

.results-highlight {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 1rem;
    color: var(--white);
    margin-bottom: 2rem;
}

.results-amount {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.results-label {
    font-size: 1.125rem;
    opacity: 0.95;
}

.results-breakdown {
    margin-bottom: 2rem;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid #e2e8f0;
}

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

.breakdown-label {
    color: var(--gray);
    font-weight: 500;
}

.breakdown-value {
    font-weight: 700;
    color: var(--dark);
    font-size: 1.125rem;
}

.comparison-box {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 1.5rem;
    border-radius: 0.75rem;
    margin-bottom: 2rem;
    display: flex;
    gap: 1rem;
    align-items: start;
}

.comparison-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.comparison-text {
    line-height: 1.6;
    color: var(--dark);
}

.chart-container {
    position: relative;
    height: 300px;
    margin-top: 2rem;
}

/* Assumptions Card */
.assumptions-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.assumptions-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark);
}

.assumptions-list {
    list-style: none;
    color: var(--gray);
}

.assumptions-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.assumptions-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* Responsive */
@media (max-width: 968px) {
    .calculator-grid {
        grid-template-columns: 1fr;
    }

    .calculator-title {
        font-size: 2rem;
    }

    .results-amount {
        font-size: 2.5rem;
    }
}