/*
  Case 361462: the "Starting up" state, shared by the sign-in page
  (views/login/login.php) and Viper's boot overlay (views/viper/index.php), so
  the two pages draw the same picture and the hand-off between them is
  invisible.

  .viperBootBody sits right under the logo, in the box the sign-in form uses
  (.fixed-width-panel in login.css: 330px max, 15px padding, 5px auto margin).
  px, not rem: the two pages do not share a root font size.
*/
.viperBootBody {
    box-sizing: border-box;
    max-width: 330px;
    margin: 5px auto;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.viperBootBody__spinner {
    box-sizing: border-box;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 4px solid #e6f1f8;
    border-top-color: #0066a6;
    animation: viperBootSpin 0.8s linear infinite;
}

.viperBootBody__status {
    min-height: 1.5em;
    margin: 0;
    color: #4b5568;
    font:
        500 15px/1.5 "Open Sans",
        system-ui,
        -apple-system,
        "Segoe UI",
        Roboto,
        sans-serif;
    font-variant-numeric: tabular-nums;
    text-align: center;
}

@keyframes viperBootSpin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes viperBootIn {
    to {
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .viperBootBody__spinner {
        animation: none;
    }
}
