/* =========================================================
   AS APP · 16B · FAVORITOS · ACCESO UI

   ÚNICO PROPIETARIO DE:
   - modal de acceso requerido para favoritos
   - tarjeta, icono, botones y cierre
   ========================================================= */

/* Base */
.as-fav-auth-modal{position:fixed;inset:0;z-index:var(--as-z-favorites-auth);background:var(--as-palette-rgba-0-0-0-0p48);display:none;align-items:center;justify-content:center;padding:var(--as-space-5);box-sizing:border-box}
    .as-fav-auth-modal.is-open{display:flex}
    .as-fav-auth-card{width:min(100%,360px);background:var(--as-white);border-radius:22px;padding:26px var(--as-space-5) 19px;box-sizing:border-box;box-shadow:0 18px 55px var(--as-palette-rgba-0-0-0-0p25);text-align:center;position:relative;font-family:var(--as-font-ui)}
    .as-fav-auth-icon{width:54px;height:54px;border-radius:16px;margin:0 auto 14px;background:var(--as-gold);color:#fff;display:flex;align-items:center;justify-content:center;font-size:29px}
    .as-fav-auth-card h2{font-family:var(--as-font-title);font-size:var(--as-size-section-title);line-height:1.08;margin:0 0 10px;color:var(--as-palette-151515)}
    .as-fav-auth-card p{font-size:var(--as-size-body);line-height:1.5;color:var(--as-light-muted);margin:0 0 18px}
    .as-fav-auth-primary{display:block;background:var(--as-gold);color:#fff!important;text-decoration:none!important;border-radius:12px;padding:13px var(--as-space-4);font-size:var(--as-size-body);font-weight:800;margin-bottom:10px}
    .as-fav-auth-secondary{display:block;color:var(--as-gold)!important;text-decoration:none!important;font-size:var(--as-size-small);font-weight:700;padding:7px}
    .as-fav-auth-close{position:absolute;top:10px;right:10px;width:34px;height:34px;border:0;border-radius:50%;background:var(--as-palette-f2f2f2);color:var(--as-palette-444444);font-size:22px;line-height:1;display:flex;align-items:center;justify-content:center;padding:0;cursor:pointer}

/* Apariencia dentro de la app */
body.as-app-ui .as-fav-auth-card{
  background:var(--as-surface-card)!important;
  border:1px solid var(--as-border)!important;
  color:var(--as-text)!important;
}

body.as-app-ui .as-fav-auth-icon{
  background:var(--as-gold)!important;
  color:#fff!important;
}

body.as-app-ui .as-fav-auth-card h2{color:var(--as-text)!important}

body.as-app-ui .as-fav-auth-card p{color:var(--as-text-muted)!important}

body.as-app-ui .as-fav-auth-primary{
  background:var(--as-gold)!important;
  color:var(--as-text-inverse)!important;
}

body.as-app-ui .as-fav-auth-secondary{color:var(--as-gold)!important}

body.as-app-ui .as-fav-auth-close{
  background:var(--as-surface-hover)!important;
  color:var(--as-text)!important;
}

