/* Instagram Engagement Rate — Tool-specific styles */
.page { padding: 40px 20px; max-width: 800px; margin: 0 auto; }
.page h1 { font-size: 26px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.page .subtitle { color: #888; margin-bottom: 20px; font-size: 14px; }

.input-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.input-group label {
  display: block; font-size: 12px; color: #aaa;
  margin-bottom: 6px; font-weight: 500;
}
.input-group input {
  width: 100%; padding: 10px 12px;
  background: #0d0d0d; color: #eee;
  border: 1px solid #2a2a2a; border-radius: 6px;
  font-size: 14px;
}
.input-group input:focus { border-color: #ff4444; outline: none; }

.result-block {
  padding: 20px;
  background: #0d0d0d; border: 1px solid #2a2a2a; border-radius: 8px;
}
.result-main { text-align: center; margin-bottom: 16px; }
.result-label { font-size: 13px; color: #888; margin-bottom: 6px; }
.result-value {
  font-size: 56px; font-weight: 800; color: #ff4444;
  line-height: 1;
}
.result-benchmark {
  text-align: center; font-size: 13px; color: #aaa;
  padding: 10px 0; border-top: 1px solid #1f1f1f; border-bottom: 1px solid #1f1f1f;
  margin-bottom: 14px;
}
.benchmark-tier { font-weight: 600; color: #fff; }
.verdict-good { color: #4caf50; font-weight: 600; }
.verdict-mid  { color: #ff9800; font-weight: 600; }
.verdict-low  { color: #ff6666; font-weight: 600; }

.result-breakdown { display: flex; flex-direction: column; gap: 6px; }
.breakdown-item {
  display: flex; justify-content: space-between;
  font-size: 13px; color: #aaa;
}
.breakdown-item span:last-child { color: #eee; font-family: 'SF Mono', monospace; }

.info-block table {
  width: 100%; border-collapse: collapse;
  margin: 14px 0; font-size: 13px;
}
.info-block th, .info-block td {
  padding: 8px 12px; text-align: left; border-bottom: 1px solid #1f1f1f;
}
.info-block th { color: #fff; font-weight: 600; }
.info-block td { color: #ccc; }

@media (max-width: 600px) {
  .page { padding: 24px 12px; }
  .page h1 { font-size: 22px; }
  .input-grid { grid-template-columns: 1fr; }
  .result-value { font-size: 44px; }
}
