/* Acceso */
body.login-page {
  background: linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.45)), url('img/fondo-login.jpg?v=wpes1') center / cover no-repeat;
  background-attachment: fixed;
}
@media (max-width: 575.98px) { body.login-page { background-attachment: scroll; } }
.login-logo-img { text-align: center; margin-bottom: 1rem; }
.login-logo-img img { max-width: 100%; height: auto; }
/* Barra lateral */
.main-sidebar .brand-link { background: #fff; padding: .4rem .5rem; text-align: center; display: block; border-bottom: 1px solid #4b545c; }
.brand-logo-full { max-height: 56px; max-width: 100%; width: auto; height: auto; }
.brand-logo-mini { display: none; max-height: 32px; width: auto; }
.sidebar-collapse .main-sidebar:not(.sidebar-focused):not(:hover) .brand-logo-full { display: none; }
.sidebar-collapse .main-sidebar:not(.sidebar-focused):not(:hover) .brand-logo-mini { display: inline-block; }
.main-sidebar .brand-text { display: block; color: #343a40; font-weight: 600; font-size: .95rem; margin-top: .2rem; }
.sidebar-collapse .main-sidebar:not(.sidebar-focused):not(:hover) .brand-text { display: none; }
/* Selector de sitio (cabecera) */
.selector-sitio { flex-wrap: wrap; gap: .25rem; margin-left: .5rem; }
.selector-sitio .nav-link { padding: .3rem .7rem; border-radius: .25rem; }
.selector-sitio .nav-link.active { background: #007bff; color: #fff; }
@media (max-width: 575.98px) { .selector-sitio .nav-link { font-size: .8rem; padding: .25rem .45rem; } }
/* Logos de los tres sitios en el acceso */
.logos-sitios { display: flex; align-items: center; justify-content: center; gap: .75rem; flex-wrap: wrap; }
.logos-sitios img { max-height: 48px; max-width: 30%; }
/* Listados (2026-11-13): intenciones largas legibles y «otros datos» compactos */
.texto-largo { white-space: pre-wrap; min-width: 14rem; max-width: 28rem; }
.otros-datos { font-size: .85rem; min-width: 12rem; }
.otros-datos div { white-space: pre-wrap; }
