/* Bloco 39 - UX Premium Avançada
   Estados vazios, feedback contextual e polimento visual sem alterar regras de negócio.
*/

.cardapix-empty-state {
  margin: 18px auto;
  padding: 24px 18px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(15,23,42,.96), rgba(31,41,55,.92));
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 18px 40px rgba(0,0,0,.24);
  color: rgba(255,255,255,.92);
  text-align: center;
}

.cardapix-empty-state__icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 10px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(124,58,237,.18);
  color: #c4b5fd;
  font-size: 26px;
}

.cardapix-empty-state__title {
  margin: 0 0 5px;
  font-weight: 800;
  font-size: 1.05rem;
}

.cardapix-empty-state__text {
  margin: 0;
  color: rgba(255,255,255,.68);
  font-size: .92rem;
}

.cardapix-field-focus {
  box-shadow: 0 0 0 3px rgba(124,58,237,.24) !important;
  border-color: rgba(167,139,250,.72) !important;
}

.cardapix-click-feedback {
  transform: scale(.985);
  transition: transform .16s ease;
}

.cardapix-soft-enter {
  animation: cardapixSoftEnter .28s ease both;
}

@keyframes cardapixSoftEnter {
  from { opacity: 0; transform: translateY(8px) scale(.99); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.cardapix-section-highlight {
  position: relative;
}

.cardapix-section-highlight::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: 0 0 0 2px rgba(124,58,237,.28);
  animation: cardapixHighlightFade 1.1s ease forwards;
}

@keyframes cardapixHighlightFade {
  0% { opacity: 1; }
  100% { opacity: 0; }
}

@media (max-width: 576px) {
  .cardapix-empty-state {
    margin: 14px 10px;
    padding: 20px 14px;
    border-radius: 20px;
  }
}
