/* Legal Pages Specific Styles */

/* Override body styles for legal pages */
body.legal-page {
  overflow-y: auto;
  padding: 2rem 0;
  align-items: flex-start;
}

/* Legal container styles */
.legal-container {
  position: relative;
  background: var(--white);
  padding: 3rem 2rem;
  border-radius: 12px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(6px);
  max-width: 800px;
  width: 100%;
  z-index: 1;
  margin: 2rem auto;
}

/* Back link styles */
.back-link {
  display: inline-block;
  color: var(--purple);
  text-decoration: none;
  margin-bottom: 2rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.back-link:hover {
  text-decoration: underline;
  color: var(--purple-dark);
}

/* Content styles */
.content {
  line-height: 1.6;
  color: #333;
}

/* Loading and error states */
.loading {
  text-align: center;
  color: #333;
  font-size: 1.1rem;
}

.error {
  text-align: center;
  color: #ff6b6b;
  background: rgba(255, 107, 107, 0.1);
  padding: 1rem;
  border-radius: 8px;
  margin: 1rem 0;
}
/* 
/* Page title */
.page-title {
  color: var(--blue-dark);
  margin-bottom: 2rem;
  font-size: 2rem;
  font-weight: 700;
}
*/

/* Quill editor - minimal styling to let CMS content render as-is */
.ql-editor {
  background: transparent !important;
  padding: 0 !important;
}

/* Ensure all Quill content has dark text by default */
/* Inline styles (which Quill uses for CMS colors) have higher specificity and will override these */
.legal-container .ql-editor p,
.legal-container .ql-editor div,
.legal-container .ql-editor span,
.legal-container .ql-editor li,
.legal-container .ql-editor h1,
.legal-container .ql-editor h2,
.legal-container .ql-editor h3,
.legal-container .ql-editor h4,
.legal-container .ql-editor h5,
.legal-container .ql-editor h6 {
  color: #333 !important;
}

/* Hide Quill toolbar */
.ql-toolbar {
  display: none !important;
}

/* Responsive design for legal pages */
@media (max-width: 768px) {
  .legal-container {
    padding: 2rem 1rem;
    margin: 1rem;
  }

  .page-title {
    font-size: 1.5rem;
  }
}
