.audio-card {
  border-radius: 0.5rem;
  border: 1px solid var(--border-color);
  background: white;
  overflow: hidden;
}

.audio-card--selected {
  border-color: var(--primary-color);
  border-width: 2px;
  background: white;
}

.audio-card__body {
  padding: 0.75rem;
}

.audio-card__player {
  width: 100%;
  height: 2rem;
  display: block;
}

.audio-card__no-file {
  padding: 0.625rem;
  background: var(--body-bg, #f5f5f5);
  border-radius: 0.375rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted-color);
}

.audio-card__prompt-text {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--muted-color);
  background: var(--body-bg, #f9f9f9);
  border-radius: 0.375rem;
  padding: 0.5rem 0.625rem;
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.55;
  max-height: 4.5rem;
  overflow-y: auto;
}

.audio-card__footer {
  margin-top: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.audio-card__meta {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  min-width: 0;
}

.audio-card__prompt-badge {
  font-size: 0.6875rem;
  font-weight: 500;
  background: var(--body-bg, #f0f0f0);
  color: var(--muted-color);
  border-radius: 9999px;
  padding: 0.125rem 0.5rem;
  white-space: nowrap;
  max-width: 9rem;
  overflow: hidden;
  text-overflow: ellipsis;
}

.audio-card__age {
  font-size: 0.6875rem;
  color: var(--muted-color);
  white-space: nowrap;
  flex-shrink: 0;
}

.audio-card__select-btn {
  font-size: 0.6875rem !important;
  padding: 0.2rem 0.75rem !important;
  white-space: nowrap;
  border-radius: 9999px !important;
  flex-shrink: 0;
}

.audio-card__selected-label {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.6875rem;
  color: var(--primary-color);
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

.audio-card__selected-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.875rem;
  height: 0.875rem;
  background: var(--primary-color);
  color: white;
  border-radius: 9999px;
  font-size: 0.5625rem;
  flex-shrink: 0;
}
