@import url("./mplus.css");
@import url("https://cdn.jsdelivr.net/npm/remixicon@4.2.0/fonts/remixicon.css");

body {
  font-family: "M PLUS 1", "Roboto", sans-serif;
}

body.card-loading #card-loading {
  opacity: 1;
  visibility: visible;
}

#card-loading {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(20, 20, 20, 1);
  color: #fff;
  font-size: 16px;
  letter-spacing: 0.08em;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0s linear 0.4s;
}

#card-loading .spinner {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top-color: rgba(255, 255, 255, 0.9);
  animation: card-spin 0.8s linear infinite;
}

#card-loading .label {
  margin-top: 10px;
  font-size: 12px;
  opacity: 0.85;
}

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