﻿#toast-container {
    position: fixed;
    color: #000;
    z-index: 99999;
    top: 8px;
    right: 8px;
}

.toast {
    position: relative;
    background-color: #fff;
    width: 312px;
    min-height: 64px;
    box-sizing: border-box;
    margin-bottom: 1rem;
    border-radius: 4px;
    box-shadow: 0px 0px 24px rgba(0, 0, 0, 0.08);
    max-height: 800px;
    overflow: hidden;
    cursor: pointer;
    direction: ltr;
}

.toast__fechar {
    display: block;
    margin-left: auto;
    margin-right: 8px;
    margin-top: 8px;
}

.toast__titulo {
    font-weight: 700;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: -0.019em;
    padding-left: 16px;
    padding-right: 16px;
}

.toast__descricao {
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    letter-spacing: -0.019em;
    color: #383D47;
    padding-left: 16px;
    padding-right: 16px;
    margin-bottom: 12px;
}

.toast__barra {
    height: 6px;
    animation: progress 4s ease-in-out;
}

.toast__barra--sucesso {
    background: linear-gradient(90deg, #5AB0FF 0%, #0852DD 35.06%, #1F08D0 70.16%, #060B7A 100%);
}

.toast__barra--erro {
    background: linear-gradient(90deg, #E65366 0%, #E8001E 100%);
}

.toast__barra--atencao {
    background: linear-gradient(90deg, #FFE696 0%, #FFC200 100%);
}

@keyframes progress {
    0% {
        width: 0;
    }

    100% {
        width: 100%;
    }
}