/* Guide Pages - Shared Styles */
.guide-container {
  max-width: 800px;
  margin: 0 auto;
}

.topic-card {
  background: white;
  padding: 30px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  margin-bottom: 25px;
}

.topic-card h3 {
  color: var(--primary-color);
  margin: 0 0 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--bg-light);
  font-size: 24px;
}

.topic-card h4 {
  color: var(--text-color);
  margin: 25px 0 12px;
  font-size: 18px;
}

.topic-card p,
.topic-card li {
  color: var(--text-light);
  line-height: 1.8;
}

.topic-card ul,
.topic-card ol {
  padding-left: 20px;
  margin: 15px 0;
}

.topic-card li {
  margin-bottom: 10px;
}

.topic-card img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.highlight-box {
  padding: 20px;
  border-radius: 12px;
  margin: 20px 0;
}

.highlight-box.info {
  background: #ebf8ff;
  border-left: 4px solid #3182ce;
}

.highlight-box.warning {
  background: #fff5f5;
  border-left: 4px solid #e53e3e;
}

.highlight-box.success {
  background: #f0fff4;
  border-left: 4px solid #48bb78;
}

.highlight-box.tip {
  background: #faf5ff;
  border-left: 4px solid #805ad5;
}

.highlight-box.pink {
  background: #fce4ec;
  border-left: 4px solid #ec407a;
}

.highlight-box h5 {
  margin: 0 0 10px;
  font-family: var(--font-body);
  font-weight: 600;
}

.highlight-box.info h5 { color: #2c5282; }
.highlight-box.warning h5 { color: #c53030; }
.highlight-box.success h5 { color: #276749; }
.highlight-box.tip h5 { color: #553c9a; }
.highlight-box.pink h5 { color: #ec407a; }

.highlight-box p,
.highlight-box li {
  margin: 0;
  color: var(--text-light);
}

.highlight-box ul {
  margin: 10px 0 0;
  padding-left: 18px;
}

.intro-banner {
  background: linear-gradient(135deg, #e8f4f8 0%, #fce4ec 100%);
  color: var(--text-color);
  padding: 40px;
  text-align: center;
  margin-bottom: 50px;
  border-radius: 8px;
}

.intro-banner h3 {
  color: var(--primary-dark);
  margin-bottom: 15px;
}

.intro-banner p {
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 20px 0;
}

.column-card {
  background: var(--bg-cream);
  padding: 25px;
  border-radius: 8px;
}

.column-card h5 {
  color: var(--primary-dark);
  margin: 0 0 15px;
  font-size: 16px;
}

.column-card ul {
  margin: 0;
  padding-left: 18px;
}

.column-card li {
  color: var(--text-light);
  margin-bottom: 8px;
  font-size: 15px;
}

.step-card {
  background: var(--bg-light);
  padding: 20px;
  border-radius: 12px;
  margin: 15px 0;
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.step-number {
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.step-content h5 {
  margin: 0 0 8px;
  color: var(--text-color);
}

.step-content p {
  margin: 0;
  font-size: 14px;
}

.warning-signs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin: 20px 0;
}

.warning-card {
  background: #fff5f5;
  padding: 15px;
  border-radius: 10px;
  border-left: 3px solid #e53e3e;
}

.warning-card p {
  margin: 0;
  font-size: 14px;
  color: #742a2a;
}

.breadcrumb {
  padding: 15px 0;
  background: var(--bg-light);
}

.breadcrumb a {
  color: var(--primary-color);
}

.breadcrumb span {
  color: var(--text-muted);
  margin: 0 8px;
}

/* Tables in guides - make responsive */
.topic-card table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
}

.topic-card table th,
.topic-card table td {
  padding: 10px;
  text-align: left;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .guide-container {
    padding: 0 10px;
  }

  .topic-card {
    padding: 18px 14px;
  }

  .topic-card h3 {
    font-size: 19px;
  }

  .topic-card h4 {
    font-size: 16px;
  }

  .topic-card img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 15px auto !important;
  }

  .step-card {
    flex-direction: column;
    gap: 10px;
    padding: 15px;
  }

  .warning-signs {
    grid-template-columns: 1fr;
  }

  .intro-banner {
    padding: 20px 14px;
  }

  .highlight-box {
    padding: 14px;
  }

  .two-column {
    grid-template-columns: 1fr;
  }

  /* Make tables scrollable on mobile */
  .topic-card table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    font-size: 13px;
  }

  .topic-card table th,
  .topic-card table td {
    padding: 8px 6px;
    white-space: nowrap;
  }
}

@media (max-width: 480px) {
  .topic-card {
    padding: 14px 10px;
  }

  .topic-card h3 {
    font-size: 17px;
  }

  .intro-banner {
    padding: 15px 10px;
    margin-bottom: 25px;
  }
}
