/* Visual das páginas de erro.
   Usado em dois contextos diferentes e por isso vive num arquivo próprio:
   - /erro/{id}, um documento HTML autônomo (Pages/Error/Detalhe.cshtml);
   - o <NotFound> do Router, renderizado dentro de _Host.
   Nada aqui pode depender de estilos de body, porque no segundo caso o body
   é o do site inteiro. Daí .err-shell centralizar em vez do body. */

.err-shell {
    font-family: 'Montserrat', sans-serif;
    background: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.err-picture {
    width: 100%;
    max-width: 780px;
    display: block;
}

.err-picture img {
    width: 100%;
    height: auto;
    display: block;
}

.err-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.err-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.7rem 1.6rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    transition: background 0.15s, color 0.15s;
}

.err-btn--red        { background: #cb0000; color: #fff; }
.err-btn--red:hover  { background: #a30000; color: #fff; }

.err-btn--ghost       { background: #f0f0f0; color: #444; }
.err-btn--ghost:hover { background: #e0e0e0; color: #111; }
