/* CSV 作成モーダルの作成開始ボタンのスピナー。送信中は :disabled、送信後の画面遷移中は
   Turbo が <html> に付ける aria-busy で覆う。submits-with が submit-end でボタンを復帰させるため、
   :disabled だけだと遷移待ちの間「作成開始」に戻って見えてしまう。 */
.csv-create-submit:disabled,
html[aria-busy] .csv-create-submit {
  @apply relative text-transparent;
}

.csv-create-submit:disabled::after,
html[aria-busy] .csv-create-submit::after {
  content: "";
  @apply absolute inset-0 m-auto size-4 rounded-full border-2 border-white border-r-transparent animate-spin;
}
