/* ══════════════════════════════════════════════════════════════
   RETROFIT QUARTIERE — URL-param arrival animations
   Applied when navigating from the Use Case map with ?tab= params.
   ══════════════════════════════════════════════════════════════ */

/* Active tab pulse: glows and fades when .rfq-tab-highlighted is set */
.rfq-tab-highlighted .nav-link.active {
  animation: rfqTabArrive 2s cubic-bezier(0.2, 0.78, 0.2, 1) forwards;
  position: relative;
}

@keyframes rfqTabArrive {
  0% {
    background: rgba(74, 158, 255, 0.28);
    box-shadow:
      0 -3px 0 0 #4a9eff inset,
      0 0 20px rgba(74, 158, 255, 0.45);
    color: #ffffff;
  }
  60% {
    background: rgba(74, 158, 255, 0.10);
    box-shadow:
      0 -3px 0 0 rgba(74, 158, 255, 0.6) inset,
      0 0 8px rgba(74, 158, 255, 0.2);
  }
  100% {
    background: transparent;
    box-shadow: none;
  }
}

/* Arrival toast: slide in from the left */
#rfq-arrival-toast {
  animation: rfqToastSlideIn 0.35s cubic-bezier(0.2, 0.78, 0.2, 1);
  border-left: 3px solid #4a9eff;
}

@keyframes rfqToastSlideIn {
  from {
    opacity: 0;
    transform: translateX(-24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Subtle pulsing glow on the toast icon */
#rfq-arrival-toast .toast-header .me-2 {
  animation: rfqIconPulse 1.6s ease-in-out 3;
}

@keyframes rfqIconPulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.45; }
}
