/*---------------------------------------
  INFORMATION PAGES
  Uses CSS variables defined in ssa_style.css
-----------------------------------------*/

/* Layout */
.info-body {
  font-family: 'DM Sans', sans-serif;
  color: var(--p-color);
  background: var(--white-color);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header */
.info-header {
  background: var(--navbar-bg-color);
  padding: 20px 0;
}

.info-header img {
  height: 44px;
}

/* Flying back button — top right, always visible */
.info-back-btn {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  background: var(--navbar-bg-color);
  color: var(--white-color) !important;
  border-radius: 100px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: var(--font-weight-medium);
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.info-back-btn:hover {
  background: var(--primary-color);
  transform: scale(1.05);
}

/* Content area */
.info-content {
  flex: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 56px 24px 80px;
  width: 100%;
}

.info-title {
  font-size: 36px;
  font-weight: var(--font-weight-bold);
  color: var(--p-color);
  margin-bottom: 8px;
}

.info-meta {
  color: #888;
  font-size: 14px;
  margin-bottom: 48px;
}

.info-content h2 {
  font-size: 20px;
  font-weight: var(--font-weight-bold);
  color: var(--p-color);
  margin-top: 40px;
  margin-bottom: 12px;
  border-bottom: 2px solid var(--highlight-icon-color);
  padding-bottom: 6px;
  display: inline-block;
}

.info-content h3 {
  font-size: 16px;
  font-weight: var(--font-weight-bold);
  color: var(--p-color);
  margin-top: 24px;
  margin-bottom: 8px;
}

.info-content p,
.info-content li {
  font-size: 15px;
  line-height: 1.75;
  color: var(--p-color);
}

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

.info-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
}

.info-content th {
  background: #f5f5f5;
  padding: 10px 14px;
  text-align: left;
  font-weight: var(--font-weight-bold);
  border: 1px solid #e0e0e0;
}

.info-content td {
  padding: 10px 14px;
  border: 1px solid #e0e0e0;
  color: var(--p-color);
}

.info-content hr {
  border: none;
  border-top: 1px solid #eee;
  margin: 32px 0;
}

/* Responsive */
@media (max-width: 768px) {
  .info-back-btn {
    font-size: 12px;
    padding: 8px 12px;
    top: 16px;
    right: 16px;
  }

  .info-content {
    padding: 40px 20px 60px;
  }

  .info-title {
    font-size: 28px;
    padding-right: 120px;
  }
}
