/* Vietnam Boat Accident Preparedness - 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-color: #f8f9fa;
}
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1rem;
}
header.site-header {
  background: linear-gradient(135deg, #1a472a 0%, #2e7d32 100%);
  color: white;
  padding: 2rem 0;
  text-align: center;
}
header.site-header h1 {
  margin: 0.5rem 0 0.25rem;
  font-size: 2rem;
  font-weight: 600;
}
header.site-header .tagline {
  margin: 0;
  opacity: 0.9;
  font-size: 1rem;
}
.main-nav {
  margin-top: 1rem;
}
.main-nav a {
  color: white;
  text-decoration: none;
  margin: 0 0.5rem;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  transition: background-color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background-color: rgba(255,255,255,0.2);
}
main {
  padding: 2rem 0;
}
section { margin-bottom: 2.5rem; }
section h2 { color: #1a472a; margin-top: 0; }
.card {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  margin-bottom: 1.5rem;
}
.checklist-section ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}
.checklist-item {
  padding: 0.75rem;
  border-bottom: 1px solid #eee;
  display: flex; align-items: center; justify-content: space-between;
}
.checklist-item:last-child { border-bottom: none; }
checklist-item:hover { background-color: #f5f5f5; }
.checklist-item label {
  flex: 1;
  display: flex; align-items: center;
}
checklist-item input[type="checkbox"] {
  margin-right: 0.75rem;
  width: 18px; height: 18px;
  cursor: pointer;
}
.item-label {
  font-size: 0.95rem;
}
.status-indicator {
  width: 12px; height: 12px;
  border-radius: 50%;
  background-color: #ccc;
  flex-shrink: 0;
}
.checklist-item input[type="checkbox"]:checked + .item-label + .status-indicator {
  background-color: #4caf50;
}
.checklist-controls {
  display: flex; gap: 0.75rem; margin-bottom: 1rem;
}
.btn {
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: opacity 0.2s, transform 0.1s;
}
.btn:active { transform: scale(0.98); }
.btn:hover { opacity: 0.9; }
.btn-primary { background-color: #1a472a; color: white; }
.btn-secondary { background-color: #6c757d; color: white; }
.progress-summary {
  text-align: center;
  padding: 0.75rem;
  font-size: 0.9rem;
  color: #666;
}
.contacts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}
.contact-card {
  background: white;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.contact-card h3 { margin-top: 0; font-size: 1rem; color: #1a472a; }
.contact-number { color: #2e7d32; font-weight: 600; font-size: 1.1rem; margin: 0.25rem 0;
}
.contact-note { font-size: 0.85rem; color: #666; margin: 0.5rem 0 0;
}
.phrases-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.phrases-table td {
  padding: 0.75rem;
  border-bottom: 1px solid #eee;
  vertical-align: top;
}
.phrases-table td:last-child { border-bottom: none; text-align: right;
}
.note-box {
  background: #e3f2fd;
  border-left: 4px solid #1a472a;
  padding: 1rem;
  border-radius: 0 4px 4px 0;
  margin-top: 1rem;
}
.support-section h3 { color: #2e7d32; margin-top: 1.5rem; }
.support-section ul { padding-left: 1.2rem; }
.support-section li { margin-bottom: 0.5rem; }
.small-note { font-size: 0.8rem; color: #666; font-style: italic; margin-top: 1rem;
}
.site-footer {
  background: #1a472a;
  color: white;
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.85rem;
}
.site-footer a {
  color: #81c784;
  text-decoration: none;
}
.site-footer a:hover { text-decoration: underline; }
@media (max-width: 600px) {
  header.site-header h1 { font-size: 1.5rem; }
  .checklist-item { flex-direction: column; align-items: flex-start; gap: 0.25rem; }
  .phrases-table td { padding: 0.5rem; font-size: 0.9rem; }
  .main-nav a { margin: 0 0.25rem; padding: 0.2rem 0.4rem; font-size: 0.85rem; }
}
@media (max-width: 400px) {
  .container { padding: 0 0.5rem; }
  .card { padding: 1rem; }
  .checklist-controls { flex-direction: column; }
}



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