/* =============================================================================
   EntradasBA tenant theme — Identity
   -----------------------------------------------------------------------------
   EBA is the legacy default. main.css is sass-compiled with EBA's palette
   ($primary=#336ACC matches Tenant.Colors.Primary), so this file only adds
   the tenant-keyed selector hooks for parity with ecoparque.css and any
   EBA-specific overrides that don't live in main.css.

   Loaded after main.css via _Layout.cshtml; gated to body.tenant-entradasba.
   ============================================================================= */

/* --- login / registro / forgot-password page hero ---
   All three auth pages share one hero treatment. Loaded after main.css so it
   wins over the shared bg-login.png. The bug fixed here: setting only
   `background-image` left repeat/size at their CSS defaults (`repeat`), which
   TILED the home-hero asset across the page (it showed as repeated thumbnails
   in the white margin beside the registro form). Pin it to a single, centered,
   cover-sized image so every page looks the same and nothing tiles. */
body.tenant-entradasba .mainLayout .page-login,
body.tenant-entradasba .mainLayout .page-registro,
body.tenant-entradasba .mainLayout .page-contrasena {
    background-image: var(--tenant-asset-hero-home);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

/* --- error / message pages (Registro/Error, etc.) ---
   `.cont-680 a { color:#fff }` in main.css turns the secondary text link white
   (invisible on the light panel) and the action links have no layout, so the
   primary button and "Olvidé mi contraseña" sit misaligned. Stack them in a
   left-aligned column with consistent spacing and restore the link colour. */
body.tenant-entradasba .mainLayout .registro-mensajes .cont-680 .registro-mensajes-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-top: 32px;
}
body.tenant-entradasba .mainLayout .registro-mensajes .cont-680 .registro-mensajes-actions .btn-text {
    color: var(--tenant-color-primary);
    padding: 0;
}

/* --- buttons (use tenant primary for consistency with Portal pattern) --- */
body.tenant-entradasba .btn-primary {
    background-color: var(--tenant-color-primary);
    border-color: var(--tenant-color-primary);
}
