.privacy-policy-toc {
  background: var(--darker);
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  border: 1px solid var(--border-color);
}
.privacy-policy-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.privacy-policy-toc ul li {
  margin-bottom: 0.75rem;
}
.privacy-policy-toc ul li:last-child {
  margin-bottom: 0;
}
.privacy-policy-toc ul li a {
  color: var(--text-color);
  text-decoration: none;
  display: block;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}
.privacy-policy-toc ul li a:hover {
  background: rgba(255, 255, 255, 0.05);
  border-left-color: var(--primary);
  color: var(--primary);
}
.privacy-policy-toc ul li a.active {
  background: rgba(255, 255, 255, 0.05);
  border-left-color: var(--primary);
  color: var(--primary);
}
.privacy-policy-toc:before {
  content: 'Table of Contents';
  display: block;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary);
}
.privacy-policy-content {
  color: var(--text-color);
  line-height: 1.6;
  padding: 2rem 0;
}
.privacy-policy-content h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--primary);
  font-weight: 700;
}
.privacy-policy-content h1:after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: var(--primary);
  margin-top: 1rem;
}
.privacy-policy-content h2 {
  font-size: 1.8rem;
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-color);
  font-weight: 600;
}
.privacy-policy-content h3 {
  font-size: 1.4rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--text-color);
  font-weight: 600;
}
.privacy-policy-content p {
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
}
.privacy-policy-content ul,
.privacy-policy-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.8rem;
}
.privacy-policy-content ul li,
.privacy-policy-content ol li {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}
.privacy-policy-content table {
  width: 100%;
  margin: 1.5rem 0;
  border-collapse: collapse;
  background: var(--darker);
  border-radius: 8px;
  overflow: hidden;
}
.privacy-policy-content table th,
.privacy-policy-content table td {
  padding: 1rem;
  border: 1px solid var(--border-color);
  text-align: left;
}
.privacy-policy-content table th {
  background-color: var(--primary);
  color: white;
  font-weight: 600;
}
.privacy-policy-content table tr:nth-child(even) {
  background-color: rgba(255, 255, 255, 0.05);
}
.privacy-policy-content table tr:hover {
  background-color: rgba(255, 255, 255, 0.1);
}
.privacy-policy-content code {
  background-color: var(--darker);
  padding: 0.2rem 0.4rem;
  border-radius: 0.25rem;
  font-family: monospace;
  font-size: 0.9em;
}
.privacy-policy-content blockquote {
  border-left: 4px solid var(--primary);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--darker);
  border-radius: 0 8px 8px 0;
  font-style: italic;
}
.privacy-policy-content blockquote p:last-child {
  margin-bottom: 0;
}
.privacy-policy-content hr {
  margin: 2.5rem 0;
  border: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-color), transparent);
}
.privacy-policy-content a {
  color: var(--primary);
  text-decoration: none;
  border-bottom: 1px dashed var(--primary);
  transition: all 0.3s ease;
}
.privacy-policy-content a:hover {
  color: #00ebbd;
  border-bottom-style: solid;
}
.privacy-policy-content .last-updated {
  font-style: italic;
  color: var(--text-muted);
  margin-top: -1rem;
  margin-bottom: 2rem;
}
.privacy-policy-content .contact-info {
  background: var(--darker);
  padding: 1.5rem;
  border-radius: 8px;
  margin: 2rem 0;
}
.privacy-policy-content .contact-info h3 {
  margin-top: 0;
}
.privacy-policy-content .contact-info p {
  margin-bottom: 0.5rem;
}
.privacy-policy .back-to-top {
  position: fixed;
  bottom: -60px;
  right: 30px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  padding: 0.75rem 1.25rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.privacy-policy .back-to-top.show {
  bottom: 30px;
  opacity: 1;
  visibility: visible;
}
.privacy-policy .back-to-top:hover {
  transform: translateY(-3px);
}
@media print {
  .privacy-policy-content {
    color: #000;
  }
  .privacy-policy-content a {
    color: #000;
    text-decoration: underline;
    border-bottom: none;
  }
  .privacy-policy-content table {
    border: 1px solid #ddd;
  }
  .privacy-policy-content table th {
    background-color: #f5f5f5;
    color: #000;
  }
}
[data-theme="dark"] .privacy-policy-content table th {
  background-color: var(--primary-dark);
}
