/* ============================================================
   Percent Calculator Pro — Shared Stylesheet
   To change the brand colour across all pages, edit ONE line:
   ============================================================ */
:root {
  --primary: #a82622;
}

/* ── Reset ── */
*, *::before, *::after {
  box-sizing: border-box;
}

/* ── Base ── */
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: #f8fafc;
  color: #0f172a;
}

/* ── Header ── */
.header {
  position: sticky;
  top: 0;
  background: white;
  padding: 6px 10px;
  text-align: center;
  border-bottom: 1px solid #e2e8f0;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.logo {
  max-height: 120px;
  width: auto;
}

/* ── Layout ── */
.container {
  max-width: 520px;
  margin: 30px auto;
  padding: 0 14px 40px;
}

.breadcrumb {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 20px;
}

.breadcrumb a {
  color: var(--primary);
  text-decoration: none;
}

/* ── Card (base) ── */
.card {
  background: white;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  border-left: 3px solid var(--primary);
}

/* ── Footer ── */
footer {
  text-align: center;
  padding: 24px 16px;
  font-size: 13px;
  color: #94a3b8;
  margin-top: 20px;
}

footer a {
  color: var(--primary);
  text-decoration: none;
}

.footer-links {
  margin-top: 6px;
}

.footer-links a {
  margin: 0 8px;
}

/* ── Mobile ── */
@media (max-width: 600px) {
  .logo { max-height: 34px; }
}
