/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *
 *= require_tree .
 *= require_self
 */

/* stylelint-disable-next-line selector-class-pattern */
.rodauth_hidden {
  visibility: hidden;
}

@keyframes spinner {
  to {
    transform: rotate(360deg);
  }
}

[busy]:not([no-spinner]) {
  position: relative;
}

[busy]:not([no-spinner]) > * {
  opacity: 0.25;
}

[busy]:not([no-spinner])::after {
  /* Solid color for the top border */
  animation: spinner 0.6s linear infinite;
  border: 0.275rem solid rgb(237 233 254 / 70%);
  border-radius: 50%;

  /* Semi-transparent border */
  border-top-color: rgb(124 58 237);
  box-sizing: border-box;
  content: "";
  height: 2.5rem;
  left: 50%;
  margin-left: -1.25rem;
  margin-top: -1.25rem;
  position: fixed;
  top: 50%;
  width: 2.5rem;
  z-index: 10;
}
