/* FTL Tire Size Calculator Styles */
.ftl-tire-calculator-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 24px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.ftl-tire-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; flex-wrap: wrap; gap: 16px; }
.ftl-tire-header h2 { margin: 0; font-size: 1.5rem; font-weight: 700; color: #111827; }
.ftl-tire-unit-toggle { display: flex; background: #f3f4f6; border-radius: 8px; padding: 4px; }
.ftl-tire-unit-btn { padding: 8px 16px; border: none; background: transparent; color: #6b7280; font-weight: 500; cursor: pointer; border-radius: 6px; transition: all 0.2s; }
.ftl-tire-unit-btn.active { background: #fff; color: #111827; box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
.ftl-tire-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 24px; }
@media (max-width: 640px) { .ftl-tire-inputs { grid-template-columns: 1fr; } }
.ftl-tire-card { background: #fafafa; border-radius: 12px; padding: 20px; border: 1px solid #e5e7eb; }
.ftl-tire-card-a { border-left: 4px solid #3b82f6; }
.ftl-tire-card-b { border-left: 4px solid #10b981; }
.ftl-tire-card h3 { margin: 0 0 16px; font-size: 1rem; color: #374151; font-weight: 600; }
.ftl-tire-input-row { display: flex; align-items: flex-end; gap: 8px; }
.ftl-tire-input-group { flex: 1; min-width: 0; }
.ftl-tire-input-group label { display: block; font-size: 0.8rem; color: #6b7280; margin-bottom: 4px; font-weight: 500; }
.ftl-tire-input-group input { width: 100%; padding: 10px; border: 2px solid #e5e7eb; border-radius: 8px; font-size: 1rem; font-weight: 600; color: #111827; transition: border-color 0.2s; box-sizing: border-box; }
.ftl-tire-input-group input:focus { outline: none; border-color: #3b82f6; }
.ftl-tire-separator { font-weight: 700; color: #9ca3af; padding-bottom: 10px; font-size: 1.1rem; }
.ftl-tire-visualization { background: #f0f9ff; border-radius: 12px; padding: 20px; margin-bottom: 24px; text-align: center; }
.ftl-tire-visualization h3 { margin: 0 0 16px; font-size: 1rem; color: #374151; font-weight: 600; }
.ftl-tire-svg { max-width: 100%; height: auto; }
.ftl-tire-ground { stroke: #374151; stroke-width: 2; stroke-dasharray: 8 4; }
.ftl-tire-outer { stroke: #1f2937; stroke-width: 2; }
.ftl-tire-inner { stroke: #4b5563; stroke-width: 1; }
.ftl-tire-rim { stroke: #6b7280; stroke-width: 2; }
.ftl-tire-label { font-size: 14px; font-weight: 600; fill: #374151; }
.ftl-tire-spec { font-size: 12px; fill: #6b7280; }
.ftl-tire-results h3 { margin: 0 0 16px; font-size: 1rem; color: #374151; font-weight: 600; }
.ftl-tire-results-table { border: 1px solid #e5e7eb; border-radius: 12px; overflow: hidden; }
.ftl-tire-result-row { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; border-bottom: 1px solid #e5e7eb; }
.ftl-tire-result-row:last-child { border-bottom: none; }
.ftl-tire-result-header { background: #f9fafb; font-weight: 600; font-size: 0.85rem; color: #374151; }
.ftl-tire-result-cell { padding: 12px 16px; display: flex; align-items: center; font-size: 0.9rem; }
.ftl-tire-spec { font-weight: 500; color: #374151; }
.ftl-tire-diff-good { color: #059669; font-weight: 600; }
.ftl-tire-diff-caution { color: #d97706; font-weight: 600; }
.ftl-tire-diff-bad { color: #dc2626; font-weight: 600; }
@media (max-width: 640px) {
    .ftl-tire-result-row { grid-template-columns: 1fr 1fr; }
    .ftl-tire-result-header { display: none; }
    .ftl-tire-result-cell:first-child { grid-column: 1 / -1; background: #f9fafb; font-weight: 600; }
}
