/*
 * "Powered by Byte Savers" floating badge — ported from trakv2's
 * .powered-by-float (see /var/www/html/trakv2/public/css/app.css).
 *
 * z-index 1030 sits above Sneat cards / list-groups and the fixed layout
 * chrome (so the badge is unambiguously visible on content-heavy pages like
 * the Dashboard) but below Bootstrap modals (1055) and offcanvas, so it never
 * covers a dialog. The pill is white in both themes — legible against both the
 * light and dark Sneat backgrounds.
 */
.powered-by-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1030;
  animation: netvanta-powered-float-in 0.6s ease-out 0.5s both;
}

/*
 * Give the page content bottom clearance so the last card is never obscured by
 * the fixed badge (the badge floats bottom-right over whatever scrolls beneath
 * it). Applied to the standard app layout's content container.
 */
.content-wrapper .container-p-y {
  padding-bottom: 5rem;
}

@keyframes netvanta-powered-float-in {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.8);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.powered-by-float a {
  display: block;
  background: #fff;
  padding: 10px 14px;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.powered-by-float a:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.powered-by-float img {
  height: 24px;
  width: auto;
  display: block;
}

@media (max-width: 767.98px) {
  .powered-by-float {
    bottom: 15px;
    right: 15px;
  }

  .powered-by-float a {
    padding: 8px 12px;
  }

  .powered-by-float img {
    height: 20px;
  }
}
