.tool-main-container { max-width: 1200px; margin: 0 auto; padding: 2rem 1rem; }
.tool-header { text-align: center; margin-bottom: 2rem; }
.tool-header h1 { font-size: 2.5rem; color: var(--text-color); }
.calculator-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 2rem; margin-bottom: 2rem; }
.card { background: var(--card-bg); color: var(--text-color); padding: 2rem; border-radius: 12px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); border: 1px solid #e2e8f0; }
.input-group { margin-bottom: 1.25rem; }
.input-group label { display: block; font-weight: 600; margin-bottom: 0.5rem; color: var(--text-color); }
.input-group input, .input-group select { width: 100%; padding: 0.75rem; border: 1px solid #cbd5e1; border-radius: 8px; font-size: 1rem; }
.w-100 { width: 100%; padding: 1rem; font-size: 1.1rem; }
.summary-box { background: var(--bg-color); padding: 1.5rem; border-radius: 10px; text-align: center; margin-bottom: 1.5rem; }
.summary-box.primary { background: var(--bg-color); border: 1px solid #bfdbfe; }
.summary-box h3 { margin: 0 0 0.5rem 0; color: var(--text-color); }
.amount { font-size: 2.5rem; font-weight: bold; color: #1d4ed8; }
.chart-container { position: relative; height: 280px; width: 100%; display: flex; justify-content: center; margin-bottom: 1.5rem; }
.breakdown-list { background: var(--bg-color); padding: 1rem; border-radius: 8px; border: 1px solid #e2e8f0; }
.breakdown-item { display: flex; align-items: center; justify-content: space-between; padding: 0.5rem 0; font-size: 1.1rem; border-bottom: 1px solid #e2e8f0; }
.breakdown-item:last-child { border-bottom: none; }
.color-box { width: 16px; height: 16px; border-radius: 4px; display: inline-block; margin-right: 10px; }
.tool-guide-link { text-align: center; margin-top: 1.5rem; }
.tool-guide-link a { color: #2563eb; text-decoration: none; font-weight: 600; }
.tool-guide-link a:hover { text-decoration: underline; }

@media (max-width: 768px) {
    .calculator-grid { grid-template-columns: 1fr; }
}
