/* v17: visible UAE E-Invoicing callout in shared desktop/mobile header */
.header-inner > .einvoice-nav-cta,
.modern-header .einvoice-nav-cta {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 9px;
  position: relative;
  isolation: isolate;
  flex: 0 0 auto;
  white-space: nowrap;
  text-decoration: none !important;
  background: #dc2626 !important;
  color: #fff !important;
  border: 1px solid #dc2626 !important;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.3;
  padding: 12px 15px;
  box-shadow: 0 6px 17px rgba(220,38,38,.13);
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.modern-header .einvoice-nav-cta:hover,
.modern-header .einvoice-nav-cta:focus-visible {
  color: #fff !important;
  background: #b91c1c !important;
  transform: translateY(-2px);
  box-shadow: 0 9px 22px rgba(220,38,38,.22);
}
.modern-header .einvoice-nav-cta:focus-visible { outline: 3px solid #fecaca; outline-offset: 3px; }
.einvoice-nav-cta .einvoice-status-dot {
  position: relative; display: inline-block; width: 8px; height: 8px;
  flex: 0 0 8px; border-radius: 50%; background: #fff;
}
.einvoice-nav-cta .einvoice-status-dot::after {
  content: ''; position: absolute; inset: -4px; border: 2px solid rgba(255,255,255,.7);
  border-radius: 50%; animation: acd-invoice-pulse 2.4s ease-out infinite;
}
@keyframes acd-invoice-pulse { 0% { transform: scale(.55); opacity:.85; } 75%,100% {transform:scale(1.65);opacity:0;} }
@media (max-width: 1040px) {
  .modern-header .header-inner { gap: 9px; }
  .modern-header .einvoice-nav-cta { padding: 10px 12px; font-size: 12px; }
}
@media (max-width: 680px) {
  .modern-header .einvoice-nav-cta { padding: 9px 11px; font-size: 11px; }
  .modern-header .einvoice-nav-cta .einvoice-status-dot {width: 6px;height:6px; flex-basis:6px;}
}
@media (prefers-reduced-motion: reduce) {
  .einvoice-nav-cta .einvoice-status-dot::after {animation: none; opacity:.5;}
  .modern-header .einvoice-nav-cta {transition:none;}
}


/* V19: notification-style pulse, replacing the V18 shine effect. */
.modern-header a.einvoice-nav-cta {
  overflow: visible !important;
  animation: acd-einvoice-button-pulse 2.6s ease-in-out infinite;
}
.modern-header a.einvoice-nav-cta::before {
  content: none !important;
  animation: none !important;
}
.modern-header a.einvoice-nav-cta .einvoice-status-dot {
  background: #ffffff;
  box-shadow: 0 0 0 0 rgba(255,255,255,.6);
}
.modern-header a.einvoice-nav-cta .einvoice-status-dot::after {
  animation: acd-invoice-pulse 2.1s ease-out infinite;
}
@keyframes acd-einvoice-button-pulse {
  0%, 100% { box-shadow: 0 4px 14px rgba(220,38,38,.18), 0 0 0 0 rgba(220,38,38,.32); }
  50% { box-shadow: 0 7px 22px rgba(220,38,38,.38), 0 0 0 7px rgba(220,38,38,0); }
}
@media (prefers-reduced-motion: reduce) {
  .modern-header a.einvoice-nav-cta,
  .modern-header a.einvoice-nav-cta .einvoice-status-dot::after { animation: none !important; }
}
