﻿/*  New Alert UI   */
.alert:has(.alert-header) {
    padding: 0;
    border: 0 !important;
    padding-bottom: 12px;
    background: #F9F8F3;
    position: relative;
}

.alert.alert-warning:has(.alert-header) {
    background: #F9F8F3;
}

.alert.alert-error:has(.alert-header), .alert.alert-danger:has(.alert-header) {
    background: #FAE0E0;
}

.alert.alert-info:has(.alert-header), .alert.alert-primary:has(.alert-header) {
    background: #E0E4FA;
}

.alert .alert-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 40px;
    padding: 0 12px;
    color: #000;
    font-family: Arial;
    font-size: 16.8px;
    font-style: normal;
    font-weight: 700;
    line-height: 21px;
    background: linear-gradient(0deg, #DCC26D 0%, #DCC26D 100%), #EAE8E8;
    margin-bottom: 12px;
}

.alert.alert-warning .alert-header {
    background: linear-gradient(0deg, #DCC26D 0%, #DCC26D 100%), #EAE8E8;
}

.alert.alert-error .alert-header, .alert.alert-danger .alert-header {
    background: #B33A3A;
    color: white;
}

.alert.alert-primary .alert-header, .alert.alert-info .alert-header {
    background: #3A4EB3;
    color: white;
}

.alert:has(.alert-header) [data-dismiss="alert"] {
    background-image: url(../../icons/svg/close-black.svg);
    background-repeat: no-repeat;
    height: 27px;
    width: 27px;
    cursor: pointer;
    position: absolute;
    right: 8px;
    top: 6px;
}

.alert.alert-error:has(.alert-header) [data-dismiss="alert"] {
    background-image: url(../../icons/svg/close-white.svg);
}

.alert .alert-header ~ h4 {
    color: var(--black, #000);
    text-align: center;
    font-family: Arial;
    font-size: 17.5px;
    font-style: normal;
    font-weight: 700;
    line-height: 25px;
    background-color: transparent;
}

.alert .alert-header ~ p {
    color: var(--black, #000);
    text-align: center;
    font-family: Arial;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 25px;
    background-color: transparent;
}
/*  End New Alert UI   */
