/* Toast bar: barra sobreposta no topo da janela RadWindow.
   position:fixed garante visibilidade independente do scroll interno.
   pointer-events na barra: passa por cima do container vazio mas captura no toast. */
.fundora-toast-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 0;
    margin: 0;
    width: 100%;
    z-index: 99999;
    pointer-events: none;
}

.fundora-toast-container:empty {
    display: none;
}

.fundora-toast {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 40px;
    padding: 10px 20px 10px 16px;
    border: 0;
    border-left: 4px solid transparent;
    background: #ffffff;
    color: #1f2937;
    font-family: "Segoe UI", system-ui, -apple-system, Tahoma, Arial, sans-serif;
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.35;
    opacity: 0;
    transform: translateY(-100%);
    transition: opacity .25s ease, transform .3s cubic-bezier(.4, 0, .2, 1);
    box-sizing: border-box;
    pointer-events: auto;
    box-shadow: 0 4px 12px rgba(15, 23, 42, .12), 0 1px 3px rgba(15, 23, 42, .06);
}

.fundora-toast--show {
    opacity: 1;
    transform: translateY(0);
}

.fundora-toast__icon {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .fundora-toast__icon svg {
        width: 20px;
        height: 20px;
        display: block;
    }

.fundora-toast__text {
    flex: 1 1 auto;
    word-break: break-word;
    padding: 1px 0;
}

.fundora-toast__close {
    flex: 0 0 auto;
    background: transparent;
    border: 0;
    padding: 4px 6px;
    margin: -4px -6px -4px 4px;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    color: inherit;
    opacity: .55;
    border-radius: 4px;
    transition: opacity .15s ease, background-color .15s ease;
}

    .fundora-toast__close:hover {
        opacity: 1;
        background: rgba(15, 23, 42, .08);
    }

/* Erro: vermelho saturado */
.fundora-toast--erro {
    background: #fef2f2;
    border-left-color: #dc2626;
    color: #991b1b;
}

    .fundora-toast--erro .fundora-toast__icon {
        color: #dc2626;
    }

/* OK / Sucesso: verde */
.fundora-toast--ok {
    background: #f0fdf4;
    border-left-color: #16a34a;
    color: #14532d;
}

    .fundora-toast--ok .fundora-toast__icon {
        color: #16a34a;
    }

/* Aviso: amarelo/âmbar */
.fundora-toast--aviso {
    background: #fffbeb;
    border-left-color: #d97706;
    color: #78350f;
}

    .fundora-toast--aviso .fundora-toast__icon {
        color: #d97706;
    }

/* Info: azul */
.fundora-toast--info {
    background: #eff6ff;
    border-left-color: #2563eb;
    color: #1e3a8a;
}

    .fundora-toast--info .fundora-toast__icon {
        color: #2563eb;
    }
