/* Pancreatic Cancer Awareness Resource Navigator - 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.6;
 color: #333;
 background-color: #f8f9fa;
}

.site-header {
 background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
 border-bottom: 1px solid #dcedc8;
 position: sticky;
 top: 0;
 z-index: 100;
}

.nav-container {
 max-width: 1200px;
 margin: 0 auto;
 padding: 1rem 2rem;
 display: flex;
 justify-content: space-between;
 align-items: center;
}

.nav-logo {
 font-size: 1.5rem;
 font-weight: 700;
 color: #1b5e20;
 text-decoration: none;
}

.nav-menu {
 display: flex;
 list-style: none;
 gap: 2rem;
}

.nav-menu a {
 color: #2e7d32;
 text-decoration: none;
 font-weight: 500;
 transition: color 0.2s;
}

.nav-menu a:hover, .nav-menu a:focus {
 color: #1b5e20;
}

.hero-section {
 background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
 padding: 3rem 2rem;
 text-align: center;
}

.hero-title {
 font-size: clamp(1.8rem, 4vw, 2.5rem);
 color: #0d47a1;
 margin-bottom: 0.5rem;
}

.hero-subtitle {
 font-size: 1.2rem;
 color: #1565c0;
 margin-bottom: 1.5rem;
}

.quick-start-text {
 font-size: 1rem;
 color: #424242;
}

.quick-start {
 background: white;
 padding: 1.5rem;
 border-radius: 8px;
 box-shadow: 0 2px 8px rgba(0,0,0,0.1);
 display: inline-block;
}

.main-content {
 max-width: 1200px;
 margin: 0 auto;
 padding: 2rem;
}

section {
 margin-bottom: 2.5rem;
}

.section-title {
 font-size: 1.8rem;
 color: #0d47a1;
 margin-bottom: 0.5rem;
 padding-bottom: 0.5rem;
 border-bottom: 2px solid #90caf9;
}

.section-intro {
 color: #424242;
 font-size: 1.1rem;
 margin-bottom: 1.5rem;
}

.symptom-checker-section,
.staging-guide-section,
.timeline-section,
.resources-section {
 background: white;
 padding: 2rem;
 border-radius: 12px;
 box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.checker-container {
 display: grid;
 gap: 1.5rem;
}

.symptom-selector {
 display: flex;
 flex-direction: column;
 gap: 0.5rem;
}

.selector-label {
 font-weight: 600;
 color: #333;
}

.symptom-select {
 padding: 0.8rem 1rem;
 border: 2px solid #e0e0e0;
 border-radius: 6px;
 font-size: 1rem;
 background: white;
}

.symptom-select:focus {
 outline: none;
 border-color: #2196f3;
 box-shadow: 0 0 0 3px #e3f2fd;
}

.symptom-multiple {
 padding-top: 1rem;
 border-top: 1px solid #eee;
}

.checkbox-group {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
 gap: 0.5rem;
}

.checkbox-item {
 display: flex;
 align-items: center;
 gap: 0.5rem;
 cursor: pointer;
}

.checkbox-item input {
 width: 18px;
 height: 18px;
}

.check-button {
 background: linear-gradient(135deg, #4caf50 0%, #388e3c 100%);
 color: white;
 border: none;
 padding: 1rem 2rem;
 font-size: 1.1rem;
 font-weight: 600;
 border-radius: 6px;
 cursor: pointer;
 transition: transform 0.2s, box-shadow 0.2s;
}

.check-button:hover, .check-button:focus {
 transform: translateY(-2px);
 box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
}

.check-button:active {
 transform: translateY(0);
}

.results-container {
 margin-top: 1.5rem;
 padding: 1.5rem;
 background: #f5f9f5;
 border-radius: 8px;
 border-left: 4px solid #4caf50;
}

.results-placeholder {
 text-align: center;
 color: #666;
}

.staging-container {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
 gap: 1.5rem;
}

.stage-card {
 background: white;
 padding: 1.5rem;
 border-radius: 8px;
 border: 1px solid #e0e0e0;
 text-align: center;
 transition: transform 0.2s, box-shadow 0.2s;
}

.stage-card:hover {
 transform: translateY(-4px);
 box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.stage-card h3 {
 color: #0d47a1;
 font-size: 1.5rem;
 margin-bottom: 0.5rem;
}

.stage-description {
 color: #666;
 font-size: 0.95rem;
 margin-bottom: 0.5rem;
}

.stage-outlook {
 color: #2e7d32;
 font-weight: 600;
 font-size: 0.9rem;
}

.stage-explanation {
 margin-top: 1.5rem;
 padding: 1rem;
 background: #fff3e0;
 border-radius: 8px;
}

.timeline-selector {
 display: flex;
 flex-direction: column;
 gap: 0.5rem;
}

.timeline-select {
 padding: 0.8rem;
 border: 2px solid #e0e0e0;
 border-radius: 6px;
 font-size: 1rem;
 background: white;
}

.timeline-display {
 margin-top: 1.5rem;
}

.timeline-placeholder {
 text-align: center;
 color: #666;
 padding: 2rem;
}

.resource-search {
 margin-bottom: 1.5rem;
}

.search-row {
 display: flex;
 gap: 0.5rem;
 flex-wrap: wrap;
}

.search-label {
 font-weight: 600;
 color: #333;
 aligning-self: center;
}

.search-input {
 flex: 1;
 min-width: 200px;
 padding: 0.8rem 1rem;
 border: 2px solid #e0e0e0;
 border-radius: 6px;
 font-size: 1rem;
}

.search-button {
 background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
 color: white;
 border: none;
 padding: 0.8rem 1.5rem;
 font-size: 1rem;
 font-weight: 600;
 border-radius: 6px;
 cursor: pointer;
 transition: transform 0.2s;
}

.search-button:hover, .search-button:focus {
 transform: translateY(-2px);
 box-shadow: 0 4px 12px rgba(33, 150, 243, 0.4);
}

.resource-results {
 margin-top: 1.5rem;
}

.quick-links {
 margin-top: 2rem;
 padding-top: 1.5rem;
 border-top: 1px solid #eee;
}

.quick-links h3 {
 color: #333;
 margin-bottom: 1rem;
}

.link-list {
 list-style: none;
 display: flex;
 flex-wrap: wrap;
 gap: 1rem;
}

.link-list a {
 color: #1976d2;
 text-decoration: none;
}

.link-list a:hover {
 text-decoration: underline;
}

.ad-slot-section {
 margin: 2rem 0;
}

.ad-placeholder {
 background: #f5f5f5;
 border: 1px dashed #ccc;
 border-radius: 8px;
 height: 120px;
 display: flex;
 align-items: center;
 justify-content: center;
 color: #999;
 font-size: 0.9rem;
}

.content-section {
 background: white;
 padding: 2rem;
 border-radius: 12px;
 box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.content-section h2 {
 color: #0d47a1;
 margin-bottom: 1rem;
}

.content-section h3 {
 color: #2e7d32;
 margin: 1.5rem 0 0.5rem 0;
}

.content-section p {
 margin-bottom: 1rem;
 color: #424242;
}

.content-section ul {
 margin-left: 1.5rem;
}

.content-section li {
 margin-bottom: 0.5rem;
}

.site-footer {
 background: #263238;
 color: #b0bec5;
 padding: 1.5rem 2rem;
}

.footer-container {
 max-width: 1200px;
 margin: 0 auto;
 display: flex;
 flex-wrap: wrap;
 justify-content: space-between;
 align-items: center;
 gap: 1rem;
}

.footer-copyright {
 font-size: 0.9rem;
}

.footer-links a {
 color: #b0bec5;
 text-decoration: none;
}

.footer-links a:hover {
 text-decoration: underline;
}

@media (max-width: 768px) {
 .nav-container {
 flex-direction: column;
 gap: 1rem;
 }

 .nav-menu {
 gap: 1rem;
 }

 .hero-section {
 padding: 2rem 1.5rem;
 }

 .hero-title {
 font-size: 1.8rem;
 }

 .checker-container,
 .search-row {
 grid-template-columns: 1fr;
 }

 .search-input {
 min-width: 100px;
 }

 .staging-container {
 grid-template-columns: repeat(2, 1fr);
 }

 .content-section {
 padding: 1.5rem;
 }

 .footer-container {
 flex-direction: column;
 text-align: center;
 }
}

@media (max-width: 480px) {
 .nav-menu {
 gap: 0.5rem;
 }

 .nav-menu a {
 font-size: 0.9rem;
 }

 .staging-container {
 grid-template-columns: 1fr;
 }

 .checkbox-group {
 grid-template-columns: 1fr;
 }
}



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