
/* =====================================================
   DCOMPT — LOGIN LOADER
   Animation visuelle uniquement
   ===================================================== */

#dcompt-login-loader {
  position: fixed;
  inset: 0;

  z-index: 999999;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 24px;

  background:
    radial-gradient(
      circle at 50% 40%,
      rgba(225,249,240,.98),
      rgba(255,255,255,.995) 58%
    );

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity .22s ease,
    visibility .22s ease;
}

#dcompt-login-loader.dcl-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}


.dcl-content {
  display: flex;
  flex-direction: column;

  align-items: center;
  justify-content: center;

  gap: 16px;

  text-align: center;
}


.dcl-ring {
  position: relative;

  display: grid;
  place-items: center;

  width: 108px;
  height: 108px;
}


.dcl-ring::before {
  content: "";

  position: absolute;
  inset: 0;

  border-radius: 50%;

  border: 5px solid rgba(14,170,120,.13);

  border-top-color: #0eaa78;
  border-right-color: #06243c;
  border-bottom-color: #33d09a;

  box-shadow:
    0 10px 32px rgba(14,170,120,.16);

  animation:
    dcompt-login-spin 1s linear infinite;
}


.dcl-ring::after {
  content: "";

  position: absolute;
  inset: 10px;

  border-radius: 50%;

  border:
    1px solid rgba(6,36,60,.08);
}


.dcl-ring img {
  position: relative;
  z-index: 2;

  width: 76px;
  height: 76px;

  object-fit: contain;

  padding: 7px;

  border-radius: 50%;

  background: #fff;

  box-shadow:
    0 6px 20px rgba(6,36,60,.10);
}


.dcl-content strong {
  margin-top: 3px;

  color: #071b2d;

  font-family:
    "Manrope",
    "Inter",
    "Segoe UI",
    Arial,
    sans-serif;

  font-size: 21px;
  font-weight: 800;

  letter-spacing: -.02em;
}


.dcl-message {
  color: #67757f;

  font-family:
    "Manrope",
    "Inter",
    "Segoe UI",
    Arial,
    sans-serif;

  font-size: 13px;
  font-weight: 600;
}


.dcl-dots::after {
  content: "";

  display: inline-block;

  width: 21px;

  text-align: left;

  animation:
    dcompt-dots 1.35s steps(4,end) infinite;
}


@keyframes dcompt-login-spin {

  to {
    transform: rotate(360deg);
  }

}


@keyframes dcompt-dots {

  0% {
    content: "";
  }

  25% {
    content: ".";
  }

  50% {
    content: "..";
  }

  75%,
  100% {
    content: "...";
  }

}


@media (max-width: 600px) {

  .dcl-ring {
    width: 96px;
    height: 96px;
  }

  .dcl-ring img {
    width: 67px;
    height: 67px;
  }

  .dcl-content strong {
    font-size: 19px;
  }

}


@media (prefers-reduced-motion: reduce) {

  .dcl-ring::before {
    animation-duration: 2.5s;
  }

}

