/* ═══════════════════════════════════════════════════════════════
   AUTH PAGES — Professional Responsive Design
   Mobile · Tablet · Desktop
   RepaireShopdj — Phone · PC · Maintenance · FRP · Réseau
   ═══════════════════════════════════════════════════════════════ */

/* ── Reset & base ── */
.auth-page-wrap * { box-sizing: border-box; margin: 0; padding: 0; }
.auth-page-wrap {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  min-height: 100vh;
  display: flex;
  background: #080b1a;
  overflow-x: hidden;
  position: relative;
}

/* ═══════════════════════════════════
   LEFT BRANDING PANEL (desktop only)
   ═══════════════════════════════════ */
.auth-brand-panel {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 48%;
  min-height: 100vh;
  padding: 60px 48px;
  background: linear-gradient(160deg, #0c0f2e 0%, #141940 40%, #1e2760 70%, #0c0f2e 100%);
  position: relative;
  overflow: hidden;
}

.auth-brand-panel .brand-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(79, 70, 229, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 70, 229, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 30%, transparent 70%);
}

/* Floating icons inside brand panel */
.auth-brand-panel .floating-icons-area {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Brand content */
.brand-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 420px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  text-decoration: none;
}

.brand-logo .logo-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #fff;
  box-shadow: 0 4px 20px rgba(79, 70, 229, 0.4);
}

.brand-tagline {
  color: rgba(255, 255, 255, 0.5);
  font-size: .95rem;
  line-height: 1.6;
  margin-bottom: 40px;
}

/* ── Service showcase grid ── */
.services-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  width: 100%;
  max-width: 380px;
}

.svc-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.4s ease;
  cursor: default;
}

.svc-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
}

.svc-item .svc-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.svc-item .svc-icon.ic-phone   { background: rgba(129,140,248,.12); color: #818cf8; }
.svc-item .svc-icon.ic-pc      { background: rgba(96,165,250,.12);  color: #60a5fa; }
.svc-item .svc-icon.ic-maint   { background: rgba(52,211,153,.12);  color: #34d399; }
.svc-item .svc-icon.ic-unlock  { background: rgba(251,191,36,.12);  color: #fbbf24; }
.svc-item .svc-icon.ic-network { background: rgba(244,114,182,.12); color: #f472b6; }
.svc-item .svc-icon.ic-service { background: rgba(251,146,60,.12);  color: #fb923c; }

.svc-item span:last-child {
  font-size: .72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ── Animated service bar (brand panel bottom) ── */
.brand-bottom-strip {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 0;
  z-index: 2;
  overflow: hidden;
}

.brand-bottom-strip .scroll-track {
  display: flex;
  gap: 32px;
  animation: scrollServices 25s linear infinite;
  width: max-content;
}

.brand-bottom-strip .scroll-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.2);
  font-size: .75rem;
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: 0.03em;
}

@keyframes scrollServices {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ═══════════════════════════════════
   RIGHT FORM PANEL
   ═══════════════════════════════════ */
.auth-form-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 32px 24px;
  position: relative;
  background: linear-gradient(180deg, #0a0d24 0%, #0f1235 50%, #080b1a 100%);
}

/* ── Ambient orbs ── */
.auth-form-panel .orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(90px);
  animation: orbFloat 10s ease-in-out infinite alternate;
}

.auth-form-panel .orb-1 {
  width: 300px; height: 300px;
  background: rgba(79, 70, 229, 0.15);
  top: -80px; right: -80px;
  animation-delay: 0s;
}

.auth-form-panel .orb-2 {
  width: 250px; height: 250px;
  background: rgba(14, 165, 233, 0.1);
  bottom: -60px; left: -60px;
  animation-delay: -4s;
}

@keyframes orbFloat {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(20px, -20px) scale(1.15); }
}

/* ── Particle canvas ── */
.auth-form-panel .particles-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* ── Form container ── */
.auth-form-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 420px;
  animation: formSlideUp .7s cubic-bezier(.16,1,.3,1) both;
}

@keyframes formSlideUp {
  0%   { opacity: 0; transform: translateY(24px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ── Mobile-only logo (hidden on desktop) ── */
.auth-mobile-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 32px;
  text-decoration: none;
}

.auth-mobile-logo .m-logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #fff;
  box-shadow: 0 4px 16px rgba(79, 70, 229, 0.35);
}

.auth-mobile-logo span {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

/* ── Glass card ── */
.auth-card-glass {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* ── Card header ── */
.auth-card-glass .card-head {
  text-align: center;
  margin-bottom: 28px;
}

.auth-card-glass .card-head .head-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.2), rgba(129, 140, 248, 0.08));
  color: #a5b4fc;
  border: 1px solid rgba(129, 140, 248, 0.15);
  animation: headIconPulse 4s ease-in-out infinite alternate;
}

@keyframes headIconPulse {
  0%   { box-shadow: 0 0 16px rgba(79, 70, 229, 0.1); }
  100% { box-shadow: 0 0 32px rgba(79, 70, 229, 0.25); }
}

.auth-card-glass .card-head h1 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.auth-card-glass .card-head p {
  font-size: .85rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.5;
}

/* ── Inline service pills (mobile only) ── */
.auth-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 14px;
}

.auth-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}

.auth-pill i { font-size: .65rem; }
.auth-pill.p-phone   { color: #a5b4fc; border-color: rgba(129,140,248,.15); }
.auth-pill.p-pc      { color: #93c5fd; border-color: rgba(96,165,250,.15); }
.auth-pill.p-maint   { color: #6ee7b7; border-color: rgba(52,211,153,.15); }
.auth-pill.p-unlock  { color: #fcd34d; border-color: rgba(251,191,36,.15); }
.auth-pill.p-network { color: #f9a8d4; border-color: rgba(244,114,182,.15); }

/* ── Alert messages ── */
.auth-card-glass .auth-alert {
  padding: 11px 14px;
  border-radius: 10px;
  font-size: .82rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.4;
}

.auth-card-glass .auth-alert.alert-error {
  background: rgba(239, 68, 68, 0.1);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.15);
}

.auth-card-glass .auth-alert.alert-ok {
  background: rgba(16, 185, 129, 0.1);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.15);
}

.auth-card-glass .auth-alert a {
  color: inherit;
  text-decoration: underline;
}

/* ═══════════════════════════════════
   FORM STYLES
   ═══════════════════════════════════ */
.auth-card-glass .field-group {
  margin-bottom: 16px;
}

.auth-card-glass .field-group label {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}

.auth-card-glass .field-group label i {
  width: 16px;
  text-align: center;
  margin-right: 4px;
  font-size: .72rem;
  opacity: .7;
}

/* Input wrapper with icon */
.auth-card-glass .input-wrap {
  position: relative;
}

.auth-card-glass .input-wrap .in-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: .85rem;
  color: rgba(255, 255, 255, 0.2);
  pointer-events: none;
  transition: color 0.3s ease;
}

.auth-card-glass .input-wrap input {
  width: 100%;
  padding: 12px 14px 12px 42px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-size: .88rem;
  font-family: inherit;
  transition: all 0.25s ease;
  outline: none;
}

.auth-card-glass .input-wrap input::placeholder {
  color: rgba(255, 255, 255, 0.22);
}

.auth-card-glass .input-wrap input:focus {
  border-color: rgba(129, 140, 248, 0.4);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.auth-card-glass .input-wrap input:focus ~ .in-icon {
  color: #818cf8;
}

/* Grid row for name fields */
.auth-card-glass .fields-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* ── Password toggle ── */
.auth-card-glass .input-wrap .pw-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  font-size: .85rem;
  padding: 4px;
  transition: color 0.2s ease;
}

.auth-card-glass .input-wrap .pw-toggle:hover {
  color: rgba(255, 255, 255, 0.5);
}

/* ── Submit button ── */
.auth-card-glass .btn-submit {
  width: 100%;
  padding: 13px 24px;
  margin-top: 8px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #4f46e5, #6d28d9);
  color: #fff;
  font-size: .9rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.auth-card-glass .btn-submit:hover {
  background: linear-gradient(135deg, #4338ca, #5b21b6);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.3);
}

.auth-card-glass .btn-submit:active {
  transform: translateY(0);
  box-shadow: none;
}

/* Button shimmer */
.auth-card-glass .btn-submit::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -80%;
  width: 60%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.1), transparent);
  transform: skewX(-20deg);
  animation: btnShimmer 5s ease-in-out infinite;
}

@keyframes btnShimmer {
  0%, 100% { left: -80%; }
  50%      { left: 130%; }
}

/* ── Google OAuth button ── */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 14px;
  font-size: .78rem;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.02em;
}
.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent);
}

.btn-google {
  width: 100%;
  padding: 12px 24px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.9);
  font-size: .88rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.btn-google:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  color: #fff;
}
.btn-google:active {
  transform: translateY(0);
}
.btn-google .g-logo {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.btn-google.btn-google-disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

/* ── Footer links ── */
.auth-card-glass .card-footer {
  text-align: center;
  margin-top: 22px;
  font-size: .82rem;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.7;
}

.auth-card-glass .card-footer a {
  color: #a5b4fc;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.auth-card-glass .card-footer a:hover {
  color: #c7d2fe;
  text-decoration: underline;
}

.auth-card-glass .card-footer .sep-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.auth-card-glass .card-footer .sep-links a {
  font-size: .78rem;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 500;
}

.auth-card-glass .card-footer .sep-links a:hover {
  color: rgba(255, 255, 255, 0.65);
}

.auth-card-glass .card-footer .sep-links .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

/* ── Copyright bar ── */
.auth-copy {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  padding: 14px;
  font-size: .7rem;
  color: rgba(255, 255, 255, 0.18);
  z-index: 5;
}

/* ── Admin code notice card ── */
.admin-code-box {
  background: rgba(251, 191, 36, 0.06);
  border: 1px solid rgba(251, 191, 36, 0.15);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-code-box i {
  color: #fbbf24;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.admin-code-box strong {
  color: #fcd34d;
  font-size: .8rem;
  display: block;
}

.admin-code-box small {
  color: rgba(255, 255, 255, 0.35);
  font-size: .72rem;
}

/* ═══════════════════════════════════
   FLOATING ICONS (brand panel)
   ═══════════════════════════════════ */
.float-svc-icon {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  animation: svcFloat 14s ease-in-out infinite;
}

.float-svc-icon.fc-phone   { color: rgba(129,140,248,.3); }
.float-svc-icon.fc-pc      { color: rgba(96,165,250,.3); }
.float-svc-icon.fc-maint   { color: rgba(52,211,153,.3); }
.float-svc-icon.fc-unlock  { color: rgba(251,191,36,.3); }
.float-svc-icon.fc-network { color: rgba(244,114,182,.3); }
.float-svc-icon.fc-service { color: rgba(251,146,60,.3); }

@keyframes svcFloat {
  0%   { opacity: 0; transform: translateY(20px) rotate(0deg); }
  15%  { opacity: .25; }
  50%  { opacity: .15; transform: translateY(-30px) rotate(8deg); }
  85%  { opacity: .25; }
  100% { opacity: 0; transform: translateY(20px) rotate(-8deg); }
}

/* ═══════════════════════════════════
   RESPONSIVE — TABLET (768–1023)
   ═══════════════════════════════════ */
@media (min-width: 768px) and (max-width: 1023px) {
  .auth-form-panel {
    padding: 40px 32px;
  }

  .auth-form-container {
    max-width: 440px;
  }

  .auth-card-glass {
    padding: 36px 32px;
  }

  .auth-card-glass .card-head h1 {
    font-size: 1.5rem;
  }

  .auth-pills { gap: 8px; }
  .auth-pill { font-size: .72rem; padding: 5px 12px; }
  .auth-card-glass .btn-submit { padding: 14px 24px; }
}

/* ═══════════════════════════════════
   RESPONSIVE — DESKTOP (1024+)
   ═══════════════════════════════════ */
@media (min-width: 1024px) {
  .auth-brand-panel {
    display: flex;
  }

  .auth-mobile-logo {
    display: none;
  }

  .auth-pills {
    display: none;
  }

  .auth-form-panel {
    width: 52%;
    flex: none;
    padding: 48px 56px;
  }

  .auth-form-container {
    max-width: 400px;
  }

  .auth-card-glass {
    padding: 36px 32px;
    border-radius: 22px;
  }

  .auth-card-glass .card-head h1 {
    font-size: 1.45rem;
  }
}

/* ═══════════════════════════════════
   RESPONSIVE — LARGE DESKTOP (1400+)
   ═══════════════════════════════════ */
@media (min-width: 1400px) {
  .auth-brand-panel { padding: 80px 64px; }
  .brand-logo { font-size: 2rem; }
  .services-showcase { max-width: 420px; gap: 16px; }
  .svc-item { padding: 24px 14px; }
  .auth-form-panel { padding: 56px 72px; }
}

/* ═══════════════════════════════════
   RESPONSIVE — SMALL MOBILE (<400)
   ═══════════════════════════════════ */
@media (max-width: 399px) {
  .auth-form-panel { padding: 24px 16px; }

  .auth-card-glass {
    padding: 24px 18px;
    border-radius: 16px;
  }

  .auth-card-glass .card-head .head-icon {
    width: 48px; height: 48px; font-size: 1.1rem; border-radius: 14px;
  }

  .auth-card-glass .card-head h1 { font-size: 1.2rem; }
  .auth-card-glass .card-head p { font-size: .8rem; }
  .auth-pill { font-size: .62rem; padding: 3px 7px; }

  .auth-card-glass .input-wrap input {
    padding: 11px 12px 11px 38px;
    font-size: .84rem;
  }

  .auth-card-glass .fields-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .auth-card-glass .btn-submit { padding: 12px 20px; font-size: .85rem; }
  .auth-mobile-logo span { font-size: 1.05rem; }

  .auth-form-panel .orb-1 { width: 180px; height: 180px; }
  .auth-form-panel .orb-2 { width: 140px; height: 140px; }
}

/* ═══════════════════════════════════
   THEME — Admin (purple)
   ═══════════════════════════════════ */
.auth-page-wrap.theme-admin .auth-brand-panel {
  background: linear-gradient(160deg, #1a0933 0%, #27104e 40%, #341763 70%, #1a0933 100%);
}

.auth-page-wrap.theme-admin .brand-logo .logo-icon {
  background: linear-gradient(135deg, #7c3aed, #9333ea);
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
}

.auth-page-wrap.theme-admin .auth-card-glass .card-head .head-icon {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(167, 139, 250, 0.08));
  color: #c4b5fd;
  border-color: rgba(167, 139, 250, 0.15);
}

.auth-page-wrap.theme-admin .auth-card-glass .btn-submit {
  background: linear-gradient(135deg, #7c3aed, #9333ea);
}

.auth-page-wrap.theme-admin .auth-card-glass .btn-submit:hover {
  background: linear-gradient(135deg, #6d28d9, #7c3aed);
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.3);
}

.auth-page-wrap.theme-admin .auth-card-glass .input-wrap input:focus {
  border-color: rgba(167, 139, 250, 0.4);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.auth-page-wrap.theme-admin .auth-card-glass .input-wrap input:focus ~ .in-icon {
  color: #a78bfa;
}

.auth-page-wrap.theme-admin .auth-mobile-logo .m-logo-icon {
  background: linear-gradient(135deg, #7c3aed, #9333ea);
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.35);
}

.auth-page-wrap.theme-admin .auth-card-glass .card-footer a { color: #c4b5fd; }

.auth-page-wrap.theme-admin .brand-bg-grid {
  background-image:
    linear-gradient(rgba(124,58,237,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,58,237,.04) 1px, transparent 1px);
}

.auth-page-wrap.theme-admin .orb-1 { background: rgba(124, 58, 237, 0.12); }
.auth-page-wrap.theme-admin .orb-2 { background: rgba(167, 139, 250, 0.08); }

/* ═══════════════════════════════════
   THEME — Livreur (green)
   ═══════════════════════════════════ */
.auth-page-wrap.theme-livreur .auth-brand-panel {
  background: linear-gradient(160deg, #022c22 0%, #064e3b 40%, #065f46 70%, #022c22 100%);
}

.auth-page-wrap.theme-livreur .auth-form-panel {
  background: linear-gradient(180deg, #031a14 0%, #042f23 50%, #021a14 100%);
}

.auth-page-wrap.theme-livreur .orb-1 { background: rgba(16, 185, 129, 0.12); }
.auth-page-wrap.theme-livreur .orb-2 { background: rgba(52, 211, 153, 0.08); }

.auth-page-wrap.theme-livreur .brand-logo .logo-icon {
  background: linear-gradient(135deg, #059669, #10b981);
  box-shadow: 0 4px 20px rgba(5, 150, 105, 0.4);
}

.auth-page-wrap.theme-livreur .auth-card-glass .card-head .head-icon {
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.2), rgba(52, 211, 153, 0.08));
  color: #6ee7b7;
  border-color: rgba(52, 211, 153, 0.15);
}

.auth-page-wrap.theme-livreur .auth-card-glass .btn-submit {
  background: linear-gradient(135deg, #059669, #10b981);
}

.auth-page-wrap.theme-livreur .auth-card-glass .btn-submit:hover {
  background: linear-gradient(135deg, #047857, #059669);
  box-shadow: 0 6px 20px rgba(5, 150, 105, 0.3);
}

.auth-page-wrap.theme-livreur .auth-card-glass .input-wrap input:focus {
  border-color: rgba(52, 211, 153, 0.4);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

.auth-page-wrap.theme-livreur .auth-card-glass .input-wrap input:focus ~ .in-icon {
  color: #34d399;
}

.auth-page-wrap.theme-livreur .auth-mobile-logo .m-logo-icon {
  background: linear-gradient(135deg, #059669, #10b981);
  box-shadow: 0 4px 16px rgba(5, 150, 105, 0.35);
}

.auth-page-wrap.theme-livreur .auth-card-glass .card-footer a { color: #6ee7b7; }

.auth-page-wrap.theme-livreur .brand-bg-grid {
  background-image:
    linear-gradient(rgba(52,211,153,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(52,211,153,.04) 1px, transparent 1px);
}

/* ═══════════════════════════════════
   Reduce motion
   ═══════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .float-svc-icon,
  .auth-card-glass .btn-submit::after,
  .brand-bottom-strip .scroll-track,
  .auth-form-panel .orb {
    animation: none !important;
  }
  .float-svc-icon { opacity: 0.15 !important; }
  .auth-form-container { animation: none !important; opacity: 1 !important; }
}
