/* Unified Document Library bulk operations v0.4.6 */
.document-selection-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 10px;
  padding: 10px 12px;
  border: 1px solid var(--gc-border);
  border-radius: var(--gc-radius-md);
  background: var(--gc-surface-subtle);
}
.document-selection-bar > div:first-child {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.document-selection-bar strong {
  color: var(--gc-text-strong);
  font-size: .74rem;
}
.document-selection-bar span {
  color: var(--gc-muted);
  font-size: .66rem;
  line-height: 1.4;
}
.document-selection-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}
.document-select-heading,
.document-select-cell {
  width: 42px;
  min-width: 42px !important;
  padding-left: 10px !important;
  padding-right: 6px !important;
}
.document-select-label,
.document-mobile-select {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  cursor: pointer;
}
.document-select-label input,
.document-mobile-select input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--gc-brand);
}
.document-mobile-select {
  justify-self: end;
  min-height: 30px;
  color: var(--gc-muted);
  font-size: .68rem;
  font-weight: 720;
}
.document-bulk-error {
  margin-bottom: 12px;
}

@media (max-width: 680px) {
  .document-selection-bar {
    align-items: stretch;
    flex-direction: column;
  }
  .document-selection-actions {
    justify-content: stretch;
  }
  .document-selection-actions .action-button {
    flex: 1 1 auto;
    justify-content: center;
  }
  .document-mobile-card {
    position: relative;
  }
}
