/* analyzer.css — tool styles shared by free-tools.html, index.html. Generated by tools/consolidate_css.py. */

.brand-selector { background: var(--bg-card); border-radius: 12px; padding: 1.25rem; margin-bottom: 2rem; border: 1px solid var(--border); }
.brand-selector label { display: block; margin-bottom: 0.75rem; font-weight: 600; color: var(--secondary); }
.brand-buttons { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.brand-btn { background: var(--bg-hover); border: 2px solid var(--border); color: var(--text); padding: 0.6rem 1rem; border-radius: 8px; cursor: pointer; font-size: 0.9rem; transition: all 0.2s; }
.brand-btn:hover { border-color: var(--primary); }
.brand-btn.selected { background: var(--primary); border-color: var(--primary-light); }
.tool-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
@media (max-width: 900px) {
    .tool-grid { grid-template-columns: 1fr; }
}
.tool-card { background: var(--bg-card); border-radius: 16px; padding: 1.5rem; border: 1px solid var(--border); }
.tool-card h2 { display: flex; align-items: center; gap: 0.5rem; font-size: 1.3rem; margin-bottom: 1rem; color: var(--secondary); }
.tool-card h2 .icon { font-size: 1.5rem; }
.parameter-group { margin-bottom: 1.25rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--border); }
.parameter-group:last-of-type { border-bottom: none; }
.parameter-label { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem; }
.parameter-name { font-weight: 600; }
.parameter-value { font-size: 0.9rem; color: var(--text-muted); min-width: 80px; text-align: right; }
.color-options { display: flex; gap: 4px; flex-wrap: wrap; }
.color-btn { width: 36px; height: 36px; border-radius: 6px; border: 2px solid transparent; cursor: pointer; transition: transform 0.15s, border-color 0.15s; position: relative; }
.color-btn:hover { transform: scale(1.1); }
.color-btn.selected { border-color: white; box-shadow: 0 0 10px rgba(255,255,255,0.5); }
.color-btn::after { content: attr(data-label); position: absolute; bottom: -18px; left: 50%; transform: translateX(-50%); font-size: 9px; color: var(--text-muted); white-space: nowrap; opacity: 0; transition: opacity 0.2s; }
.color-btn:hover::after { opacity: 1; }
.problem-list { display: flex; flex-direction: column; gap: 0.5rem; }
.problem-btn { background: var(--bg-hover); border: 1px solid var(--border); border-radius: 8px; padding: 0.75rem 1rem; color: var(--text); cursor: pointer; text-align: left; font-size: 0.95rem; transition: background 0.2s, border-color 0.2s; }
.problem-btn:hover { background: var(--primary); border-color: var(--primary); }
.problem-btn.selected { background: var(--primary); border-color: var(--primary-light); }
.followup-section { margin-top: 1rem; padding: 1rem; background: var(--bg-hover); border-radius: 8px; display: none; }
.followup-section.visible { display: block; }
.followup-section h4 { margin-bottom: 0.75rem; color: var(--secondary); }
.results-section { background: var(--bg-card); border-radius: 16px; padding: 1.5rem; margin-bottom: 2rem; border: 1px solid var(--border); display: none; }
.results-section.visible { display: block; }
.results-section h3 { color: var(--secondary); margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; }
.result-item { display: flex; justify-content: space-between; align-items: center; padding: 0.75rem; background: var(--bg-hover); border-radius: 8px; margin-bottom: 0.5rem; }
.result-item .label { font-weight: 500; }
.result-item .value { font-weight: 600; }
.result-item.good .value { color: var(--success); }
.result-item.warning .value { color: var(--warning); }
.result-item.danger .value { color: var(--danger); }
.recommendation { margin-top: 1rem; padding: 1rem; background: var(--info-bg); border-left: 4px solid var(--secondary); border-radius: 0 8px 8px 0; }
.recommendation h4 { color: var(--secondary); margin-bottom: 0.5rem; }
.recommendation ul { margin-left: 1.25rem; color: var(--text-muted); }
.recommendation li { margin-bottom: 0.25rem; }
.analyze-btn { width: 100%; background: linear-gradient(90deg, var(--primary), var(--secondary)); color: white; border: none; padding: 1rem; border-radius: 8px; font-size: 1rem; font-weight: 600; cursor: pointer; margin-top: 1rem; transition: opacity 0.2s, transform 0.2s; }
.analyze-btn:hover { opacity: 0.9; transform: translateY(-2px); }
@media (max-width: 600px) {
    .tool-card { padding: 1rem; }
    .color-btn { width: 32px; height: 32px; }
    .brand-btn { padding: 0.5rem 0.75rem; font-size: 0.85rem; }
}
