/* =====================================================
   Стили для отдельных страниц (юр. документы, кабинет)
   Расширяет styles.css — подключайте оба.
   ===================================================== */

.doc-page {
  background: var(--bg-soft);
  min-height: 100vh;
  padding: 56px 0 96px;
}
.doc {
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 56px 64px;
  box-shadow: var(--shadow-sm);
}
.doc__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 24px;
}
.doc__back:hover { color: var(--text); }
.doc h1 {
  font-size: clamp(28px, 3.4vw, 40px);
  letter-spacing: -.02em;
  font-weight: 800;
  margin: 0 0 8px;
}
.doc__meta {
  font-size: 13px;
  color: var(--text-soft);
  margin: 0 0 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.doc h2 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.01em;
  margin: 36px 0 12px;
}
.doc p, .doc li {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
}
.doc ul, .doc ol {
  padding-left: 22px;
  margin: 0 0 14px;
}
.doc ul li, .doc ol li { margin-bottom: 6px; }
.doc strong { font-weight: 600; }
.doc a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

.doc__placeholder {
  margin: 28px 0;
  padding: 18px 22px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: var(--bg-soft);
  font-size: 14px;
  color: var(--text-muted);
}

@media (max-width: 720px) {
  .doc { padding: 32px 24px; border-radius: var(--radius); }
  .doc-page { padding: 24px 0 64px; }
}

/* ============================================================
   ЛИЧНЫЙ КАБИНЕТ / СТРАНИЦА ДОСТУПА
   ============================================================ */
.account {
  background: var(--bg-soft);
  min-height: 100vh;
  padding: 40px 0 96px;
}
.account__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 16px;
}
.account__hello {
  font-size: 14px;
  color: var(--text-muted);
}
.account__hello strong {
  color: var(--text);
  font-weight: 600;
}

.access-banner {
  background: linear-gradient(135deg, #0B1220, #1A2A5C);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.access-banner__check {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
  font-size: 18px;
}
.access-banner h2 {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 700;
}
.access-banner p {
  margin: 0;
  font-size: 14px;
  color: rgba(255,255,255,.7);
}

.lessons {
  display: grid;
  gap: 14px;
}
.lesson {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 26px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
}
.lesson__num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}
.lesson h3 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 600;
}
.lesson__meta {
  font-size: 13px;
  color: var(--text-soft);
}
.lesson__play {
  width: 44px; height: 44px;
  border: none;
  border-radius: 50%;
  background: var(--dark);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s var(--ease);
}
.lesson__play:hover { background: var(--accent); }

.account__notice {
  margin-top: 32px;
  padding: 18px 22px;
  background: #fff;
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ============================================================
   LOGIN / простая форма
   ============================================================ */
.auth {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
  background: var(--bg-soft);
}
.auth__card {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}
.auth__card h1 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.015em;
  margin: 0 0 6px;
}
.auth__card p {
  margin: 0 0 24px;
  color: var(--text-muted);
  font-size: 14px;
}
.auth__field {
  display: block;
  margin-bottom: 14px;
}
.auth__field span {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 6px;
  font-weight: 500;
}
.auth__field input {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  font: inherit;
  font-size: 15px;
  background: #fff;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.auth__field input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(59,107,255,.15);
}
.auth__hint {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-soft);
  text-align: center;
}
