/* ==========================================================================
   FINANCIVA — B3IR2
   KPI sequential lift + clean globe stage
   ========================================================================== */


/* ==========================================================================
   A. KPI ROW — NO CONTINUOUS FLOATING
   ========================================================================== */

.fin-main-kpi-row-b3i {
  position: relative !important;

  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;

  margin-bottom: 2px !important;
}


.fin-main-kpi-row-b3i > * {
  position: relative !important;

  border-radius: 16px !important;

  /*
    Kill every older autonomous floating animation.
    B3IR2 will add only the sequential lift animation.
  */
  animation-name: fin-b3ir2-kpi-lift !important;
  animation-duration: 8s !important;
  animation-timing-function: cubic-bezier(.22,1,.36,1) !important;
  animation-iteration-count: infinite !important;

  translate: 0 0;

  transition:
    translate 230ms cubic-bezier(.22,1,.36,1),
    scale 230ms cubic-bezier(.22,1,.36,1),
    border-color 220ms ease,
    box-shadow 240ms ease,
    background-color 220ms ease !important;
}


/*
  Sequential order.
*/

.fin-main-kpi-row-b3i > .fin-kpi-seq-1 {
  animation-delay: 0s !important;
}

.fin-main-kpi-row-b3i > .fin-kpi-seq-2 {
  animation-delay: 2s !important;
}

.fin-main-kpi-row-b3i > .fin-kpi-seq-3 {
  animation-delay: 4s !important;
}

.fin-main-kpi-row-b3i > .fin-kpi-seq-4 {
  animation-delay: 6s !important;
}


/* ==========================================================================
   ACTIVE SYSTEM ONLY — GREEN + NEON BREATHING
   ========================================================================== */

.fin-main-kpi-row-b3i
.fin-active-system-only {
  border:
    1px solid
    rgba(57, 235, 166, .78) !important;

  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,.98),
      rgba(234,255,247,.93)
    ) !important;

  box-shadow:
    0 0 0 1px rgba(57,235,166,.14),
    0 0 22px rgba(57,235,166,.12),
    0 9px 25px rgba(24,121,82,.06) !important;

  /*
    Two animations only:
      1. green shadow breathing
      2. sequential lift
  */
  animation:
    fin-b3ir2-green-breathe 3.2s ease-in-out infinite,
    fin-b3ir2-kpi-lift 8s cubic-bezier(.22,1,.36,1) infinite !important;

  animation-delay:
    0s,
    0s !important;
}


/*
  Global Position is ordinary white/cyan.
*/

.fin-main-kpi-row-b3i
.fin-global-position-reset {
  border:
    1px solid
    rgba(95,184,205,.21) !important;

  background:
    rgba(251,254,255,.94) !important;

  box-shadow:
    0 7px 20px
    rgba(26,89,123,.045) !important;

  animation:
    fin-b3ir2-kpi-lift
    8s
    cubic-bezier(.22,1,.36,1)
    infinite !important;

  animation-delay:
    2s !important;
}


/*
  Prevent inherited green pseudo-layers from older batches.
*/

.fin-global-position-reset::before,
.fin-global-position-reset::after {
  display: none !important;
  content: none !important;
}


/* ==========================================================================
   REAL MOUSE HOVER
   ========================================================================== */

@media (hover:hover) and (pointer:fine) {

  .fin-main-kpi-row-b3i > *:hover {
    animation-play-state: paused !important;

    translate:
      0 -6px !important;

    scale:
      1.01 !important;

    border-color:
      rgba(34,201,232,.62) !important;

    box-shadow:
      0 0 0 1px rgba(34,201,232,.12),
      0 0 26px rgba(34,201,232,.15),
      0 15px 31px rgba(26,89,123,.09) !important;
  }


  .fin-main-kpi-row-b3i
  .fin-active-system-only:hover {
    border-color:
      rgba(64,247,177,.98) !important;

    box-shadow:
      0 0 0 1px rgba(64,247,177,.28),
      0 0 37px rgba(64,247,177,.27),
      0 16px 34px rgba(24,121,82,.11) !important;
  }
}


/* ==========================================================================
   B. GLOBAL COVERAGE — REMOVE INNER RECTANGLE AROUND GLOBE
   ========================================================================== */

/*
  This is the inner map/globe frame visible in the screenshots.
  We keep the actual globe, nodes and paths but strip the container skin.
*/

.fin-coverage-b3i
.world-map,
.fin-coverage-b3i
[class*="world-map"],
.fin-coverage-b3i
.fin-globe-stage-clean {
  background:
    transparent !important;

  background-color:
    transparent !important;

  border:
    0 !important;

  outline:
    0 !important;

  border-radius:
    0 !important;

  box-shadow:
    none !important;

  filter:
    none !important;

  backdrop-filter:
    none !important;
}


/*
  Remove pseudo decorative geometry attached to the old inner frame.
*/

.fin-coverage-b3i
.world-map::before,
.fin-coverage-b3i
.world-map::after {
  content:
    none !important;

  display:
    none !important;
}


/* ==========================================================================
   C. REMOVE THE TWO OVAL ORBIT DECORATIONS
   ========================================================================== */

/*
  These are the two elongated orbit pseudo-elements introduced by the
  earlier globe system. Keep the actual globe itself.
*/

.fin-coverage-b3i
.fin-globe-orbit-layer::before,
.fin-coverage-b3i
.fin-globe-orbit-layer::after {
  content:
    none !important;

  display:
    none !important;
}


/*
  Remove runtime-classified leftover decorative ovals too.
*/

.fin-coverage-b3i
.fin-b3ir2-remove-oval {
  display:
    none !important;
}


/* ==========================================================================
   D. COMPACT THREE CARDS BELOW THE GLOBE
   ========================================================================== */

.fin-coverage-kpi-row {
  left:
    50% !important;

  right:
    auto !important;

  bottom:
    38px !important;

  width:
    auto !important;

  display:
    grid !important;

  grid-template-columns:
    repeat(
      3,
      158px
    ) !important;

  justify-content:
    center !important;

  align-items:
    center !important;

  gap:
    8px !important;

  translate:
    -50% 0 !important;

  margin:
    0 !important;

  padding:
    0 !important;
}


.fin-coverage-kpi-row > * {
  width:
    158px !important;

  min-width:
    158px !important;

  max-width:
    158px !important;

  min-height:
    44px !important;

  height:
    44px !important;

  padding:
    7px 9px !important;

  margin:
    0 !important;

  border-radius:
    12px !important;

  overflow:
    hidden !important;

  box-sizing:
    border-box !important;

  background:
    rgba(252,255,255,.91) !important;

  border:
    1px solid
    rgba(95,184,205,.18) !important;

  box-shadow:
    0 6px 17px
    rgba(27,91,124,.045) !important;

  font-size:
    9px !important;

  line-height:
    1.08 !important;

  transition:
    translate 220ms cubic-bezier(.22,1,.36,1),
    scale 220ms cubic-bezier(.22,1,.36,1),
    border-color 220ms ease,
    box-shadow 220ms ease !important;
}


.fin-coverage-kpi-row > *
small,
.fin-coverage-kpi-row > *
span,
.fin-coverage-kpi-row > *
strong,
.fin-coverage-kpi-row > *
p,
.fin-coverage-kpi-row > *
div {
  line-height:
    1.08 !important;
}


@media (hover:hover) and (pointer:fine) {

  .fin-coverage-kpi-row > *:hover {
    translate:
      0 -4px !important;

    scale:
      1.01 !important;

    border-color:
      rgba(34,201,232,.59) !important;

    box-shadow:
      0 0 0 1px rgba(34,201,232,.10),
      0 0 22px rgba(34,201,232,.13),
      0 12px 24px rgba(27,91,124,.075) !important;
  }
}


/* ==========================================================================
   E. KEEP BOTTOM STATUS LINE
   ========================================================================== */

.fin-coverage-core-status {
  bottom:
    9px !important;

  height:
    20px !important;

  font-size:
    9px !important;

  letter-spacing:
    .12em !important;
}


/* ==========================================================================
   KEYFRAMES
   ========================================================================== */

/*
  Card remains still most of the time.
  During its slot it lifts exactly like a hover, then returns.
*/

@keyframes fin-b3ir2-kpi-lift {

  0%,
  9%,
  25%,
  100% {
    translate:
      0 0;
  }

  14%,
  19% {
    translate:
      0 -6px;
  }
}


/*
  Active System green glow breathing.
  No translation in this animation.
*/

@keyframes fin-b3ir2-green-breathe {

  0%,
  100% {
    border-color:
      rgba(57,235,166,.65);

    box-shadow:
      0 0 0 1px rgba(57,235,166,.12),
      0 0 18px rgba(57,235,166,.11),
      0 8px 22px rgba(24,121,82,.05);
  }

  50% {
    border-color:
      rgba(67,248,177,.98);

    box-shadow:
      0 0 0 1px rgba(67,248,177,.30),
      0 0 36px rgba(67,248,177,.28),
      0 12px 29px rgba(24,121,82,.09);
  }
}


/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {

  .fin-main-kpi-row-b3i > *,
  .fin-main-kpi-row-b3i
  .fin-active-system-only {
    animation:
      none !important;

    translate:
      none !important;
  }
}