/* ═══════════════════════════════════════════════════════════════
   AVISO DE «ESTA VENTANA QUEDÓ DESACTUALIZADA»

   Hoja propia, igual que inactividad_sesion.css: la dibuja
   js/condominio_pestana.js, que es un script clásico que solo carga
   index.html (la sesión ya autenticada).

   Aparece cuando otra ventana del mismo navegador cambió de condominio.
   Bloquea a propósito toda la pantalla: lo que se registre desde esta
   ventana entraría en el condominio nuevo sin ningún error.

   El ancho es fluido (100% hasta 440px), así que no necesita reglas
   distintas para el teléfono.
   ═══════════════════════════════════════════════════════════════ */

.cp-capa {
    position: fixed;
    inset: 0;
    z-index: 100001;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 20px;
    background: rgba(0, 0, 0, 0.72);
}

.cp-tarjeta {
    width: 100%;
    max-width: 440px;
    max-height: 90vh;
    border-radius: 14px;
    background: #fff;
    overflow-y: auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.cp-barra {
    padding: 14px 18px;
    background: #dc2626;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.cp-cuerpo { padding: 22px 24px 24px; }

.cp-texto {
    margin: 0 0 14px;
    color: #3f3f46;
    font-size: 14px;
    line-height: 1.6;
}

.cp-texto--fuerte {
    margin-bottom: 20px;
    font-weight: 700;
    color: #18181b;
}

.cp-recargar {
    width: 100%;
    padding: 13px 20px;
    border: none;
    border-radius: 8px;
    background: #0a2463;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.cp-recargar:hover { filter: brightness(1.1); }
