/* =========================================================
   EPHARO GLOBAL BUTTONS
   Shared button, badge and Xenyra trigger primitives
   AWS-ready staging file
   ========================================================= */


/* =========================================================
   1. EPHARO PRIMARY BUTTON SYSTEM
   Master green button based on HERO / Kategórie CTA
   ========================================================= */

.eph-btn{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:10px !important;

  padding:12px 26px !important;
  border-radius:999px !important;
  border:0 !important;

  background:#145c33 !important;
  color:#ffffff !important;

  font-family:inherit !important;
  font-weight:700 !important;
  font-size:1rem !important;
  line-height:1 !important;
  text-decoration:none !important;

  cursor:pointer !important;
  box-shadow:0 10px 30px rgba(0,0,0,.25) !important;

  transition:
    filter .18s ease,
    transform .18s ease,
    box-shadow .18s ease !important;
}

.eph-btn:hover,
.eph-btn:focus,
.eph-btn:active{
  background:#1f5f3f !important;
  color:#ffffff !important;
  filter:brightness(1.06) !important;
  transform:translateY(-1px) !important;
  box-shadow:0 14px 34px rgba(0,0,0,.28) !important;
  text-decoration:none !important;
}

.eph-btn svg{
  width:20px;
  height:20px;
  flex:0 0 auto;
}

.eph-btn--sm{
  padding:10px 22px !important;
  font-size:.92rem !important;
}

.eph-btn--lg{
  padding:14px 30px !important;
  font-size:1.05rem !important;
}


/* =========================================================
   2. EPHARO LIGHT BUTTON
   One canonical .eph-btn-lite definition
   ========================================================= */

.eph-btn-lite{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;

  padding:10px 18px;
  border-radius:999px;
  border:1px solid rgba(31,95,63,.14);

  background:#ffffff;
  color:#1f5f3f !important;

  font-family:inherit;
  font-weight:800;
  font-size:.95rem;
  line-height:1;
  text-decoration:none !important;

  cursor:pointer;
  box-shadow:0 6px 16px rgba(20,55,35,.05);

  transition:
    filter .18s ease,
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease,
    background .18s ease;
}

.eph-btn-lite:hover,
.eph-btn-lite:focus,
.eph-btn-lite:active{
  background:#eef6ef;
  color:#1f5f3f !important;
  filter:brightness(1.04);
  transform:translateY(-1px);
  border-color:rgba(31,95,63,.24);
  box-shadow:0 10px 24px rgba(20,55,35,.10);
  text-decoration:none !important;
}

.eph-btn-lite--sm{
  padding:8px 14px;
  font-size:.82rem;
}


/* =========================================================
   3. EPHARO SECONDARY PRIMARY BUTTON
   Used by older components that call .eph-btn-primary
   ========================================================= */

.eph-btn-primary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;

  padding:12px 18px;
  border-radius:999px;
  border:1px solid #145c33;

  background:#145c33;
  color:#ffffff !important;

  font-family:inherit;
  font-weight:850;
  font-size:13px;
  line-height:1;
  text-decoration:none !important;

  cursor:pointer;
  box-shadow:0 10px 30px rgba(0,0,0,.20);

  transition:
    background .18s ease,
    transform .18s ease,
    box-shadow .18s ease;
}

.eph-btn-primary:hover,
.eph-btn-primary:focus,
.eph-btn-primary:active{
  background:#1b6b3f;
  color:#ffffff !important;
  transform:translateY(-1px);
  box-shadow:0 14px 34px rgba(0,0,0,.24);
  text-decoration:none !important;
}


/* =========================================================
   4. EPHARO BADGES
   ========================================================= */

.eph-badge-info{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;

  padding:7px 11px;
  border-radius:999px;
  border:1px solid rgba(31,95,63,.14);

  background:#eef6ef;
  color:#1f5f3f;

  font-size:11px;
  font-weight:850;
  letter-spacing:.10em;
  line-height:1;
  text-transform:uppercase;
  white-space:nowrap;

  box-shadow:0 6px 16px rgba(20,55,35,.06);
}


/* =========================================================
   5. XENYRA COMBO BUTTON
   Orb + pill trigger for Xenyra AI
   ========================================================= */

.xenyra-combo{
  all:unset;

  display:inline-flex;
  align-items:center;
  gap:6px;

  width:auto;
  max-width:max-content;

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

  font-family:inherit;
  line-height:1;
  text-decoration:none !important;
  vertical-align:middle;

  cursor:pointer;
}

.xenyra-combo,
.xenyra-combo:hover,
.xenyra-combo:focus,
.xenyra-combo:focus-visible,
.xenyra-combo:active{
  border:0 !important;
  outline:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  text-decoration:none !important;
}

.xenyra-orb{
  width:34px;
  height:34px;
  min-width:34px;
  min-height:34px;

  border-radius:999px;
  overflow:hidden;

  background:
    radial-gradient(circle at 30% 20%,
      #ffffff 0%,
      #f4fffb 32%,
      #d4f3e1 62%,
      #0f4826 100%);

  display:flex;
  align-items:center;
  justify-content:center;

  box-shadow:
    0 10px 24px rgba(0,0,0,.40),
    0 0 0 1px rgba(255,255,255,.55);

  transform-origin:50% 50%;

  transition:
    transform .18s ease,
    box-shadow .18s ease;
}

.xenyra-logo{
  width:18px;
  height:18px;

  display:block;

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

  filter:drop-shadow(0 2px 6px rgba(0,0,0,.35));
  transform-origin:50% 50%;

  animation:xenyra-idle 3.4s ease-in-out infinite;
}

.xenyra-tag{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  min-height:23px;
  padding:2px 12px 3px;
  border-radius:999px;

  background:#0f4826;
  color:#d9f5e4;

  font-size:11px;
  font-weight:600;
  letter-spacing:.12em;
  line-height:1;
  white-space:nowrap;

  box-shadow:0 10px 26px rgba(0,0,0,.28);

  transition:
    background .16s ease,
    transform .12s ease,
    box-shadow .16s ease;
}

.xenyra-combo:hover .xenyra-orb{
  transform:translateY(-1px) scale(1.03);
  box-shadow:0 18px 40px rgba(0,0,0,.50);
}

.xenyra-combo:hover .xenyra-tag{
  background:#165c34;
  transform:translateY(-1px);
  box-shadow:0 14px 34px rgba(0,0,0,.40);
}

.xenyra-combo:hover .xenyra-logo{
  animation:xenyra-spin .6s ease-out;
}


/* =========================================================
   6. XENYRA HINT TOOLTIP
   ========================================================= */

.epharo-xenyra-tip-wrap{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.epharo-xenyra-tip{
  position:absolute;
  right:0;
  bottom:calc(100% + 10px);

  padding:6px 12px;
  border-radius:999px;

  background:#3b3f46;
  color:#ffffff;

  font-size:11px;
  font-weight:600;
  line-height:1.2;

  white-space:nowrap;

  box-shadow:0 8px 20px rgba(0,0,0,.22);

  opacity:0;
  pointer-events:none;

  transform:translateY(6px);
  transition:all .18s ease;

  z-index:9999;
}

.epharo-xenyra-tip::after{
  content:"";
  position:absolute;
  right:22px;
  top:100%;

  border-width:5px 5px 0 5px;
  border-style:solid;
  border-color:#3b3f46 transparent transparent transparent;
}

.epharo-xenyra-tip-wrap:hover .epharo-xenyra-tip{
  opacity:1;
  transform:translateY(0);
}


/* =========================================================
   7. ANIMATIONS
   ========================================================= */

@keyframes xenyra-idle{
  0%,100%{
    transform:translateY(0) scale(1);
  }

  50%{
    transform:translateY(-1px) scale(1.04);
  }
}

@keyframes xenyra-spin{
  0%{
    transform:rotate(0deg) scale(1);
  }

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