/* Auxiliary Pages Styles */

.aux-header {
  background-color: var(--surface-color);
  border-bottom: 1px solid var(--border-color);
  padding: var(--space-lg) 0;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.aux-header .logo-wrapper {
  justify-content: flex-start;
}

.aux-header .logo {
  width: 40px;
  height: 40px;
}

.aux-header .brand-name {
  font-size: 1.5rem;
}

.back-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: var(--font-weight-medium);
  transition: color 0.2s ease;
}

.back-link:hover {
  color: var(--secondary-color);
}

.aux-main {
  min-height: 60vh;
  padding: var(--space-3xl) 0;
  background-color: var(--background-color);
}

.aux-content {
  max-width: 800px;
  margin: 0 auto;
}

.aux-content h1 {
  font-size: 2.5rem;
  font-weight: var(--font-weight-bold);
  color: var(--text-primary);
  margin-bottom: var(--space-lg);
  text-align: center;
}

.last-updated {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: var(--space-3xl);
}

.about-section {
  margin-bottom: var(--space-3xl);
  padding: var(--space-xl);
  background-color: var(--surface-color);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
}

.about-section h2 {
  font-size: 1.5rem;
  font-weight: var(--font-weight-bold);
  color: var(--primary-color);
  margin-bottom: var(--space-lg);
  text-align: left;
}

.about-section p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

.about-section p:last-child {
  margin-bottom: 0;
}

.about-content-with-image {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.about-content-with-svg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.about-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
}

.about-svg svg {
  width: 100%;
  height: 250px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
}

.legal-content {
  background-color: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}

.legal-section {
  margin-bottom: var(--space-3xl);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--border-color);
}

.legal-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.legal-section h2 {
  font-size: 1.25rem;
  font-weight: var(--font-weight-bold);
  color: var(--primary-color);
  margin-bottom: var(--space-sm);
  text-align: left;
}

.legal-section p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-sm);
}

.legal-section p:last-child {
  margin-bottom: 0;
}

/* Responsive Design for Auxiliary Pages */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }
  
  .aux-content h1 {
    font-size: 2rem;
  }
  
  .about-section {
    padding: var(--space-lg);
  }
  
  .legal-content {
    padding: var(--space-xl);
  }
  
  .about-content-with-image,
  .about-content-with-svg {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .about-image img,
  .about-svg svg {
    height: 200px;
  }
}