/* Mayo v Louth GAA Prep Planner Styles */
* { box-sizing: border-box; }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif; line-height: 1.6; color: #333; background: #fff; }
a { color: #0066cc; text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 960px; margin: 0 auto; padding: 0 1rem; }
.site-header { background: linear-gradient(135deg, #005a9c 0%, #0072ce 100%); color: white; padding: 1.5rem 0; }
.site-header h1 { margin: 0; font-size: 1.8rem; }
.site-nav { margin-top: 0.5rem; }
.site-nav a { color: white; margin-right: 1.5rem; font-size: 0.95rem; }
.site-nav a:hover { opacity: 0.9; }
.hero-section { padding: 2rem 0; }
.planner-card { background: #f8f9fa; border-radius: 12px; padding: 1.5rem; margin: 1rem 0; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.input-group { margin-bottom: 1.2rem; }
.input-group label { display: block; margin-bottom: 0.4rem; font-weight: 600; }
.input-group input, .input-group select { width: 100%; padding: 0.75rem; border: 1px solid #ddd; border-radius: 6px; font-size: 1rem; }
.input-group small { color: #666; margin-top: 0.25rem; }
.calculated-result { background: #e6f2ff; padding: 0.75rem; border-radius: 8px; margin: 1rem 0; }
.primary-btn { background: #005a9c; color: white; border: none; padding: 0.85rem 1.5rem; border-radius: 6px; cursor: pointer; font-size: 1rem; font-weight: 500; }
.primary-btn:hover { background: #004a80; }
.secondary-btn { background: #f0f0f0; color: #333; border: 1px solid #ddd; padding: 0.85rem 1.5rem; border-radius: 6px; cursor: pointer; margin-left: 0.5rem; }
.secondary-btn:hover { background: #e0e0e0; }
.danger-btn { background: #d32f2f; color: white; border: none; padding: 0.6rem 1.2rem; border-radius: 6px; cursor: pointer; font-size: 0.9rem; }
.danger-btn:hover { background: #b71c1c; }
.checkbox-group { display: grid; gap: 0.5rem; }
.checkbox-item { display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0;
}
.checkbox-item input { width: auto; margin: 0; }
.cultural-section { background: #fff8e6; border-radius: 12px; padding: 1.5rem; margin: 1.5rem 0; border-left: 4px solid #ff9800; }
.tips-section { margin: 2rem 0; }
.tip-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.tip-card { background: #f8f9fa; border-radius: 8px; padding: 1rem; border-top: 3px solid #005a9c; }
.tip-card h4 { margin: 0 0 0.5rem 0; font-size: 1rem; color: #005a9c; }
.tip-card p { margin: 0; color: #666; font-size: 0.95rem; }
.history-section { background: #f0f8ff; border-radius: 12px; padding: 1.5rem; margin: 1.5rem 0; }
.history-items { list-style: none; padding: 0; margin: 1rem 0; }
.history-item { background: white; padding: 0.75rem; margin-bottom: 0.5rem; border-radius: 6px; font-size: 0.9rem; }
.no-history { color: #888; font-style: italic; }
.about-section { background: #fafafa; border-radius: 12px; padding: 1.5rem; margin: 1.5rem 0; }
.about-section h3 { margin-top: 0; color: #333; }
.about-section p { color: #555; margin: 0.75rem 0; }
.site-footer { background: #222; color: #aaa; padding: 1.5rem 0; margin-top: 2rem; }
.site-footer a { color: #ff9800; }
.site-footer a:hover { text-decoration: underline; }
.ad-reserve { min-height: 120px; display: flex; align-items: center; justify-content: center; }
@media (max-width: 600px) {
  .site-header h1 { font-size: 1.5rem; }
  .planner-card { padding: 1rem; }
  .primary-btn, .secondary-btn { width: 100%; margin: 0.25rem 0 0 0; }
  .site-nav { margin-top: 1rem; }
  .tip-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .container { padding: 0 0.5rem; }
  .site-header { padding: 1rem 0; }
}


/* 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;
}
