/* Location: /dist/css/privacy-policy.css */
/* Legal Page Styles */

/* Prevent horizontal overflow */
html, body {
  overflow-x: hidden;
}

.legal-hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  padding: 60px 0;
  color: white;
  margin-bottom: 40px;
}

.legal-hero h1 {
  font-weight: 700;
  margin-bottom: 15px;
}

.legal-hero .last-updated {
  opacity: 0.8;
  font-size: 0.95rem;
}

.legal-content {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 40px;
  margin-bottom: 40px;
}

.legal-content h2 {
  color: #d9232a;
  font-weight: 700;
  font-size: 1.5rem;
  margin-top: 35px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f0f0f0;
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content h3 {
  color: #333;
  font-weight: 600;
  font-size: 1.15rem;
  margin-top: 25px;
  margin-bottom: 15px;
}

.legal-content p {
  color: #555;
  line-height: 1.8;
  margin-bottom: 15px;
}

.legal-content ul,
.legal-content ol {
  color: #555;
  line-height: 1.8;
  margin-bottom: 20px;
  padding-left: 25px;
}

.legal-content li {
  margin-bottom: 10px;
}

.legal-content strong {
  color: #333;
}

.legal-content a {
  color: #d9232a;
  text-decoration: none;
}

.legal-content a:hover {
  text-decoration: underline;
}

/* Table wrapper for mobile scroll */
.table-responsive-wrapper {
  overflow-x: auto;
  margin: 20px 0;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 500px;
}

.data-table th,
.data-table td {
  padding: 12px 15px;
  text-align: left;
  border: 1px solid #e0e0e0;
}

.data-table th {
  background: #f8f9fa;
  font-weight: 600;
  color: #333;
}

.data-table td {
  color: #555;
}

.toc-sidebar {
  position: sticky;
  top: 100px;
}

.toc-sidebar h5 {
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
}

.toc-list {
  list-style: none;
  padding: 0;
}

.toc-list li {
  margin-bottom: 10px;
}

.toc-list a {
  color: #666;
  text-decoration: none;
  font-size: 14px;
  display: block;
  padding: 5px 0;
  border-left: 3px solid transparent;
  padding-left: 15px;
  transition: all 0.3s ease;
}

.toc-list a:hover,
.toc-list a.active {
  color: #d9232a;
  border-left-color: #d9232a;
  background: rgba(217, 35, 42, 0.05);
}

.highlight-box {
  background: #fff3cd;
  border-left: 4px solid #ffc107;
  padding: 15px 20px;
  margin: 20px 0;
  border-radius: 0 8px 8px 0;
}

.info-box {
  background: #e7f3ff;
  border-left: 4px solid #0d6efd;
  padding: 15px 20px;
  margin: 20px 0;
  border-radius: 0 8px 8px 0;
}

@media (max-width: 991px) {
  .toc-sidebar {
    position: relative;
    top: 0;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
  }
}

@media (max-width: 768px) {
  .legal-hero {
    padding: 40px 0;
  }

  .legal-content {
    padding: 25px;
  }

  .data-table {
    font-size: 14px;
  }

  .data-table th,
  .data-table td {
    padding: 10px;
  }
}

/* Mobile nav spacing */
@media (max-width: 991px) {
  body {
    padding-bottom: 80px;
  }
}
