html {
  width: 100%;
}

body {
  overflow-x: hidden !important;
}

/* Auth dashboard icon cards, fed by the live ESP counters. */
.atik-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 10px 5px 0;
}
.atik-stat-grid .card { min-width: 0; text-decoration: none; }
.atik-stat-grid .card:hover,
.atik-stat-grid .card:focus-visible { box-shadow: 0 4px 18px rgba(20, 83, 136, .16); }
.atik-stat-grid small { display: block; color: #737373; }
@media (max-width: 991px) {
  .atik-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575px) {
  .atik-stat-grid { grid-template-columns: 1fr; }
}

body.show-spinner>main {
  overflow: hidden !important;
}

/* Hide everything under body tag */
body.show-spinner>* {
  opacity: 0;
}

/* Spinner */
body.show-spinner::after {
  content: " ";
  display: inline-block;
  width: 30px;
  height: 30px;
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  border-top-color: rgba(0, 0, 0, 0.3);
  animation: spin 1s ease-in-out infinite;
  -webkit-animation: spin 1s ease-in-out infinite;
  left: calc(50% - 15px);
  top: calc(50% - 15px);
  position: fixed;
  z-index: 1;
}

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

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