.notificacoes {
    position: fixed;
    top: 16px;
    right: 20px;
    z-index: 100000;
    display: flex;
    flex-direction: column;
    width: 360px;
    max-width: calc(100vw - 32px);
    pointer-events: none;
}

body .notificacoes .ui-growl {
    position: static;
    top: auto;
    right: auto;
    width: auto;
    z-index: auto !important;
}

body .notificacoes .ui-growl .ui-growl-item-container,
body .notificacoes .ui-growl .ui-growl-item-container.ui-growl-info,
body .notificacoes .ui-growl .ui-growl-item-container.ui-growl-warn,
body .notificacoes .ui-growl .ui-growl-item-container.ui-growl-error,
body .notificacoes .ui-growl .ui-growl-item-container.ui-growl-fatal {
    position: relative;
    margin: 0 0 10px 0;
    opacity: 1;
    background: #ffffff;
    color: #475569;
    border: 1px solid #e4e7ec;
    border-left: 4px solid #2563eb;
    border-radius: 8px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.16), 0 4px 8px rgba(15, 23, 42, 0.06);
    cursor: pointer;
    pointer-events: auto;
}

body .notificacoes .ui-growl .ui-growl-item-container.ui-growl-warn  { border-left-color: #f59e0b; }
body .notificacoes .ui-growl .ui-growl-item-container.ui-growl-error,
body .notificacoes .ui-growl .ui-growl-item-container.ui-growl-fatal { border-left-color: #ef4444; }

body .notificacoes .ui-growl .ui-growl-item-container .ui-growl-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-height: 0;
    padding: 12px 36px 12px 14px;
}

body .notificacoes .ui-growl .ui-growl-item-container .ui-growl-item > div[style*="clear"] {
    display: none;
}

body .notificacoes .ui-growl .ui-growl-item-container .ui-growl-image {
    float: none;
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    margin: 0;
    background: none;
    font-family: "primeicons" !important;
    font-size: 20px;
    font-style: normal;
    font-weight: normal;
    line-height: 22px;
    color: #2563eb;
}

body .notificacoes .ui-growl .ui-growl-item-container .ui-growl-image-info:before  { content: "\e924"; }
body .notificacoes .ui-growl .ui-growl-item-container .ui-growl-image-warn:before  { content: "\e922"; }
body .notificacoes .ui-growl .ui-growl-item-container .ui-growl-image-error:before,
body .notificacoes .ui-growl .ui-growl-item-container .ui-growl-image-fatal:before { content: "\e90c"; }

body .notificacoes .ui-growl .ui-growl-item-container.ui-growl-warn .ui-growl-image  { color: #d97706; }
body .notificacoes .ui-growl .ui-growl-item-container.ui-growl-error .ui-growl-image,
body .notificacoes .ui-growl .ui-growl-item-container.ui-growl-fatal .ui-growl-image { color: #dc2626; }

body .notificacoes .ui-growl .ui-growl-item-container .ui-growl-message {
    float: none;
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    padding: 0;
}

body .notificacoes .ui-growl .ui-growl-item-container .ui-growl-message .ui-growl-title {
    display: block;
    padding: 1px 0 2px 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    color: #0f172a;
}

body .notificacoes .ui-growl .ui-growl-item-container .ui-growl-message p {
    margin: 0;
    font-size: 13px;
    font-weight: normal;
    line-height: 1.45;
    color: #475569;
    white-space: pre-line;
    overflow-wrap: anywhere;
}

body .notificacoes .ui-growl .ui-growl-item-container .ui-growl-message p:empty {
    display: none;
}

body .notificacoes .ui-growl .ui-growl-item-container .ui-growl-icon-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 16px;
    height: 16px;
    background: none;
    font-family: "primeicons" !important;
    font-size: 12px;
    line-height: 16px;
    text-align: center;
    color: #94a3b8;
}

body .notificacoes .ui-growl .ui-growl-item-container .ui-growl-icon-close:before {
    content: "\e90b";
}

body .notificacoes .ui-growl .ui-growl-item-container .ui-growl-icon-close:hover {
    color: #0f172a;
}

body .notificacoes [id$="msgFixa_container"] .ui-growl-item-container .ui-growl-icon-close {
    display: block !important;
}

@media (max-width: 640px) {
    .notificacoes {
        right: 12px;
        width: calc(100vw - 24px);
        max-width: none;
    }
}

@media print {
    .notificacoes {
        display: none !important;
    }
}
