/* page-loader.css — Overlay #page-loader / .loader-ring (Deportick oficial) */

.loader_process {
  position: fixed;
  inset: 0;
  z-index: 9999;
  width: 100%;
  height: 100%;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(255, 255, 255, 0.95);
  margin: 0;
  gap: 10px;
  color: #333;
  font-family: Geo, Arial, sans-serif;
}

.loader_process[hidden] {
  display: none !important;
}

html.page-loading,
html.page-loading body {
  overflow: hidden;
}

#loader_title {
  font-weight: 600;
  font-size: 1.2em;
  margin: 0;
  color: #333;
}

#loader_message {
  font-weight: 500;
  font-size: 1em;
  margin: 0 0 20px;
  color: #333;
}

.loader-ring {
  display: inline-block;
  position: relative;
  width: 40px;
  height: 40px;
}

.loader-ring div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 40px;
  height: 40px;
  border: 4px solid #6f0050;
  border-radius: 50%;
  animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: #6f0050 transparent transparent transparent;
}

.loader-ring div:nth-child(1) {
  animation-delay: -0.45s;
}

.loader-ring div:nth-child(2) {
  animation-delay: -0.3s;
}

.loader-ring div:nth-child(3) {
  animation-delay: -0.15s;
}

@keyframes lds-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .loader-ring div {
    animation-duration: 2.4s;
  }
}
