/* Attachments - Item */
/* stylelint-disable order/order */
/* stylelint-enable order/order */
/* Variables - shadows */
/* stylelint-disable */
/* stylelint-enable */
/* Converts hex value to rgb colors value */
/* Generates CSS3 var */
/* stylelint-disable order/order */
/* stylelint-enable order/order */
/* Variables - Typography */
/* Variables - General */
/* Variables - z-index */
/* Variables - Attachments */
gov-attachments-item, .gov-attachments-item {
  display: flex;
  flex-direction: column;
}
gov-attachments-item__messages > *:last-child, .gov-attachments-item__messages > *:last-child {
  margin-bottom: 0;
}
gov-attachments-item__messages > *, .gov-attachments-item__messages > * {
  position: relative;
  top: calc(-1 * var(--spacing-xs));
}
gov-attachments-item__file, .gov-attachments-item__file {
  display: flex;
  gap: var(--spacing-s);
  max-width: 100%;
}
gov-attachments-item__name, .gov-attachments-item__name {
  display: flex;
  -moz-column-gap: var(--spacing-s);
       column-gap: var(--spacing-s);
  align-items: center;
  max-width: calc(100% - var(--spacing-s) - var(--icon-size-s) - (var(--spacing-s-nudge) + var(--border-width, 0.0625rem)) * 2);
  margin: 0;
}
gov-attachments-item__name > gov-tooltip, gov-attachments-item__name .gov-tooltip, .gov-attachments-item__name > gov-tooltip, .gov-attachments-item__name .gov-tooltip {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
  color: var(--name-color, var(--text-primary));
}
gov-attachments-item__name span[slot=info], .gov-attachments-item__name span[slot=info] {
  font-size: var(--font-size-body-xs);
  line-height: 150%;
  font-weight: 400;
  color: var(--decor-color, var(--text-secondary));
  white-space: nowrap;
}