.notices {
	position: fixed;
	right: 25px;
	bottom: 25px;
}

.notice {
	background-color: $white;
	box-shadow: 0 2px 12px 0 rgba($black, 0.08);
	border-radius: 3px;
	padding: 10px 44px 10px 20px;
  min-height: 38px;
	max-width: 275px;
	min-width: 275px;
	width: 100%;
	font-size: 0.875rem;
	color: $text-gray;
	position: absolute;
	bottom: 0;
	right: 0;
	transition: transform 0.35s;
  overflow: hidden;

	&:nth-child(n+2) {
		transform: translate(0, -10px) scale(0.95);
		z-index: -1;
		transform-origin: center bottom;
	}

  &::before {
    content: '';
    position: absolute;
    width: 10px;
    height: 100%;
    left: 0;
    top: 0;
  }

	&-close {
		position: absolute;
		top: 10px;
		right: 10px;
		width: 18px;
		height: 18px;
    padding: 0;

    svg {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
    }
	}

	&-info {

    &::before {
      background-image: $blue-gradient;
    }
	}

	&-success {

    &::before {
      background-image: $green-gradient;
    }
	}

	&-error {

    &::before {
      background-image: $red-gradient;
    }
	}
}
