/* =============================================
   GREAT QR — Loading Screen
============================================= */

.app-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  width: 100vw;
  background: #F7F9FC;
  gap: 20px;
}

/* Conteneur centré */
.great-loader {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Anneaux */
.great-loader__ring {
  position: absolute;
  border-radius: 50%;
  border-style: solid;
  border-color: transparent;
}

/* Anneau extérieur */
.great-loader__ring--outer {
  width: 120px;
  height: 120px;
  border-width: 3px;
  border-top-color: #1A6BB5;
  border-right-color: #1A6BB5;
  animation:
    great-spin 1.4s linear infinite,
    great-color-outer 2.8s ease-in-out infinite;
}

/* Anneau intérieur */
.great-loader__ring--inner {
  width: 90px;
  height: 90px;
  border-width: 3px;
  border-bottom-color: #29ABE2;
  border-left-color: #29ABE2;
  animation:
    great-spin-reverse 1s linear infinite,
    great-color-inner 2.8s ease-in-out infinite;
}

/* Logo central */
.great-loader__logo {
  position: relative;
  z-index: 2;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: great-pulse 1.4s ease-in-out infinite;
}

.great-loader__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Label */
.great-loader__label {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #1A6BB5;
  letter-spacing: 0.2em;
  animation: great-fade 1.4s ease-in-out infinite;
}

/* =====================
   Keyframes
===================== */

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

@keyframes great-spin-reverse {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(-360deg); }
}

@keyframes great-pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.15);
    opacity: 0.85;
  }
}

@keyframes great-fade {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

@keyframes great-color-outer {
  0%, 100% {
    border-top-color:   #1A6BB5;
    border-right-color: #1A6BB5;
  }
  50% {
    border-top-color:   #29ABE2;
    border-right-color: #29ABE2;
  }
}

@keyframes great-color-inner {
  0%, 100% {
    border-bottom-color: #29ABE2;
    border-left-color:   #29ABE2;
  }
  50% {
    border-bottom-color: #1A6BB5;
    border-left-color:   #1A6BB5;
  }
}