

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


notice-wrap {
    display: block;
    position: fixed;
    right: 0;
    top: 140px;
    width: 270px;
    height: max-content;
    font-family: 'Poppins';
    padding: 15px 15px 0 15px;
    box-sizing: border-box;
    overflow: auto;
}

notice-wrap[position='top-left'] {
    right: auto;
    left: 0
}

notice-wrap[position='bottom-left'] {
    right: auto;
    left: 0;
    top: auto;
    bottom: 0;
}

notice-wrap[position='bottom-right'] {
    right: 0;
    left: auto;
    top: auto;
    bottom: 0;
}

notice {
    display: block;
    position: relative;
    font-size: 15px;
    font-weight: normal;
    background-color: #FFF;
    border: 1px solid #CCC;
    border-radius: 5px;
    box-sizing: border-box;
    margin-bottom: 20px;
    padding: 15px 15px;
}

notice:before,
notice:after {
    position: absolute;
    content: "";
    background-color: #BBB;

    transform: rotate(45deg);
}

notice:before,
notice:after {
    box-sizing: border-box;
}

notice:before {
    width: 16px;
    height: 2px;
    right: 5px;
    top: calc(25% - 1px);
}

notice:after {
    width: 2px;
    height: 16px;
    right: 12px;
    top: calc(25% - 8px);
}

notice-close {
    position: absolute;
    display: block;
    right: 12px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    top: calc(50% - 10px);
    z-index: 1;
}

notice[close-on-click='true'] {
    cursor: pointer;
}

notice[type='success'] {
    color: #04be5b;
    background-color: rgba(4, 190, 910, 0.15);
    border-color: #04be5b;
}

notice[type='success']:before,
notice[type='success']:after {
    background-color: #04be5b;
}

notice[type='error'] {
    color: #c9302c;
    background: #fff;
    border-color: #fff;
}

    notice[type='error']:before,
    notice[type='error']:after {
        background-color: #fff;
    }

notice[type='warning'] {
    color: #ff9948;
    background-color: rgba(255, 153, 72, 0.15);
    border-color: #ff9948;
}

notice[type='warning']:before,
notice[type='warning']:after {
    background-color: #ff9948;
}

notice[type='info'] {
    color: #0082d5;
    background-color: rgba(0, 130, 213, 0.15);
    border-color: #0082d5;
}

notice[type='info']:before,
notice[type='info']:after {
    background-color: #0082d5;
}
