.custom-toast-bar.active {
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%);
    display: block;
}

.custom-toast-content {
    display: flex;
    align-items: center;
}

.custom-success {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    min-width: 30px;
    padding: 5px;
    background-color: #4070f4;
    fill: #fff;
    font-size: 20px;
    border-radius: 50%;
}

.custom-error {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    min-width: 30px;
    padding: 5px;
    background-color: #ff1010;
    fill: #fff;
    font-size: 20px;
    border-radius: 50%;
}

.custom-message {
    display: flex;
    flex-direction: column;
    margin: 0 20px;
}

.custom-text {
    font-size: 16px;
    font-weight: 400;
    color: #666666;
}

.custom-text-1 {
    font-weight: 600;
    color: #333;
}

.custom-close {
    position: absolute;
    top: 10px;
    right: 15px;
    padding: 5px;
    width: 24px;
    cursor: pointer;
    opacity: 0.7;
}

.custom-close:hover {
    opacity: 1;
}

.custom-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
}

.custom-progress:before {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    height: 100%;
    width: 100%;
    background-color: #4070f4;
}

.custom-toast-bar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    width: 100%;
    background: rgba(0, 0, 0, 0.05);
    padding: 0 15px;
    transition: all 0s;
}

.custom-toast-bar.show{
    display: flex !important;
}

.custom-toast-bar-wrapper {
    border-radius: 12px;
    background: #fff;
    padding: 20px 35px 20px 25px;
    box-shadow: 0 6px 20px -5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    width: 430px;
    max-width: 100%;
    margin: 0 auto;
}

.custom-toast-bar span.custom-text.custom-text-1 {
    text-transform: capitalize;
}

.custom-toast-bar:not(.show){
    visibility: hidden;
}

#webAlerts .custom-progress{
    width: 100%;
    transition: width 3s ease;  
}

#webAlerts.show .custom-progress{
    width: 0%;
}
