/* Eurovent LCC Calculator - Site Styles */

html { font-size: 14px; }

.accordion-button { font-weight: 600; }
.accordion-button.collapsed { background-color: #f8f9fa; }

/* Result tables */
.result-table { font-size: 0.9rem; }
.result-table th { background-color: #e9ecef; }
.result-table td.value { font-family: monospace; text-align: right; }
.result-table td.unit { color: #6c757d; font-size: 0.85rem; }

/* Intermediate values (collapsible) */
.intermediates { background-color: #f8f9fa; border-left: 3px solid #6c757d; }
.intermediates td { font-size: 0.85rem; color: #495057; }

/* Input validation */
input.is-invalid { border-color: #dc3545 !important; background-color: #fff5f5; }
input.is-invalid:focus { box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25); }
.validation-error { color: #dc3545; font-size: 0.75rem; margin-top: 2px; }
.input-range { color: #6c757d; font-size: 0.75rem; }

/* Disabled Calculate button */
.btn-calculate:disabled { cursor: not-allowed; opacity: 0.6; }

/* Buttons */
.btn-calculate { min-width: 120px; }
.btn-group-accordion { margin: 0.5rem 0; }

/* Footer */
.footer { font-size: 0.85rem; }

/* Calculation trace */
.trace-section { background-color: #f0f4ff; border-left: 3px solid #0d6efd; }
.trace-output { font-size: 0.8rem; font-family: 'Consolas', 'Courier New', monospace; max-height: 400px; overflow-y: auto; background: #f8f9fa; padding: 0.5rem; margin: 0.5rem 0; white-space: pre-wrap; word-break: break-all; }

/* Trace tag colors — applied by colorizeTrace() in copy.js */
.trace-tag { font-weight: bold; }
.trace-tag-engine { color: #6c757d; }
.trace-tag-hr { color: #0d6efd; }
.trace-tag-heating { color: #d63300; }
.trace-tag-cooling { color: #0aa2c0; }
.trace-tag-fan { color: #198754; }
.trace-tag-hum { color: #6f42c1; }
.trace-tag-adc { color: #20c997; }
.trace-tag-mix { color: #6610f2; }
.trace-tag-psychro { color: #0e7490; }
.trace-tag-output { color: #b45309; font-weight: bold; }

/* Loading indicator */
.htmx-indicator { display: none; }
.htmx-request .htmx-indicator { display: inline-block; }
