/* Klikgry Monetization - frontend CTA */
.km-cta {
  width: 100%;
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;

  padding: 14px 14px;
  border-radius: 14px;

  background: var(--km-badge-bg, #18a558);
  color: var(--km-badge-color, #ffffff);

  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.06);
  box-sizing: border-box;
}

.km-cta__badge {
  flex: 1 1 auto;
  min-width: 0;
  line-height: 1.35;
}

.km-cta__badge p {
  margin: 0;
}

.km-cta__action {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.km-cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  text-decoration: none;
  font-weight: 700;
  line-height: 1;

  padding: 12px 16px;
  border-radius: 12px;

  background: var(--km-button-bg, #ffd400);
  color: var(--km-button-color, #111111);

  border: 1px solid rgba(0,0,0,0.10);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);

  transition: transform 120ms ease, box-shadow 120ms ease, filter 120ms ease;
  white-space: nowrap;
}

.km-cta__button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  filter: brightness(1.02);
}

.km-cta__button:active {
  transform: translateY(0);
  box-shadow: 0 3px 10px rgba(0,0,0,0.10);
}

.km-cta__button:focus,
.km-cta__button:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.75);
  outline-offset: 3px;
}

/* Mobile stack */
@media (max-width: 640px) {
  .km-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .km-cta__action {
    width: 100%;
  }
  .km-cta__button {
    width: 100%;
  }
}

/* Admin preview CTA uses the same classes */
.km-cta--preview {
  box-shadow: none;
}
