.archive-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
  overflow: hidden;
  position: relative;
}

.archive-hero::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  right: -90px;
  top: -120px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(124, 131, 255, .22), transparent 68%);
  pointer-events: none;
}

.archive-total-badge {
  position: relative;
  z-index: 1;
  white-space: nowrap;
  padding: 12px 16px;
  border: 1px solid rgba(129, 140, 248, .3);
  border-radius: 14px;
  background: rgba(124, 131, 255, .1);
  color: #c7d2fe;
}

.archive-stats {
  margin-bottom: 16px;
}

.archive-filter-card,
.archive-list-card {
  margin-top: 16px;
}

.archive-filter-form {
  display: grid;
  grid-template-columns: minmax(170px, .8fr) minmax(210px, 1.2fr) minmax(200px, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.archive-filter-actions {
  flex-wrap: nowrap;
}

.archive-list-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.archive-table-wrap {
  max-height: 64vh;
}

.archive-table {
  min-width: 1180px;
}

.archive-table th {
  position: sticky;
  top: 0;
  z-index: 2;
}

.archive-table tbody tr {
  transition: background .16s ease, transform .16s ease;
}

.archive-table tbody tr:hover td {
  background: rgba(124, 131, 255, .055);
}

.archive-money-parts {
  display: grid;
  gap: 2px;
  margin-top: 5px;
  color: #94a3b8;
  font-size: 11px;
  white-space: nowrap;
}

.archive-download {
  white-space: nowrap;
}

.archive-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 16px;
  color: #94a3b8;
}

.archive-empty {
  min-height: 160px;
  display: grid;
  place-items: center;
}

@media (max-width: 1180px) {
  .archive-filter-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .archive-filter-actions {
    grid-column: 1 / -1;
    flex-wrap: wrap;
  }
}

@media (max-width: 760px) {
  .archive-hero,
  .archive-list-head {
    display: grid;
  }

  .archive-total-badge {
    width: fit-content;
  }

  .archive-filter-form {
    grid-template-columns: 1fr;
  }

  .archive-filter-actions {
    grid-column: auto;
  }

  .archive-filter-actions .btn {
    flex: 1 1 140px;
  }

  .archive-pagination {
    justify-content: space-between;
    gap: 8px;
    font-size: 12px;
  }
}
