/**
 * @license chowa v1.1.3
 *
 * Copyright (c) Chowa Techonlogies Co.,Ltd.(http://www.chowa.cn).
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */
.cw-message-wrapper {
  position: fixed;
  left: 0;
  right: 0;
  height: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin: 0;
  padding: 0; }

.cw-message {
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border-radius: 3px;
  display: flex;
  align-items: center;
  margin: 0;
  height: 36px;
  line-height: 36px;
  padding: 0 12px;
  box-sizing: border-box;
  max-width: 280px; }

.cw-message-icon {
  padding: 0;
  margin: 0 6px 0 0;
  font-size: 16px; }

.cw-message-text {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-size: 14px;
  color: #616a6e;
  flex: auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap; }

.cw-message-close {
  cursor: pointer;
  font-size: 12px;
  padding: 0;
  margin: 0 0 0 8px;
  color: #888da8;
  transition: color 0.2s ease-in; }
  .cw-message-close:hover {
    color: #616a6e; }

.cw-message-info .cw-message-icon,
.cw-message-process .cw-message-icon {
  color: #1890ff; }

.cw-message-success .cw-message-icon {
  color: #52c41a; }

.cw-message-error .cw-message-icon {
  color: #f5222d; }

.cw-message-warning .cw-message-icon {
  color: #faad14; }

@keyframes cw-message-trans {
  0% {
    transform: translateY(-80px);
    opacity: 0; }
  100% {
    transform: translateY(0);
    opacity: 1; } }

.cw-message-appear {
  animation-duration: 0.2s;
  animation-timing-function: ease-in-out; }

.cw-message-enter {
  animation-name: cw-message-trans; }

.cw-message-leave {
  animation-name: cw-message-trans;
  animation-direction: reverse; }
