/* Sports Broadcast Time Converter Styles */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  line-height: 1.5;
  color: #1a1a1a;
  background: #fafafa;
  min-height: 100vh;
}
header { background: #fff; border-bottom: 1px solid #e5e5e5; position: sticky; top: 0; z-index: 10; }
.nav { max-width: 1200px; margin: 0 auto; padding: 1rem 1.5rem; display: flex; align-items: center; }
.logo { font-weight: 700; font-size: 1.5rem; color: #0066cc; text-decoration: none; }
.logo:hover { text-decoration: underline; }
main { max-width: 1200px; margin: 0 auto; padding: 1.5rem; }
.hero { background: linear-gradient(135deg, #0066cc 0%, #004499 100%); border-radius: 12px; padding: 2rem; color: white; margin-bottom: 2rem; }
.hero h1 { font-size: 2.5rem; margin-bottom: 1rem; font-weight: 700; }
.hero p { font-size: 1.2rem; margin-bottom: 2rem; opacity: 0.95; }
.preset-selector, .time-input-group { margin-bottom: 1.5rem; }
label { display: block; margin-bottom: 0.5rem; font-weight: 600; }
select, input { width: 100%; padding: 0.75rem; border-radius: 6px; border: 1px solid #ccc; font-size: 1rem; background: white; }
.select-custom { display: none; margin-top: 1rem; padding: 1rem; background: rgba(255,255,255,0.1); border-radius: 6px; }
.primary-btn { background: #ff6b35; color: white; border: none; padding: 1rem 2rem; font-size: 1.1rem; border-radius: 6px; cursor: pointer; font-weight: 600; width: 100%; margin-top: 1rem; }
.primary-btn:hover { background: #e55a2b; }
.primary-btn:disabled { background: #cccccc; cursor: not-allowed; }
.results-section { background: white; border-radius: 12px; padding: 2rem; margin-bottom: 2rem; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.results-section h2 { font-size: 1.8rem; margin-bottom: 1.5rem; color: #333; }
.results-table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; }
.results-table th, .results-table td { padding: 1rem; text-align: left; border-bottom: 1px solid #eee; }
.results-table th { background: #f8f9fa; font-weight: 600; color: #555; }
.status-indicator { display: inline-block; padding: 0.25rem 0.75rem; border-radius: 20px; font-size: 0.85rem; font-weight: 500; }
.status-indicator.on { background: #d4edda; color: #155724; }
.status-indicator.future { background: #cce5ff; color: #004085; }
.status-indicator.past { background: #f8d7da; color: #721c24; }
.action-buttons { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.action-buttons .secondary-btn { background: #f0f0f0; color: #333; border: 1px solid #ddd; padding: 0.75rem 1.5rem; border-radius: 6px; cursor: pointer; font-weight: 500; flex: 1; min-width: 120px; }
.action-buttons .secondary-btn:hover { background: #e0e0e0; }
.usage-guide, .troubleshooting { background: white; border-radius: 12px; padding: 2rem; margin-bottom: 2rem; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.usage-guide h2, .troubleshooting h2 { font-size: 1.8rem; margin-bottom: 1rem; color: #333; }
.usage-guide h3, .troubleshooting h3 { font-size: 1.3rem; margin: 1.5rem 0 0.75rem 0; color: #0066cc; }
.usage-guide ul, .troubleshooting ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.usage-guide li, .troubleshooting li { margin-bottom: 0.5rem; }
.help-text { font-size: 0.9rem; opacity: 0.7; margin-top: 0.25rem; }
.last-updated { text-align: center; color: #666; font-size: 0.9rem; margin: 2rem 0; }
.footer-note { text-align: center; padding: 1.5rem; color: #666; font-size: 0.95rem; background: #fff; border-radius: 12px; }
@media (max-width: 768px) {
  .hero { padding: 1.5rem; border-radius: 8px; }
  .hero h1 { font-size: 1.8rem; }
  .results-section { padding: 1.25rem; border-radius: 8px; }
  .results-table th, .results-table td { padding: 0.75rem; }
  .usage-guide, .troubleshooting { padding: 1.25rem; border-radius: 8px; }
  .action-buttons { flex-direction: column; }
}
@media (max-width: 480px) {
  .nav { padding: 0.75rem 1rem; }
  .logo { font-size: 1.25rem; }
  .hero h1 { font-size: 1.5rem; }
  .hero p { font-size: 1rem; }
  .results-table { font-size: 0.9rem; }
}
/* Ad placeholder styling */
.ad-placeholder { min-height: 120px; display: flex; align-items: center; justify-content: center; }


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