.hcb-my-downloads {
  max-width: 960px;
}

.hcb-my-downloads h2 {
  margin-top: 0;
}

.hcb-downloads-subtitle {
  margin-bottom: 20px;
  color: #666;
}

.hcb-my-downloads .hcb-button {
  display: inline-block;
  background: #eaeaea;
  padding: 8px 16px;
  border-radius: 24px;
  text-decoration: none;
  font-size: 16px;
  white-space: nowrap;
}

.hcb-button.primary {
  background: #694873;
  color: #fff;
}

.hcb-button:hover {
  text-decoration: none;
}

.hcb-table-wrap {
  overflow-x: auto;
  margin-bottom: 25px;
}

.hcb-library-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.hcb-library-table th,
.hcb-library-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #eee;
  text-align: left;
  vertical-align: middle;
}

.hcb-library-table th {
  font-size: 13px;
  color: #666;
  background: #f7f7f7;
}

.hcb-library-table td strong {
  display: block;
}

.hcb-badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.hcb-badge-saved {
  background: #e8f5e9;
  color: #256029;
}

.hcb-badge-available {
  background: #e8f0fe;
  color: #174ea6;
}

.hcb-badge-generator {
  background: #fff4e5;
  color: #8a4b00;
}

@media (max-width: 768px) {
  .hcb-library-table thead {
    display: none;
  }

  .hcb-library-table,
  .hcb-library-table tbody,
  .hcb-library-table tr,
  .hcb-library-table td {
    display: block;
    width: 100%;
  }

  .hcb-library-table tr {
    border-bottom: 1px solid #eee;
    padding: 10px 0;
  }

  .hcb-library-table td {
    border-bottom: none;
    padding: 6px 0;
  }

  .hcb-library-table td::before {
    content: attr(data-label);
    display: block;
    font-size: 12px;
    color: #666;
    margin-bottom: 2px;
  }
}
.hcb-downloads-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.hcb-downloads-pagination__count {
  font-size: 14px;
  color: #666;
}

.hcb-downloads-pagination__controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hcb-downloads-pagination__pages {
  font-size: 14px;
  color: #444;
  white-space: nowrap;
}

.hcb-button--disabled {
  opacity: 0.4;
  cursor: default;
  pointer-events: none;
}
