/* Shared documents / attachments table (nu-doclist). */

.nu-doclist {
  margin: 28px 0 0;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  background: #fff;
}

.card-body > .nu-doclist {
  margin: 0;
}

.nu-doc {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 15px 20px;
  border-bottom: 1px solid var(--line-soft);
  transition: background 0.12s;
}

.nu-doc:nth-child(even) {
  background: #eaf1f6;
}

.nu-doc:hover {
  background: #deeaf2;
}

.nu-doc:last-child {
  border-bottom: 0;
}

.nu-doc .fic {
  flex: 0 0 auto;
  width: 34px;
  height: 42px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
}

.nu-doc .fic svg {
  width: 17px;
  height: 17px;
}

.nu-doc .meta {
  flex: 1;
  min-width: 0;
}

.nu-doc .dn {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.35;
}

.nu-doc .btn-wrap {
  flex: 0 0 auto;
  margin-left: auto;
}

.nu-doc .nu-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 9px;
  border: 1px solid var(--cyan);
  color: var(--cyan);
  background: #fff;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}

.nu-doc .nu-btn:hover {
  background: var(--cyan);
  color: #fff;
  text-decoration: none;
}

.nu-doc .nu-btn svg {
  width: 14px;
  height: 14px;
}

@media (max-width: 620px) {
  .nu-doc {
    flex-wrap: wrap;
  }

  .nu-doc .btn-wrap {
    width: 100%;
    margin-left: 0;
  }

  .nu-doc .nu-btn {
    width: 100%;
    justify-content: center;
  }
}
