.login-container {
  animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.error-shake {
  animation: shake 0.5s;
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  10%,
  30%,
  50%,
  70%,
  90% {
    transform: translateX(-5px);
  }
  20%,
  40%,
  60%,
  80% {
    transform: translateX(5px);
  }
}

.input-error {
  border-color: #ef4444 !important;
}

.input-success {
  border-color: #10b981 !important;
}

/* WhatsApp Message Bubble */
.whatsapp-bubble {
  background-color: #e8f5e9;
  border-radius: 18px;
  max-width: 300px;
  padding: 16px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  border: 1px solid #c8e6c9;
}

.whatsapp-sender-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #007258;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
  color: #bbffe3;
  font-weight: 700;
}

.whatsapp-message-content {
  color: #000;
  font-size: 14px;
  line-height: 1.5;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.whatsapp-timestamp {
  font-size: 12px;
  color: #999;
  margin-top: 8px;
  text-align: right;
}

.whatsapp-button {
  border-top: 1px solid #c8e6c9;
  margin-top: 8px;
  padding-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 13px;
  color: #0084ff;
}

.whatsapp-button svg {
  width: 16px;
  height: 16px;
}

.preview-container {
  background: #f5f5f5;
  border-radius: 12px;
  padding: 20px;
  min-height: 400px;
}

.preview-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: #fff;
  border-radius: 12px 12px 0 0;
  border-bottom: 1px solid #e0e0e0;
}

.fade-enter-active,
.fade-leave-active {
  transition: opacity 0.18s;
}
.fade-enter-from,
.fade-leave-to {
  opacity: 0;
}
.animate-popover {
  animation: popover-bounce 0.18s cubic-bezier(0.4, 1.4, 0.6, 1) 1;
}
@keyframes popover-bounce {
  0% {
    transform: scale(0.95) translateY(-8px);
    opacity: 0.7;
  }
  100% {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}
