/* ========================================================================== 
   VytalGuard Technologies - Universal Platform Brand Authority v1.2.0
   Protected, responsive identity bar for every browser surface.
========================================================================== */

.vg-platform-authority[data-vg-platform-protected="true"] {
  position: relative !important;
  z-index: 2 !important;
  display: flex !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 58px !important;
  flex: 0 0 auto !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 7px clamp(12px, 2.2vw, 28px) !important;
  color: #435268 !important;
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%) !important;
  border: 0 !important;
  border-top: 1px solid #dce6f2 !important;
  box-shadow: 0 -7px 22px rgba(15, 47, 77, 0.055) !important;
  visibility: visible !important;
  opacity: 1 !important;
  overflow: visible !important;
  user-select: none !important;
}

.vg-platform-authority[data-vg-platform-protected="true"][hidden],
.vg-platform-authority[data-vg-platform-protected="true"][aria-hidden="true"] {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.vg-platform-authority[data-vg-platform-protected="true"]::before {
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, transparent 0%, #176bff 35%, #18e8d2 65%, transparent 100%);
  opacity: 0.84;
}

.vg-platform-authority__inner {
  display: flex !important;
  width: min(100%, 1440px) !important;
  min-width: 0 !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px 24px !important;
  margin: 0 auto !important;
}

.vg-platform-authority__logo-frame {
  display: inline-flex !important;
  width: 152px !important;
  height: 42px !important;
  flex: 0 0 152px !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  padding: 2px 5px !important;
  background: #ffffff !important;
  border: 1px solid #e2eaf4 !important;
  border-radius: 9px !important;
  box-shadow: 0 4px 12px rgba(15, 47, 77, 0.07) !important;
}

.vg-platform-authority__logo {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 142px !important;
  max-height: 36px !important;
  object-fit: contain !important;
  object-position: center !important;
  filter: none !important;
  opacity: 1 !important;
}

.vg-platform-authority__logo--mark {
  width: 34px !important;
  max-width: 34px !important;
}

.vg-platform-authority__copy {
  display: flex !important;
  min-width: 0 !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 7px !important;
  color: #536277 !important;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 11px !important;
  font-weight: 650 !important;
  line-height: 1.35 !important;
  letter-spacing: 0.01em !important;
  text-align: right !important;
}

.vg-platform-authority__powered {
  color: #0b4f86 !important;
  font-size: 11.5px !important;
  font-weight: 850 !important;
  white-space: nowrap !important;
}

.vg-platform-authority__divider,
.vg-platform-authority__rights-divider {
  color: #8ca0b8 !important;
}

.vg-platform-authority__legal {
  color: #5e6d81 !important;
  white-space: nowrap !important;
  font-variant-numeric: tabular-nums !important;
}

.vg-platform-authority--homepage[data-vg-platform-protected="true"] {
  clear: both !important;
  border-radius: 0 !important;
}

#site-footer .site-footer__powered[hidden],
#site-footer .site-footer__powered[aria-hidden="true"] {
  display: none !important;
}

.vg-platform-authority--standalone {
  clear: both !important;
}

[data-bs-theme="dark"] .vg-platform-authority[data-vg-platform-protected="true"],
[data-theme="dark"] .vg-platform-authority[data-vg-platform-protected="true"],
.dark-mode .vg-platform-authority[data-vg-platform-protected="true"] {
  color: #c8d4e3 !important;
  background: linear-gradient(180deg, #111c2b 0%, #0b1624 100%) !important;
  border-top-color: #2b3a4f !important;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.2) !important;
}

[data-bs-theme="dark"] .vg-platform-authority__copy,
[data-theme="dark"] .vg-platform-authority__copy,
.dark-mode .vg-platform-authority__copy,
[data-bs-theme="dark"] .vg-platform-authority__legal,
[data-theme="dark"] .vg-platform-authority__legal,
.dark-mode .vg-platform-authority__legal {
  color: #b8c5d6 !important;
}

[data-bs-theme="dark"] .vg-platform-authority__powered,
[data-theme="dark"] .vg-platform-authority__powered,
.dark-mode .vg-platform-authority__powered {
  color: #bfdbfe !important;
}

@media (max-width: 700px) {
  .vg-platform-authority[data-vg-platform-protected="true"] {
    min-height: 92px !important;
    padding: 9px 12px !important;
  }

  .vg-platform-authority__inner {
    flex-direction: column !important;
    justify-content: center !important;
    gap: 6px !important;
  }

  .vg-platform-authority__logo-frame {
    width: 136px !important;
    height: 38px !important;
    flex-basis: 38px !important;
  }

  .vg-platform-authority__logo {
    max-width: 126px !important;
    max-height: 32px !important;
  }

  .vg-platform-authority__copy {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 3px 6px !important;
    font-size: 10px !important;
    text-align: center !important;
  }

  .vg-platform-authority__powered {
    font-size: 10.5px !important;
  }
}

@media (max-width: 390px) {
  .vg-platform-authority__divider {
    display: none !important;
  }

  .vg-platform-authority__copy,
  .vg-platform-authority__legal {
    flex-basis: 100% !important;
    justify-content: center !important;
    white-space: normal !important;
  }
}

@media print {
  .vg-platform-authority[data-vg-platform-protected="true"] {
    display: flex !important;
    min-height: 42px !important;
    padding: 4mm 0 0 !important;
    color: #1f2937 !important;
    background: #ffffff !important;
    border-top: 0.25mm solid #cbd5e1 !important;
    box-shadow: none !important;
    break-inside: avoid !important;
  }

  .vg-platform-authority__logo-frame {
    width: 38mm !important;
    height: 10mm !important;
    flex-basis: 38mm !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  .vg-platform-authority__copy,
  .vg-platform-authority__legal,
  .vg-platform-authority__powered {
    color: #1f2937 !important;
  }
}
