.main-content__header a.button:first-letter {
  text-transform: uppercase;
}

.main-content__body .collection-list {
  margin-bottom: 2rem;
}

dd pre {
  white-space: break-spaces;
  background-color: #fff;
  padding: 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(0,0,0,.1);
  margin: 0;
}

.cell-label--boolean {
  width: 100px;
  hyphens: auto;
}

.cell-data--boolean {
  text-align: center;
}

td.cell-data--date-time {
  text-wrap: nowrap;
}

button.link {
  padding: 0;
}


/* active storage field, image preview */

.as-field {
  width: 100px;
}

.as-field-index img {
  width: 100%;
}

/* truncated copy field */

.truncated-copy-field {
  text-wrap: nowrap;
}

.copy-button {
  font-size: 0.8rem;
  border: 1px solid rgba(0, 0, 0, .2);
  background-color: #fff;
  margin: 1px;
  padding: 3px !important;
  vertical-align: middle;
}

.copy-button:hover {
  background-color: #ccc;
}

/* progress bar field */

/* Usage Data Dashboard Styles */
:root {
  --progress-border-color: rgba(0, 0, 0, 0.1);
  --progress-bg: #e0e0e0;
  --progress-low: #4caf50;
  --progress-medium: #ff9800;
  --progress-high: #f44336;
  --progress-exceeded: #9c27b0;
}

.progress-bar-field {
  min-width: 100px;
  width: 100%;
  height: 20px;
  background-color: var(--progress-bg);
  border: 1px solid var(--progress-border-color);
  overflow: hidden;
}

.progress-bar-field__bar {
  height: 100%;
}

.progress-bar-field__bar--low      { background-color: var(--progress-low); }
.progress-bar-field__bar--medium   { background-color: var(--progress-medium); }
.progress-bar-field__bar--high     { background-color: var(--progress-high); }
.progress-bar-field__bar--exceeded { background-color: var(--progress-exceeded); }

/* progress bar legend */

.progress-legend {
  display: flex;
  gap: 1.5rem;
}

.progress-legend__item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.progress-legend__color {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 1px solid var(--progress-border-color);
}

.progress-legend__color--low      { background-color: var(--progress-low); }
.progress-legend__color--medium   { background-color: var(--progress-medium); }
.progress-legend__color--high     { background-color: var(--progress-high); }
.progress-legend__color--exceeded { background-color: var(--progress-exceeded); }

/* summary field */

:root {
  --usage-bg-light: #f5f5f5;
  --usage-border-color: rgba(0, 0, 0, 0.1);
}

.usage-summary {
  margin-bottom: 2rem;
  padding: 1rem;
  background-color: var(--usage-bg-light);
  border: 1px solid var(--usage-border-color);

  h2 {
    margin-top: 0;
    margin-bottom: 1rem;
  }
}
