/**
 * The tokens card: one row per key this account cut for itself.
 *
 * Deliberately the applications card's layout. They are the same question about different
 * credentials, and a second layout would be a second thing to learn for no gain.
 */
.account-tokens {
  display: flex;
  flex-direction: column;
}

.account-tokens-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--light);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
}

.account-tokens-row:last-child {
  border-bottom: none;
}

.account-tokens-name {
  flex: 1 1 180px;
  min-width: 0;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-tokens-scopes {
  flex: 2 1 240px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.account-tokens-scope {
  border: 1px solid var(--light);
  border-radius: 999px;
  padding: 2px 8px;
  opacity: 0.75;
}

.account-tokens-authority {
  border: 1px solid var(--light);
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.account-tokens-when {
  opacity: 0.55;
  white-space: nowrap;
}

.account-tokens-empty {
  padding: 18px;
  font-size: 12.5px;
  opacity: 0.65;
}

.account-tokens-empty[data-error] {
  opacity: 1;
  color: var(--warning, inherit);
}

.account-tokens-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.account-tokens-more {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-decoration: none;
  opacity: 0.7;
}

.account-tokens-more:hover {
  opacity: 1;
}
