.PopupMensagemSistema {
    position: fixed;
    top: 1.25rem;
    left: 50%;
    transform: translateX(-50%) translateY(-1rem);
    min-width: 280px;
    max-width: 92%;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    border-radius: 0.75rem;
    background: var(--Back3);
    color: var(--Text1);
    border: 1px solid var(--Bord2);
    box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.35);
    z-index: 99999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.PopupMensagemSistema.PopupVisivel {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.PopupIcone {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.PopupTexto {
    flex: 1;
    font-size: 0.9rem;
    line-height: 1.35;
    color: var(--Text1);
}

.PopupFechar {
    border: 0;
    background: transparent;
    color: var(--Text5);
    cursor: pointer;
    font-size: 0.95rem;
    padding: 0.25rem;
    transition: color 0.2s ease;
}

.PopupFechar:hover {
    color: var(--Text1);
}

.Popup-sucesso {
    border-left: 0.35rem solid #2ecc71;
}

.Popup-sucesso .PopupIcone {
    color: #2ecc71;
}

.Popup-erro {
    border-left: 0.35rem solid #e74c3c;
}

.Popup-erro .PopupIcone {
    color: #e74c3c;
}

.Popup-aviso {
    border-left: 0.35rem solid #f1c40f;
}

.Popup-aviso .PopupIcone {
    color: #f1c40f;
}

.Popup-info {
    border-left: 0.35rem solid var(--Hover4);
}

.Popup-info .PopupIcone {
    color: var(--Hover4);
}

@media (max-width: 768px) {
    .PopupMensagemSistema {
        top: 0.9rem;
        min-width: auto;
        width: calc(100% - 1.5rem);
        padding: 0.85rem;
    }

    .PopupTexto {
        font-size: 0.85rem;
    }
}