/*
 * EPHARO – Xenyra CTA
 * Scope: iba tlacidlo "Opytat sa Xenyry"
 * v karte EPHARO riesenie.
 */

.eph-xenyra-solution-cta {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  width: max-content !important;
  max-width: 100% !important;
  cursor: pointer !important;
  position: relative !important;
  isolation: isolate !important;
  transform-origin: left center !important;
  transition:
    transform 220ms ease,
    filter 220ms ease !important;
}

.eph-xenyra-solution-cta-orb {
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  min-height: 48px !important;
  max-width: 48px !important;
  max-height: 48px !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  border-radius: 999px !important;
  overflow: hidden !important;
  flex: 0 0 48px !important;

  transform: none !important;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    filter 220ms ease !important;
}

.eph-xenyra-solution-cta-orb-core {
  width: 100% !important;
  height: 100% !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  transform-origin: 50% 50% !important;
  will-change: transform !important;
}

.eph-xenyra-solution-cta-orb-core > img,
.eph-xenyra-solution-cta-orb-core > svg,
.eph-xenyra-solution-cta-orb-core > picture,
.eph-xenyra-solution-cta-orb-core > span,
.eph-xenyra-solution-cta-orb-core > div {
  max-width: 100% !important;
  max-height: 100% !important;
}

.eph-xenyra-solution-cta-button {
  min-width: 0 !important;
  width: auto !important;
  height: 36px !important;
  min-height: 36px !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  padding: 0 20px !important;
  margin: 0 !important;

  border: 0 !important;
  border-radius: 999px !important;

  background: #08783f !important;
  color: #ffffff !important;

  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: 0.02em !important;
  white-space: nowrap !important;

  box-shadow:
    0 10px 24px rgba(4, 82, 42, 0.20) !important;

  cursor: pointer !important;

  transition:
    transform 220ms ease,
    background-color 220ms ease,
    box-shadow 220ms ease !important;
}

.eph-xenyra-solution-cta:hover,
.eph-xenyra-solution-cta:focus-within {
  transform: scale(1.045) !important;
  filter: brightness(1.025) !important;
}

.eph-xenyra-solution-cta:hover
.eph-xenyra-solution-cta-button,
.eph-xenyra-solution-cta:focus-within
.eph-xenyra-solution-cta-button {
  background: #076f3a !important;

  box-shadow:
    0 14px 30px rgba(4, 82, 42, 0.28) !important;
}

.eph-xenyra-solution-cta:hover
.eph-xenyra-solution-cta-orb,
.eph-xenyra-solution-cta:focus-within
.eph-xenyra-solution-cta-orb {
  box-shadow:
    0 14px 30px rgba(4, 82, 42, 0.25) !important;
}

.eph-xenyra-solution-cta:hover
.eph-xenyra-solution-cta-orb-core,
.eph-xenyra-solution-cta:focus-within
.eph-xenyra-solution-cta-orb-core {
  animation:
    eph-xenyra-solution-cta-spin
    720ms
    cubic-bezier(0.22, 0.61, 0.36, 1)
    1 !important;
}

.eph-xenyra-solution-cta:active {
  transform: scale(0.985) !important;
}

@keyframes eph-xenyra-solution-cta-spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .eph-xenyra-solution-cta,
  .eph-xenyra-solution-cta-orb,
  .eph-xenyra-solution-cta-button {
    transition: none !important;
  }

  .eph-xenyra-solution-cta:hover
  .eph-xenyra-solution-cta-orb-core,
  .eph-xenyra-solution-cta:focus-within
  .eph-xenyra-solution-cta-orb-core {
    animation: none !important;
  }
}
