/* Стили для текстовых документов (оферта, политика, соглашения) */
.doc-content {
  color: #334155;
  font-size: 1rem;
  line-height: 1.75;
}

.doc-content h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 2.25rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 2rem;
  line-height: 1.2;
}

.doc-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
  line-height: 1.3;
}

.doc-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1e293b;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.doc-content p {
  margin-bottom: 1.25rem;
}

.doc-content p:last-child {
  margin-bottom: 0;
}

.doc-content ul, 
.doc-content ol {
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.doc-content ul {
  list-style-type: disc;
}

.doc-content ol {
  list-style-type: decimal;
}

.doc-content li {
  margin-bottom: 0.5rem;
  padding-left: 0.25rem;
}

.doc-content li::marker {
  color: #64748b;
}

.doc-content a {
  color: #2563eb;
  text-decoration: underline;
  text-decoration-color: #93c5fd;
  text-underline-offset: 4px;
  transition: all 0.2s;
}

.doc-content a:hover {
  color: #1d4ed8;
  text-decoration-color: #2563eb;
}

.doc-content strong, 
.doc-content b {
  font-weight: 600;
  color: #0f172a;
}

.doc-content hr {
  margin: 3rem 0;
  border: 0;
  border-top: 1px solid #e2e8f0;
}

/* Вложенные списки */
.doc-content ul ul,
.doc-content ol ol,
.doc-content ul ol,
.doc-content ol ul {
  margin-top: 0.5rem;
  margin-bottom: 0;
}

.doc-content ul ul {
  list-style-type: circle;
}

/* Стили для таблиц, если они понадобятся */
.doc-content table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}

.doc-content th {
  background-color: #f8fafc;
  font-weight: 600;
  color: #0f172a;
  text-align: left;
  padding: 0.75rem 1rem;
  border: 1px solid #e2e8f0;
}

.doc-content td {
  padding: 0.75rem 1rem;
  border: 1px solid #e2e8f0;
  vertical-align: top;
}
