June 11 (Reuters) - Indian benchmark shares ended flat for a second straight session on Thursday as risk-off sentiment remained firm following renewed escalation in the Middle East conflict, while IT stocks declined for a seventh consecutive session on AI-led disruption. The Nifty 50 shed 0.23% to 23,161.6, while the BSE Sensex lost 0.2% to 73,832.55. Twelve of 16 major sectors logged losses. The broader small-caps and mid-caps fell 0.7% and 0.8%, respectively.