/* NEXACORE V6.4.9.1 SAFE LANGUAGE FLAG */
.nexa-lang-flag-safe{
  --flag-accent:#00d1ff;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  width:36px;
  height:28px;
  margin:0 6px 0 0;
  padding:3px;
  box-sizing:border-box;
  border:1px solid rgba(0,209,255,.28);
  border-radius:9px;
  background:linear-gradient(145deg,rgba(6,18,28,.96),rgba(8,28,40,.82));
  box-shadow:0 5px 14px rgba(0,0,0,.24),0 0 14px rgba(0,209,255,.08);
  overflow:hidden;
  vertical-align:middle;
  position:relative;
  isolation:isolate;
}
.nexa-lang-flag-safe::after{
  content:"";
  position:absolute;
  left:7px; right:7px; bottom:2px; height:1px;
  border-radius:999px;
  background:var(--flag-accent);
  opacity:.65;
  box-shadow:0 0 7px var(--flag-accent);
  animation:nexaFlagSafePulse 2.8s ease-in-out infinite;
  pointer-events:none;
}
.nexa-lang-flag-safe[data-current-lang="it"]{--flag-accent:#23d276}
.nexa-lang-flag-safe[data-current-lang="en"]{--flag-accent:#ff536d}
.nexa-lang-flag-safe[data-current-lang="ro"]{--flag-accent:#ffd447}
.nexa-lang-flag-safe-stage{
  width:27px;
  height:18px;
  border-radius:3px;
  overflow:hidden;
  transform-origin:12% 50%;
  filter:drop-shadow(0 2px 3px rgba(0,0,0,.34));
  animation:nexaFlagSafeWave 3.9s ease-in-out infinite;
}
.nexa-lang-flag-safe-stage svg{display:block;width:27px;height:18px}
.nexa-lang-flag-safe.is-switching .nexa-lang-flag-safe-stage{
  animation:nexaFlagSafeSwitch .34s cubic-bezier(.2,.78,.2,1),nexaFlagSafeWave 3.9s .34s ease-in-out infinite;
}
@keyframes nexaFlagSafeWave{
  0%,100%{transform:perspective(80px) rotateY(0deg) translateY(0)}
  32%{transform:perspective(80px) rotateY(-6deg) translateY(-.3px)}
  66%{transform:perspective(80px) rotateY(3deg) translateY(.2px)}
}
@keyframes nexaFlagSafeSwitch{
  0%{opacity:.25;transform:translateY(4px) scale(.9)}
  65%{opacity:1;transform:translateY(-1px) scale(1.05)}
  100%{opacity:1;transform:translateY(0) scale(1)}
}
@keyframes nexaFlagSafePulse{
  0%,100%{opacity:.3;transform:scaleX(.7)}
  50%{opacity:.85;transform:scaleX(1)}
}
@media(max-width:720px){
  .nexa-lang-flag-safe{width:32px;height:25px;margin-right:4px;padding:3px}
  .nexa-lang-flag-safe-stage,.nexa-lang-flag-safe-stage svg{width:24px;height:16px}
}
@media(prefers-reduced-motion:reduce){
  .nexa-lang-flag-safe::after,.nexa-lang-flag-safe-stage,.nexa-lang-flag-safe.is-switching .nexa-lang-flag-safe-stage{animation:none!important}
}
