/* Alertas globais: leitura e contraste consistentes em todos os temas. */
.web-alerts {
    box-sizing: border-box;
    z-index: 10000;
    padding: 20px;
}

.web-alerts .message {
    box-sizing: border-box;
    width: min(100%, 560px);
    max-width: 560px;
    padding: 24px;
    border: 2px solid #7c2d12;
    border-radius: 12px;
    background: #fffdf7;
    box-shadow: 0 18px 50px rgb(0 0 0 / 45%);
    color: #111827 !important;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px !important;
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: normal;
    text-align: center;
    text-shadow: none;
}

.web-alerts .message p,
.web-alerts .message p.info {
    margin: 0;
    padding: 14px 8px;
    color: #111827 !important;
    font-family: inherit;
    font-size: 16px !important;
    font-weight: 500;
    line-height: 1.6 !important;
    letter-spacing: normal;
    overflow-wrap: anywhere;
    text-shadow: none;
}

.web-alerts .message p em {
    color: inherit !important;
    font-style: normal;
}

.web-alerts .message p strong {
    color: #7c2d12 !important;
    font-weight: 700;
}

.web-alerts .message > .success,
.web-alerts .message > .error {
    width: 72px;
    height: 72px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.web-alerts .message > a,
.web-alerts .message .action a,
.web-alerts .message .actions a {
    box-sizing: border-box;
    min-width: 120px;
    padding: 10px 18px;
    border-radius: 7px;
    color: #fff !important;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px !important;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
    text-shadow: none;
}

.web-alerts .message > a:focus-visible,
.web-alerts .message .action a:focus-visible,
.web-alerts .message .actions a:focus-visible {
    outline: 3px solid #fbbf24;
    outline-offset: 3px;
}

@media (max-width: 600px) {
    .web-alerts {
        padding: 14px;
    }

    .web-alerts .message {
        padding: 18px 14px;
        font-size: 15px !important;
    }

    .web-alerts .message p,
    .web-alerts .message p.info {
        padding: 12px 4px;
        font-size: 15px !important;
    }
}
