/* Componente de Notificação Personalizado - EraPet */
.custom-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  min-width: 320px;
  max-width: 500px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  padding: 16px 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  z-index: 10000;
  animation: notificationSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  border-left: 4px solid;
  transform: translateX(400px);
  opacity: 0;
}

.custom-notification.show {
  transform: translateX(0);
  opacity: 1;
}

.custom-notification.hide {
  animation: notificationSlideOut 0.3s ease-in forwards;
}

@keyframes notificationSlideIn {
  from {
    transform: translateX(400px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes notificationSlideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(400px);
    opacity: 0;
  }
}

.custom-notification.success {
  border-left-color: #14b8a6;
  background: linear-gradient(135deg, #f0fdfa 0%, #ffffff 100%);
}

.custom-notification.error {
  border-left-color: #dc2626;
  background: linear-gradient(135deg, #fef2f2 0%, #ffffff 100%);
}

.custom-notification.warning {
  border-left-color: #f59e0b;
  background: linear-gradient(135deg, #fffbeb 0%, #ffffff 100%);
}

.custom-notification.info {
  border-left-color: #3b82f6;
  background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
}

.custom-notification-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
}

.custom-notification.success .custom-notification-icon {
  background: #14b8a6;
  color: #ffffff;
}

.custom-notification.error .custom-notification-icon {
  background: #dc2626;
  color: #ffffff;
}

.custom-notification.warning .custom-notification-icon {
  background: #f59e0b;
  color: #ffffff;
}

.custom-notification.info .custom-notification-icon {
  background: #3b82f6;
  color: #ffffff;
}

.custom-notification-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.custom-notification-title {
  font-weight: 700;
  font-size: 15px;
  color: #1f2937;
  margin: 0;
}

.custom-notification-message {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.5;
  margin: 0;
}

.custom-notification-close {
  width: 24px;
  height: 24px;
  border: none;
  background: transparent;
  color: #9ca3af;
  cursor: pointer;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
  padding: 0;
  font-size: 20px;
  line-height: 1;
}

.custom-notification-close:hover {
  background: rgba(0,0,0,0.05);
  color: #374151;
}

@media (max-width: 576px) {
  .custom-notification {
    right: 10px;
    left: 10px;
    min-width: auto;
    max-width: none;
  }
}

