/**
 * Account Statements widget styles.
 * Flat, newest-first list of "{Month} {Year} Statement" links — matches the
 * legacy Monthly Account Statements section on the commodity-pool fund pages.
 */

.amplify-account-statements {
  width: 100%;
}

.amplify-account-statements__list {
  display: flex;
  flex-direction: column;
}

.amplify-account-statements__item {
  margin: 0 0 8px;
  line-height: 1.3;
}

.amplify-account-statements__link {
  color: #2D65E2;
  text-decoration: none;
  font-weight: 400;
}

.amplify-account-statements__link:hover {
  text-decoration: underline;
}

.amplify-account-statements__empty {
  color: #555;
  font-style: italic;
}

.amplify-account-statements__error {
  color: #b00020;
}

/* Loading state (mirrors the tax-center spinner) */
.amplify-account-statements__loading {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #555;
}

.amplify-account-statements__spinner {
  width: 18px;
  height: 18px;
  border: 2px solid #ccc;
  border-top-color: #2D65E2;
  border-radius: 50%;
  animation: amplify-acct-spin 0.8s linear infinite;
}

@keyframes amplify-acct-spin {
  to {
    transform: rotate(360deg);
  }
}
