/* Content Styles for Privacy Policy and Terms Pages */

#content {
  line-height: 1.7;
}

#content h1 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 2rem;
  margin-top: 2rem;
  color: #11181C;
}

.dark-mode #content h1 {
  color: #ECEDEE;
}

#content h2 {
  font-size: 1.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  margin-top: 2rem;
  color: #11181C;
}

.dark-mode #content h2 {
  color: #ECEDEE;
}

#content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  margin-top: 1.5rem;
  color: #11181C;
}

.dark-mode #content h3 {
  color: #ECEDEE;
}

#content h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  margin-top: 1.25rem;
  color: #11181C;
}

.dark-mode #content h4 {
  color: #ECEDEE;
}

#content p {
  margin-bottom: 1.5rem;
  color: #11181C;
  text-align: justify;
}

.dark-mode #content p {
  color: #ECEDEE;
}

#content strong {
  font-weight: 600;
  color: #11181C;
}

.dark-mode #content strong {
  color: #ECEDEE;
}

#content a {
  color: #8b5cf6;
  text-decoration: underline;
  transition: color 0.3s ease;
}

#content a:hover {
  color: #7c3aed;
}

.dark-mode #content a {
  color: #8a70d6;
}

.dark-mode #content a:hover {
  color: #9d4edd;
}

#content ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  list-style-type: disc;
  list-style-position: outside;
}

#content ul ul {
  list-style-type: circle;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

#content ul ul ul {
  list-style-type: square;
}

#content li {
  margin-bottom: 0.5rem;
  color: #11181C;
  display: list-item;
}

.dark-mode #content li {
  color: #ECEDEE;
}

#content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  list-style-type: decimal;
  list-style-position: outside;
}

#content ol ol {
  list-style-type: lower-alpha;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

#content ol ol ol {
  list-style-type: lower-roman;
}

#content ol li {
  margin-bottom: 0.5rem;
  color: #11181C;
  display: list-item;
}

.dark-mode #content ol li {
  color: #ECEDEE;
}

#content blockquote {
  border-left: 4px solid #8b5cf6;
  padding-left: 1.5rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: #666666;
}

.dark-mode #content blockquote {
  border-left-color: #8a70d6;
  color: #a0a0b0;
}

#content code {
  background-color: #f3f3f3;
  padding: 0.125rem 0.25rem;
  border-radius: 0.25rem;
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  font-size: 0.875rem;
}

.dark-mode #content code {
  background-color: #222233;
}

#content pre {
  background-color: #f3f3f3;
  padding: 1rem;
  border-radius: 0.5rem;
  margin: 1.5rem 0;
  overflow-x: auto;
}

.dark-mode #content pre {
  background-color: #222233;
}

#content pre code {
  background-color: transparent;
  padding: 0;
}

#content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

#content th,
#content td {
  border: 1px solid #dddddd;
  padding: 0.75rem;
  text-align: left;
}

.dark-mode #content th,
.dark-mode #content td {
  border-color: #404050;
}

#content th {
  background-color: #f3f3f3;
  font-weight: 600;
}

.dark-mode #content th {
  background-color: #222233;
}

#content hr {
  border: none;
  border-top: 1px solid #dddddd;
  margin: 2rem 0;
}

.dark-mode #content hr {
  border-top-color: #404050;
}

/* First paragraph after heading should have reduced top margin */
#content h1 + p,
#content h2 + p,
#content h3 + p,
#content h4 + p {
  margin-top: 0;
}

/* Last element should have no bottom margin */
#content > *:last-child {
  margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  #content h1 {
    font-size: 2rem;
  }
  
  #content h2 {
    font-size: 1.75rem;
  }
  
  #content h3 {
    font-size: 1.375rem;
  }
  
  #content p {
    text-align: left;
  }
} 