

/* Стили для документов */
.document-container {
  padding: 2.5rem !important;
  margin-top: -50px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  background: var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  position: relative;
}

.document-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.donate-rules,
.terms-of-service,
.privacy-policy {
  max-width: none;
  margin: 0;
  padding: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--gray-900);
  line-height: 1.7;
}

.donate-rules p,
.terms-of-service p,
.privacy-policy p {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 0;
  color: var(--gray-700);
}

.document-version,
.oferta-version {
  text-align: right;
  margin-bottom: 2em;
  color: var(--gray-500);
  font-size: 0.9rem;
  padding: 0.75rem;
  background: var(--gray-50);
  border-radius: 12px;
  border: 1px solid var(--gray-200);
  line-height: 1.4;
}

.document-version p,
.oferta-version p {
  margin: 0.3rem 0;
}

.document-version a,
.oferta-version a {
  color: var(--primary-red);
  text-decoration: none;
  border-bottom: 1px dotted var(--primary-red);
  transition: all 0.2s ease;
}

.document-version a:hover,
.oferta-version a:hover {
  border-bottom: 1px solid var(--primary-red);
}

.disclaimer {
  background: linear-gradient(135deg, #fef2f2 0%, #fecaca 100%);
  padding: 1.2rem;
  border-left: 4px solid var(--primary-red);
  margin: 1.5rem 0;
  border-radius: 0 12px 12px 0;
  box-shadow: var(--shadow-sm);
}

.disclaimer p {
  margin: 0;
  color: var(--gray-800);
  font-weight: 500;
}

.requisites {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 1.5rem;
  margin: 1.5rem 0;
  border-radius: 16px;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-md);
}

.requisites p {
  margin: 0.5rem 0;
  font-weight: 500;
  color: var(--gray-800);
}

.requisites p:first-child {
  font-weight: 700;
  color: var(--primary-red);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

/* Специфичные стили для заголовков в документах */
.donate-rules h1,
.terms-of-service h1,
.privacy-policy h1 {
  margin-bottom: 1.2em;
  font-size: 2.3rem;
}

.donate-rules h2,
.terms-of-service h2,
.privacy-policy h2 {
  margin-top: 1.8em;
  margin-bottom: 0.8em;
}

.donate-rules h4,
.terms-of-service h4,
.privacy-policy h4 {
  margin-top: 1.5em;
  margin-bottom: 0.7em;
}

.donate-rules h5,
.terms-of-service h5,
.privacy-policy h5 {
  margin-top: 1.3em;
  margin-bottom: 0.6em;
}

.donate-rules h6,
.terms-of-service h6,
.privacy-policy h6 {
  margin-top: 1.2em;
  margin-bottom: 0.5em;
}

.document-type {
  text-align: center;
  font-size: 1.1rem;
  color: var(--gray-600);
  font-weight: 500;
  margin-bottom: 1.5rem;
  padding: 0.8rem;
  background: var(--gray-50);
  border-radius: 12px;
  border: 1px solid var(--gray-200);
}

.benefits-list,
.terms-list {
  background: var(--gray-50);
  padding: 1.2rem;
  border-radius: 12px;
  border: 1px solid var(--gray-200);
  margin: 1.2rem 0;
}

.benefits-list li,
.terms-list p,
.privacy-policy ul li {
  margin-bottom: 0;
  padding-left: 1rem;
  position: relative;
  font-size: 1rem;
  line-height: 1.5;
}

.benefits-list {
  list-style: none;
}

.benefits-list li {
  padding-left: 1.5rem;
  position: relative;
}

.benefits-list li:before {
  content: '•';
  color: var(--primary-red);
  font-weight: bold;
  position: absolute;
  left: 0;
  font-size: 1.2rem;
}

.benefits-list li + li,
.terms-list p + p,
.privacy-policy ul li + li {
  margin-top: 0.5rem;
}

.payment-note {
  background: var(--yellow-50);
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid var(--yellow-200);
  margin-top: 1rem;
  font-style: italic;
}



/* Мобильная адаптация для документов */
@media (max-width: 768px) {
  .document-container {
    padding: 1.5rem !important;
    margin: 0 0.5rem;
    border-radius: 16px;
  }
  
  .donate-rules h1,
  .terms-of-service h1,
  .privacy-policy h1 {
    font-size: 2rem;
  }
  
  .donate-rules h2,
  .terms-of-service h2,
  .privacy-policy h2 {
    font-size: 1.3rem;
  }
  
  .donate-rules h4,
  .terms-of-service h4,
  .privacy-policy h4 {
    font-size: 1.2rem;
  }
  
  .donate-rules p,
  .terms-of-service p,
  .privacy-policy p {
    font-size: 1rem;
  }
  
  .document-version,
  .oferta-version {
    text-align: left;
    font-size: 0.9rem;
  }
  
  .requisites {
    padding: 1.5rem;
  }
  
  .benefits-list,
  .terms-list {
    padding: 1rem;
  }
} 