/* =========================
   DOCUMENT CARD
   ========================= */
.documentListRow {
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 12px;
  cursor: move;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  margin-left: auto;
}
.documentListRow:hover {
  border-color: #50cd89;
  box-shadow: 0 10px 24px rgba(80, 205, 137, 0.12);
  transform: translateY(-2px);
}
.documentListRow.ui-sortable-helper {
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
}
.documentListRow .symbol img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}
.documentListRow > div {
  margin-top: 0;
}
/* Left section */
.documentListRow .document-info {
  min-width: 0;
}
.documentListRow .document-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* Center section */
.documentListRow .success-attached {
  justify-content: center;
}
.document-name {
  color: #0f172a;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.4;
  word-break: break-word;
}
.document-pages {
  color: #94a3b8;
  font-size: 13px;
}
.document-success {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(80, 205, 137, 0.12);
  color: #16a34a;
  font-size: 14px;
  font-weight: 600;
}
.btn-remove-document {
  min-width: 40px;
  height: 40px;
  border: none;
  border-radius: 12px;
  background: #fef2f2;
  color: #ef4444;
  transition: all 0.2s ease;
}
.btn-remove-document:hover {
  background: #ef4444;
  color: #fff;
}
.document-progress {
  height: 8px !important;
  border-radius: 999px;
  background: #eef2f7;
}
.document-progress .progress-bar {
  background: linear-gradient(90deg, #50cd89, #22c55e);
}
@media (max-width: 767px) {
  .document-success {
    font-size: 10px;
    font-weight: 600;
  }
  .documentListRow > div {
    margin-top: 10px !important;
  }
}
