.alert-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    perspective: 1000px;
}

@media (min-width: 992px) {
    .alert-container {
        margin-left: 120px;
    }
}
@media (min-width: 1200px) {
    .alert-container {
        margin-left: 98px;
    }
}


.alert-container .alert:nth-last-child(-n+4) {
    display: flex;  /* only show the last 2 alerts */
}

.alert-container .alert {
    display: none;
    background: #fff;
    border-radius: 14px;
    position: absolute;
    top: 0;
    left: 50%;
    width: 92vw;
    max-width: 550px;
    transform: translateX(-50%);
    /* display: flex; */
    align-items: center;
    transition: all 0.3s ease;
    padding: 0;
    overflow: hidden;
    /*border: 2px solid #ffffff;*/
    color: #fff;
}

.alert-container .alert-content{
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 18px 29px;
}
.alert-container .ac-l{
    align-items: center;
    display: flex;
}
.alert-container .ac-l h4{
    font-weight: 500;
    font-size: 14px;
    display: flex;
    align-items: center;
    margin-bottom: 0;
    line-height: 22px;
    letter-spacing: .5px;
    overflow-wrap: anywhere;
}
.alert-container .ac-l svg{
    margin-right: 16px;
    height: 28px;
    width: 30px;
    min-width: 30px;
}
.alert-container .alert.success {
    /*background: #edf7ed;*/
    /*box-shadow: 0 6px 12px #0d390d33;*/
    /*color: #3c763d;*/

    box-shadow: 0 6px 12px #0b4d0b59;
    background: #3c763d;
}
.alert-container .alert.success .alert-content {
    /*box-shadow: inset 3px 3px 6px #0d390d29;*/
    box-shadow: inset 8px 7px 6px #156e17;
}

.alert-container .alert.error {
    /*background: #ffedee;*/
    /*box-shadow: 0 3px 10px #ffc3c8;*/
    /*color: #ba3b3b;*/

    background: #a94442;
}
.alert-container .alert.error .alert-content {
    /*box-shadow: inset 3px 3px 6px #ffdee0;*/
    box-shadow: inset 8px 0 6px #781d24;
}

.alert-container .alert.warning {
    /*background: #feffd9;*/
    /*border: 2px solid #ffffff;*/
    /*box-shadow: 0 6px 12px #dfd49dc2;*/
    /*color: #846f00;*/

    border: 2px solid #ffe77c;
    box-shadow: 1px 3px 5px #dbb700c2;
    background: #ffdb00;
    color: #000000;
}
.alert-container .alert.warning .alert-content {
    /*box-shadow: inset 3px 3px 6px #f1e391;*/
    box-shadow: inset 3px 4px 6px #caba5b;

}

.alert-container .alert.info {
    border-left-color: #2196F3;
}

.alert-container .close-btn {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 0;
    margin-left: 12px;
    font-size: 18px;
}

.alert-container .close-btn:hover {
    color: #333;
}
