/* Swiss Cheese Recall Tracker - Styles */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; line-height: 1.6; color: #333; background-color: #fff; }
a { color: #2563eb; text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 900px; margin: 0 auto; padding: 0 1rem; }
.site-header { background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%); color: white; padding: 1.5rem 0; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.site-header h1 { font-size: 1.8rem; margin-bottom: 0.5rem; }
.main-nav { display: flex; gap: 1.5rem; }
.main-nav a { color: #cbd5e0; font-weight: 500; }
.main-nav a:hover { color: #ffffff; }
.hero-section { text-align: center; padding: 2rem 0; background: linear-gradient(135deg, #f0fdf4 0%, #e0f2fe 100%); }
.tagline { font-size: 1.2rem; color: #065f46; margin-bottom: 1rem; }
.alert-banner { background: #fef3c7; border: 1px solid #fcd34d; border-radius: 8px; padding: 1rem; margin-bottom: 1.5rem; color: #92400e; }
.checker-section, .safety-section, .contacts-section, .reference-section, .about-section { padding: 2rem 0; }
h2 { color: #1e293b; margin-bottom: 1rem; font-size: 1.5rem; }
h3 { color: #334155; margin-bottom: 0.75rem; }
.recall-form { background: #f8fafc; border-radius: 12px; padding: 2rem; border: 1px solid #e2e8f0; margin-bottom: 2rem; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 500; color: #0f172a; }
.form-group input, .form-group select { width: 100%; padding: 0.75rem; border: 1px solid #cbd5e1; border-radius: 6px; font-size: 1rem; background: white; }
.help-text { font-size: 0.875rem; color: #64748b; margin-top: 0.25rem; }
#checkBtn { background: #2563eb; color: white; border: none; padding: 0.875rem 2rem; border-radius: 6px; font-size: 1rem; font-weight: 500; cursor: pointer; width: 100%; }
#checkBtn:hover { background: #1d4ed8; }
#checkBtn:disabled { background: #94a3b8; cursor: not-allowed; }
.result-section { margin-top: 1.5rem; }
.result-card { background: white; border-radius: 8px; padding: 1.5rem; border: 1px solid #e2e8f0; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.result-card h3 { color: #065f46; margin-bottom: 1rem; }
.hidden { display: none; }
.checklist, .contact-grid { display: grid; }
.check-item { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem; background: #f1f5f9; border-radius: 6px; }
.check-item input[type="checkbox"] { width: 1.25rem; height: 1.25rem; }
.secondary-btn { background: #64748b; color: white; border: none; padding: 0.75rem 1.5rem; border-radius: 6px; cursor: pointer; margin-top: 1rem; }
.secondary-btn:hover { background: #475569; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin-top: 1rem; }
.contact-card { background: #f8fafc; border-radius: 8px; padding: 1rem; border: 1px solid #e2e8f0; }
.tips-list { list-style: none; padding-left: 0; }
.tips-list li { padding: 0.5rem 0; padding-left: 1.5rem; position: relative; }
.tips-list li::before { content: "✓"; position: absolute; left: 0; color: #22c55e; font-weight: bold; }
.site-footer { background: #1e293b; color: #cbd5e0; padding: 1.5rem 0; margin-top: 2rem; text-align: center; }
.site-footer a { color: #38bdf8; }
@media (max-width: 600px) { 
  .site-header h1 { font-size: 1.4rem; }
  .main-nav { flex-direction: column; gap: 0.75rem; }
  .recall-form { padding: 1.5rem; }
  .content-grid { display: block; }
}
@media (max-width: 480px) { 
  .container { padding: 0 0.5rem; }
}


/* Factory-injected deployment helpers. The AI owns the site design above this block. */
.ad-unit {
  width: min(100%, 720px);
  min-height: 120px;
  margin: 24px auto;
  display: block;
}

.legal-page {
  width: min(900px, calc(100% - 32px));
  margin: 40px auto;
}

.factory-fallback-nav {
  width: min(900px, calc(100% - 32px));
  margin: 24px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  font-size: 0.95rem;
}

.factory-fallback-nav a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
