/* Shared component styles extracted from multiple HTML files */

/* Top Banner */
.top-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 0.75rem 1rem 1.25rem;
  text-align: center;
  z-index: 100;
  background: #fafafa;
  color: #374151;
  font-size: 0.9rem;
}

.top-banner a {
  color: #2563eb;
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.2s ease;
}

.top-banner a:hover {
  color: #1d4ed8;
}

/* Bottom Navigation */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1.5rem 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.25rem;
  z-index: 100;
  background: #fafafa;
}

.bottom-nav a {
  color: #9ca3af;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.bottom-nav a:hover {
  color: #6b7280;
}

.bottom-nav span {
  color: #d1d5db;
  font-size: 0.9rem;
}

/* Back Link */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #6b7280;
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 2rem;
  transition: color 0.2s ease;
}

.back-link:hover {
  color: #374151;
}

/* Page Container (common structure) */
.page-container {
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem 2.5rem 6rem;
}

@media (min-width: 768px) {
  .page-container {
    padding: 2rem 4rem 6rem;
  }
}

/* Apply top padding when top-banner is present */
body.has-top-banner {
  padding-top: 3rem;
}
