/* Página de error de la aplicación (FITNOW-916, templates/error/error.html).
   Colores del tema (darkmode.css): vale en claro y en oscuro. */
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
}

.errorPage {
    max-width: 480px;
    margin: 64px auto;
    padding: 24px 16px;
    text-align: center;
    background: var(--card);
    color: var(--text);
    border: 2px solid var(--green);
    border-radius: 10px;
}

.errorLogo {
    max-width: 200px;
    width: 60%;
}

.errorPage h1 {
    font-size: 1.6em;
}

.errorReference {
    color: var(--muted);
}

.errorHome {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 20px;
    border-radius: 6px;
    background: var(--green);
    color: var(--dark);
    text-decoration: none;
    font-weight: bold;
}

/* Aviso de sesión caducada en el login (index.xhtml?expired=true). */
.sessionExpiredNotice {
    display: block;
    color: #b45309;
    font-weight: bold;
    margin-bottom: 8px;
}
