/* ===========================
   СЕКЦИЯ ДОКУМЕНТОВ
   =========================== */
.docs-section {
  padding: 80px 0 90px;
  background:
    radial-gradient(circle at top left, rgba(0, 188, 212, 0.18) 0, transparent 55%),
    radial-gradient(circle at bottom right, rgba(47, 123, 255, 0.22) 0, transparent 55%),
    var(--bg-section-dark-top, #0F2748);
  color: #E9F1FF;
}

.docs-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 34px;
  text-align: center;
  color: #F8FAFF;
}

/* ===========================
   СПИСОК ДОКУМЕНТОВ
   =========================== */
.docs-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Карточка документа */
.doc-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: var(--card-bg);
  border-radius: 16px;
  text-decoration: none;
  color: var(--text-main);

  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-card);

  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease,
    color 0.22s ease;
}

.doc-item img {
  height: 32px;
  width: 32px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 5px rgba(var(--brand-blue-rgb), 0.25));
}

.doc-item span {
  font-size: 1rem;
  line-height: 1.45;
}

/* Ховер */
.doc-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(var(--brand-blue-rgb), 0.20);
  border-color: rgba(var(--brand-blue-rgb), 0.38);
  color: var(--brand-blue);
  background:
    radial-gradient(circle at right,
      rgba(var(--brand-teal-rgb), 0.14) 0, transparent 65%
    ),
    var(--card-bg);
}

.doc-item:hover img {
  filter: drop-shadow(0 0 8px rgba(var(--brand-blue-rgb), 0.45));
}

/* ===========================
   БЛОК "НЕТ ДОКУМЕНТОВ"
   =========================== */
.docs-empty {
  margin: 22px auto 0;
  max-width: 520px;

  padding: 18px 20px;
  border-radius: 14px;

  text-align: center;
  font-size: 0.98rem;
  line-height: 1.5;
  color: rgba(233, 241, 255, 0.82);

  background:
    linear-gradient(135deg, rgba(15, 39, 72, 0.95), rgba(15, 39, 72, 0.8)),
    rgba(15, 23, 42, 0.85);
  border: 1px dashed rgba(148, 163, 199, 0.5);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.35);
}

/* ===========================
   МОБИЛЬНАЯ АДАПТИВНОСТЬ
   =========================== */
@media (max-width: 768px) {
  .docs-section {
    padding: 50px 0 55px;
  }

  .docs-title {
    font-size: 1.7rem;
    margin-bottom: 26px;
  }

  .doc-item {
    padding: 15px 16px;
  }

  .docs-empty {
    margin-top: 16px;
    padding: 14px 16px;
    font-size: 0.9rem;
  }
}
