/* ============================================
   FIX ESPECÍFICO — classes reais confirmadas
   Story:  .empty-state > a.btn-primary
   Grupo:  button.wzg-cta#btnCriarGrupo2
   Ambos com data-ripple-bound (efeito ripple JS)
   ============================================ */

/* ---------- 1) BOTÃO "Criar um story" ---------- */
.empty-state a.btn-primary,
.empty-state a.btn-primary[data-ripple-bound] {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  width: auto !important;
  max-width: max-content;
  margin: .75rem auto 0;
  padding: .7rem 1.6rem !important;
  border-radius: 12px;
  font-weight: 600;
  font-size: .95rem;
  line-height: 1.2;
  white-space: nowrap;
  color: #fff !important;
  background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%) !important;
  border: none !important;
  box-shadow: 0 6px 18px rgba(59, 130, 246, .45);
  text-decoration: none !important;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform .15s ease, box-shadow .15s ease;
}
.empty-state a.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(59, 130, 246, .6);
}

/* Mata o "fantasma transparente" (shimmer/pseudo) que aparecia sobreposto */
.empty-state a.btn-primary::before,
.empty-state a.btn-primary::after {
  content: none !important;
  display: none !important;
  background: none !important;
  animation: none !important;
}

/* Centraliza o empty-state pra o botão não ficar solto à esquerda */
.empty-state {
  text-align: center;
}

/* ---------- 2) BOTÃO "Criar meu primeiro grupo" ---------- */
button.wzg-cta,
#btnCriarGrupo2,
button.wzg-cta[data-ripple-bound] {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  width: auto !important;
  max-width: max-content !important;
  min-width: 0 !important;
  margin: 1rem auto 0;
  padding: .75rem 1.75rem !important;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
  color: #fff !important;
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%) !important;
  border: none !important;
  box-shadow: 0 6px 18px rgba(124, 58, 237, .45);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform .15s ease, box-shadow .15s ease;
}
button.wzg-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(124, 58, 237, .6);
}

/* Container do empty state dos grupos → centraliza texto e botão */
.wzg-empty-ico ~ h3,
.wzg-empty-ico ~ p {
  text-align: center;
}
.wzg-empty-ico {
  margin-left: auto;
  margin-right: auto;
}

/* Se algum wrapper flex/grid estiver espremendo o botão no mobile,
   garante largura mínima confortável */
@media (max-width: 480px) {
  button.wzg-cta,
  .empty-state a.btn-primary {
    font-size: .92rem !important;
    padding: .7rem 1.4rem !important;
    white-space: nowrap !important;
  }
}
